@overmap-ai/core 1.0.52 → 1.0.53-fix-not-send-org-in-payload.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/overmap-core.js +300 -33
- package/dist/overmap-core.js.map +1 -1
- package/dist/overmap-core.umd.cjs +300 -33
- package/dist/overmap-core.umd.cjs.map +1 -1
- package/dist/sdk/sdk.d.ts +2 -1
- package/dist/sdk/services/IssueService.d.ts +2 -2
- package/dist/sdk/services/IssueTypeService.d.ts +9 -0
- package/dist/sdk/services/UserFormService.d.ts +10 -2
- package/dist/sdk/services/index.d.ts +1 -0
- package/dist/store/slices/categorySlice.d.ts +1 -0
- package/dist/store/slices/documentSlice.d.ts +29 -56
- package/dist/store/slices/formRevisionSlice.d.ts +1 -0
- package/dist/store/slices/formSlice.d.ts +7 -0
- package/dist/store/slices/formSubmissionSlice.d.ts +2 -0
- package/dist/store/slices/index.d.ts +1 -0
- package/dist/store/slices/issueSlice.d.ts +6 -1
- package/dist/store/slices/issueTypeSlice.d.ts +20 -0
- package/dist/store/slices/projectFileSlice.d.ts +1 -0
- package/dist/store/slices/workspaceSlice.d.ts +1 -0
- package/dist/store/store.d.ts +4 -1
- package/dist/typings/models/attachments.d.ts +2 -3
- package/dist/typings/models/base.d.ts +4 -0
- package/dist/typings/models/documents.d.ts +3 -6
- package/dist/typings/models/forms.d.ts +3 -3
- package/dist/typings/models/index.d.ts +1 -0
- package/dist/typings/models/issueTypes.d.ts +8 -0
- package/dist/typings/models/issues.d.ts +4 -5
- package/dist/typings/models/organizations.d.ts +2 -3
- package/package.json +1 -1
package/dist/sdk/sdk.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AttachmentService, AuthService, CategoryService, ComponentService, ComponentStageCompletionService, ComponentStageService, ComponentTypeService, EmailVerificationService, FileService, IssueCommentService, IssueService, MainService, OrganizationAccessService, ProjectAccessService, ProjectFileService, ProjectService, UserFormService, UserFormSubmissionService, WorkspaceService, OrganizationService, EmailDomainsService, LicenseService, DocumentService, IssueUpdateService, AgentService, TeamService } from "./services";
|
|
1
|
+
import { AttachmentService, AuthService, CategoryService, ComponentService, ComponentStageCompletionService, ComponentStageService, ComponentTypeService, EmailVerificationService, FileService, IssueCommentService, IssueService, MainService, OrganizationAccessService, ProjectAccessService, ProjectFileService, ProjectService, UserFormService, UserFormSubmissionService, WorkspaceService, OrganizationService, EmailDomainsService, LicenseService, DocumentService, IssueUpdateService, AgentService, TeamService, IssueTypeService } from "./services";
|
|
2
2
|
import { ToolkitStore } from "@reduxjs/toolkit/dist/configureStore.js";
|
|
3
3
|
import { RootState } from "../typings";
|
|
4
4
|
export declare class OvermapSDK {
|
|
@@ -14,6 +14,7 @@ export declare class OvermapSDK {
|
|
|
14
14
|
organizations: OrganizationService;
|
|
15
15
|
organizationAccess: OrganizationAccessService;
|
|
16
16
|
issues: IssueService;
|
|
17
|
+
issueTypes: IssueTypeService;
|
|
17
18
|
issueComments: IssueCommentService;
|
|
18
19
|
issueUpdates: IssueUpdateService;
|
|
19
20
|
workspaces: WorkspaceService;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { BaseApiService } from "./BaseApiService";
|
|
2
2
|
import { OptimisticModelResult, OptimisticMultipleModelResult } from "../typings";
|
|
3
|
-
import { Issue, Submitted } from "../../typings";
|
|
3
|
+
import { Issue, IssueType, Submitted } from "../../typings";
|
|
4
4
|
/**
|
|
5
5
|
* Handles CRUD operations on issues
|
|
6
6
|
*/
|
|
7
7
|
export declare class IssueService extends BaseApiService {
|
|
8
|
-
add(issue: Issue): OptimisticModelResult<Issue>;
|
|
8
|
+
add(issue: Issue, issue_type?: IssueType["offline_id"] | null): OptimisticModelResult<Issue>;
|
|
9
9
|
fetchAll(projectId: number): OptimisticMultipleModelResult<Issue>;
|
|
10
10
|
update(issue: Submitted<Partial<Issue>>): OptimisticModelResult<Issue>;
|
|
11
11
|
remove(id: string): Promise<undefined>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { BaseApiService } from "./BaseApiService";
|
|
2
|
+
import { OptimisticModelResult } from "../typings";
|
|
3
|
+
import { IssueType, IssueTypePayload, Offline } from "../../typings";
|
|
4
|
+
export declare class IssueTypeService extends BaseApiService {
|
|
5
|
+
add(payload: IssueTypePayload): OptimisticModelResult<IssueType>;
|
|
6
|
+
update(issueTypeFields: Offline<Partial<IssueType>>): OptimisticModelResult<IssueType>;
|
|
7
|
+
delete(issueTypeId: string): Promise<void>;
|
|
8
|
+
refreshStore(): Promise<void>;
|
|
9
|
+
}
|
|
@@ -4,8 +4,16 @@ import { BaseApiService } from "./BaseApiService";
|
|
|
4
4
|
export declare class UserFormService extends BaseApiService {
|
|
5
5
|
private getAttachImagePromises;
|
|
6
6
|
private add;
|
|
7
|
-
addForOrganization(initialRevision: UserFormRevisionPayload,
|
|
8
|
-
|
|
7
|
+
addForOrganization(initialRevision: UserFormRevisionPayload, attachedTo?: {
|
|
8
|
+
componentTypeId: string;
|
|
9
|
+
} | {
|
|
10
|
+
issueTypeId: string;
|
|
11
|
+
}): Promise<[SubmittedUserForm, UserFormRevision, Promise<UserFormRevision>, Promise<UserFormRevision>]>;
|
|
12
|
+
addForCurrentUser(initialRevision: UserFormRevision, attachedTo?: {
|
|
13
|
+
componentTypeId: string;
|
|
14
|
+
} | {
|
|
15
|
+
issueTypeId: string;
|
|
16
|
+
}): Promise<[SubmittedUserForm, UserFormRevision, Promise<UserFormRevision>, Promise<UserFormRevision>]>;
|
|
9
17
|
createRevision(formId: string, revision: UserFormRevisionPayload): Promise<OptimisticModelResult<UserFormRevision>>;
|
|
10
18
|
favorite(formId: string): Promise<undefined>;
|
|
11
19
|
unfavorite(formId: string): Promise<undefined>;
|
|
@@ -9,6 +9,7 @@ export * from "./ComponentTypeService";
|
|
|
9
9
|
export * from "./IssueCommentService";
|
|
10
10
|
export * from "./IssueUpdateService";
|
|
11
11
|
export * from "./IssueService";
|
|
12
|
+
export * from "./IssueTypeService";
|
|
12
13
|
export * from "./MainService";
|
|
13
14
|
export * from "./ProjectAccessService";
|
|
14
15
|
export * from "./ProjectFileService";
|
|
@@ -51,6 +51,7 @@ export declare const selectCategories: ((state: import("redux").EmptyObject & {
|
|
|
51
51
|
componentStageReducer: import('..').ComponentStageState;
|
|
52
52
|
componentTypeReducer: import('..').ComponentTypeState;
|
|
53
53
|
issueReducer: import('..').IssueState;
|
|
54
|
+
issueTypeReducer: import('..').IssueTypeState;
|
|
54
55
|
mapReducer: import('..').MapState;
|
|
55
56
|
organizationReducer: import('..').OrganizationState;
|
|
56
57
|
outboxReducer: import('..').OutboxState;
|
|
@@ -52,12 +52,11 @@ export declare const documentSlice: import("@reduxjs/toolkit").Slice<DocumentSta
|
|
|
52
52
|
type: string;
|
|
53
53
|
}) => void;
|
|
54
54
|
}, "documents">;
|
|
55
|
-
export declare const setDocuments: import("@reduxjs/toolkit").ActionCreatorWithPayload<((import('../../typings/models/base').OfflineModel & {
|
|
55
|
+
export declare const setDocuments: import("@reduxjs/toolkit").ActionCreatorWithPayload<((import('../../typings/models/base').OfflineModel & import('../../typings/models/base').CreatedByModel & {
|
|
56
56
|
title: string | null;
|
|
57
57
|
description: string | null;
|
|
58
58
|
content: string | null;
|
|
59
59
|
parent_document: string | null;
|
|
60
|
-
created_by: number;
|
|
61
60
|
} & {
|
|
62
61
|
project: number;
|
|
63
62
|
organization: null;
|
|
@@ -65,23 +64,21 @@ export declare const setDocuments: import("@reduxjs/toolkit").ActionCreatorWithP
|
|
|
65
64
|
children_documents: string[];
|
|
66
65
|
} & {
|
|
67
66
|
offline_id: string;
|
|
68
|
-
} & Omit<import('../../typings/models/base').OfflineModel & {
|
|
67
|
+
} & Omit<import('../../typings/models/base').OfflineModel & import('../../typings/models/base').CreatedByModel & {
|
|
69
68
|
title: string | null;
|
|
70
69
|
description: string | null;
|
|
71
70
|
content: string | null;
|
|
72
71
|
parent_document: string | null;
|
|
73
|
-
created_by: number;
|
|
74
72
|
} & {
|
|
75
73
|
project: number;
|
|
76
74
|
organization: null;
|
|
77
75
|
} & {
|
|
78
76
|
children_documents: string[];
|
|
79
|
-
}, "id" | "created_at" | "created_by">) | (import('../../typings/models/base').OfflineModel & {
|
|
77
|
+
}, "id" | "created_at" | "created_by">) | (import('../../typings/models/base').OfflineModel & import('../../typings/models/base').CreatedByModel & {
|
|
80
78
|
title: string | null;
|
|
81
79
|
description: string | null;
|
|
82
80
|
content: string | null;
|
|
83
81
|
parent_document: string | null;
|
|
84
|
-
created_by: number;
|
|
85
82
|
} & {
|
|
86
83
|
organization: number;
|
|
87
84
|
project: null;
|
|
@@ -89,23 +86,21 @@ export declare const setDocuments: import("@reduxjs/toolkit").ActionCreatorWithP
|
|
|
89
86
|
children_documents: string[];
|
|
90
87
|
} & {
|
|
91
88
|
offline_id: string;
|
|
92
|
-
} & Omit<import('../../typings/models/base').OfflineModel & {
|
|
89
|
+
} & Omit<import('../../typings/models/base').OfflineModel & import('../../typings/models/base').CreatedByModel & {
|
|
93
90
|
title: string | null;
|
|
94
91
|
description: string | null;
|
|
95
92
|
content: string | null;
|
|
96
93
|
parent_document: string | null;
|
|
97
|
-
created_by: number;
|
|
98
94
|
} & {
|
|
99
95
|
organization: number;
|
|
100
96
|
project: null;
|
|
101
97
|
} & {
|
|
102
98
|
children_documents: string[];
|
|
103
|
-
}, "id" | "created_at" | "created_by">))[], "documents/setDocuments">, addDocuments: import("@reduxjs/toolkit").ActionCreatorWithPayload<((import('../../typings/models/base').OfflineModel & {
|
|
99
|
+
}, "id" | "created_at" | "created_by">))[], "documents/setDocuments">, addDocuments: import("@reduxjs/toolkit").ActionCreatorWithPayload<((import('../../typings/models/base').OfflineModel & import('../../typings/models/base').CreatedByModel & {
|
|
104
100
|
title: string | null;
|
|
105
101
|
description: string | null;
|
|
106
102
|
content: string | null;
|
|
107
103
|
parent_document: string | null;
|
|
108
|
-
created_by: number;
|
|
109
104
|
} & {
|
|
110
105
|
project: number;
|
|
111
106
|
organization: null;
|
|
@@ -113,23 +108,21 @@ export declare const setDocuments: import("@reduxjs/toolkit").ActionCreatorWithP
|
|
|
113
108
|
children_documents: string[];
|
|
114
109
|
} & {
|
|
115
110
|
offline_id: string;
|
|
116
|
-
} & Omit<import('../../typings/models/base').OfflineModel & {
|
|
111
|
+
} & Omit<import('../../typings/models/base').OfflineModel & import('../../typings/models/base').CreatedByModel & {
|
|
117
112
|
title: string | null;
|
|
118
113
|
description: string | null;
|
|
119
114
|
content: string | null;
|
|
120
115
|
parent_document: string | null;
|
|
121
|
-
created_by: number;
|
|
122
116
|
} & {
|
|
123
117
|
project: number;
|
|
124
118
|
organization: null;
|
|
125
119
|
} & {
|
|
126
120
|
children_documents: string[];
|
|
127
|
-
}, "id" | "created_at" | "created_by">) | (import('../../typings/models/base').OfflineModel & {
|
|
121
|
+
}, "id" | "created_at" | "created_by">) | (import('../../typings/models/base').OfflineModel & import('../../typings/models/base').CreatedByModel & {
|
|
128
122
|
title: string | null;
|
|
129
123
|
description: string | null;
|
|
130
124
|
content: string | null;
|
|
131
125
|
parent_document: string | null;
|
|
132
|
-
created_by: number;
|
|
133
126
|
} & {
|
|
134
127
|
organization: number;
|
|
135
128
|
project: null;
|
|
@@ -137,23 +130,21 @@ export declare const setDocuments: import("@reduxjs/toolkit").ActionCreatorWithP
|
|
|
137
130
|
children_documents: string[];
|
|
138
131
|
} & {
|
|
139
132
|
offline_id: string;
|
|
140
|
-
} & Omit<import('../../typings/models/base').OfflineModel & {
|
|
133
|
+
} & Omit<import('../../typings/models/base').OfflineModel & import('../../typings/models/base').CreatedByModel & {
|
|
141
134
|
title: string | null;
|
|
142
135
|
description: string | null;
|
|
143
136
|
content: string | null;
|
|
144
137
|
parent_document: string | null;
|
|
145
|
-
created_by: number;
|
|
146
138
|
} & {
|
|
147
139
|
organization: number;
|
|
148
140
|
project: null;
|
|
149
141
|
} & {
|
|
150
142
|
children_documents: string[];
|
|
151
|
-
}, "id" | "created_at" | "created_by">))[], "documents/addDocuments">, updateDocuments: import("@reduxjs/toolkit").ActionCreatorWithPayload<Submitted<Partial<(import('../../typings/models/base').OfflineModel & {
|
|
143
|
+
}, "id" | "created_at" | "created_by">))[], "documents/addDocuments">, updateDocuments: import("@reduxjs/toolkit").ActionCreatorWithPayload<Submitted<Partial<(import('../../typings/models/base').OfflineModel & import('../../typings/models/base').CreatedByModel & {
|
|
152
144
|
title: string | null;
|
|
153
145
|
description: string | null;
|
|
154
146
|
content: string | null;
|
|
155
147
|
parent_document: string | null;
|
|
156
|
-
created_by: number;
|
|
157
148
|
} & {
|
|
158
149
|
project: number;
|
|
159
150
|
organization: null;
|
|
@@ -161,23 +152,21 @@ export declare const setDocuments: import("@reduxjs/toolkit").ActionCreatorWithP
|
|
|
161
152
|
children_documents: string[];
|
|
162
153
|
} & {
|
|
163
154
|
offline_id: string;
|
|
164
|
-
} & Omit<import('../../typings/models/base').OfflineModel & {
|
|
155
|
+
} & Omit<import('../../typings/models/base').OfflineModel & import('../../typings/models/base').CreatedByModel & {
|
|
165
156
|
title: string | null;
|
|
166
157
|
description: string | null;
|
|
167
158
|
content: string | null;
|
|
168
159
|
parent_document: string | null;
|
|
169
|
-
created_by: number;
|
|
170
160
|
} & {
|
|
171
161
|
project: number;
|
|
172
162
|
organization: null;
|
|
173
163
|
} & {
|
|
174
164
|
children_documents: string[];
|
|
175
|
-
}, "id" | "created_at" | "created_by">) | (import('../../typings/models/base').OfflineModel & {
|
|
165
|
+
}, "id" | "created_at" | "created_by">) | (import('../../typings/models/base').OfflineModel & import('../../typings/models/base').CreatedByModel & {
|
|
176
166
|
title: string | null;
|
|
177
167
|
description: string | null;
|
|
178
168
|
content: string | null;
|
|
179
169
|
parent_document: string | null;
|
|
180
|
-
created_by: number;
|
|
181
170
|
} & {
|
|
182
171
|
organization: number;
|
|
183
172
|
project: null;
|
|
@@ -185,12 +174,11 @@ export declare const setDocuments: import("@reduxjs/toolkit").ActionCreatorWithP
|
|
|
185
174
|
children_documents: string[];
|
|
186
175
|
} & {
|
|
187
176
|
offline_id: string;
|
|
188
|
-
} & Omit<import('../../typings/models/base').OfflineModel & {
|
|
177
|
+
} & Omit<import('../../typings/models/base').OfflineModel & import('../../typings/models/base').CreatedByModel & {
|
|
189
178
|
title: string | null;
|
|
190
179
|
description: string | null;
|
|
191
180
|
content: string | null;
|
|
192
181
|
parent_document: string | null;
|
|
193
|
-
created_by: number;
|
|
194
182
|
} & {
|
|
195
183
|
organization: number;
|
|
196
184
|
project: null;
|
|
@@ -199,12 +187,11 @@ export declare const setDocuments: import("@reduxjs/toolkit").ActionCreatorWithP
|
|
|
199
187
|
}, "id" | "created_at" | "created_by">)>>[], "documents/updateDocuments">, moveDocument: import("@reduxjs/toolkit").ActionCreatorWithPayload<MoveDocumentPayload, "documents/moveDocument">, removeDocuments: import("@reduxjs/toolkit").ActionCreatorWithPayload<string[], "documents/removeDocuments">, setDocumentAttachments: import("@reduxjs/toolkit").ActionCreatorWithPayload<import('../../typings/models/issues').Created<DocumentAttachment>[], "documents/setDocumentAttachments">, addDocumentAttachment: import("@reduxjs/toolkit").ActionCreatorWithPayload<Submitted<DocumentAttachment>, "documents/addDocumentAttachment">, addDocumentAttachments: import("@reduxjs/toolkit").ActionCreatorWithPayload<Submitted<DocumentAttachment>[], "documents/addDocumentAttachments">, updateDocumentAttachment: import("@reduxjs/toolkit").ActionCreatorWithPayload<Submitted<DocumentAttachment>, "documents/updateDocumentAttachment">, removeDocumentAttachment: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "documents/removeDocumentAttachment">, removeDocumentAttachments: import("@reduxjs/toolkit").ActionCreatorWithPayload<string[], "documents/removeDocumentAttachments">;
|
|
200
188
|
export declare const selectDocumentsMapping: AppSelector<Record<string, Stored<Document>>>;
|
|
201
189
|
export declare const selectDocuments: AppSelector<Stored<Document>[]>;
|
|
202
|
-
export declare const selectDocument: (args: string) => (state: RootState) => (import('../../typings/models/base').OfflineModel & {
|
|
190
|
+
export declare const selectDocument: (args: string) => (state: RootState) => (import('../../typings/models/base').OfflineModel & import('../../typings/models/base').CreatedByModel & {
|
|
203
191
|
title: string | null;
|
|
204
192
|
description: string | null;
|
|
205
193
|
content: string | null;
|
|
206
194
|
parent_document: string | null;
|
|
207
|
-
created_by: number;
|
|
208
195
|
} & {
|
|
209
196
|
project: number;
|
|
210
197
|
organization: null;
|
|
@@ -212,23 +199,21 @@ export declare const selectDocument: (args: string) => (state: RootState) => (im
|
|
|
212
199
|
children_documents: string[];
|
|
213
200
|
} & {
|
|
214
201
|
offline_id: string;
|
|
215
|
-
} & Omit<import('../../typings/models/base').OfflineModel & {
|
|
202
|
+
} & Omit<import('../../typings/models/base').OfflineModel & import('../../typings/models/base').CreatedByModel & {
|
|
216
203
|
title: string | null;
|
|
217
204
|
description: string | null;
|
|
218
205
|
content: string | null;
|
|
219
206
|
parent_document: string | null;
|
|
220
|
-
created_by: number;
|
|
221
207
|
} & {
|
|
222
208
|
project: number;
|
|
223
209
|
organization: null;
|
|
224
210
|
} & {
|
|
225
211
|
children_documents: string[];
|
|
226
|
-
}, "id" | "created_at" | "created_by">) | (import('../../typings/models/base').OfflineModel & {
|
|
212
|
+
}, "id" | "created_at" | "created_by">) | (import('../../typings/models/base').OfflineModel & import('../../typings/models/base').CreatedByModel & {
|
|
227
213
|
title: string | null;
|
|
228
214
|
description: string | null;
|
|
229
215
|
content: string | null;
|
|
230
216
|
parent_document: string | null;
|
|
231
|
-
created_by: number;
|
|
232
217
|
} & {
|
|
233
218
|
organization: number;
|
|
234
219
|
project: null;
|
|
@@ -236,12 +221,11 @@ export declare const selectDocument: (args: string) => (state: RootState) => (im
|
|
|
236
221
|
children_documents: string[];
|
|
237
222
|
} & {
|
|
238
223
|
offline_id: string;
|
|
239
|
-
} & Omit<import('../../typings/models/base').OfflineModel & {
|
|
224
|
+
} & Omit<import('../../typings/models/base').OfflineModel & import('../../typings/models/base').CreatedByModel & {
|
|
240
225
|
title: string | null;
|
|
241
226
|
description: string | null;
|
|
242
227
|
content: string | null;
|
|
243
228
|
parent_document: string | null;
|
|
244
|
-
created_by: number;
|
|
245
229
|
} & {
|
|
246
230
|
organization: number;
|
|
247
231
|
project: null;
|
|
@@ -259,6 +243,7 @@ export declare const selectRootDocuments: ((state: import("redux").EmptyObject &
|
|
|
259
243
|
componentStageReducer: import('..').ComponentStageState;
|
|
260
244
|
componentTypeReducer: import("./componentTypeSlice").ComponentTypeState;
|
|
261
245
|
issueReducer: import('..').IssueState;
|
|
246
|
+
issueTypeReducer: import('..').IssueTypeState;
|
|
262
247
|
mapReducer: import('..').MapState;
|
|
263
248
|
organizationReducer: import('..').OrganizationState;
|
|
264
249
|
outboxReducer: import('..').OutboxState;
|
|
@@ -279,12 +264,11 @@ export declare const selectRootDocuments: ((state: import("redux").EmptyObject &
|
|
|
279
264
|
teamReducer: import('..').TeamState;
|
|
280
265
|
} & {
|
|
281
266
|
offline: import("@redux-offline/redux-offline/lib/types").OfflineState;
|
|
282
|
-
}) => ((import('../../typings/models/base').OfflineModel & {
|
|
267
|
+
}) => ((import('../../typings/models/base').OfflineModel & import('../../typings/models/base').CreatedByModel & {
|
|
283
268
|
title: string | null;
|
|
284
269
|
description: string | null;
|
|
285
270
|
content: string | null;
|
|
286
271
|
parent_document: string | null;
|
|
287
|
-
created_by: number;
|
|
288
272
|
} & {
|
|
289
273
|
project: number;
|
|
290
274
|
organization: null;
|
|
@@ -292,23 +276,21 @@ export declare const selectRootDocuments: ((state: import("redux").EmptyObject &
|
|
|
292
276
|
children_documents: string[];
|
|
293
277
|
} & {
|
|
294
278
|
offline_id: string;
|
|
295
|
-
} & Omit<import('../../typings/models/base').OfflineModel & {
|
|
279
|
+
} & Omit<import('../../typings/models/base').OfflineModel & import('../../typings/models/base').CreatedByModel & {
|
|
296
280
|
title: string | null;
|
|
297
281
|
description: string | null;
|
|
298
282
|
content: string | null;
|
|
299
283
|
parent_document: string | null;
|
|
300
|
-
created_by: number;
|
|
301
284
|
} & {
|
|
302
285
|
project: number;
|
|
303
286
|
organization: null;
|
|
304
287
|
} & {
|
|
305
288
|
children_documents: string[];
|
|
306
|
-
}, "id" | "created_at" | "created_by">) | (import('../../typings/models/base').OfflineModel & {
|
|
289
|
+
}, "id" | "created_at" | "created_by">) | (import('../../typings/models/base').OfflineModel & import('../../typings/models/base').CreatedByModel & {
|
|
307
290
|
title: string | null;
|
|
308
291
|
description: string | null;
|
|
309
292
|
content: string | null;
|
|
310
293
|
parent_document: string | null;
|
|
311
|
-
created_by: number;
|
|
312
294
|
} & {
|
|
313
295
|
organization: number;
|
|
314
296
|
project: null;
|
|
@@ -316,23 +298,21 @@ export declare const selectRootDocuments: ((state: import("redux").EmptyObject &
|
|
|
316
298
|
children_documents: string[];
|
|
317
299
|
} & {
|
|
318
300
|
offline_id: string;
|
|
319
|
-
} & Omit<import('../../typings/models/base').OfflineModel & {
|
|
301
|
+
} & Omit<import('../../typings/models/base').OfflineModel & import('../../typings/models/base').CreatedByModel & {
|
|
320
302
|
title: string | null;
|
|
321
303
|
description: string | null;
|
|
322
304
|
content: string | null;
|
|
323
305
|
parent_document: string | null;
|
|
324
|
-
created_by: number;
|
|
325
306
|
} & {
|
|
326
307
|
organization: number;
|
|
327
308
|
project: null;
|
|
328
309
|
} & {
|
|
329
310
|
children_documents: string[];
|
|
330
|
-
}, "id" | "created_at" | "created_by">))[]) & import("reselect").OutputSelectorFields<(args_0: ((import('../../typings/models/base').OfflineModel & {
|
|
311
|
+
}, "id" | "created_at" | "created_by">))[]) & import("reselect").OutputSelectorFields<(args_0: ((import('../../typings/models/base').OfflineModel & import('../../typings/models/base').CreatedByModel & {
|
|
331
312
|
title: string | null;
|
|
332
313
|
description: string | null;
|
|
333
314
|
content: string | null;
|
|
334
315
|
parent_document: string | null;
|
|
335
|
-
created_by: number;
|
|
336
316
|
} & {
|
|
337
317
|
project: number;
|
|
338
318
|
organization: null;
|
|
@@ -340,23 +320,21 @@ export declare const selectRootDocuments: ((state: import("redux").EmptyObject &
|
|
|
340
320
|
children_documents: string[];
|
|
341
321
|
} & {
|
|
342
322
|
offline_id: string;
|
|
343
|
-
} & Omit<import('../../typings/models/base').OfflineModel & {
|
|
323
|
+
} & Omit<import('../../typings/models/base').OfflineModel & import('../../typings/models/base').CreatedByModel & {
|
|
344
324
|
title: string | null;
|
|
345
325
|
description: string | null;
|
|
346
326
|
content: string | null;
|
|
347
327
|
parent_document: string | null;
|
|
348
|
-
created_by: number;
|
|
349
328
|
} & {
|
|
350
329
|
project: number;
|
|
351
330
|
organization: null;
|
|
352
331
|
} & {
|
|
353
332
|
children_documents: string[];
|
|
354
|
-
}, "id" | "created_at" | "created_by">) | (import('../../typings/models/base').OfflineModel & {
|
|
333
|
+
}, "id" | "created_at" | "created_by">) | (import('../../typings/models/base').OfflineModel & import('../../typings/models/base').CreatedByModel & {
|
|
355
334
|
title: string | null;
|
|
356
335
|
description: string | null;
|
|
357
336
|
content: string | null;
|
|
358
337
|
parent_document: string | null;
|
|
359
|
-
created_by: number;
|
|
360
338
|
} & {
|
|
361
339
|
organization: number;
|
|
362
340
|
project: null;
|
|
@@ -364,23 +342,21 @@ export declare const selectRootDocuments: ((state: import("redux").EmptyObject &
|
|
|
364
342
|
children_documents: string[];
|
|
365
343
|
} & {
|
|
366
344
|
offline_id: string;
|
|
367
|
-
} & Omit<import('../../typings/models/base').OfflineModel & {
|
|
345
|
+
} & Omit<import('../../typings/models/base').OfflineModel & import('../../typings/models/base').CreatedByModel & {
|
|
368
346
|
title: string | null;
|
|
369
347
|
description: string | null;
|
|
370
348
|
content: string | null;
|
|
371
349
|
parent_document: string | null;
|
|
372
|
-
created_by: number;
|
|
373
350
|
} & {
|
|
374
351
|
organization: number;
|
|
375
352
|
project: null;
|
|
376
353
|
} & {
|
|
377
354
|
children_documents: string[];
|
|
378
|
-
}, "id" | "created_at" | "created_by">))[]) => ((import('../../typings/models/base').OfflineModel & {
|
|
355
|
+
}, "id" | "created_at" | "created_by">))[]) => ((import('../../typings/models/base').OfflineModel & import('../../typings/models/base').CreatedByModel & {
|
|
379
356
|
title: string | null;
|
|
380
357
|
description: string | null;
|
|
381
358
|
content: string | null;
|
|
382
359
|
parent_document: string | null;
|
|
383
|
-
created_by: number;
|
|
384
360
|
} & {
|
|
385
361
|
project: number;
|
|
386
362
|
organization: null;
|
|
@@ -388,23 +364,21 @@ export declare const selectRootDocuments: ((state: import("redux").EmptyObject &
|
|
|
388
364
|
children_documents: string[];
|
|
389
365
|
} & {
|
|
390
366
|
offline_id: string;
|
|
391
|
-
} & Omit<import('../../typings/models/base').OfflineModel & {
|
|
367
|
+
} & Omit<import('../../typings/models/base').OfflineModel & import('../../typings/models/base').CreatedByModel & {
|
|
392
368
|
title: string | null;
|
|
393
369
|
description: string | null;
|
|
394
370
|
content: string | null;
|
|
395
371
|
parent_document: string | null;
|
|
396
|
-
created_by: number;
|
|
397
372
|
} & {
|
|
398
373
|
project: number;
|
|
399
374
|
organization: null;
|
|
400
375
|
} & {
|
|
401
376
|
children_documents: string[];
|
|
402
|
-
}, "id" | "created_at" | "created_by">) | (import('../../typings/models/base').OfflineModel & {
|
|
377
|
+
}, "id" | "created_at" | "created_by">) | (import('../../typings/models/base').OfflineModel & import('../../typings/models/base').CreatedByModel & {
|
|
403
378
|
title: string | null;
|
|
404
379
|
description: string | null;
|
|
405
380
|
content: string | null;
|
|
406
381
|
parent_document: string | null;
|
|
407
|
-
created_by: number;
|
|
408
382
|
} & {
|
|
409
383
|
organization: number;
|
|
410
384
|
project: null;
|
|
@@ -412,12 +386,11 @@ export declare const selectRootDocuments: ((state: import("redux").EmptyObject &
|
|
|
412
386
|
children_documents: string[];
|
|
413
387
|
} & {
|
|
414
388
|
offline_id: string;
|
|
415
|
-
} & Omit<import('../../typings/models/base').OfflineModel & {
|
|
389
|
+
} & Omit<import('../../typings/models/base').OfflineModel & import('../../typings/models/base').CreatedByModel & {
|
|
416
390
|
title: string | null;
|
|
417
391
|
description: string | null;
|
|
418
392
|
content: string | null;
|
|
419
393
|
parent_document: string | null;
|
|
420
|
-
created_by: number;
|
|
421
394
|
} & {
|
|
422
395
|
organization: number;
|
|
423
396
|
project: null;
|
|
@@ -30,6 +30,7 @@ export declare const selectFormRevisions: ((state: import("redux").EmptyObject &
|
|
|
30
30
|
componentStageReducer: import("index.ts").ComponentStageState;
|
|
31
31
|
componentTypeReducer: import("index.ts").ComponentTypeState;
|
|
32
32
|
issueReducer: import("index.ts").IssueState;
|
|
33
|
+
issueTypeReducer: import("index.ts").IssueTypeState;
|
|
33
34
|
mapReducer: import("index.ts").MapState;
|
|
34
35
|
organizationReducer: import("index.ts").OrganizationState;
|
|
35
36
|
outboxReducer: import("index.ts").OutboxState;
|
|
@@ -25,6 +25,7 @@ export declare const formSlice: import("@reduxjs/toolkit").Slice<FormState, {
|
|
|
25
25
|
export declare const setForms: import("@reduxjs/toolkit").ActionCreatorWithPayload<((Pick<import('../../typings/models/workspace').WorkspaceIndexedModel, "index_workspace"> & {
|
|
26
26
|
favorite: boolean;
|
|
27
27
|
component_type?: string | undefined;
|
|
28
|
+
issue_type?: string | undefined;
|
|
28
29
|
} & {
|
|
29
30
|
owner_organization: number;
|
|
30
31
|
owner_user: undefined;
|
|
@@ -36,6 +37,7 @@ export declare const setForms: import("@reduxjs/toolkit").ActionCreatorWithPaylo
|
|
|
36
37
|
}) | (Pick<import('../../typings/models/workspace').WorkspaceIndexedModel, "index_workspace"> & {
|
|
37
38
|
favorite: boolean;
|
|
38
39
|
component_type?: string | undefined;
|
|
40
|
+
issue_type?: string | undefined;
|
|
39
41
|
} & {
|
|
40
42
|
owner_organization: undefined;
|
|
41
43
|
owner_user: number;
|
|
@@ -47,6 +49,7 @@ export declare const setForms: import("@reduxjs/toolkit").ActionCreatorWithPaylo
|
|
|
47
49
|
}))[], "forms/setForms">, addForm: import("@reduxjs/toolkit").ActionCreatorWithPayload<(Pick<import('../../typings/models/workspace').WorkspaceIndexedModel, "index_workspace"> & {
|
|
48
50
|
favorite: boolean;
|
|
49
51
|
component_type?: string | undefined;
|
|
52
|
+
issue_type?: string | undefined;
|
|
50
53
|
} & {
|
|
51
54
|
owner_organization: number;
|
|
52
55
|
owner_user: undefined;
|
|
@@ -58,6 +61,7 @@ export declare const setForms: import("@reduxjs/toolkit").ActionCreatorWithPaylo
|
|
|
58
61
|
}) | (Pick<import('../../typings/models/workspace').WorkspaceIndexedModel, "index_workspace"> & {
|
|
59
62
|
favorite: boolean;
|
|
60
63
|
component_type?: string | undefined;
|
|
64
|
+
issue_type?: string | undefined;
|
|
61
65
|
} & {
|
|
62
66
|
owner_organization: undefined;
|
|
63
67
|
owner_user: number;
|
|
@@ -69,6 +73,7 @@ export declare const setForms: import("@reduxjs/toolkit").ActionCreatorWithPaylo
|
|
|
69
73
|
}), "forms/addForm">, addForms: import("@reduxjs/toolkit").ActionCreatorWithPayload<((Pick<import('../../typings/models/workspace').WorkspaceIndexedModel, "index_workspace"> & {
|
|
70
74
|
favorite: boolean;
|
|
71
75
|
component_type?: string | undefined;
|
|
76
|
+
issue_type?: string | undefined;
|
|
72
77
|
} & {
|
|
73
78
|
owner_organization: number;
|
|
74
79
|
owner_user: undefined;
|
|
@@ -80,6 +85,7 @@ export declare const setForms: import("@reduxjs/toolkit").ActionCreatorWithPaylo
|
|
|
80
85
|
}) | (Pick<import('../../typings/models/workspace').WorkspaceIndexedModel, "index_workspace"> & {
|
|
81
86
|
favorite: boolean;
|
|
82
87
|
component_type?: string | undefined;
|
|
88
|
+
issue_type?: string | undefined;
|
|
83
89
|
} & {
|
|
84
90
|
owner_organization: undefined;
|
|
85
91
|
owner_user: number;
|
|
@@ -105,6 +111,7 @@ export declare const selectFilteredForms: SelectorWithArgs<FormSearchArgs, Cache
|
|
|
105
111
|
export declare const selectForm: SelectorWithArgs<string, Stored<UserForm>>;
|
|
106
112
|
export declare const selectFormMapping: Selector<Record<Stored<UserForm>["offline_id"], Stored<UserForm>>>;
|
|
107
113
|
export declare const selectFormOfComponentType: SelectorWithArgs<string, Stored<UserForm>>;
|
|
114
|
+
export declare const selectFormOfIssueType: SelectorWithArgs<string, Stored<UserForm>>;
|
|
108
115
|
export declare const selectFormsCount: Selector<number>;
|
|
109
116
|
export declare const selectGeneralFormCount: Selector<number>;
|
|
110
117
|
export declare const formReducer: Reducer<FormState>;
|
|
@@ -39,6 +39,8 @@ export declare const selectFormSubmissionsMapping: Selector<FormSubmissionState[
|
|
|
39
39
|
export declare const selectFormSubmissions: Selector<Stored<UserFormSubmission>[]>;
|
|
40
40
|
export declare const selectFormSubmission: SelectorWithArgs<string, Stored<UserFormSubmission>>;
|
|
41
41
|
export declare const selectFormSubmissionsOfForm: SelectorWithArgs<string, Stored<UserFormSubmission>[]>;
|
|
42
|
+
export declare const selectFormSubmissionsByFormRevisions: Selector<Record<string, Stored<UserFormSubmission>[]>>;
|
|
43
|
+
export declare const selectSortedFormSubmissionsOfForm: SelectorWithArgs<string, Stored<UserFormSubmission>[]>;
|
|
42
44
|
export declare const selectFormSubmissionsOfIssue: SelectorWithArgs<string, Stored<UserFormSubmission>[]>;
|
|
43
45
|
export declare const selectFormSubmissionsOfComponent: SelectorWithArgs<string, Stored<UserFormSubmission>[]>;
|
|
44
46
|
export declare const selectFormSubmissionsByComponents: Selector<Record<string, Stored<UserFormSubmission>[]>>;
|
|
@@ -5,6 +5,7 @@ export * from "./ComponentStageCompletionSlice";
|
|
|
5
5
|
export * from "./componentStageSlice";
|
|
6
6
|
export * from "./componentTypeSlice";
|
|
7
7
|
export * from "./issueSlice";
|
|
8
|
+
export * from "./issueTypeSlice";
|
|
8
9
|
export * from "./fileSlice";
|
|
9
10
|
export * from "./mapSlice";
|
|
10
11
|
export * from "./organizationSlice";
|
|
@@ -38,6 +38,9 @@ export declare const issueSlice: import("@reduxjs/toolkit").Slice<IssueState, {
|
|
|
38
38
|
addIssue: (state: import("immer/dist/internal.js").WritableDraft<IssueState>, action: {
|
|
39
39
|
payload: Submitted<Issue>;
|
|
40
40
|
}) => void;
|
|
41
|
+
addIssues: (state: import("immer/dist/internal.js").WritableDraft<IssueState>, action: {
|
|
42
|
+
payload: Stored<Issue>[];
|
|
43
|
+
}) => void;
|
|
41
44
|
addIssueAttachment: (state: IssueState, action: {
|
|
42
45
|
payload: Submitted<IssueAttachment>;
|
|
43
46
|
type: string;
|
|
@@ -60,6 +63,7 @@ export declare const issueSlice: import("@reduxjs/toolkit").Slice<IssueState, {
|
|
|
60
63
|
type: string;
|
|
61
64
|
}) => void;
|
|
62
65
|
removeIssue: (state: import("immer/dist/internal.js").WritableDraft<IssueState>, action: PayloadAction<string>) => void;
|
|
66
|
+
removeIssues: (state: import("immer/dist/internal.js").WritableDraft<IssueState>, action: PayloadAction<string[]>) => void;
|
|
63
67
|
removeIssueAttachment: (state: IssueState, action: {
|
|
64
68
|
payload: string;
|
|
65
69
|
type: string;
|
|
@@ -85,7 +89,7 @@ export declare const issueSlice: import("@reduxjs/toolkit").Slice<IssueState, {
|
|
|
85
89
|
resetRecentIssues: (state: import("immer/dist/internal.js").WritableDraft<IssueState>) => void;
|
|
86
90
|
removeRecentIssue: (state: import("immer/dist/internal.js").WritableDraft<IssueState>, action: PayloadAction<string>) => void;
|
|
87
91
|
}, "issues">;
|
|
88
|
-
export declare const addIssueAttachment: import("@reduxjs/toolkit").ActionCreatorWithPayload<Submitted<IssueAttachment>, "issues/addIssueAttachment">, addIssueAttachments: import("@reduxjs/toolkit").ActionCreatorWithPayload<Submitted<IssueAttachment>[], "issues/addIssueAttachments">, addIssue: import("@reduxjs/toolkit").ActionCreatorWithPayload<Submitted<Issue>, "issues/addIssue">, addIssueUpdate: import("@reduxjs/toolkit").ActionCreatorWithPayload<Submitted<IssueUpdate>, "issues/addIssueUpdate">, addIssueUpdates: import("@reduxjs/toolkit").ActionCreatorWithPayload<Submitted<IssueUpdate>[], "issues/addIssueUpdates">, addOrReplaceIssueComment: import("@reduxjs/toolkit").ActionCreatorWithPayload<Submitted<IssueComment>, "issues/addOrReplaceIssueComment">, addToRecentIssues: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "issues/addToRecentIssues">, cleanRecentIssues: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"issues/cleanRecentIssues">, removeIssueAttachment: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "issues/removeIssueAttachment">, removeAttachmentsOfIssue: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "issues/removeAttachmentsOfIssue">, removeIssue: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "issues/removeIssue">, removeIssueUpdate: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "issues/removeIssueUpdate">, removeIssueUpdates: import("@reduxjs/toolkit").ActionCreatorWithPayload<string[], "issues/removeIssueUpdates">, removeRecentIssue: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "issues/removeRecentIssue">, resetRecentIssues: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"issues/resetRecentIssues">, setActiveIssueId: import("@reduxjs/toolkit").ActionCreatorWithPayload<string | null, "issues/setActiveIssueId">, setIssueAttachments: import("@reduxjs/toolkit").ActionCreatorWithPayload<Created<IssueAttachment>[], "issues/setIssueAttachments">, setIssueUpdates: import("@reduxjs/toolkit").ActionCreatorWithPayload<Created<IssueUpdate>[], "issues/setIssueUpdates">, setIssues: import("@reduxjs/toolkit").ActionCreatorWithPayload<Created<Issue>[], "issues/setIssues">, setVisibleStatuses: import("@reduxjs/toolkit").ActionCreatorWithPayload<IssueStatus[], "issues/setVisibleStatuses">, setVisibleUserIds: import("@reduxjs/toolkit").ActionCreatorWithPayload<(number | null)[], "issues/setVisibleUserIds">, updateIssueAttachment: import("@reduxjs/toolkit").ActionCreatorWithPayload<Submitted<IssueAttachment>, "issues/updateIssueAttachment">, updateIssue: import("@reduxjs/toolkit").ActionCreatorWithPayload<Submitted<Partial<Issue>>, "issues/updateIssue">, addIssueComment: import("@reduxjs/toolkit").ActionCreatorWithPayload<Submitted<IssueComment>, "issues/addIssueComment">, addIssueComments: import("@reduxjs/toolkit").ActionCreatorWithPayload<Submitted<IssueComment>[], "issues/addIssueComments">, setIssueComment: import("@reduxjs/toolkit").ActionCreatorWithPayload<Stored<IssueComment>, "issues/setIssueComment">, setIssueComments: import("@reduxjs/toolkit").ActionCreatorWithPayload<Stored<IssueComment>[], "issues/setIssueComments">, removeIssueComment: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "issues/removeIssueComment">, removeIssueComments: import("@reduxjs/toolkit").ActionCreatorWithPayload<string[], "issues/removeIssueComments">;
|
|
92
|
+
export declare const addIssueAttachment: import("@reduxjs/toolkit").ActionCreatorWithPayload<Submitted<IssueAttachment>, "issues/addIssueAttachment">, addIssueAttachments: import("@reduxjs/toolkit").ActionCreatorWithPayload<Submitted<IssueAttachment>[], "issues/addIssueAttachments">, addIssue: import("@reduxjs/toolkit").ActionCreatorWithPayload<Submitted<Issue>, "issues/addIssue">, addIssues: import("@reduxjs/toolkit").ActionCreatorWithPayload<Stored<Issue>[], "issues/addIssues">, addIssueUpdate: import("@reduxjs/toolkit").ActionCreatorWithPayload<Submitted<IssueUpdate>, "issues/addIssueUpdate">, addIssueUpdates: import("@reduxjs/toolkit").ActionCreatorWithPayload<Submitted<IssueUpdate>[], "issues/addIssueUpdates">, addOrReplaceIssueComment: import("@reduxjs/toolkit").ActionCreatorWithPayload<Submitted<IssueComment>, "issues/addOrReplaceIssueComment">, addToRecentIssues: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "issues/addToRecentIssues">, cleanRecentIssues: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"issues/cleanRecentIssues">, removeIssueAttachment: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "issues/removeIssueAttachment">, removeAttachmentsOfIssue: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "issues/removeAttachmentsOfIssue">, removeIssue: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "issues/removeIssue">, removeIssues: import("@reduxjs/toolkit").ActionCreatorWithPayload<string[], "issues/removeIssues">, removeIssueUpdate: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "issues/removeIssueUpdate">, removeIssueUpdates: import("@reduxjs/toolkit").ActionCreatorWithPayload<string[], "issues/removeIssueUpdates">, removeRecentIssue: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "issues/removeRecentIssue">, resetRecentIssues: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"issues/resetRecentIssues">, setActiveIssueId: import("@reduxjs/toolkit").ActionCreatorWithPayload<string | null, "issues/setActiveIssueId">, setIssueAttachments: import("@reduxjs/toolkit").ActionCreatorWithPayload<Created<IssueAttachment>[], "issues/setIssueAttachments">, setIssueUpdates: import("@reduxjs/toolkit").ActionCreatorWithPayload<Created<IssueUpdate>[], "issues/setIssueUpdates">, setIssues: import("@reduxjs/toolkit").ActionCreatorWithPayload<Created<Issue>[], "issues/setIssues">, setVisibleStatuses: import("@reduxjs/toolkit").ActionCreatorWithPayload<IssueStatus[], "issues/setVisibleStatuses">, setVisibleUserIds: import("@reduxjs/toolkit").ActionCreatorWithPayload<(number | null)[], "issues/setVisibleUserIds">, updateIssueAttachment: import("@reduxjs/toolkit").ActionCreatorWithPayload<Submitted<IssueAttachment>, "issues/updateIssueAttachment">, updateIssue: import("@reduxjs/toolkit").ActionCreatorWithPayload<Submitted<Partial<Issue>>, "issues/updateIssue">, addIssueComment: import("@reduxjs/toolkit").ActionCreatorWithPayload<Submitted<IssueComment>, "issues/addIssueComment">, addIssueComments: import("@reduxjs/toolkit").ActionCreatorWithPayload<Submitted<IssueComment>[], "issues/addIssueComments">, setIssueComment: import("@reduxjs/toolkit").ActionCreatorWithPayload<Stored<IssueComment>, "issues/setIssueComment">, setIssueComments: import("@reduxjs/toolkit").ActionCreatorWithPayload<Stored<IssueComment>[], "issues/setIssueComments">, removeIssueComment: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "issues/removeIssueComment">, removeIssueComments: import("@reduxjs/toolkit").ActionCreatorWithPayload<string[], "issues/removeIssueComments">;
|
|
89
93
|
export interface IssueFilterArgs {
|
|
90
94
|
filterByAssignedTo: boolean;
|
|
91
95
|
filterByStatus: boolean;
|
|
@@ -123,6 +127,7 @@ export declare const selectAllAttachments: ((state: import("redux").EmptyObject
|
|
|
123
127
|
componentStageReducer: import('..').ComponentStageState;
|
|
124
128
|
componentTypeReducer: import('..').ComponentTypeState;
|
|
125
129
|
issueReducer: IssueState;
|
|
130
|
+
issueTypeReducer: import('..').IssueTypeState;
|
|
126
131
|
mapReducer: import('..').MapState;
|
|
127
132
|
organizationReducer: import('..').OrganizationState;
|
|
128
133
|
outboxReducer: import('..').OutboxState;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { PayloadAction, Reducer } from "@reduxjs/toolkit";
|
|
2
|
+
import { Issue, IssueType, Organization, Selector, SelectorWithArgs, Stored } from "../../typings";
|
|
3
|
+
export interface IssueTypeState {
|
|
4
|
+
issueTypes: Record<string, Stored<IssueType>>;
|
|
5
|
+
}
|
|
6
|
+
export declare const issueTypeSlice: import("@reduxjs/toolkit").Slice<IssueTypeState, {
|
|
7
|
+
setIssueTypes: (state: import("immer/dist/internal.js").WritableDraft<IssueTypeState>, action: PayloadAction<Stored<IssueType>[]>) => void;
|
|
8
|
+
setIssueType: (state: import("immer/dist/internal.js").WritableDraft<IssueTypeState>, action: PayloadAction<Stored<IssueType>>) => void;
|
|
9
|
+
addIssueType: (state: import("immer/dist/internal.js").WritableDraft<IssueTypeState>, action: PayloadAction<Stored<IssueType>>) => void;
|
|
10
|
+
updateIssueType: (state: import("immer/dist/internal.js").WritableDraft<IssueTypeState>, action: PayloadAction<Stored<IssueType>>) => void;
|
|
11
|
+
removeIssueType: (state: import("immer/dist/internal.js").WritableDraft<IssueTypeState>, action: PayloadAction<string>) => void;
|
|
12
|
+
}, "issueTypes">;
|
|
13
|
+
export declare const setIssueTypes: import("@reduxjs/toolkit").ActionCreatorWithPayload<Stored<IssueType>[], "issueTypes/setIssueTypes">, setIssueType: import("@reduxjs/toolkit").ActionCreatorWithPayload<Stored<IssueType>, "issueTypes/setIssueType">, addIssueType: import("@reduxjs/toolkit").ActionCreatorWithPayload<Stored<IssueType>, "issueTypes/addIssueType">, updateIssueType: import("@reduxjs/toolkit").ActionCreatorWithPayload<Stored<IssueType>, "issueTypes/updateIssueType">, removeIssueType: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "issueTypes/removeIssueType">;
|
|
14
|
+
export declare const selectIssueTypeMapping: Selector<IssueTypeState["issueTypes"]>;
|
|
15
|
+
export declare const selectIssueTypes: Selector<Stored<IssueType>[]>;
|
|
16
|
+
export declare const selectIssueType: SelectorWithArgs<IssueType["offline_id"], Stored<IssueType>>;
|
|
17
|
+
export declare const selectIssueTypesOfOrganization: SelectorWithArgs<Organization["id"], Stored<IssueType>[]>;
|
|
18
|
+
export declare const selectIssuesOfIssueType: SelectorWithArgs<IssueType["offline_id"], Stored<Issue>[]>;
|
|
19
|
+
export declare const selectIssuesOfIssueTypeCount: SelectorWithArgs<IssueType["offline_id"], number>;
|
|
20
|
+
export declare const issueTypeReducer: Reducer<IssueTypeState>;
|
|
@@ -59,6 +59,7 @@ export declare const selectProjectFiles: ((state: import("redux").EmptyObject &
|
|
|
59
59
|
componentStageReducer: import('..').ComponentStageState;
|
|
60
60
|
componentTypeReducer: import('..').ComponentTypeState;
|
|
61
61
|
issueReducer: import('..').IssueState;
|
|
62
|
+
issueTypeReducer: import('..').IssueTypeState;
|
|
62
63
|
mapReducer: import('..').MapState;
|
|
63
64
|
organizationReducer: import('..').OrganizationState;
|
|
64
65
|
outboxReducer: import('..').OutboxState;
|
|
@@ -37,6 +37,7 @@ export declare const selectWorkspaces: ((state: import("redux").EmptyObject & {
|
|
|
37
37
|
componentStageReducer: import('..').ComponentStageState;
|
|
38
38
|
componentTypeReducer: import('..').ComponentTypeState;
|
|
39
39
|
issueReducer: import('..').IssueState;
|
|
40
|
+
issueTypeReducer: import('..').IssueTypeState;
|
|
40
41
|
mapReducer: import('..').MapState;
|
|
41
42
|
organizationReducer: import('..').OrganizationState;
|
|
42
43
|
outboxReducer: import('..').OutboxState;
|