Add headshots ux (#145)
This commit is contained in:
1 parent
d7592d8776
commit
fedee8865f
36 files changed
+2090
-3
No files matched your search
@@ -0,0 +1,54 @@
|
||||
export interface Picture {
|
||||
id?: string;
|
||||
audio_url?: string;
|
||||
created_at?: string;
|
||||
}
|
||||
// Submitted payload
|
||||
export interface IHeadshotsConfig {
|
||||
mode?: string;
|
||||
template?: string;
|
||||
image_urls?: string[];
|
||||
}
|
||||
export interface IHeadshotsGenerateRequest {
|
||||
mode?: string;
|
||||
template?: string;
|
||||
image_urls?: string[];
|
||||
}
|
||||
|
||||
export interface IHeadshotsPicture {
|
||||
id?: string;
|
||||
image_url?: string;
|
||||
template?: number;
|
||||
}
|
||||
|
||||
export interface IHeadshotsGenerateResponse {
|
||||
success?: boolean;
|
||||
task_id: string;
|
||||
trace_id: string;
|
||||
error?: {
|
||||
code?: string;
|
||||
message?: string;
|
||||
};
|
||||
data?: IHeadshotsPicture[];
|
||||
}
|
||||
|
||||
export interface IHeadshotsTask {
|
||||
map(arg0: (song: any) => any): any;
|
||||
id: string;
|
||||
_id: string;
|
||||
api_id?: string;
|
||||
application_id?: string;
|
||||
created_at?: string;
|
||||
credential_id?: string;
|
||||
trace_id?: string;
|
||||
user_id?: string;
|
||||
request?: IHeadshotsGenerateRequest;
|
||||
response?: IHeadshotsGenerateResponse;
|
||||
}
|
||||
|
||||
export type IHeadshotsTaskResponse = IHeadshotsTask;
|
||||
|
||||
export interface IHeadshotsTasksResponse {
|
||||
count: number;
|
||||
items: IHeadshotsTask[];
|
||||
}
|
||||
@@ -13,6 +13,7 @@ export * from './service';
|
||||
export * from './credential';
|
||||
export * from './qrart';
|
||||
export * from './luma';
|
||||
export * from './headshots';
|
||||
export * from './suno';
|
||||
export * from './site';
|
||||
export * from './exchange';
|
||||
@@ -4,6 +4,7 @@ export interface ISiteFeatures {
|
||||
chatdoc?: any;
|
||||
qrart?: any;
|
||||
luma?: any;
|
||||
headshots?: any;
|
||||
suno?: any;
|
||||
support?: any;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user