Compare commits
2 Commits
feature/co
...
4fe8e15450
| Author | SHA1 | Date | |
|---|---|---|---|
| 4fe8e15450 | |||
| 415ba67d01 |
@@ -11,6 +11,6 @@ RUN npm install --registry=https://registry.npmmirror.com
|
|||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
EXPOSE 8080
|
EXPOSE 8888
|
||||||
|
|
||||||
CMD ["npm", "run", "dev"]
|
CMD ["npm", "run", "dev"]
|
||||||
|
|||||||
@@ -6,6 +6,34 @@ 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;
|
||||||
@@ -71,6 +99,14 @@ 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