Skip to content

Commit 430fe36

Browse files
committed
Update pb types
1 parent 4d03e44 commit 430fe36

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

mobile/pocketbase-types.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,12 +93,13 @@ export type SuperusersRecord = {
9393
verified?: boolean
9494
}
9595

96-
export type ItemsRecord = {
96+
export type ItemsRecord<Ttags = unknown> = {
9797
category?: string
9898
created?: IsoDateString
9999
id: string
100100
image?: string
101101
name?: string
102+
tags?: null | Ttags
102103
updated?: IsoDateString
103104
}
104105

@@ -140,7 +141,7 @@ export type ExternalauthsResponse<Texpand = unknown> = Required<ExternalauthsRec
140141
export type MfasResponse<Texpand = unknown> = Required<MfasRecord> & BaseSystemFields<Texpand>
141142
export type OtpsResponse<Texpand = unknown> = Required<OtpsRecord> & BaseSystemFields<Texpand>
142143
export type SuperusersResponse<Texpand = unknown> = Required<SuperusersRecord> & AuthSystemFields<Texpand>
143-
export type ItemsResponse<Texpand = unknown> = Required<ItemsRecord> & BaseSystemFields<Texpand>
144+
export type ItemsResponse<Ttags = unknown, Texpand = unknown> = Required<ItemsRecord<Ttags>> & BaseSystemFields<Texpand>
144145
export type LookbooksResponse<Texpand = unknown> = Required<LookbooksRecord> & BaseSystemFields<Texpand>
145146
export type TrendsResponse<Tsources = unknown, Texpand = unknown> = Required<TrendsRecord<Tsources>> & BaseSystemFields<Texpand>
146147
export type UsersResponse<Texpand = unknown> = Required<UsersRecord> & AuthSystemFields<Texpand>

0 commit comments

Comments
 (0)