refine: update src/types.ts
This commit is contained in:
parent
6a4a0bca09
commit
5c43fbb871
11
src/types.ts
11
src/types.ts
@ -13,6 +13,7 @@ export type TemplateDocument = {
|
|||||||
|
|
||||||
export type TemplateRecord = {
|
export type TemplateRecord = {
|
||||||
id: string
|
id: string
|
||||||
|
template_key: string
|
||||||
name: string
|
name: string
|
||||||
type: TemplateType
|
type: TemplateType
|
||||||
status: string
|
status: string
|
||||||
@ -24,5 +25,13 @@ export type TemplateRecord = {
|
|||||||
|
|
||||||
export type TemplateSummary = Pick<
|
export type TemplateSummary = Pick<
|
||||||
TemplateRecord,
|
TemplateRecord,
|
||||||
'id' | 'name' | 'type' | 'status' | 'published_version' | 'updated_at'
|
'id' | 'template_key' | 'name' | 'type' | 'status' | 'published_version' | 'updated_at'
|
||||||
>
|
>
|
||||||
|
|
||||||
|
export type ApiKeySummary = {
|
||||||
|
id: string
|
||||||
|
name: string
|
||||||
|
key_prefix: string
|
||||||
|
created_at: string
|
||||||
|
last_used_at?: string | null
|
||||||
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user