@firecms/data_import_export 3.0.0-canary.155 → 3.0.0-canary.156
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +9 -9
package/dist/index.es.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.es.js","sources":["../src/useImportExportPlugin.tsx"],"sourcesContent":["import React, { useMemo } from \"react\";\nimport { EntityCollection, FireCMSPlugin } from \"@firecms/core\";\nimport { ImportCollectionAction } from \"@firecms/data_import\";\nimport { ExportCollectionAction } from \"@firecms/data_export\";\n\n/**\n * useImportExportPlugin is deprecated.\n * Please use useImportPlugin and useExportPlugin separately\n * @deprecated\n */\nexport function useImportExportPlugin(props?: ImportExportPluginProps): FireCMSPlugin<any, any, any, ImportExportPluginProps> {\n\n console.warn(\"useImportExportPlugin is deprecated. Please use useImportPlugin and useExportPlugin separately\");\n\n return useMemo(() => ({\n key: \"import_export\",\n collectionView: {\n CollectionActions: [ImportCollectionAction, ExportCollectionAction],\n collectionActionsProps: props\n }\n }), [props]);\n}\n\nexport type ImportExportPluginProps = {\n exportAllowed?: (props: ImportExportAllowedParams) => boolean;\n notAllowedView?: React.ReactNode;\n onAnalyticsEvent?: (event: string, params?: any) => void;\n}\nexport type ImportExportAllowedParams = { collectionEntitiesCount: number, path: string, collection: EntityCollection };\n"],"names":[],"mappings":";;;;;AAUO,SAAS,sBAAsB,OAAwF;AAE1H,UAAQ,KAAK,gGAAgG;AAE7G,SAAO,QAAQ,OAAO;AAAA,IAClB,KAAK;AAAA,IACL,gBAAgB;AAAA,MACZ,mBAAmB,CAAC,wBAAwB,sBAAsB;AAAA,MAClE,wBAAwB;AAAA,
|
1
|
+
{"version":3,"file":"index.es.js","sources":["../src/useImportExportPlugin.tsx"],"sourcesContent":["import React, { useMemo } from \"react\";\nimport { EntityCollection, FireCMSPlugin } from \"@firecms/core\";\nimport { ImportCollectionAction } from \"@firecms/data_import\";\nimport { ExportCollectionAction } from \"@firecms/data_export\";\n\n/**\n * useImportExportPlugin is deprecated.\n * Please use useImportPlugin and useExportPlugin separately\n * @deprecated\n */\nexport function useImportExportPlugin(props?: ImportExportPluginProps): FireCMSPlugin<any, any, any, ImportExportPluginProps> {\n\n console.warn(\"useImportExportPlugin is deprecated. Please use useImportPlugin and useExportPlugin separately\");\n\n return useMemo(() => ({\n key: \"import_export\",\n collectionView: {\n CollectionActions: [ImportCollectionAction, ExportCollectionAction],\n collectionActionsProps: props\n }\n }), [props]);\n}\n\nexport type ImportExportPluginProps = {\n exportAllowed?: (props: ImportExportAllowedParams) => boolean;\n notAllowedView?: React.ReactNode;\n onAnalyticsEvent?: (event: string, params?: any) => void;\n}\nexport type ImportExportAllowedParams = { collectionEntitiesCount: number, path: string, collection: EntityCollection };\n"],"names":[],"mappings":";;;;;AAUO,SAAS,sBAAsB,OAAwF;AAE1H,UAAQ,KAAK,gGAAgG;AAE7G,SAAO,QAAQ,OAAO;AAAA,IAClB,KAAK;AAAA,IACL,gBAAgB;AAAA,MACZ,mBAAmB,CAAC,wBAAwB,sBAAsB;AAAA,MAClE,wBAAwB;AAAA,IAAA;AAAA,EAC5B,IACA,CAAC,KAAK,CAAC;AACf;"}
|
package/dist/index.umd.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.umd.js","sources":["../src/useImportExportPlugin.tsx"],"sourcesContent":["import React, { useMemo } from \"react\";\nimport { EntityCollection, FireCMSPlugin } from \"@firecms/core\";\nimport { ImportCollectionAction } from \"@firecms/data_import\";\nimport { ExportCollectionAction } from \"@firecms/data_export\";\n\n/**\n * useImportExportPlugin is deprecated.\n * Please use useImportPlugin and useExportPlugin separately\n * @deprecated\n */\nexport function useImportExportPlugin(props?: ImportExportPluginProps): FireCMSPlugin<any, any, any, ImportExportPluginProps> {\n\n console.warn(\"useImportExportPlugin is deprecated. Please use useImportPlugin and useExportPlugin separately\");\n\n return useMemo(() => ({\n key: \"import_export\",\n collectionView: {\n CollectionActions: [ImportCollectionAction, ExportCollectionAction],\n collectionActionsProps: props\n }\n }), [props]);\n}\n\nexport type ImportExportPluginProps = {\n exportAllowed?: (props: ImportExportAllowedParams) => boolean;\n notAllowedView?: React.ReactNode;\n onAnalyticsEvent?: (event: string, params?: any) => void;\n}\nexport type ImportExportAllowedParams = { collectionEntitiesCount: number, path: string, collection: EntityCollection };\n"],"names":["useMemo","ImportCollectionAction","ExportCollectionAction"],"mappings":";;;;AAUO,WAAS,sBAAsB,OAAwF;AAE1H,YAAQ,KAAK,gGAAgG;AAE7G,WAAOA,cAAQ,OAAO;AAAA,MAClB,KAAK;AAAA,MACL,gBAAgB;AAAA,QACZ,mBAAmB,CAACC,YAAA,wBAAwBC,kCAAsB;AAAA,QAClE,wBAAwB;AAAA,
|
1
|
+
{"version":3,"file":"index.umd.js","sources":["../src/useImportExportPlugin.tsx"],"sourcesContent":["import React, { useMemo } from \"react\";\nimport { EntityCollection, FireCMSPlugin } from \"@firecms/core\";\nimport { ImportCollectionAction } from \"@firecms/data_import\";\nimport { ExportCollectionAction } from \"@firecms/data_export\";\n\n/**\n * useImportExportPlugin is deprecated.\n * Please use useImportPlugin and useExportPlugin separately\n * @deprecated\n */\nexport function useImportExportPlugin(props?: ImportExportPluginProps): FireCMSPlugin<any, any, any, ImportExportPluginProps> {\n\n console.warn(\"useImportExportPlugin is deprecated. Please use useImportPlugin and useExportPlugin separately\");\n\n return useMemo(() => ({\n key: \"import_export\",\n collectionView: {\n CollectionActions: [ImportCollectionAction, ExportCollectionAction],\n collectionActionsProps: props\n }\n }), [props]);\n}\n\nexport type ImportExportPluginProps = {\n exportAllowed?: (props: ImportExportAllowedParams) => boolean;\n notAllowedView?: React.ReactNode;\n onAnalyticsEvent?: (event: string, params?: any) => void;\n}\nexport type ImportExportAllowedParams = { collectionEntitiesCount: number, path: string, collection: EntityCollection };\n"],"names":["useMemo","ImportCollectionAction","ExportCollectionAction"],"mappings":";;;;AAUO,WAAS,sBAAsB,OAAwF;AAE1H,YAAQ,KAAK,gGAAgG;AAE7G,WAAOA,cAAQ,OAAO;AAAA,MAClB,KAAK;AAAA,MACL,gBAAgB;AAAA,QACZ,mBAAmB,CAACC,YAAA,wBAAwBC,kCAAsB;AAAA,QAClE,wBAAwB;AAAA,MAAA;AAAA,IAC5B,IACA,CAAC,KAAK,CAAC;AAAA,EACf;;;;;;;;;;;;;;;;"}
|
package/package.json
CHANGED
@@ -1,16 +1,16 @@
|
|
1
1
|
{
|
2
2
|
"name": "@firecms/data_import_export",
|
3
3
|
"type": "module",
|
4
|
-
"version": "3.0.0-canary.
|
4
|
+
"version": "3.0.0-canary.156",
|
5
5
|
"access": "public",
|
6
6
|
"main": "./dist/index.umd.js",
|
7
7
|
"module": "./dist/index.es.js",
|
8
8
|
"types": "./dist/index.d.ts",
|
9
9
|
"source": "src/index.ts",
|
10
10
|
"dependencies": {
|
11
|
-
"@firecms/core": "^3.0.0-canary.
|
12
|
-
"@firecms/data_export": "^3.0.0-canary.
|
13
|
-
"@firecms/data_import": "^3.0.0-canary.
|
11
|
+
"@firecms/core": "^3.0.0-canary.156",
|
12
|
+
"@firecms/data_export": "^3.0.0-canary.156",
|
13
|
+
"@firecms/data_import": "^3.0.0-canary.156"
|
14
14
|
},
|
15
15
|
"peerDependencies": {
|
16
16
|
"firebase": "^10.12.2",
|
@@ -48,16 +48,16 @@
|
|
48
48
|
},
|
49
49
|
"devDependencies": {
|
50
50
|
"@jest/globals": "^29.7.0",
|
51
|
-
"@testing-library/jest-dom": "^6.
|
51
|
+
"@testing-library/jest-dom": "^6.6.3",
|
52
52
|
"@types/jest": "^29.5.14",
|
53
53
|
"@types/react": "^18.3.12",
|
54
54
|
"@types/react-dom": "^18.3.1",
|
55
|
-
"@vitejs/plugin-react": "^4.3.
|
55
|
+
"@vitejs/plugin-react": "^4.3.4",
|
56
56
|
"babel-jest": "^29.7.0",
|
57
57
|
"jest": "^29.7.0",
|
58
58
|
"ts-jest": "^29.2.5",
|
59
|
-
"typescript": "^5.
|
60
|
-
"vite": "^5.4.
|
59
|
+
"typescript": "^5.7.2",
|
60
|
+
"vite": "^5.4.11"
|
61
61
|
},
|
62
62
|
"jest": {
|
63
63
|
"transform": {
|
@@ -83,5 +83,5 @@
|
|
83
83
|
"publishConfig": {
|
84
84
|
"access": "public"
|
85
85
|
},
|
86
|
-
"gitHead": "
|
86
|
+
"gitHead": "78b61328121fb331b164ca96030419b9607971a1"
|
87
87
|
}
|