@oneclick.dev/cms-core-modules 0.0.93 → 0.0.95

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.
@@ -19,6 +19,7 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
19
19
  };
20
20
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
21
21
  changeLocale: (locale: string) => any;
22
+ copyFromLocale: (sourceLocale: string) => any;
22
23
  }, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
23
24
  latestByLocale: {
24
25
  type: () => Version[] | undefined;
@@ -34,6 +35,7 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
34
35
  };
35
36
  }>> & Readonly<{
36
37
  onChangeLocale?: ((locale: string) => any) | undefined;
38
+ onCopyFromLocale?: ((sourceLocale: string) => any) | undefined;
37
39
  }>, {
38
40
  liveByLocale: Version[] | undefined;
39
41
  latestByLocale: Version[] | undefined;
@@ -4,6 +4,7 @@ export declare const config: {
4
4
  readonly label: "Database";
5
5
  readonly type: "resource";
6
6
  readonly accept: ["FIREBASE"];
7
+ readonly required: true;
7
8
  };
8
9
  readonly domain: {
9
10
  readonly label: "Domain";
@@ -14,11 +15,13 @@ export declare const config: {
14
15
  readonly label: "Collections Collection";
15
16
  readonly type: "input";
16
17
  readonly default: "content_collections";
18
+ readonly required: true;
17
19
  };
18
20
  readonly contentCollection: {
19
21
  readonly label: "Content Collection";
20
22
  readonly type: "input";
21
23
  readonly default: "content";
24
+ readonly required: true;
22
25
  };
23
26
  readonly allowedMediaSources: {
24
27
  readonly label: "Allowed Media Sources";
@@ -45,21 +48,34 @@ export declare const config: {
45
48
  readonly label: "GitHub Integration";
46
49
  readonly type: "resource";
47
50
  readonly accept: ["GITHUB"];
48
- };
49
- readonly githubRepo: {
50
- readonly label: "GitHub Repository";
51
- readonly type: "input";
52
- };
53
- readonly githubOwner: {
54
- readonly label: "GitHub Owner";
55
- readonly type: "input";
56
- readonly required: false;
51
+ readonly allowAgencyIntegrations: true;
52
+ };
53
+ readonly githubSettings: import('@oneclick.dev/cms-kit').SettingGroup<{
54
+ readonly instantBuild: {
55
+ readonly label: "Instant build after publish";
56
+ readonly type: "checkbox";
57
+ };
58
+ readonly githubRepo: {
59
+ readonly label: "GitHub Repository";
60
+ readonly type: "input";
61
+ };
62
+ readonly githubOwner: {
63
+ readonly label: "GitHub Owner";
64
+ readonly type: "input";
65
+ };
66
+ }>;
67
+ readonly aiIntegration: {
68
+ readonly label: "AI Integration";
69
+ readonly type: "resource";
70
+ readonly accept: ["OPENAI"];
71
+ readonly allowAgencyIntegrations: true;
57
72
  };
58
73
  } & {
59
74
  readonly project: {
60
75
  readonly label: "Database";
61
76
  readonly type: "resource";
62
77
  readonly accept: ["FIREBASE"];
78
+ readonly required: true;
63
79
  };
64
80
  readonly domain: {
65
81
  readonly label: "Domain";
@@ -70,11 +86,13 @@ export declare const config: {
70
86
  readonly label: "Collections Collection";
71
87
  readonly type: "input";
72
88
  readonly default: "content_collections";
89
+ readonly required: true;
73
90
  };
74
91
  readonly contentCollection: {
75
92
  readonly label: "Content Collection";
76
93
  readonly type: "input";
77
94
  readonly default: "content";
95
+ readonly required: true;
78
96
  };
79
97
  readonly allowedMediaSources: {
80
98
  readonly label: "Allowed Media Sources";
@@ -101,15 +119,27 @@ export declare const config: {
101
119
  readonly label: "GitHub Integration";
102
120
  readonly type: "resource";
103
121
  readonly accept: ["GITHUB"];
104
- };
105
- readonly githubRepo: {
106
- readonly label: "GitHub Repository";
107
- readonly type: "input";
108
- };
109
- readonly githubOwner: {
110
- readonly label: "GitHub Owner";
111
- readonly type: "input";
112
- readonly required: false;
122
+ readonly allowAgencyIntegrations: true;
123
+ };
124
+ readonly githubSettings: import('@oneclick.dev/cms-kit').SettingGroup<{
125
+ readonly instantBuild: {
126
+ readonly label: "Instant build after publish";
127
+ readonly type: "checkbox";
128
+ };
129
+ readonly githubRepo: {
130
+ readonly label: "GitHub Repository";
131
+ readonly type: "input";
132
+ };
133
+ readonly githubOwner: {
134
+ readonly label: "GitHub Owner";
135
+ readonly type: "input";
136
+ };
137
+ }>;
138
+ readonly aiIntegration: {
139
+ readonly label: "AI Integration";
140
+ readonly type: "resource";
141
+ readonly accept: ["OPENAI"];
142
+ readonly allowAgencyIntegrations: true;
113
143
  };
114
144
  };
115
145
  export type ConfigValues = ResolveConfig<typeof config>;
@@ -6,6 +6,7 @@ declare const _default: {
6
6
  readonly label: "Database";
7
7
  readonly type: "resource";
8
8
  readonly accept: ["FIREBASE"];
9
+ readonly required: true;
9
10
  };
10
11
  readonly domain: {
11
12
  readonly label: "Domain";
@@ -16,11 +17,13 @@ declare const _default: {
16
17
  readonly label: "Collections Collection";
17
18
  readonly type: "input";
18
19
  readonly default: "content_collections";
20
+ readonly required: true;
19
21
  };
20
22
  readonly contentCollection: {
21
23
  readonly label: "Content Collection";
22
24
  readonly type: "input";
23
25
  readonly default: "content";
26
+ readonly required: true;
24
27
  };
25
28
  readonly allowedMediaSources: {
26
29
  readonly label: "Allowed Media Sources";
@@ -47,21 +50,34 @@ declare const _default: {
47
50
  readonly label: "GitHub Integration";
48
51
  readonly type: "resource";
49
52
  readonly accept: ["GITHUB"];
50
- };
51
- readonly githubRepo: {
52
- readonly label: "GitHub Repository";
53
- readonly type: "input";
54
- };
55
- readonly githubOwner: {
56
- readonly label: "GitHub Owner";
57
- readonly type: "input";
58
- readonly required: false;
53
+ readonly allowAgencyIntegrations: true;
54
+ };
55
+ readonly githubSettings: import('@oneclick.dev/cms-kit').SettingGroup<{
56
+ readonly instantBuild: {
57
+ readonly label: "Instant build after publish";
58
+ readonly type: "checkbox";
59
+ };
60
+ readonly githubRepo: {
61
+ readonly label: "GitHub Repository";
62
+ readonly type: "input";
63
+ };
64
+ readonly githubOwner: {
65
+ readonly label: "GitHub Owner";
66
+ readonly type: "input";
67
+ };
68
+ }>;
69
+ readonly aiIntegration: {
70
+ readonly label: "AI Integration";
71
+ readonly type: "resource";
72
+ readonly accept: ["OPENAI"];
73
+ readonly allowAgencyIntegrations: true;
59
74
  };
60
75
  } & {
61
76
  readonly project: {
62
77
  readonly label: "Database";
63
78
  readonly type: "resource";
64
79
  readonly accept: ["FIREBASE"];
80
+ readonly required: true;
65
81
  };
66
82
  readonly domain: {
67
83
  readonly label: "Domain";
@@ -72,11 +88,13 @@ declare const _default: {
72
88
  readonly label: "Collections Collection";
73
89
  readonly type: "input";
74
90
  readonly default: "content_collections";
91
+ readonly required: true;
75
92
  };
76
93
  readonly contentCollection: {
77
94
  readonly label: "Content Collection";
78
95
  readonly type: "input";
79
96
  readonly default: "content";
97
+ readonly required: true;
80
98
  };
81
99
  readonly allowedMediaSources: {
82
100
  readonly label: "Allowed Media Sources";
@@ -103,15 +121,27 @@ declare const _default: {
103
121
  readonly label: "GitHub Integration";
104
122
  readonly type: "resource";
105
123
  readonly accept: ["GITHUB"];
106
- };
107
- readonly githubRepo: {
108
- readonly label: "GitHub Repository";
109
- readonly type: "input";
110
- };
111
- readonly githubOwner: {
112
- readonly label: "GitHub Owner";
113
- readonly type: "input";
114
- readonly required: false;
124
+ readonly allowAgencyIntegrations: true;
125
+ };
126
+ readonly githubSettings: import('@oneclick.dev/cms-kit').SettingGroup<{
127
+ readonly instantBuild: {
128
+ readonly label: "Instant build after publish";
129
+ readonly type: "checkbox";
130
+ };
131
+ readonly githubRepo: {
132
+ readonly label: "GitHub Repository";
133
+ readonly type: "input";
134
+ };
135
+ readonly githubOwner: {
136
+ readonly label: "GitHub Owner";
137
+ readonly type: "input";
138
+ };
139
+ }>;
140
+ readonly aiIntegration: {
141
+ readonly label: "AI Integration";
142
+ readonly type: "resource";
143
+ readonly accept: ["OPENAI"];
144
+ readonly allowAgencyIntegrations: true;
115
145
  };
116
146
  };
117
147
  routes: ({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oneclick.dev/cms-core-modules",
3
- "version": "0.0.93",
3
+ "version": "0.0.95",
4
4
  "main": "dist/index.cjs.js",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dist/index.d.ts",
@@ -28,7 +28,7 @@
28
28
  "peerDependencies": {
29
29
  "@formkit/drag-and-drop": "^0.5.3",
30
30
  "@internationalized/date": "^3.8.0",
31
- "@oneclick.dev/cms-kit": "0.0.104",
31
+ "@oneclick.dev/cms-kit": "0.0.106",
32
32
  "@tanstack/vue-table": "^8.21.3",
33
33
  "@vee-validate/zod": "^4.15.0",
34
34
  "@vue-flow/core": "^1.48.1",