Skip to content

Commit

Permalink
feat(schema)!:v3 for mass operation, complete revamp
Browse files Browse the repository at this point in the history
  • Loading branch information
Plopix committed Dec 10, 2024
1 parent 0b3f7ba commit c2d894e
Show file tree
Hide file tree
Showing 61 changed files with 6,582 additions and 8,554 deletions.
2 changes: 1 addition & 1 deletion components/import-export-sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
},
"dependencies": {
"@crystallize/js-api-client": "workspace:*",
"@crystallize/schema": "workspace:*",
"@crystallize/schema": "^2.0",
"zod": "^3.23.8"
}
}
20 changes: 11 additions & 9 deletions components/schema/package.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,21 @@
{
"name": "@crystallize/schema",
"version": "2.0.0",
"version": "3.0.0",
"license": "MIT",
"type": "module",
"main": "./dist/index.cjs",
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/index.cjs",
"types": "./dist/index.d.ts"
"./pim": {
"types": "./dist/pim/index.d.ts",
"import": "./dist/pim/index.mjs",
"require": "./dist/pim/index.js"
},
"./mass-operation": {
"types": "./dist/mass-operation/index.d.ts",
"import": "./dist/mass-operation/index.mjs",
"require": "./dist/mass-operation/index.js"
}
},
"types": "./dist/index.d.ts",
"scripts": {
"build": "rm -rf dist && tsup src/index.ts --format esm,cjs --dts",
"build": "rm -rf dist && tsup src/pim/index.ts --format esm,cjs --dts -d dist/pim && tsup src/mass-operation/index.ts --format esm,cjs --dts -d dist/mass-operation",
"watch": "tsc -W",
"test": "vitest run"
},
Expand Down
Empty file.
Empty file.
6 changes: 0 additions & 6 deletions components/schema/src/index.ts

This file was deleted.

7 changes: 0 additions & 7 deletions components/schema/src/item/components/boolean/index.ts

This file was deleted.

12 changes: 0 additions & 12 deletions components/schema/src/item/components/contentChunk/index.ts

This file was deleted.

8 changes: 0 additions & 8 deletions components/schema/src/item/components/datetime/index.ts

This file was deleted.

8 changes: 0 additions & 8 deletions components/schema/src/item/components/files/index.ts

This file was deleted.

8 changes: 0 additions & 8 deletions components/schema/src/item/components/gridRelations/index.ts

This file was deleted.

13 changes: 0 additions & 13 deletions components/schema/src/item/components/images/index.ts

This file was deleted.

63 changes: 0 additions & 63 deletions components/schema/src/item/components/index.ts

This file was deleted.

9 changes: 0 additions & 9 deletions components/schema/src/item/components/itemRelations/index.ts

This file was deleted.

8 changes: 0 additions & 8 deletions components/schema/src/item/components/location/index.ts

This file was deleted.

8 changes: 0 additions & 8 deletions components/schema/src/item/components/numeric/index.ts

This file was deleted.

19 changes: 0 additions & 19 deletions components/schema/src/item/components/paragraphCollection/index.ts

This file was deleted.

9 changes: 0 additions & 9 deletions components/schema/src/item/components/piece/index.ts

This file was deleted.

14 changes: 0 additions & 14 deletions components/schema/src/item/components/propertiesTable/index.ts

This file was deleted.

26 changes: 0 additions & 26 deletions components/schema/src/item/components/richText/index.ts

This file was deleted.

7 changes: 0 additions & 7 deletions components/schema/src/item/components/selection/index.ts

This file was deleted.

7 changes: 0 additions & 7 deletions components/schema/src/item/components/singleLine/index.ts

This file was deleted.

10 changes: 0 additions & 10 deletions components/schema/src/item/components/videos/index.ts

This file was deleted.

Loading

0 comments on commit c2d894e

Please sign in to comment.