create-payload-app
Advanced tools
Comparing version 3.20.0-canary.0e01b65 to 3.20.0-canary.260f830
@@ -16,5 +16,14 @@ /* tslint:disable */ | ||
media: Media; | ||
'payload-locked-documents': PayloadLockedDocument; | ||
'payload-preferences': PayloadPreference; | ||
'payload-migrations': PayloadMigration; | ||
}; | ||
collectionsJoins: {}; | ||
collectionsSelect: { | ||
users: UsersSelect<false> | UsersSelect<true>; | ||
media: MediaSelect<false> | MediaSelect<true>; | ||
'payload-locked-documents': PayloadLockedDocumentsSelect<false> | PayloadLockedDocumentsSelect<true>; | ||
'payload-preferences': PayloadPreferencesSelect<false> | PayloadPreferencesSelect<true>; | ||
'payload-migrations': PayloadMigrationsSelect<false> | PayloadMigrationsSelect<true>; | ||
}; | ||
db: { | ||
@@ -24,2 +33,3 @@ defaultIDType: string; | ||
globals: {}; | ||
globalsSelect: {}; | ||
locale: null; | ||
@@ -29,2 +39,6 @@ user: User & { | ||
}; | ||
jobs: { | ||
tasks: unknown; | ||
workflows: unknown; | ||
}; | ||
} | ||
@@ -87,2 +101,25 @@ export interface UserAuthOperations { | ||
* This interface was referenced by `Config`'s JSON-Schema | ||
* via the `definition` "payload-locked-documents". | ||
*/ | ||
export interface PayloadLockedDocument { | ||
id: string; | ||
document?: | ||
| ({ | ||
relationTo: 'users'; | ||
value: string | User; | ||
} | null) | ||
| ({ | ||
relationTo: 'media'; | ||
value: string | Media; | ||
} | null); | ||
globalSlug?: string | null; | ||
user: { | ||
relationTo: 'users'; | ||
value: string | User; | ||
}; | ||
updatedAt: string; | ||
createdAt: string; | ||
} | ||
/** | ||
* This interface was referenced by `Config`'s JSON-Schema | ||
* via the `definition` "payload-preferences". | ||
@@ -122,2 +159,67 @@ */ | ||
* This interface was referenced by `Config`'s JSON-Schema | ||
* via the `definition` "users_select". | ||
*/ | ||
export interface UsersSelect<T extends boolean = true> { | ||
updatedAt?: T; | ||
createdAt?: T; | ||
email?: T; | ||
resetPasswordToken?: T; | ||
resetPasswordExpiration?: T; | ||
salt?: T; | ||
hash?: T; | ||
loginAttempts?: T; | ||
lockUntil?: T; | ||
} | ||
/** | ||
* This interface was referenced by `Config`'s JSON-Schema | ||
* via the `definition` "media_select". | ||
*/ | ||
export interface MediaSelect<T extends boolean = true> { | ||
alt?: T; | ||
updatedAt?: T; | ||
createdAt?: T; | ||
url?: T; | ||
thumbnailURL?: T; | ||
filename?: T; | ||
mimeType?: T; | ||
filesize?: T; | ||
width?: T; | ||
height?: T; | ||
focalX?: T; | ||
focalY?: T; | ||
} | ||
/** | ||
* This interface was referenced by `Config`'s JSON-Schema | ||
* via the `definition` "payload-locked-documents_select". | ||
*/ | ||
export interface PayloadLockedDocumentsSelect<T extends boolean = true> { | ||
document?: T; | ||
globalSlug?: T; | ||
user?: T; | ||
updatedAt?: T; | ||
createdAt?: T; | ||
} | ||
/** | ||
* This interface was referenced by `Config`'s JSON-Schema | ||
* via the `definition` "payload-preferences_select". | ||
*/ | ||
export interface PayloadPreferencesSelect<T extends boolean = true> { | ||
user?: T; | ||
key?: T; | ||
value?: T; | ||
updatedAt?: T; | ||
createdAt?: T; | ||
} | ||
/** | ||
* This interface was referenced by `Config`'s JSON-Schema | ||
* via the `definition` "payload-migrations_select". | ||
*/ | ||
export interface PayloadMigrationsSelect<T extends boolean = true> { | ||
name?: T; | ||
batch?: T; | ||
updatedAt?: T; | ||
createdAt?: T; | ||
} | ||
/** | ||
* This interface was referenced by `Config`'s JSON-Schema | ||
* via the `definition` "auth". | ||
@@ -124,0 +226,0 @@ */ |
{ | ||
"name": "create-payload-app", | ||
"version": "3.20.0-canary.0e01b65", | ||
"version": "3.20.0-canary.260f830", | ||
"homepage": "https://payloadcms.com", | ||
@@ -5,0 +5,0 @@ "repository": { |
274761
136
2957