Skip to content

Commit 97197cd

Browse files
committed
♻️ rename taskmetadata type
1 parent f7b6a03 commit 97197cd

File tree

3 files changed

+9
-11
lines changed

3 files changed

+9
-11
lines changed

src/models/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ export * from './contact.model';
1212
export * from './controller.model';
1313
export * from './custom-router.model';
1414
export * from './custom-routes.model';
15+
export * from './integration-defined-options.model';
1516
export * from './integration-entity.model';
1617
export * from './integration-error.model';
1718
export * from './integrations-event.model';
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
export type IntegrationDefinedOptionsModel = {
2+
label: string;
3+
type: string;
4+
options?: {
5+
label: string;
6+
key: string;
7+
}[];
8+
};

src/models/task.model.ts

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,3 @@ export type Task = {
66
link?: string;
77
title: string;
88
};
9-
10-
export type TaskMetadata = {
11-
fields: {
12-
label: string;
13-
type: string;
14-
options?: {
15-
label: string;
16-
key: string;
17-
}[];
18-
}[];
19-
};

0 commit comments

Comments
 (0)