anyonecandesign-types
Advanced tools
Comparing version 0.0.13 to 0.0.14
@@ -32,9 +32,11 @@ export type DatabaseResource<T = unknown> = T & { | ||
currentRevisionId: string; | ||
currentRevisionCreationDuration: number; | ||
revisions: ProjectRevision[]; | ||
undoRevisionIds: string[]; | ||
redoRevisionIds: string[]; | ||
organizationId: string; | ||
}>; | ||
export type Revision = DatabaseResource<{ | ||
files: RevisionFile[]; | ||
projectId: string; | ||
files: RevisionFile[]; | ||
implicitFiles: RevisionImplicitFile[]; | ||
organizationId: string; | ||
}>; | ||
@@ -51,2 +53,9 @@ export type Email = DatabaseResource<{ | ||
export type ProjectStatus = 'start' | 'success' | 'error' | 'prompt' | 'build' | 'deploy' | 'unknown'; | ||
export type ProjectRevision = { | ||
id: string; | ||
status: ProjectStatus; | ||
prompt: string; | ||
duration: number; | ||
createdAt: string; | ||
}; | ||
export type ProjectLog = { | ||
@@ -61,5 +70,1 @@ severity: 'info' | 'error'; | ||
}; | ||
export type RevisionImplicitFile = { | ||
path: string; | ||
type: 'shadcn'; | ||
}; |
{ | ||
"name": "anyonecandesign-types", | ||
"version": "0.0.13", | ||
"version": "0.0.14", | ||
"description": "TypeScript types for anyonecandesign.com", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.d.ts", |
2293
67