@@ -74,12 +74,14 @@ export interface Config {
7474 transforms : Transform ;
7575 hooks : Hook ;
7676 'nested-after-read-hooks' : NestedAfterReadHook ;
77+ 'nested-after-change-hooks' : NestedAfterChangeHook ;
7778 'chaining-hooks' : ChainingHook ;
7879 relations : Relation ;
7980 'hooks-users' : HooksUser ;
8081 'data-hooks' : DataHook ;
8182 'field-paths' : FieldPath ;
8283 'value-hooks' : ValueHook ;
84+ 'payload-kv' : PayloadKv ;
8385 'payload-locked-documents' : PayloadLockedDocument ;
8486 'payload-preferences' : PayloadPreference ;
8587 'payload-migrations' : PayloadMigration ;
@@ -93,12 +95,14 @@ export interface Config {
9395 transforms : TransformsSelect < false > | TransformsSelect < true > ;
9496 hooks : HooksSelect < false > | HooksSelect < true > ;
9597 'nested-after-read-hooks' : NestedAfterReadHooksSelect < false > | NestedAfterReadHooksSelect < true > ;
98+ 'nested-after-change-hooks' : NestedAfterChangeHooksSelect < false > | NestedAfterChangeHooksSelect < true > ;
9699 'chaining-hooks' : ChainingHooksSelect < false > | ChainingHooksSelect < true > ;
97100 relations : RelationsSelect < false > | RelationsSelect < true > ;
98101 'hooks-users' : HooksUsersSelect < false > | HooksUsersSelect < true > ;
99102 'data-hooks' : DataHooksSelect < false > | DataHooksSelect < true > ;
100103 'field-paths' : FieldPathsSelect < false > | FieldPathsSelect < true > ;
101104 'value-hooks' : ValueHooksSelect < false > | ValueHooksSelect < true > ;
105+ 'payload-kv' : PayloadKvSelect < false > | PayloadKvSelect < true > ;
102106 'payload-locked-documents' : PayloadLockedDocumentsSelect < false > | PayloadLockedDocumentsSelect < true > ;
103107 'payload-preferences' : PayloadPreferencesSelect < false > | PayloadPreferencesSelect < true > ;
104108 'payload-migrations' : PayloadMigrationsSelect < false > | PayloadMigrationsSelect < true > ;
@@ -251,6 +255,24 @@ export interface Relation {
251255 updatedAt : string ;
252256 createdAt : string ;
253257}
258+ /**
259+ * This interface was referenced by `Config`'s JSON-Schema
260+ * via the `definition` "nested-after-change-hooks".
261+ */
262+ export interface NestedAfterChangeHook {
263+ id : string ;
264+ text ?: string | null ;
265+ group ?: {
266+ array ?:
267+ | {
268+ nestedAfterChange ?: string | null ;
269+ id ?: string | null ;
270+ } [ ]
271+ | null ;
272+ } ;
273+ updatedAt : string ;
274+ createdAt : string ;
275+ }
254276/**
255277 * This interface was referenced by `Config`'s JSON-Schema
256278 * via the `definition` "chaining-hooks".
@@ -278,6 +300,13 @@ export interface HooksUser {
278300 hash ?: string | null ;
279301 loginAttempts ?: number | null ;
280302 lockUntil ?: string | null ;
303+ sessions ?:
304+ | {
305+ id : string ;
306+ createdAt ?: string | null ;
307+ expiresAt : string ;
308+ } [ ]
309+ | null ;
281310 password ?: string | null ;
282311}
283312/**
@@ -625,6 +654,23 @@ export interface ValueHook {
625654 updatedAt : string ;
626655 createdAt : string ;
627656}
657+ /**
658+ * This interface was referenced by `Config`'s JSON-Schema
659+ * via the `definition` "payload-kv".
660+ */
661+ export interface PayloadKv {
662+ id : string ;
663+ key : string ;
664+ data :
665+ | {
666+ [ k : string ] : unknown ;
667+ }
668+ | unknown [ ]
669+ | string
670+ | number
671+ | boolean
672+ | null ;
673+ }
628674/**
629675 * This interface was referenced by `Config`'s JSON-Schema
630676 * via the `definition` "payload-locked-documents".
@@ -660,6 +706,10 @@ export interface PayloadLockedDocument {
660706 relationTo : 'nested-after-read-hooks' ;
661707 value : string | NestedAfterReadHook ;
662708 } | null )
709+ | ( {
710+ relationTo : 'nested-after-change-hooks' ;
711+ value : string | NestedAfterChangeHook ;
712+ } | null )
663713 | ( {
664714 relationTo : 'chaining-hooks' ;
665715 value : string | ChainingHook ;
@@ -817,6 +867,25 @@ export interface NestedAfterReadHooksSelect<T extends boolean = true> {
817867 updatedAt ?: T ;
818868 createdAt ?: T ;
819869}
870+ /**
871+ * This interface was referenced by `Config`'s JSON-Schema
872+ * via the `definition` "nested-after-change-hooks_select".
873+ */
874+ export interface NestedAfterChangeHooksSelect < T extends boolean = true > {
875+ text ?: T ;
876+ group ?:
877+ | T
878+ | {
879+ array ?:
880+ | T
881+ | {
882+ nestedAfterChange ?: T ;
883+ id ?: T ;
884+ } ;
885+ } ;
886+ updatedAt ?: T ;
887+ createdAt ?: T ;
888+ }
820889/**
821890 * This interface was referenced by `Config`'s JSON-Schema
822891 * via the `definition` "chaining-hooks_select".
@@ -851,6 +920,13 @@ export interface HooksUsersSelect<T extends boolean = true> {
851920 hash ?: T ;
852921 loginAttempts ?: T ;
853922 lockUntil ?: T ;
923+ sessions ?:
924+ | T
925+ | {
926+ id ?: T ;
927+ createdAt ?: T ;
928+ expiresAt ?: T ;
929+ } ;
854930}
855931/**
856932 * This interface was referenced by `Config`'s JSON-Schema
@@ -940,6 +1016,14 @@ export interface ValueHooksSelect<T extends boolean = true> {
9401016 updatedAt ?: T ;
9411017 createdAt ?: T ;
9421018}
1019+ /**
1020+ * This interface was referenced by `Config`'s JSON-Schema
1021+ * via the `definition` "payload-kv_select".
1022+ */
1023+ export interface PayloadKvSelect < T extends boolean = true > {
1024+ key ?: T ;
1025+ data ?: T ;
1026+ }
9431027/**
9441028 * This interface was referenced by `Config`'s JSON-Schema
9451029 * via the `definition` "payload-locked-documents_select".
0 commit comments