chore: update
This commit is contained in:
@@ -58,6 +58,7 @@ export interface Demo {
|
||||
status: DemoStatus
|
||||
namespace: string
|
||||
url: string
|
||||
custom_domain?: string
|
||||
type_abonnement?: string
|
||||
created_at: string
|
||||
expires_at: string
|
||||
@@ -186,6 +187,8 @@ export const api = {
|
||||
}),
|
||||
extendDemo: (id: string) => request<Demo>('POST', `/demos/${id}/extend`),
|
||||
deleteDemo: (id: string) => request<Demo>('DELETE', `/demos/${id}`),
|
||||
setDemoDomain: (id: string, domain: string) =>
|
||||
request<Demo>('POST', `/demos/${id}/domain`, { domain }),
|
||||
|
||||
listCodes: () => request<{ items: CodeBuySub[] }>('GET', '/codes'),
|
||||
createCode: (username: string) =>
|
||||
|
||||
Reference in New Issue
Block a user