create-payload-app 3.63.0-internal.42dde20 → 3.63.0-internal.7a4b51e
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.
|
@@ -69,6 +69,7 @@ export interface Config {
|
|
|
69
69
|
collections: {
|
|
70
70
|
users: User;
|
|
71
71
|
media: Media;
|
|
72
|
+
'payload-kv': PayloadKv;
|
|
72
73
|
'payload-locked-documents': PayloadLockedDocument;
|
|
73
74
|
'payload-preferences': PayloadPreference;
|
|
74
75
|
'payload-migrations': PayloadMigration;
|
|
@@ -77,6 +78,7 @@ export interface Config {
|
|
|
77
78
|
collectionsSelect: {
|
|
78
79
|
users: UsersSelect<false> | UsersSelect<true>;
|
|
79
80
|
media: MediaSelect<false> | MediaSelect<true>;
|
|
81
|
+
'payload-kv': PayloadKvSelect<false> | PayloadKvSelect<true>;
|
|
80
82
|
'payload-locked-documents': PayloadLockedDocumentsSelect<false> | PayloadLockedDocumentsSelect<true>;
|
|
81
83
|
'payload-preferences': PayloadPreferencesSelect<false> | PayloadPreferencesSelect<true>;
|
|
82
84
|
'payload-migrations': PayloadMigrationsSelect<false> | PayloadMigrationsSelect<true>;
|
|
@@ -156,6 +158,23 @@ export interface Media {
|
|
|
156
158
|
focalX?: number | null;
|
|
157
159
|
focalY?: number | null;
|
|
158
160
|
}
|
|
161
|
+
/**
|
|
162
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
163
|
+
* via the `definition` "payload-kv".
|
|
164
|
+
*/
|
|
165
|
+
export interface PayloadKv {
|
|
166
|
+
id: string;
|
|
167
|
+
key: string;
|
|
168
|
+
data:
|
|
169
|
+
| {
|
|
170
|
+
[k: string]: unknown;
|
|
171
|
+
}
|
|
172
|
+
| unknown[]
|
|
173
|
+
| string
|
|
174
|
+
| number
|
|
175
|
+
| boolean
|
|
176
|
+
| null;
|
|
177
|
+
}
|
|
159
178
|
/**
|
|
160
179
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
161
180
|
* via the `definition` "payload-locked-documents".
|
|
@@ -253,6 +272,14 @@ export interface MediaSelect<T extends boolean = true> {
|
|
|
253
272
|
focalX?: T;
|
|
254
273
|
focalY?: T;
|
|
255
274
|
}
|
|
275
|
+
/**
|
|
276
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
277
|
+
* via the `definition` "payload-kv_select".
|
|
278
|
+
*/
|
|
279
|
+
export interface PayloadKvSelect<T extends boolean = true> {
|
|
280
|
+
key?: T;
|
|
281
|
+
data?: T;
|
|
282
|
+
}
|
|
256
283
|
/**
|
|
257
284
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
258
285
|
* via the `definition` "payload-locked-documents_select".
|