@uniformdev/canvas 16.1.1-alpha.169 → 16.1.1-alpha.238
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/cli/cli.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { UniformCLIPlugin } from '@uniformdev/cli';
|
2
|
-
import { p as ComponentDefinition, d as CompositionAPIResponse } from '../createEventBus-
|
2
|
+
import { p as ComponentDefinition, d as CompositionAPIResponse } from '../createEventBus-d04d4bc7.js';
|
3
3
|
import { UniformPackage } from '@uniformdev/cli/sync';
|
4
4
|
import 'pusher-js';
|
5
5
|
|
@@ -18,8 +18,9 @@ declare type CompositionAPIResponse = {
|
|
18
18
|
modified?: string;
|
19
19
|
};
|
20
20
|
/** Shape of the PUT request body for /api/v1/canvas */
|
21
|
-
declare type CompositionAPIPutRequest = Omit<CompositionAPIResponse, 'projectId'> & {
|
21
|
+
declare type CompositionAPIPutRequest = Omit<CompositionAPIResponse, 'projectId' | 'composition'> & {
|
22
22
|
projectId: string;
|
23
|
+
composition: RequestComponentInstance;
|
23
24
|
};
|
24
25
|
/** Shape of the DELETE request body for /api/v1/canvas */
|
25
26
|
declare type CompositionAPIDeleteRequest = {
|
@@ -108,7 +109,9 @@ declare type RootComponentInstance = ComponentInstance & {
|
|
108
109
|
state: number;
|
109
110
|
permission: string;
|
110
111
|
}>;
|
112
|
+
_use_team_permissions?: boolean;
|
111
113
|
};
|
114
|
+
declare type RequestComponentInstance = Omit<RootComponentInstance, '_permissions' | '_use_team_permissions'>;
|
112
115
|
|
113
116
|
/** Shape of the GET response from /api/v1/canvas-definitions */
|
114
117
|
declare type ComponentDefinitionAPIResponse = {
|
@@ -272,4 +275,4 @@ declare global {
|
|
272
275
|
*/
|
273
276
|
declare function createEventBus(): Promise<PreviewEventBus | undefined>;
|
274
277
|
|
275
|
-
export { ComponentInstance as C, PreviewEventBus as P, RootComponentInstance as R, ComponentParameter as a, CompositionAPIOptions as b, CompositionListAPIResponse as c, CompositionAPIResponse as d, CompositionAPIPutRequest as e, CompositionAPIDeleteRequest as f, ComponentDefinitionListAPIOptions as g, ComponentDefinitionAPIResponse as h, ComponentDefinitionAPIPutRequest as i, ComponentDefinitionAPIDeleteRequest as j, ComponentDefinitionParameter as k, ComponentDefinitionVariant as l, ComponentDefinitionSlugSettings as m, ComponentDefinitionSlot as n, ComponentDefinitionPermission as o, ComponentDefinition as p, CreatingComponentDefinition as q, CompositionFetchState as r,
|
278
|
+
export { ComponentInstance as C, PreviewEventBus as P, RootComponentInstance as R, ComponentParameter as a, CompositionAPIOptions as b, CompositionListAPIResponse as c, CompositionAPIResponse as d, CompositionAPIPutRequest as e, CompositionAPIDeleteRequest as f, ComponentDefinitionListAPIOptions as g, ComponentDefinitionAPIResponse as h, ComponentDefinitionAPIPutRequest as i, ComponentDefinitionAPIDeleteRequest as j, ComponentDefinitionParameter as k, ComponentDefinitionVariant as l, ComponentDefinitionSlugSettings as m, ComponentDefinitionSlot as n, ComponentDefinitionPermission as o, ComponentDefinition as p, CreatingComponentDefinition as q, CompositionFetchState as r, RequestComponentInstance as s, ChannelSubscription as t, createEventBus as u };
|
package/dist/index.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
import { C as ComponentInstance, a as ComponentParameter, b as CompositionAPIOptions, c as CompositionListAPIResponse, d as CompositionAPIResponse, e as CompositionAPIPutRequest, f as CompositionAPIDeleteRequest, g as ComponentDefinitionListAPIOptions, h as ComponentDefinitionAPIResponse, i as ComponentDefinitionAPIPutRequest, j as ComponentDefinitionAPIDeleteRequest, P as PreviewEventBus } from './createEventBus-
|
2
|
-
export {
|
1
|
+
import { C as ComponentInstance, a as ComponentParameter, b as CompositionAPIOptions, c as CompositionListAPIResponse, d as CompositionAPIResponse, e as CompositionAPIPutRequest, f as CompositionAPIDeleteRequest, g as ComponentDefinitionListAPIOptions, h as ComponentDefinitionAPIResponse, i as ComponentDefinitionAPIPutRequest, j as ComponentDefinitionAPIDeleteRequest, P as PreviewEventBus } from './createEventBus-d04d4bc7.js';
|
2
|
+
export { t as ChannelSubscription, p as ComponentDefinition, j as ComponentDefinitionAPIDeleteRequest, i as ComponentDefinitionAPIPutRequest, h as ComponentDefinitionAPIResponse, g as ComponentDefinitionListAPIOptions, k as ComponentDefinitionParameter, o as ComponentDefinitionPermission, n as ComponentDefinitionSlot, m as ComponentDefinitionSlugSettings, l as ComponentDefinitionVariant, C as ComponentInstance, a as ComponentParameter, f as CompositionAPIDeleteRequest, b as CompositionAPIOptions, e as CompositionAPIPutRequest, d as CompositionAPIResponse, r as CompositionFetchState, c as CompositionListAPIResponse, q as CreatingComponentDefinition, P as PreviewEventBus, s as RequestComponentInstance, R as RootComponentInstance, u as createEventBus } from './createEventBus-d04d4bc7.js';
|
3
3
|
import { Options } from 'p-throttle';
|
4
4
|
import { Options as Options$1 } from 'p-retry';
|
5
5
|
import { PersonalizedVariant, TestVariant } from '@uniformdev/context';
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@uniformdev/canvas",
|
3
|
-
"version": "16.1.1-alpha.
|
3
|
+
"version": "16.1.1-alpha.238+173830b3e",
|
4
4
|
"description": "Common functionality and types for Uniform Canvas",
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
6
6
|
"main": "./dist/index.js",
|
@@ -41,12 +41,12 @@
|
|
41
41
|
"devDependencies": {
|
42
42
|
"@types/retry": "0.12.1",
|
43
43
|
"@types/yargs": "17.0.10",
|
44
|
-
"@uniformdev/cli": "^16.1.1-alpha.
|
44
|
+
"@uniformdev/cli": "^16.1.1-alpha.238+173830b3e",
|
45
45
|
"pusher-js": "7.0.6",
|
46
46
|
"yargs": "17.5.1"
|
47
47
|
},
|
48
48
|
"dependencies": {
|
49
|
-
"@uniformdev/context": "^16.1.1-alpha.
|
49
|
+
"@uniformdev/context": "^16.1.1-alpha.238+173830b3e",
|
50
50
|
"isomorphic-unfetch": "^3.1.0",
|
51
51
|
"p-limit": "^3.1.0",
|
52
52
|
"p-retry": "^4.6.2",
|
@@ -58,5 +58,5 @@
|
|
58
58
|
"publishConfig": {
|
59
59
|
"access": "public"
|
60
60
|
},
|
61
|
-
"gitHead": "
|
61
|
+
"gitHead": "173830b3ebfe02dfe01d82d28eb97f517f4e58aa"
|
62
62
|
}
|