@uniformdev/canvas-vue 18.35.1-alpha.16 → 18.35.1-alpha.18
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.d.ts +6 -6
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -342,7 +342,7 @@ declare const UniformComponent: vue_demi.DefineComponent<{
|
|
|
342
342
|
/** @deprecated use `createUniformApiEnhancer` instead */
|
|
343
343
|
declare const createApiEnhancer: ({ apiUrl }: {
|
|
344
344
|
apiUrl: string;
|
|
345
|
-
}) => (message: UpdateCompositionMessage) => Promise<{
|
|
345
|
+
}) => (message: Pick<UpdateCompositionMessage, "composition" | "hash">) => Promise<{
|
|
346
346
|
type: string;
|
|
347
347
|
parameters?: {
|
|
348
348
|
[key: string]: {
|
|
@@ -465,7 +465,7 @@ type UseUniformContextualEditingProps = {
|
|
|
465
465
|
* WARNING: This enhancer will run on the client side. Make sure you're not exposing any secrets.
|
|
466
466
|
* You can use `createUniformApiEnhancer` to create an enhancer based on an API route.
|
|
467
467
|
*/
|
|
468
|
-
enhance?: (compositionUpdateMessage: UpdateCompositionMessage) => RootComponentInstance | Promise<RootComponentInstance>;
|
|
468
|
+
enhance?: (compositionUpdateMessage: Pick<UpdateCompositionMessage, 'composition' | 'hash'>) => RootComponentInstance | Promise<RootComponentInstance>;
|
|
469
469
|
};
|
|
470
470
|
/**
|
|
471
471
|
* Adds contextual editing capability to a Uniform app.
|
|
@@ -976,7 +976,7 @@ declare const UniformComposition: vue_demi.DefineComponent<{
|
|
|
976
976
|
default: string;
|
|
977
977
|
};
|
|
978
978
|
contextualEditingEnhancer: {
|
|
979
|
-
type: PropType<((compositionUpdateMessage: _uniformdev_canvas.UpdateCompositionMessage) => {
|
|
979
|
+
type: PropType<((compositionUpdateMessage: Pick<_uniformdev_canvas.UpdateCompositionMessage, "composition" | "hash">) => {
|
|
980
980
|
type: string;
|
|
981
981
|
parameters?: {
|
|
982
982
|
[key: string]: {
|
|
@@ -1452,7 +1452,7 @@ declare const UniformComposition: vue_demi.DefineComponent<{
|
|
|
1452
1452
|
default: string;
|
|
1453
1453
|
};
|
|
1454
1454
|
contextualEditingEnhancer: {
|
|
1455
|
-
type: PropType<((compositionUpdateMessage: _uniformdev_canvas.UpdateCompositionMessage) => {
|
|
1455
|
+
type: PropType<((compositionUpdateMessage: Pick<_uniformdev_canvas.UpdateCompositionMessage, "composition" | "hash">) => {
|
|
1456
1456
|
type: string;
|
|
1457
1457
|
parameters?: {
|
|
1458
1458
|
[key: string]: {
|
|
@@ -1930,7 +1930,7 @@ declare const Composition: vue_demi.DefineComponent<{
|
|
|
1930
1930
|
default: string;
|
|
1931
1931
|
};
|
|
1932
1932
|
contextualEditingEnhancer: {
|
|
1933
|
-
type: PropType<((compositionUpdateMessage: _uniformdev_canvas.UpdateCompositionMessage) => {
|
|
1933
|
+
type: PropType<((compositionUpdateMessage: Pick<_uniformdev_canvas.UpdateCompositionMessage, "composition" | "hash">) => {
|
|
1934
1934
|
type: string;
|
|
1935
1935
|
parameters?: {
|
|
1936
1936
|
[key: string]: {
|
|
@@ -2406,7 +2406,7 @@ declare const Composition: vue_demi.DefineComponent<{
|
|
|
2406
2406
|
default: string;
|
|
2407
2407
|
};
|
|
2408
2408
|
contextualEditingEnhancer: {
|
|
2409
|
-
type: PropType<((compositionUpdateMessage: _uniformdev_canvas.UpdateCompositionMessage) => {
|
|
2409
|
+
type: PropType<((compositionUpdateMessage: Pick<_uniformdev_canvas.UpdateCompositionMessage, "composition" | "hash">) => {
|
|
2410
2410
|
type: string;
|
|
2411
2411
|
parameters?: {
|
|
2412
2412
|
[key: string]: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uniformdev/canvas-vue",
|
|
3
|
-
"version": "18.35.1-alpha.
|
|
3
|
+
"version": "18.35.1-alpha.18+4510fc3ce",
|
|
4
4
|
"description": "Vue SDK for Uniform Canvas",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"document": "api-extractor run --local"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@uniformdev/canvas": "18.35.1-alpha.
|
|
26
|
+
"@uniformdev/canvas": "18.35.1-alpha.18+4510fc3ce",
|
|
27
27
|
"@vue/test-utils": "2.3.2",
|
|
28
28
|
"vue-demi": "^0.13.11"
|
|
29
29
|
},
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"@testing-library/vue": "7.0.0",
|
|
42
42
|
"@types/uuid": "9.0.1",
|
|
43
|
-
"@uniformdev/context-vue": "18.35.1-alpha.
|
|
43
|
+
"@uniformdev/context-vue": "18.35.1-alpha.18+4510fc3ce",
|
|
44
44
|
"@vue/server-test-utils": "1.3.0",
|
|
45
45
|
"vue": "3.2.45",
|
|
46
46
|
"vue-server-renderer": "2.7.14",
|
|
@@ -63,5 +63,5 @@
|
|
|
63
63
|
"last 2 versions",
|
|
64
64
|
"not dead"
|
|
65
65
|
],
|
|
66
|
-
"gitHead": "
|
|
66
|
+
"gitHead": "4510fc3ce951613eb00718ee1a8eea3e3d63893c"
|
|
67
67
|
}
|