Skip to content

Commit 1b87418

Browse files
authored
Merge pull request #56 from zenml-io/dev
Dev
2 parents 4ff8da3 + a8c5cf9 commit 1b87418

File tree

226 files changed

+491
-4338
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

226 files changed

+491
-4338
lines changed

global.d.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,6 @@ interface TPipeline {
8181
created: Date;
8282
creationDate: Date;
8383
projectName: string;
84-
// workspaceId: TId;
8584
components: any;
8685
owner: string;
8786
pipelineConfig: any;
@@ -101,7 +100,6 @@ interface TStack {
101100
creationDate: Date;
102101
created: Date;
103102
projectName: string;
104-
// workspaceId: TId;
105103
components: any;
106104
userName: string;
107105
pipelineConfig: any;
@@ -131,7 +129,6 @@ interface TRun {
131129
kubeflowEndTime: Date;
132130
pipelineRunType: string;
133131
datasourceCommitId: TId;
134-
workspaceId: TId;
135132
pipelineId: TId;
136133
pipeline_id: TId;
137134
userId: TId;

src/api/endpoints.ts

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,7 @@ export const endpoints = {
2121
deleteInvite: (id: string): string => `/users/${id}`,
2222
getInvoices: `/billing/organization/invoices`,
2323
},
24-
workspaces: {
25-
my: '/workspaces/',
26-
pipelinesForId: (id: TId): string => `/workspaces/${id}/pipelines`,
27-
},
24+
2825
pipelines: {
2926
my: '/pipelines?hydrated=true',
3027
get: (pipelineId: TId): string =>
@@ -37,8 +34,7 @@ export const endpoints = {
3734
},
3835
StackComponents: {
3936
types: '/component-types',
40-
my: (type: string): string =>
41-
`/components?type=${type}?unlisted=false&hydrated=true`,
37+
my: (type: string): string => `/components?type=${type}&hydrated=true`,
4238
get: (stackComponentId: TId): string =>
4339
`/components/${stackComponentId}?hydrated=true`,
4440
},

src/api/workspaces/getMyWorkspacesApi.spec.ts

Lines changed: 0 additions & 25 deletions
This file was deleted.

src/api/workspaces/getMyWorkspacesApi.ts

Lines changed: 0 additions & 17 deletions
This file was deleted.

src/api/workspaces/getPipelinesByWorkspaceIdApi.spec.ts

Lines changed: 0 additions & 26 deletions
This file was deleted.

src/api/workspaces/getPipelinesByWorkspaceIdApi.ts

Lines changed: 0 additions & 19 deletions
This file was deleted.

src/redux/actionTypes/constants.ts

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,6 @@ const organizationActionTypes = {
2626
ORGANIZATIONS_RETRY_INVOICE: 'ORGANIZATIONS_RETRY_INVOICE',
2727
};
2828

29-
const workspaceActionTypes = {
30-
WORKSPACES_GET_MY_WORKSPACES: 'WORKSPACES_GET_MY_WORKSPACES',
31-
WORKSPACES_GET_PIPELINES_FOR_WORKSPACE_ID:
32-
'WORKSPACES_GET_PIPELINES_FOR_WORKSPACE_ID',
33-
};
34-
3529
const pipelineActionTypes = {
3630
PIPELINES_GET_MY_PIPELINES: 'PIPELINES_GET_MY_PIPELINES',
3731
PIPELINES_GET_PIPELINE_FOR_ID: 'PIPELINES_GET_PIPELINE_FOR_ID',
@@ -73,7 +67,6 @@ const stripeActionTypes = {
7367
};
7468

7569
const pipelinePagesActionTypes = {
76-
PIPELINE_PAGES_SET_CURRENT_WORKSPACE: 'PIPELINE_PAGES_SET_CURRENT_WORKSPACE',
7770
PIPELINE_PAGES_SET_SELECTED_RUN_IDS: 'PIPELINE_PAGES_SET_SELECTED_RUN_IDS',
7871
PIPELINE_PAGES_SET_FETCHING: 'PIPELINE_PAGES_SET_FETCHING',
7972
};
@@ -83,29 +76,22 @@ const runPagesActionTypes = {
8376
};
8477

8578
const stackPagesActionTypes = {
86-
STACK_PAGES_SET_CURRENT_WORKSPACE: 'STACK_PAGES_SET_CURRENT_WORKSPACE',
8779
STACK_PAGES_SET_SELECTED_RUN_IDS: 'STACK_PAGES_SET_SELECTED_RUN_IDS',
8880
STACK_PAGES_SET_FETCHING: 'STACK_PAGES_SET_FETCHING',
8981
};
9082

9183
const stackComponentPagesActionTypes = {
92-
STACKCOMPONENT_PAGES_SET_CURRENT_WORKSPACE:
93-
'STACKCOMPONENT_PAGES_SET_CURRENT_WORKSPACE',
9484
STACKCOMPONENT_PAGES_SET_SELECTED_RUN_IDS:
9585
'STACKCOMPONENT_PAGES_SET_SELECTED_RUN_IDS',
9686
STACKCOMPONENT_PAGES_SET_FETCHING: 'STACKCOMPONENT_PAGES_SET_FETCHING',
9787
};
9888

99-
const workspacePagesActionTypes = {
100-
WORKSPACE_PAGES_SET_FETCHING: 'WORKSPACE_PAGES_SET_FETCHING',
101-
};
102-
10389
export const actionTypes = {
10490
SHOW_TOASTER: 'SHOW_TOASTER',
10591
...sessionActionTypes,
10692
...userActionTypes,
10793
...organizationActionTypes,
108-
...workspaceActionTypes,
94+
10995
...pipelineActionTypes,
11096
...stackActionTypes,
11197
...runActionTypes,
@@ -116,7 +102,6 @@ export const actionTypes = {
116102
...stackComponentPagesActionTypes,
117103
...stackComponentActionTypes,
118104
...stripeActionTypes,
119-
...workspacePagesActionTypes,
120105
};
121106

122107
export const REQUESTED = 'REQUESTED';

src/redux/actionTypes/index.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { actionTypes } from './constants';
33
export * from './session';
44
export * from './users';
55
export * from './organizations';
6-
export * from './workspaces';
6+
77
export * from './pipelines';
88
export * from './stacks';
99
export * from './stackComponents';
@@ -14,6 +14,5 @@ export * from './pipelinePages';
1414
export * from './stackPages';
1515
export * from './stackComponentPages';
1616
export * from './stripe';
17-
export * from './workspacePages';
1817

1918
export const SHOW_TOASTER_ACTION_TYPE = actionTypes.SHOW_TOASTER;
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import { actionTypes } from './constants';
22

33
export const pipelinePagesActionTypes = {
4-
setCurrentWorkspace: actionTypes.PIPELINE_PAGES_SET_CURRENT_WORKSPACE,
54
setSelectedRunIds: actionTypes.PIPELINE_PAGES_SET_SELECTED_RUN_IDS,
65
setFetching: actionTypes.PIPELINE_PAGES_SET_FETCHING,
76
};

src/redux/actionTypes/runPages.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import { actionTypes } from './constants';
22

33
export const runPagesActionTypes = {
4-
setCurrentWorkspace: actionTypes.PIPELINE_PAGES_SET_CURRENT_WORKSPACE,
54
setSelectedRunIds: actionTypes.PIPELINE_PAGES_SET_SELECTED_RUN_IDS,
65
setFetching: actionTypes.PIPELINE_PAGES_SET_FETCHING,
76
};

0 commit comments

Comments
 (0)