Skip to content

Commit 9bec84e

Browse files
remove dead code for organizaiton.
1 parent 95fc609 commit 9bec84e

39 files changed

+14
-1758
lines changed

src/api/endpoints.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,9 @@ export const endpoints = {
1414
reGenerateToken: (username: string): string =>
1515
`/users/${username}/deactivate`,
1616
invites: '/organizations/invite?status=pending',
17-
owner: '/organizations/creator',
1817
members: '/users',
19-
roles: '/organizations/roles',
2018
invite: '/users',
2119
deleteInvite: (id: string): string => `/users/${id}`,
22-
getInvoices: `/billing/organization/invoices`,
2320
},
2421

2522
pipelines: {

src/api/organizations/getInvoicesApi.ts

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

src/api/organizations/getMyOrganizationApi.spec.ts

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

src/api/organizations/getMyOrganizationApi.ts

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

src/api/organizations/getOwnerApi.ts

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

src/api/organizations/getRolesApi.ts

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

src/redux/actionTypes/constants.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,9 @@ const organizationActionTypes = {
1717
ORGANIZATIONS_GET_MY_ORGANIZATION: 'ORGANIZATIONS_GET_MY_ORGANIZATION',
1818
ORGANIZATIONS_GET_INVITE_FOR_CODE: 'ORGANIZATIONS_GET_INVITE_FOR_CODE',
1919
ORGANIZATIONS_GET_INVITES: 'ORGANIZATIONS_GET_INVITES',
20-
ORGANIZATIONS_GET_OWNER: 'ORGANIZATIONS_GET_OWNER',
2120
ORGANIZATIONS_GET_MEMBERS: 'ORGANIZATIONS_GET_MEMBERS',
22-
ORGANIZATIONS_GET_ROLES: 'ORGANIZATIONS_GET_ROLES',
2321
ORGANIZATIONS_INVITE: 'ORGANIZATIONS_INVITE',
2422
ORGANIZATIONS_DELETE_INVITE: 'ORGANIZATIONS_DELETE_INVITE',
25-
ORGANIZATIONS_GET_INVOICES: 'ORGANIZATIONS_GET_INVOICES',
2623
ORGANIZATIONS_RETRY_INVOICE: 'ORGANIZATIONS_RETRY_INVOICE',
2724
};
2825

src/redux/actionTypes/organizations.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,11 @@ export const organizationActionTypes = {
99
actionTypes.ORGANIZATIONS_GET_INVITE_FOR_CODE,
1010
),
1111
getInvites: generateApiActionsTypes(actionTypes.ORGANIZATIONS_GET_INVITES),
12-
getOwner: generateApiActionsTypes(actionTypes.ORGANIZATIONS_GET_OWNER),
1312
getMembers: generateApiActionsTypes(actionTypes.ORGANIZATIONS_GET_MEMBERS),
14-
getRoles: generateApiActionsTypes(actionTypes.ORGANIZATIONS_GET_ROLES),
1513
invite: generateApiActionsTypes(actionTypes.ORGANIZATIONS_INVITE),
1614
deleteInvite: generateApiActionsTypes(
1715
actionTypes.ORGANIZATIONS_DELETE_INVITE,
1816
),
19-
getInvoices: generateApiActionsTypes(actionTypes.ORGANIZATIONS_GET_INVOICES),
2017
retryInvoice: generateApiActionsTypes(
2118
actionTypes.ORGANIZATIONS_RETRY_INVOICE,
2219
),

src/redux/actions/organizations/getInvoicesAction.ts

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

src/redux/actions/organizations/getMyOrganizationAction.spec.ts

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

0 commit comments

Comments
 (0)