contentful-ui-extensions-sdk 4.44.0 → 4.44.1
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.
|
@@ -66,37 +66,43 @@ export interface DialogsAPI {
|
|
|
66
66
|
max?: number;
|
|
67
67
|
mimetypeGroups?: string[];
|
|
68
68
|
}) => Promise<T[] | null>;
|
|
69
|
-
/** Opens a dialog for selecting a single experience.
|
|
70
|
-
|
|
69
|
+
/** Opens a dialog for selecting a single experience.
|
|
70
|
+
* This is intentionally optional, until the actual implemenation */
|
|
71
|
+
selectSingleExperience?: <T = Object>(options?: {
|
|
71
72
|
locale?: string;
|
|
72
73
|
contentTypes?: string[];
|
|
73
74
|
}) => Promise<T | null>;
|
|
74
|
-
/** Opens a dialog for selecting multiple experiences.
|
|
75
|
-
|
|
75
|
+
/** Opens a dialog for selecting multiple experiences.
|
|
76
|
+
* This is intentionally optional, until the actual implemenation */
|
|
77
|
+
selectMultipleExperiences?: <T = Object>(options?: {
|
|
76
78
|
locale?: string;
|
|
77
79
|
contentTypes?: string[];
|
|
78
80
|
min?: number;
|
|
79
81
|
max?: number;
|
|
80
82
|
}) => Promise<T[] | null>;
|
|
81
|
-
/** Opens a dialog for selecting a single pattern.
|
|
82
|
-
|
|
83
|
+
/** Opens a dialog for selecting a single pattern.
|
|
84
|
+
* This is intentionally optional, until the actual implemenation */
|
|
85
|
+
selectSinglePattern?: <T = Object>(options?: {
|
|
83
86
|
locale?: string;
|
|
84
87
|
contentTypes?: string[];
|
|
85
88
|
}) => Promise<T | null>;
|
|
86
|
-
/** Opens a dialog for selecting multiple patterns.
|
|
87
|
-
|
|
89
|
+
/** Opens a dialog for selecting multiple patterns.
|
|
90
|
+
* This is intentionally optional, until the actual implemenation */
|
|
91
|
+
selectMultiplePatterns?: <T = Object>(options?: {
|
|
88
92
|
locale?: string;
|
|
89
93
|
contentTypes?: string[];
|
|
90
94
|
min?: number;
|
|
91
95
|
max?: number;
|
|
92
96
|
}) => Promise<T[] | null>;
|
|
93
|
-
/** Opens a dialog for selecting a single component definition.
|
|
94
|
-
|
|
97
|
+
/** Opens a dialog for selecting a single component definition.
|
|
98
|
+
* This is intentionally optional, until the actual implemenation */
|
|
99
|
+
selectSingleComponentDefinition?: <T = Object>(options?: {
|
|
95
100
|
locale?: string;
|
|
96
101
|
contentTypes?: string[];
|
|
97
102
|
}) => Promise<T | null>;
|
|
98
|
-
/** Opens a dialog for selecting multiple component definitions.
|
|
99
|
-
|
|
103
|
+
/** Opens a dialog for selecting multiple component definitions.
|
|
104
|
+
* This is intentionally optional, until the actual implemenation */
|
|
105
|
+
selectMultipleComponentDefinitions?: <T = Object>(options?: {
|
|
100
106
|
locale?: string;
|
|
101
107
|
contentTypes?: string[];
|
|
102
108
|
min?: number;
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"contentful-ui-extensions-sdk","description":"A JavaScript library to develop custom apps for Contentful","version":"4.44.
|
|
1
|
+
{"name":"contentful-ui-extensions-sdk","description":"A JavaScript library to develop custom apps for Contentful","version":"4.44.1","author":"Contentful GmbH","license":"MIT","sideEffects":true,"repository":{"url":"https://github.com/contentful/ui-extensions-sdk.git","type":"git"},"homepage":"https://www.contentful.com/developers/docs/extensibility/app-framework/sdk/","main":"dist/cf-extension-api.js","unpkg":"dist/cf-extension-api.bundled.js","jsdelivr":"dist/cf-extension-api.bundled.js","types":"dist/index.d.ts","files":["dist/cf-extension-api.js","dist/cf-extension-api.js.map","dist/cf-extension-api.bundled.js","dist/cf-extension.css","dist/**/*.d.ts"],"scripts":{"test":"ts-mocha -p tsconfig.test.json 'test/unit/*.[jt]s' --reporter mocha-multi-reporters --reporter-options configFile=mocha.unit-reporters.json","lint":"eslint '{lib,test}/**/*.{t,j}s'","lint:fix":"npm run lint -- --fix","build":"npm run check-types && rollup -c --compact","build:debug":"npm run build -- --sourcemap","prepublishOnly":"npm run build","size":"echo \"Gzipped, estimate: $(gzip -9 -c dist/cf-extension-api.js | wc -c) bytes\"","semantic-release":"semantic-release","publish-all":"node ./scripts/publish.js","verify":"node ./scripts/verify.js","check-types":"tsc --noEmit -m commonjs","prepare":"husky","lint-staged":"lint-staged"},"dependencies":{"contentful-management":"^11.57.1"},"devDependencies":{"@rollup/plugin-commonjs":"^28.0.0","@rollup/plugin-node-resolve":"^16.0.0","@semantic-release/changelog":"6.0.3","@semantic-release/exec":"7.1.0","@semantic-release/git":"10.0.1","@testing-library/dom":"10.4.1","@types/chai-as-promised":"7.1.8","@types/cross-spawn":"6.0.6","@types/fs-extra":"11.0.4","@types/jsdom":"21.1.7","@types/mocha":"10.0.10","@types/nanoid":"3.0.0","@types/sinon":"^17.0.0","@types/sinon-chai":"^3.2.5","@typescript-eslint/eslint-plugin":"7.18.0","@typescript-eslint/parser":"7.18.0","babel-eslint":"10.1.0","chai":"4.5.0","chai-as-promised":"7.1.2","cross-spawn":"7.0.6","eslint":"8.57.1","eslint-config-prettier":"10.1.8","eslint-config-standard":"17.1.0","eslint-plugin-import":"2.32.0","eslint-plugin-node":"11.1.0","eslint-plugin-prettier":"5.5.4","eslint-plugin-promise":"6.6.0","eslint-plugin-react":"7.37.5","eslint-plugin-standard":"5.0.0","fs-extra":"11.3.2","husky":"9.1.7","jsdom":"27.0.0","lint-staged":"16.1.6","mocha":"11.7.2","mocha-junit-reporter":"2.2.1","mocha-multi-reporters":"1.5.1","mochawesome":"7.1.4","mochawesome-merge":"5.0.0","mochawesome-report-generator":"6.3.0","prettier":"3.6.2","rollup":"2.79.2","rollup-plugin-terser":"7.0.2","rollup-plugin-typescript2":"0.36.0","semantic-release":"24.2.8","sinon":"21.0.0","sinon-chai":"3.7.0","ts-mocha":"11.1.0","tslib":"2.8.1","typescript":"5.9.2"},"lint-staged":{"*.ts":["prettier --write","eslint --fix"],"*.md":["prettier --write"]},"release":{"branches":["main",{"name":"canary","channel":"canary","prerelease":"alpha"}],"plugins":["@semantic-release/commit-analyzer","@semantic-release/release-notes-generator","@semantic-release/changelog",["@semantic-release/npm",{"npmPublish":false}],["@semantic-release/exec",{"verifyConditionsCmd":"node ./scripts/verify.js","publishCmd":"npm run publish-all"}],["@semantic-release/git",{"message":"chore: ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}","assets":["CHANGELOG.md","package.json","package-lock.json"]}],"@semantic-release/github"]}}
|