@webiny/app-headless-cms 6.0.0-alpha.1 → 6.0.0-alpha.2
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/admin/components/ContentEntries/Scheduler/adapters/SchedulerGetGraphQLGateway.d.ts +3 -3
- package/admin/components/ContentEntries/Scheduler/adapters/SchedulerUnpublishGraphQLGateway.d.ts +3 -3
- package/admin/components/ContentEntries/Scheduler/adapters/schema/schedulerEntry.d.ts +9 -9
- package/admin/hooks/useModelFieldGraphqlContext.d.ts +1 -1
- package/admin/plugins/fieldRenderers/object/FieldSettings.d.ts +1 -1
- package/admin/plugins/index.d.ts +3 -3
- package/allPlugins.d.ts +4 -4
- package/package.json +30 -30
|
@@ -4,15 +4,15 @@ export declare class SchedulerGetGraphQLGateway implements ISchedulerGetGateway
|
|
|
4
4
|
private readonly client;
|
|
5
5
|
constructor(client: ApolloClient<any>);
|
|
6
6
|
execute(params: ISchedulerGetExecuteParams): Promise<{
|
|
7
|
-
|
|
7
|
+
model: Pick<import("@webiny/app-headless-cms-common/types").CmsModel, "modelId">;
|
|
8
8
|
id: string;
|
|
9
9
|
title: string;
|
|
10
|
-
|
|
10
|
+
type: import("@webiny/app-headless-cms-scheduler/types.js").ScheduleType;
|
|
11
11
|
targetId: string;
|
|
12
12
|
scheduledBy: {
|
|
13
|
-
type: string;
|
|
14
13
|
id: string;
|
|
15
14
|
displayName: string;
|
|
15
|
+
type: string;
|
|
16
16
|
};
|
|
17
17
|
publishOn?: Date | undefined;
|
|
18
18
|
unpublishOn?: Date | undefined;
|
package/admin/components/ContentEntries/Scheduler/adapters/SchedulerUnpublishGraphQLGateway.d.ts
CHANGED
|
@@ -6,15 +6,15 @@ export declare class SchedulerUnpublishGraphQLGateway implements ISchedulerUnpub
|
|
|
6
6
|
constructor(client: ApolloClient<any>);
|
|
7
7
|
execute(params: ISchedulerUnpublishExecuteParams): Promise<{
|
|
8
8
|
item: {
|
|
9
|
-
|
|
9
|
+
model: Pick<import("@webiny/app-headless-cms-scheduler/types.js").CmsModel, "modelId">;
|
|
10
10
|
id: string;
|
|
11
11
|
title: string;
|
|
12
|
-
|
|
12
|
+
type: ScheduleType;
|
|
13
13
|
targetId: string;
|
|
14
14
|
scheduledBy: {
|
|
15
|
-
type: string;
|
|
16
15
|
id: string;
|
|
17
16
|
displayName: string;
|
|
17
|
+
type: string;
|
|
18
18
|
};
|
|
19
19
|
publishOn?: Date | undefined;
|
|
20
20
|
unpublishOn?: Date | undefined;
|
|
@@ -18,43 +18,43 @@ export declare const schedulerEntrySchema: zod.ZodObject<{
|
|
|
18
18
|
displayName: zod.ZodString;
|
|
19
19
|
type: zod.ZodString;
|
|
20
20
|
}, "strip", zod.ZodTypeAny, {
|
|
21
|
-
type: string;
|
|
22
21
|
id: string;
|
|
23
22
|
displayName: string;
|
|
24
|
-
}, {
|
|
25
23
|
type: string;
|
|
24
|
+
}, {
|
|
26
25
|
id: string;
|
|
27
26
|
displayName: string;
|
|
27
|
+
type: string;
|
|
28
28
|
}>;
|
|
29
29
|
publishOn: zod.ZodEffects<zod.ZodOptional<zod.ZodNullable<zod.ZodString>>, Date | undefined, string | null | undefined>;
|
|
30
30
|
unpublishOn: zod.ZodEffects<zod.ZodOptional<zod.ZodNullable<zod.ZodString>>, Date | undefined, string | null | undefined>;
|
|
31
31
|
type: zod.ZodNativeEnum<typeof ScheduleType>;
|
|
32
32
|
title: zod.ZodString;
|
|
33
33
|
}, "strip", zod.ZodTypeAny, {
|
|
34
|
-
|
|
34
|
+
model: Pick<CmsModel, "modelId">;
|
|
35
35
|
id: string;
|
|
36
36
|
title: string;
|
|
37
|
-
|
|
37
|
+
type: ScheduleType;
|
|
38
38
|
targetId: string;
|
|
39
39
|
scheduledBy: {
|
|
40
|
-
type: string;
|
|
41
40
|
id: string;
|
|
42
41
|
displayName: string;
|
|
42
|
+
type: string;
|
|
43
43
|
};
|
|
44
44
|
publishOn?: Date | undefined;
|
|
45
45
|
unpublishOn?: Date | undefined;
|
|
46
46
|
}, {
|
|
47
|
-
type: ScheduleType;
|
|
48
|
-
id: string;
|
|
49
|
-
title: string;
|
|
50
47
|
model: {
|
|
51
48
|
modelId: string;
|
|
52
49
|
};
|
|
50
|
+
id: string;
|
|
51
|
+
title: string;
|
|
52
|
+
type: ScheduleType;
|
|
53
53
|
targetId: string;
|
|
54
54
|
scheduledBy: {
|
|
55
|
-
type: string;
|
|
56
55
|
id: string;
|
|
57
56
|
displayName: string;
|
|
57
|
+
type: string;
|
|
58
58
|
};
|
|
59
59
|
publishOn?: string | null | undefined;
|
|
60
60
|
unpublishOn?: string | null | undefined;
|
|
@@ -10,7 +10,7 @@ export declare const useModelFieldGraphqlContext: () => {
|
|
|
10
10
|
label: string;
|
|
11
11
|
helpText?: string | undefined;
|
|
12
12
|
placeholderText?: string | undefined;
|
|
13
|
-
validation?: (import("@webiny/
|
|
13
|
+
validation?: (import("@webiny/app-headless-cms-common/types").CmsModelFieldValidator | import("@webiny/validation/types").Validator)[] | undefined;
|
|
14
14
|
listValidation?: import("@webiny/app-headless-cms-common/types").CmsModelFieldValidator[] | undefined;
|
|
15
15
|
multipleValues?: boolean | undefined;
|
|
16
16
|
predefinedValues?: import("@webiny/app-headless-cms-common/types").CmsEditorFieldPredefinedValues | undefined;
|
|
@@ -18,7 +18,7 @@ export declare class FieldSettings {
|
|
|
18
18
|
label: string;
|
|
19
19
|
helpText?: string | undefined;
|
|
20
20
|
placeholderText?: string | undefined;
|
|
21
|
-
validation?: (import("@webiny/
|
|
21
|
+
validation?: (import("@webiny/app-headless-cms-common/types").CmsModelFieldValidator | import("@webiny/validation/types").Validator)[] | undefined;
|
|
22
22
|
listValidation?: import("@webiny/app-headless-cms-common/types").CmsModelFieldValidator[] | undefined;
|
|
23
23
|
multipleValues?: boolean | undefined;
|
|
24
24
|
predefinedValues?: import("@webiny/app-headless-cms-common/types").CmsEditorFieldPredefinedValues | undefined;
|
package/admin/plugins/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
declare const _default: () => (import("@webiny/app-headless-cms-common/types").
|
|
2
|
+
declare const _default: () => (import("@webiny/app-headless-cms-common/types").CmsIconsPlugin | import("@webiny/app/types").RoutePlugin[] | import("@webiny/app-admin/types").AdminInstallationPlugin | import("@webiny/app-headless-cms-common/types").CmsFieldValueTransformer<{
|
|
3
3
|
id: string;
|
|
4
4
|
type: string;
|
|
5
5
|
fieldId: string;
|
|
@@ -7,7 +7,7 @@ declare const _default: () => (import("@webiny/app-headless-cms-common/types").C
|
|
|
7
7
|
label: string;
|
|
8
8
|
helpText?: string | undefined;
|
|
9
9
|
placeholderText?: string | undefined;
|
|
10
|
-
validation?: (import("@webiny/
|
|
10
|
+
validation?: (import("@webiny/app-headless-cms-common/types").CmsModelFieldValidator | import("@webiny/validation/types").Validator)[] | undefined;
|
|
11
11
|
listValidation?: import("@webiny/app-headless-cms-common/types").CmsModelFieldValidator[] | undefined;
|
|
12
12
|
multipleValues?: boolean | undefined;
|
|
13
13
|
predefinedValues?: import("@webiny/app-headless-cms-common/types").CmsEditorFieldPredefinedValues | undefined;
|
|
@@ -17,7 +17,7 @@ declare const _default: () => (import("@webiny/app-headless-cms-common/types").C
|
|
|
17
17
|
settings?: Record<string, any> | undefined;
|
|
18
18
|
} | ((props: import("@webiny/app-headless-cms-common/types").CmsModelFieldRendererProps) => import("react").ReactNode);
|
|
19
19
|
tags?: string[] | undefined;
|
|
20
|
-
}>[] | import("@webiny/app").ApolloCacheObjectIdPlugin<import("@webiny/app").ApolloCacheObject> | {
|
|
20
|
+
}>[] | import("@webiny/app-headless-cms-common/types").CmsEditorFormSettingsPlugin | import("@webiny/app-admin/types").AdminAppPermissionRendererPlugin | import("@webiny/app").ApolloCacheObjectIdPlugin<import("@webiny/app").ApolloCacheObject> | {
|
|
21
21
|
name: string;
|
|
22
22
|
type: string;
|
|
23
23
|
render(): import("react").JSX.Element;
|
package/allPlugins.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
declare const _default: (import("@webiny/app-headless-cms-common/types").
|
|
2
|
+
declare const _default: (import("@webiny/app-headless-cms-common/types").CmsModelFieldRendererPlugin | import("@webiny/app-headless-cms-common/types").CmsModelFieldTypePlugin | import("@webiny/app-headless-cms-common/types").CmsModelFieldValidatorPlugin<any> | import("@webiny/app-headless-cms-common/types").CmsModelFieldRendererPlugin[] | (import("@webiny/app-headless-cms-common/types").CmsIconsPlugin | import("@webiny/app/types").RoutePlugin[] | import("@webiny/app-admin/types").AdminInstallationPlugin | import("@webiny/app-headless-cms-common/types").CmsFieldValueTransformer<{
|
|
3
3
|
id: string;
|
|
4
4
|
type: string;
|
|
5
5
|
fieldId: string;
|
|
@@ -7,7 +7,7 @@ declare const _default: (import("@webiny/app-headless-cms-common/types").CmsMode
|
|
|
7
7
|
label: string;
|
|
8
8
|
helpText?: string | undefined;
|
|
9
9
|
placeholderText?: string | undefined;
|
|
10
|
-
validation?: (import("@webiny/
|
|
10
|
+
validation?: (import("@webiny/app-headless-cms-common/types").CmsModelFieldValidator | import("@webiny/validation/types").Validator)[] | undefined;
|
|
11
11
|
listValidation?: import("@webiny/app-headless-cms-common/types").CmsModelFieldValidator[] | undefined;
|
|
12
12
|
multipleValues?: boolean | undefined;
|
|
13
13
|
predefinedValues?: import("@webiny/app-headless-cms-common/types").CmsEditorFieldPredefinedValues | undefined;
|
|
@@ -17,9 +17,9 @@ declare const _default: (import("@webiny/app-headless-cms-common/types").CmsMode
|
|
|
17
17
|
settings?: Record<string, any> | undefined;
|
|
18
18
|
} | ((props: import("@webiny/app-headless-cms-common/types").CmsModelFieldRendererProps) => import("react").ReactNode);
|
|
19
19
|
tags?: string[] | undefined;
|
|
20
|
-
}>[] | import("@webiny/app").ApolloCacheObjectIdPlugin<import("@webiny/app").ApolloCacheObject> | {
|
|
20
|
+
}>[] | import("@webiny/app-headless-cms-common/types").CmsEditorFormSettingsPlugin | import("@webiny/app-admin/types").AdminAppPermissionRendererPlugin | import("@webiny/app").ApolloCacheObjectIdPlugin<import("@webiny/app").ApolloCacheObject> | {
|
|
21
21
|
name: string;
|
|
22
22
|
type: string;
|
|
23
23
|
render(): import("react").JSX.Element;
|
|
24
|
-
}[])[] | import("@webiny/app-plugin-admin-welcome-screen/types").AdminWelcomeScreenWidgetPlugin)[];
|
|
24
|
+
}[])[] | import("@webiny/app-headless-cms-common/types").CmsModelFieldRegexValidatorExpressionPlugin | import("@webiny/app-plugin-admin-welcome-screen/types").AdminWelcomeScreenWidgetPlugin)[];
|
|
25
25
|
export default _default;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webiny/app-headless-cms",
|
|
3
|
-
"version": "6.0.0-alpha.
|
|
3
|
+
"version": "6.0.0-alpha.2",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -27,33 +27,33 @@
|
|
|
27
27
|
"@lexical/utils": "0.23.1",
|
|
28
28
|
"@svgr/webpack": "6.5.1",
|
|
29
29
|
"@types/react": "18.2.79",
|
|
30
|
-
"@webiny/admin-ui": "6.0.0-alpha.
|
|
31
|
-
"@webiny/app": "6.0.0-alpha.
|
|
32
|
-
"@webiny/app-aco": "6.0.0-alpha.
|
|
33
|
-
"@webiny/app-admin": "6.0.0-alpha.
|
|
34
|
-
"@webiny/app-graphql-playground": "6.0.0-alpha.
|
|
35
|
-
"@webiny/app-headless-cms-common": "6.0.0-alpha.
|
|
36
|
-
"@webiny/app-headless-cms-scheduler": "6.0.0-alpha.
|
|
37
|
-
"@webiny/app-i18n": "6.0.0-alpha.
|
|
38
|
-
"@webiny/app-plugin-admin-welcome-screen": "6.0.0-alpha.
|
|
39
|
-
"@webiny/app-security": "6.0.0-alpha.
|
|
40
|
-
"@webiny/app-tenancy": "6.0.0-alpha.
|
|
41
|
-
"@webiny/app-trash-bin": "6.0.0-alpha.
|
|
42
|
-
"@webiny/error": "6.0.0-alpha.
|
|
43
|
-
"@webiny/feature-flags": "6.0.0-alpha.
|
|
44
|
-
"@webiny/form": "6.0.0-alpha.
|
|
45
|
-
"@webiny/icons": "6.0.0-alpha.
|
|
46
|
-
"@webiny/lexical-editor": "6.0.0-alpha.
|
|
47
|
-
"@webiny/lexical-nodes": "6.0.0-alpha.
|
|
48
|
-
"@webiny/lexical-theme": "6.0.0-alpha.
|
|
49
|
-
"@webiny/plugins": "6.0.0-alpha.
|
|
50
|
-
"@webiny/react-composition": "6.0.0-alpha.
|
|
51
|
-
"@webiny/react-properties": "6.0.0-alpha.
|
|
52
|
-
"@webiny/react-router": "6.0.0-alpha.
|
|
53
|
-
"@webiny/theme": "6.0.0-alpha.
|
|
54
|
-
"@webiny/ui": "6.0.0-alpha.
|
|
55
|
-
"@webiny/utils": "6.0.0-alpha.
|
|
56
|
-
"@webiny/validation": "6.0.0-alpha.
|
|
30
|
+
"@webiny/admin-ui": "6.0.0-alpha.2",
|
|
31
|
+
"@webiny/app": "6.0.0-alpha.2",
|
|
32
|
+
"@webiny/app-aco": "6.0.0-alpha.2",
|
|
33
|
+
"@webiny/app-admin": "6.0.0-alpha.2",
|
|
34
|
+
"@webiny/app-graphql-playground": "6.0.0-alpha.2",
|
|
35
|
+
"@webiny/app-headless-cms-common": "6.0.0-alpha.2",
|
|
36
|
+
"@webiny/app-headless-cms-scheduler": "6.0.0-alpha.2",
|
|
37
|
+
"@webiny/app-i18n": "6.0.0-alpha.2",
|
|
38
|
+
"@webiny/app-plugin-admin-welcome-screen": "6.0.0-alpha.2",
|
|
39
|
+
"@webiny/app-security": "6.0.0-alpha.2",
|
|
40
|
+
"@webiny/app-tenancy": "6.0.0-alpha.2",
|
|
41
|
+
"@webiny/app-trash-bin": "6.0.0-alpha.2",
|
|
42
|
+
"@webiny/error": "6.0.0-alpha.2",
|
|
43
|
+
"@webiny/feature-flags": "6.0.0-alpha.2",
|
|
44
|
+
"@webiny/form": "6.0.0-alpha.2",
|
|
45
|
+
"@webiny/icons": "6.0.0-alpha.2",
|
|
46
|
+
"@webiny/lexical-editor": "6.0.0-alpha.2",
|
|
47
|
+
"@webiny/lexical-nodes": "6.0.0-alpha.2",
|
|
48
|
+
"@webiny/lexical-theme": "6.0.0-alpha.2",
|
|
49
|
+
"@webiny/plugins": "6.0.0-alpha.2",
|
|
50
|
+
"@webiny/react-composition": "6.0.0-alpha.2",
|
|
51
|
+
"@webiny/react-properties": "6.0.0-alpha.2",
|
|
52
|
+
"@webiny/react-router": "6.0.0-alpha.2",
|
|
53
|
+
"@webiny/theme": "6.0.0-alpha.2",
|
|
54
|
+
"@webiny/ui": "6.0.0-alpha.2",
|
|
55
|
+
"@webiny/utils": "6.0.0-alpha.2",
|
|
56
|
+
"@webiny/validation": "6.0.0-alpha.2",
|
|
57
57
|
"apollo-cache": "1.3.5",
|
|
58
58
|
"apollo-client": "2.6.10",
|
|
59
59
|
"apollo-link": "1.2.14",
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
},
|
|
82
82
|
"devDependencies": {
|
|
83
83
|
"@emotion/babel-plugin": "11.11.0",
|
|
84
|
-
"@webiny/project-utils": "6.0.0-alpha.
|
|
84
|
+
"@webiny/project-utils": "6.0.0-alpha.2",
|
|
85
85
|
"babel-plugin-module-resolver": "5.0.2",
|
|
86
86
|
"rimraf": "6.0.1",
|
|
87
87
|
"typescript": "5.3.3"
|
|
@@ -109,5 +109,5 @@
|
|
|
109
109
|
]
|
|
110
110
|
}
|
|
111
111
|
},
|
|
112
|
-
"gitHead": "
|
|
112
|
+
"gitHead": "7c9e8fbfd62a57ece5f880dbad6c864636b0355e"
|
|
113
113
|
}
|