Compare commits
5 Commits
4fe8e15450
...
feature/co
| Author | SHA1 | Date | |
|---|---|---|---|
| 2ae927a851 | |||
| f137ae591e | |||
| d516886fc9 | |||
| d628dfdd72 | |||
| 24e517dfec |
@@ -11,6 +11,6 @@ RUN npm install --registry=https://registry.npmmirror.com
|
|||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
EXPOSE 8888
|
EXPOSE 8080
|
||||||
|
|
||||||
CMD ["npm", "run", "dev"]
|
CMD ["npm", "run", "dev"]
|
||||||
|
|||||||
@@ -6,34 +6,6 @@ export interface CreationListParams {
|
|||||||
keyword?: string;
|
keyword?: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface NodeLibraryFormItem {
|
|
||||||
field: string;
|
|
||||||
label: string;
|
|
||||||
type: 'input' | 'number' | 'textarea' | 'switch' | string;
|
|
||||||
required: boolean;
|
|
||||||
default?: string | number | boolean;
|
|
||||||
}
|
|
||||||
|
|
||||||
export interface NodeLibraryItem {
|
|
||||||
nodeCode: string;
|
|
||||||
nodeName: string;
|
|
||||||
form: NodeLibraryFormItem[];
|
|
||||||
}
|
|
||||||
|
|
||||||
export interface NodeLibraryGroup {
|
|
||||||
group: string;
|
|
||||||
label: string;
|
|
||||||
items: NodeLibraryItem[];
|
|
||||||
}
|
|
||||||
|
|
||||||
export interface NodeLibraryListResponse {
|
|
||||||
code: number;
|
|
||||||
message: string;
|
|
||||||
data: {
|
|
||||||
groups: NodeLibraryGroup[];
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
||||||
export interface CreationImageItem {
|
export interface CreationImageItem {
|
||||||
name: string;
|
name: string;
|
||||||
url: string;
|
url: string;
|
||||||
@@ -99,14 +71,6 @@ export function getCreationList(params: CreationListParams, requestOptions?: Req
|
|||||||
}) as Promise<CreationListResponse>;
|
}) as Promise<CreationListResponse>;
|
||||||
}
|
}
|
||||||
|
|
||||||
export function getNodeLibraryList(requestOptions?: RequestOptions) {
|
|
||||||
return request({
|
|
||||||
url: '/black-deacon/node/library/list',
|
|
||||||
method: 'get',
|
|
||||||
requestOptions,
|
|
||||||
}) as Promise<NodeLibraryListResponse>;
|
|
||||||
}
|
|
||||||
|
|
||||||
export function createCreation(data: CreationSubmitParams, requestOptions?: RequestOptions) {
|
export function createCreation(data: CreationSubmitParams, requestOptions?: RequestOptions) {
|
||||||
return request({
|
return request({
|
||||||
url: '/black-deacon/creation/info/creation',
|
url: '/black-deacon/creation/info/creation',
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user