@glidevvr/storage-payload-types-pkg 1.0.33 → 1.0.35
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/package.json +1 -1
- package/payload-types.ts +167 -52
package/package.json
CHANGED
package/payload-types.ts
CHANGED
|
@@ -150,53 +150,13 @@ export type NavItem =
|
|
|
150
150
|
* via the `definition` "supportedTimezones".
|
|
151
151
|
*/
|
|
152
152
|
export type SupportedTimezones =
|
|
153
|
-
| 'Pacific/Midway'
|
|
154
|
-
| 'Pacific/Niue'
|
|
155
153
|
| 'Pacific/Honolulu'
|
|
156
|
-
| 'Pacific/Rarotonga'
|
|
157
154
|
| 'America/Anchorage'
|
|
158
|
-
| 'Pacific/Gambier'
|
|
159
155
|
| 'America/Los_Angeles'
|
|
160
|
-
| 'America/Tijuana'
|
|
161
156
|
| 'America/Denver'
|
|
162
157
|
| 'America/Phoenix'
|
|
163
158
|
| 'America/Chicago'
|
|
164
|
-
| 'America/
|
|
165
|
-
| 'America/New_York'
|
|
166
|
-
| 'America/Bogota'
|
|
167
|
-
| 'America/Caracas'
|
|
168
|
-
| 'America/Santiago'
|
|
169
|
-
| 'America/Buenos_Aires'
|
|
170
|
-
| 'America/Sao_Paulo'
|
|
171
|
-
| 'Atlantic/South_Georgia'
|
|
172
|
-
| 'Atlantic/Azores'
|
|
173
|
-
| 'Atlantic/Cape_Verde'
|
|
174
|
-
| 'Europe/London'
|
|
175
|
-
| 'Europe/Berlin'
|
|
176
|
-
| 'Africa/Lagos'
|
|
177
|
-
| 'Europe/Athens'
|
|
178
|
-
| 'Africa/Cairo'
|
|
179
|
-
| 'Europe/Moscow'
|
|
180
|
-
| 'Asia/Riyadh'
|
|
181
|
-
| 'Asia/Dubai'
|
|
182
|
-
| 'Asia/Baku'
|
|
183
|
-
| 'Asia/Karachi'
|
|
184
|
-
| 'Asia/Tashkent'
|
|
185
|
-
| 'Asia/Calcutta'
|
|
186
|
-
| 'Asia/Dhaka'
|
|
187
|
-
| 'Asia/Almaty'
|
|
188
|
-
| 'Asia/Jakarta'
|
|
189
|
-
| 'Asia/Bangkok'
|
|
190
|
-
| 'Asia/Shanghai'
|
|
191
|
-
| 'Asia/Singapore'
|
|
192
|
-
| 'Asia/Tokyo'
|
|
193
|
-
| 'Asia/Seoul'
|
|
194
|
-
| 'Australia/Brisbane'
|
|
195
|
-
| 'Australia/Sydney'
|
|
196
|
-
| 'Pacific/Guam'
|
|
197
|
-
| 'Pacific/Noumea'
|
|
198
|
-
| 'Pacific/Auckland'
|
|
199
|
-
| 'Pacific/Fiji';
|
|
159
|
+
| 'America/New_York';
|
|
200
160
|
|
|
201
161
|
export interface Config {
|
|
202
162
|
auth: {
|
|
@@ -219,6 +179,7 @@ export interface Config {
|
|
|
219
179
|
redirects: Redirect;
|
|
220
180
|
forms: Form;
|
|
221
181
|
'form-submissions': FormSubmission;
|
|
182
|
+
'payload-jobs': PayloadJob;
|
|
222
183
|
'payload-locked-documents': PayloadLockedDocument;
|
|
223
184
|
'payload-preferences': PayloadPreference;
|
|
224
185
|
'payload-migrations': PayloadMigration;
|
|
@@ -244,6 +205,7 @@ export interface Config {
|
|
|
244
205
|
redirects: RedirectsSelect<false> | RedirectsSelect<true>;
|
|
245
206
|
forms: FormsSelect<false> | FormsSelect<true>;
|
|
246
207
|
'form-submissions': FormSubmissionsSelect<false> | FormSubmissionsSelect<true>;
|
|
208
|
+
'payload-jobs': PayloadJobsSelect<false> | PayloadJobsSelect<true>;
|
|
247
209
|
'payload-locked-documents': PayloadLockedDocumentsSelect<false> | PayloadLockedDocumentsSelect<true>;
|
|
248
210
|
'payload-preferences': PayloadPreferencesSelect<false> | PayloadPreferencesSelect<true>;
|
|
249
211
|
'payload-migrations': PayloadMigrationsSelect<false> | PayloadMigrationsSelect<true>;
|
|
@@ -258,7 +220,13 @@ export interface Config {
|
|
|
258
220
|
collection: 'users';
|
|
259
221
|
};
|
|
260
222
|
jobs: {
|
|
261
|
-
tasks:
|
|
223
|
+
tasks: {
|
|
224
|
+
schedulePublish: TaskSchedulePublish;
|
|
225
|
+
inline: {
|
|
226
|
+
input: unknown;
|
|
227
|
+
output: unknown;
|
|
228
|
+
};
|
|
229
|
+
};
|
|
262
230
|
workflows: unknown;
|
|
263
231
|
};
|
|
264
232
|
}
|
|
@@ -281,8 +249,6 @@ export interface UserAuthOperations {
|
|
|
281
249
|
};
|
|
282
250
|
}
|
|
283
251
|
/**
|
|
284
|
-
* This collection is for static website pages.
|
|
285
|
-
*
|
|
286
252
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
287
253
|
* via the `definition` "pages".
|
|
288
254
|
*/
|
|
@@ -334,8 +300,6 @@ export interface Page {
|
|
|
334
300
|
_status?: ('draft' | 'published') | null;
|
|
335
301
|
}
|
|
336
302
|
/**
|
|
337
|
-
* This collection represents different partner organizations.
|
|
338
|
-
*
|
|
339
303
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
340
304
|
* via the `definition` "tenants".
|
|
341
305
|
*/
|
|
@@ -540,8 +504,6 @@ export interface Media {
|
|
|
540
504
|
};
|
|
541
505
|
}
|
|
542
506
|
/**
|
|
543
|
-
* This collection represents different markets.
|
|
544
|
-
*
|
|
545
507
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
546
508
|
* via the `definition` "markets".
|
|
547
509
|
*/
|
|
@@ -601,8 +563,6 @@ export interface Market {
|
|
|
601
563
|
_status?: ('draft' | 'published') | null;
|
|
602
564
|
}
|
|
603
565
|
/**
|
|
604
|
-
* This collection represents different facilities.
|
|
605
|
-
*
|
|
606
566
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
607
567
|
* via the `definition` "facilities".
|
|
608
568
|
*/
|
|
@@ -925,8 +885,6 @@ export interface Category {
|
|
|
925
885
|
createdAt: string;
|
|
926
886
|
}
|
|
927
887
|
/**
|
|
928
|
-
* This collection is for static blog articles.
|
|
929
|
-
*
|
|
930
888
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
931
889
|
* via the `definition` "posts".
|
|
932
890
|
*/
|
|
@@ -1723,6 +1681,98 @@ export interface FormSubmission {
|
|
|
1723
1681
|
updatedAt: string;
|
|
1724
1682
|
createdAt: string;
|
|
1725
1683
|
}
|
|
1684
|
+
/**
|
|
1685
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
1686
|
+
* via the `definition` "payload-jobs".
|
|
1687
|
+
*/
|
|
1688
|
+
export interface PayloadJob {
|
|
1689
|
+
id: string;
|
|
1690
|
+
/**
|
|
1691
|
+
* Input data provided to the job
|
|
1692
|
+
*/
|
|
1693
|
+
input?:
|
|
1694
|
+
| {
|
|
1695
|
+
[k: string]: unknown;
|
|
1696
|
+
}
|
|
1697
|
+
| unknown[]
|
|
1698
|
+
| string
|
|
1699
|
+
| number
|
|
1700
|
+
| boolean
|
|
1701
|
+
| null;
|
|
1702
|
+
taskStatus?:
|
|
1703
|
+
| {
|
|
1704
|
+
[k: string]: unknown;
|
|
1705
|
+
}
|
|
1706
|
+
| unknown[]
|
|
1707
|
+
| string
|
|
1708
|
+
| number
|
|
1709
|
+
| boolean
|
|
1710
|
+
| null;
|
|
1711
|
+
completedAt?: string | null;
|
|
1712
|
+
totalTried?: number | null;
|
|
1713
|
+
/**
|
|
1714
|
+
* If hasError is true this job will not be retried
|
|
1715
|
+
*/
|
|
1716
|
+
hasError?: boolean | null;
|
|
1717
|
+
/**
|
|
1718
|
+
* If hasError is true, this is the error that caused it
|
|
1719
|
+
*/
|
|
1720
|
+
error?:
|
|
1721
|
+
| {
|
|
1722
|
+
[k: string]: unknown;
|
|
1723
|
+
}
|
|
1724
|
+
| unknown[]
|
|
1725
|
+
| string
|
|
1726
|
+
| number
|
|
1727
|
+
| boolean
|
|
1728
|
+
| null;
|
|
1729
|
+
/**
|
|
1730
|
+
* Task execution log
|
|
1731
|
+
*/
|
|
1732
|
+
log?:
|
|
1733
|
+
| {
|
|
1734
|
+
executedAt: string;
|
|
1735
|
+
completedAt: string;
|
|
1736
|
+
taskSlug: 'inline' | 'schedulePublish';
|
|
1737
|
+
taskID: string;
|
|
1738
|
+
input?:
|
|
1739
|
+
| {
|
|
1740
|
+
[k: string]: unknown;
|
|
1741
|
+
}
|
|
1742
|
+
| unknown[]
|
|
1743
|
+
| string
|
|
1744
|
+
| number
|
|
1745
|
+
| boolean
|
|
1746
|
+
| null;
|
|
1747
|
+
output?:
|
|
1748
|
+
| {
|
|
1749
|
+
[k: string]: unknown;
|
|
1750
|
+
}
|
|
1751
|
+
| unknown[]
|
|
1752
|
+
| string
|
|
1753
|
+
| number
|
|
1754
|
+
| boolean
|
|
1755
|
+
| null;
|
|
1756
|
+
state: 'failed' | 'succeeded';
|
|
1757
|
+
error?:
|
|
1758
|
+
| {
|
|
1759
|
+
[k: string]: unknown;
|
|
1760
|
+
}
|
|
1761
|
+
| unknown[]
|
|
1762
|
+
| string
|
|
1763
|
+
| number
|
|
1764
|
+
| boolean
|
|
1765
|
+
| null;
|
|
1766
|
+
id?: string | null;
|
|
1767
|
+
}[]
|
|
1768
|
+
| null;
|
|
1769
|
+
taskSlug?: ('inline' | 'schedulePublish') | null;
|
|
1770
|
+
queue?: string | null;
|
|
1771
|
+
waitUntil?: string | null;
|
|
1772
|
+
processing?: boolean | null;
|
|
1773
|
+
updatedAt: string;
|
|
1774
|
+
createdAt: string;
|
|
1775
|
+
}
|
|
1726
1776
|
/**
|
|
1727
1777
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
1728
1778
|
* via the `definition` "payload-locked-documents".
|
|
@@ -1789,6 +1839,10 @@ export interface PayloadLockedDocument {
|
|
|
1789
1839
|
| ({
|
|
1790
1840
|
relationTo: 'form-submissions';
|
|
1791
1841
|
value: string | FormSubmission;
|
|
1842
|
+
} | null)
|
|
1843
|
+
| ({
|
|
1844
|
+
relationTo: 'payload-jobs';
|
|
1845
|
+
value: string | PayloadJob;
|
|
1792
1846
|
} | null);
|
|
1793
1847
|
globalSlug?: string | null;
|
|
1794
1848
|
user: {
|
|
@@ -2758,6 +2812,37 @@ export interface FormSubmissionsSelect<T extends boolean = true> {
|
|
|
2758
2812
|
updatedAt?: T;
|
|
2759
2813
|
createdAt?: T;
|
|
2760
2814
|
}
|
|
2815
|
+
/**
|
|
2816
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
2817
|
+
* via the `definition` "payload-jobs_select".
|
|
2818
|
+
*/
|
|
2819
|
+
export interface PayloadJobsSelect<T extends boolean = true> {
|
|
2820
|
+
input?: T;
|
|
2821
|
+
taskStatus?: T;
|
|
2822
|
+
completedAt?: T;
|
|
2823
|
+
totalTried?: T;
|
|
2824
|
+
hasError?: T;
|
|
2825
|
+
error?: T;
|
|
2826
|
+
log?:
|
|
2827
|
+
| T
|
|
2828
|
+
| {
|
|
2829
|
+
executedAt?: T;
|
|
2830
|
+
completedAt?: T;
|
|
2831
|
+
taskSlug?: T;
|
|
2832
|
+
taskID?: T;
|
|
2833
|
+
input?: T;
|
|
2834
|
+
output?: T;
|
|
2835
|
+
state?: T;
|
|
2836
|
+
error?: T;
|
|
2837
|
+
id?: T;
|
|
2838
|
+
};
|
|
2839
|
+
taskSlug?: T;
|
|
2840
|
+
queue?: T;
|
|
2841
|
+
waitUntil?: T;
|
|
2842
|
+
processing?: T;
|
|
2843
|
+
updatedAt?: T;
|
|
2844
|
+
createdAt?: T;
|
|
2845
|
+
}
|
|
2761
2846
|
/**
|
|
2762
2847
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
2763
2848
|
* via the `definition` "payload-locked-documents_select".
|
|
@@ -2790,6 +2875,36 @@ export interface PayloadMigrationsSelect<T extends boolean = true> {
|
|
|
2790
2875
|
updatedAt?: T;
|
|
2791
2876
|
createdAt?: T;
|
|
2792
2877
|
}
|
|
2878
|
+
/**
|
|
2879
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
2880
|
+
* via the `definition` "TaskSchedulePublish".
|
|
2881
|
+
*/
|
|
2882
|
+
export interface TaskSchedulePublish {
|
|
2883
|
+
input: {
|
|
2884
|
+
type?: ('publish' | 'unpublish') | null;
|
|
2885
|
+
locale?: string | null;
|
|
2886
|
+
doc?:
|
|
2887
|
+
| ({
|
|
2888
|
+
relationTo: 'pages';
|
|
2889
|
+
value: string | Page;
|
|
2890
|
+
} | null)
|
|
2891
|
+
| ({
|
|
2892
|
+
relationTo: 'posts';
|
|
2893
|
+
value: string | Post;
|
|
2894
|
+
} | null)
|
|
2895
|
+
| ({
|
|
2896
|
+
relationTo: 'facilities';
|
|
2897
|
+
value: string | Facility;
|
|
2898
|
+
} | null)
|
|
2899
|
+
| ({
|
|
2900
|
+
relationTo: 'markets';
|
|
2901
|
+
value: string | Market;
|
|
2902
|
+
} | null);
|
|
2903
|
+
global?: string | null;
|
|
2904
|
+
user?: (string | null) | User;
|
|
2905
|
+
};
|
|
2906
|
+
output?: unknown;
|
|
2907
|
+
}
|
|
2793
2908
|
/**
|
|
2794
2909
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
2795
2910
|
* via the `definition` "BannerBlock".
|