@overmap-ai/core 1.0.53-team-links.1 → 1.0.54
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 +1360 -1742
- package/dist/overmap-core.js.map +1 -1
- package/dist/overmap-core.umd.cjs +1363 -1745
- package/dist/overmap-core.umd.cjs.map +1 -1
- package/dist/sdk/sdk.d.ts +6 -7
- package/dist/sdk/services/AgentService.d.ts +1 -1
- package/dist/sdk/services/BaseAttachmentService.d.ts +31 -0
- package/dist/sdk/services/ComponentAttachmentService.d.ts +10 -0
- package/dist/sdk/services/ComponentTypeAttachmentService.d.ts +10 -0
- package/dist/sdk/services/DocumentAttachmentService.d.ts +10 -0
- package/dist/sdk/services/IssueAttachmentService.d.ts +10 -0
- package/dist/sdk/services/IssueService.d.ts +1 -1
- package/dist/sdk/services/ProjectAttachmentService.d.ts +10 -0
- package/dist/sdk/services/index.d.ts +5 -2
- package/dist/store/slices/categorySlice.d.ts +0 -3
- package/dist/store/slices/componentSlice.d.ts +15 -7
- package/dist/store/slices/componentTypeSlice.d.ts +16 -8
- package/dist/store/slices/documentSlice.d.ts +10 -5
- package/dist/store/slices/formRevisionSlice.d.ts +30 -33
- package/dist/store/slices/index.d.ts +0 -3
- package/dist/store/slices/issueSlice.d.ts +33 -24
- package/dist/store/slices/projectFileSlice.d.ts +0 -3
- package/dist/store/slices/projectSlice.d.ts +12 -3
- package/dist/store/slices/utils.d.ts +3 -2
- package/dist/store/slices/workspaceSlice.d.ts +0 -3
- package/dist/store/store.d.ts +1 -10
- package/dist/typings/models/attachments.d.ts +7 -0
- package/dist/typings/models/base.d.ts +0 -5
- package/dist/typings/models/projects.d.ts +4 -5
- package/dist/typings/models/teams.d.ts +0 -15
- package/package.json +1 -1
- package/dist/sdk/services/AttachmentService.d.ts +0 -46
- package/dist/sdk/services/DocumentTeamLinkService.d.ts +0 -8
- package/dist/sdk/services/IssueTypeTeamLinkService.d.ts +0 -8
- package/dist/sdk/services/UserFormTeamLinkService.d.ts +0 -8
- package/dist/store/slices/documentTeamLinkSlice.d.ts +0 -20
- package/dist/store/slices/issueTypeTeamLinkSlice.d.ts +0 -20
- package/dist/store/slices/userFormTeamLinkSlice.d.ts +0 -20
package/dist/sdk/sdk.d.ts
CHANGED
|
@@ -1,15 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AuthService, CategoryService, ComponentService, ComponentStageCompletionService, ComponentStageService, ComponentAttachmentService, ComponentTypeService, ComponentTypeAttachmentService, EmailVerificationService, FileService, IssueCommentService, IssueAttachmentService, IssueService, MainService, OrganizationAccessService, ProjectAccessService, ProjectFileService, ProjectAttachmentService, ProjectService, UserFormService, UserFormSubmissionService, WorkspaceService, OrganizationService, EmailDomainsService, LicenseService, DocumentService, DocumentAttachmentService, IssueUpdateService, AgentService, TeamService, IssueTypeService } from "./services";
|
|
2
2
|
import { ToolkitStore } from "@reduxjs/toolkit/dist/configureStore.js";
|
|
3
3
|
import { RootState } from "../typings";
|
|
4
|
-
import { IssueTypeTeamLinkService } from "./services/IssueTypeTeamLinkService.ts";
|
|
5
|
-
import { UserFormTeamLinkService } from "./services/UserFormTeamLinkService.tsx";
|
|
6
4
|
export declare class OvermapSDK {
|
|
7
5
|
readonly API_URL: string;
|
|
8
6
|
readonly store: ToolkitStore<RootState>;
|
|
9
7
|
constructor(apiUrl: string, store: ToolkitStore<RootState>);
|
|
10
8
|
agent: AgentService;
|
|
11
9
|
files: FileService;
|
|
12
|
-
attachments: AttachmentService;
|
|
13
10
|
auth: AuthService;
|
|
14
11
|
categories: CategoryService;
|
|
15
12
|
projectAccesses: ProjectAccessService;
|
|
@@ -19,23 +16,25 @@ export declare class OvermapSDK {
|
|
|
19
16
|
issueTypes: IssueTypeService;
|
|
20
17
|
issueComments: IssueCommentService;
|
|
21
18
|
issueUpdates: IssueUpdateService;
|
|
19
|
+
issueAttachments: IssueAttachmentService;
|
|
22
20
|
workspaces: WorkspaceService;
|
|
23
21
|
main: MainService;
|
|
24
22
|
components: ComponentService;
|
|
23
|
+
componentAttachments: ComponentAttachmentService;
|
|
25
24
|
componentTypes: ComponentTypeService;
|
|
25
|
+
componentTypeAttachments: ComponentTypeAttachmentService;
|
|
26
26
|
componentStages: ComponentStageService;
|
|
27
27
|
componentStageCompletions: ComponentStageCompletionService;
|
|
28
28
|
userForms: UserFormService;
|
|
29
29
|
userFormSubmissions: UserFormSubmissionService;
|
|
30
30
|
projects: ProjectService;
|
|
31
31
|
projectFiles: ProjectFileService;
|
|
32
|
+
projectAttachments: ProjectAttachmentService;
|
|
32
33
|
emailVerification: EmailVerificationService;
|
|
33
34
|
emailDomains: EmailDomainsService;
|
|
34
35
|
licenses: LicenseService;
|
|
35
36
|
documents: DocumentService;
|
|
36
37
|
teams: TeamService;
|
|
37
|
-
|
|
38
|
-
issueTypeTeamLinks: IssueTypeTeamLinkService;
|
|
39
|
-
userFormTeamLinks: UserFormTeamLinkService;
|
|
38
|
+
documentAttachments: DocumentAttachmentService;
|
|
40
39
|
}
|
|
41
40
|
export declare const makeClient: (apiUrl: string, store: ToolkitStore<RootState>) => OvermapSDK;
|
|
@@ -35,6 +35,6 @@ export declare class AgentService extends BaseApiService {
|
|
|
35
35
|
* @param request The message to prompt the agent with.
|
|
36
36
|
* @param conversationId If continuing an existing message, the UUID of that conversation.
|
|
37
37
|
*/
|
|
38
|
-
prompt(request: Payload<string>, conversationId?: string): Promise<PromptAgentResponse>;
|
|
38
|
+
prompt(request: Payload<string>, conversationId?: string | null | undefined): Promise<PromptAgentResponse>;
|
|
39
39
|
rate(responseId: string, rating: 1 | 5): Promise<undefined>;
|
|
40
40
|
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { ActionCreatorWithPayload } from "@reduxjs/toolkit";
|
|
2
|
+
import { BaseApiService } from "./BaseApiService";
|
|
3
|
+
import { OptimisticMultipleModelResult } from "../typings";
|
|
4
|
+
import { Attachment, AttachmentModel, SelectorWithArgs, Stored, Submitted } from "../../typings";
|
|
5
|
+
export interface BuildOfflineAttachmentData<TModelId> {
|
|
6
|
+
file: File;
|
|
7
|
+
sha1: string;
|
|
8
|
+
submittedAt: string;
|
|
9
|
+
createdBy: number;
|
|
10
|
+
description?: string;
|
|
11
|
+
modelId: TModelId;
|
|
12
|
+
}
|
|
13
|
+
export declare abstract class BaseAttachmentService extends BaseApiService {
|
|
14
|
+
abstract readonly attachmentModel: AttachmentModel;
|
|
15
|
+
private getNumberOfAttachmentsWithSha1;
|
|
16
|
+
private processPresignedUrls;
|
|
17
|
+
protected getAttachments<TAttachment extends Attachment>(actions: {
|
|
18
|
+
setAttachments: ActionCreatorWithPayload<Submitted<TAttachment>[]>;
|
|
19
|
+
}): Promise<void>;
|
|
20
|
+
protected attachFiles<TAttachment extends Attachment, TModelId = string | number>(files: File[], modelId: TModelId, buildOfflineAttachment: (data: BuildOfflineAttachmentData<TModelId>) => Stored<TAttachment>, actions: {
|
|
21
|
+
addAttachments: ActionCreatorWithPayload<Submitted<TAttachment>[]>;
|
|
22
|
+
updateAttachments: ActionCreatorWithPayload<Submitted<TAttachment>[]>;
|
|
23
|
+
removeAttachments: ActionCreatorWithPayload<string[]>;
|
|
24
|
+
}): Promise<OptimisticMultipleModelResult<TAttachment>>;
|
|
25
|
+
protected deleteAttachment<TAttachment extends Attachment>(attachmendId: string, actions: {
|
|
26
|
+
setAttachment: ActionCreatorWithPayload<Stored<TAttachment>>;
|
|
27
|
+
removeAttachment: ActionCreatorWithPayload<string>;
|
|
28
|
+
}, selectors: {
|
|
29
|
+
selectAttachment: SelectorWithArgs<string, Stored<TAttachment>>;
|
|
30
|
+
}): Promise<void>;
|
|
31
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { BaseAttachmentService } from "./BaseAttachmentService";
|
|
2
|
+
import { AttachmentModel, ComponentAttachment } from "../../typings";
|
|
3
|
+
import { OptimisticMultipleModelResult } from "../typings";
|
|
4
|
+
export declare class ComponentAttachmentService extends BaseAttachmentService {
|
|
5
|
+
attachmentModel: AttachmentModel;
|
|
6
|
+
private buildOfflineAttachment;
|
|
7
|
+
attachFilesToComponent(files: File[], componentId: string): Promise<OptimisticMultipleModelResult<ComponentAttachment>>;
|
|
8
|
+
deleteComponentAttachment(attachmentId: string): Promise<void>;
|
|
9
|
+
refreshStore(): Promise<void>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { BaseAttachmentService } from "./BaseAttachmentService";
|
|
2
|
+
import { AttachmentModel, ComponentTypeAttachment } from "../../typings";
|
|
3
|
+
import { OptimisticMultipleModelResult } from "../typings";
|
|
4
|
+
export declare class ComponentTypeAttachmentService extends BaseAttachmentService {
|
|
5
|
+
attachmentModel: AttachmentModel;
|
|
6
|
+
private buildOfflineAttachment;
|
|
7
|
+
attachFilesToComponentType(files: File[], componentTypeId: string): Promise<OptimisticMultipleModelResult<ComponentTypeAttachment>>;
|
|
8
|
+
deleteComponentTypeAttachment(attachmentId: string): Promise<void>;
|
|
9
|
+
refreshStore(): Promise<void>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { BaseAttachmentService } from "./BaseAttachmentService";
|
|
2
|
+
import { AttachmentModel, DocumentAttachment } from "../../typings";
|
|
3
|
+
import { OptimisticMultipleModelResult } from "../typings";
|
|
4
|
+
export declare class DocumentAttachmentService extends BaseAttachmentService {
|
|
5
|
+
attachmentModel: AttachmentModel;
|
|
6
|
+
private buildOfflineAttachment;
|
|
7
|
+
attachFilesToDocument(files: File[], documentId: string): Promise<OptimisticMultipleModelResult<DocumentAttachment>>;
|
|
8
|
+
deleteDocumentAttachment(attachmentId: string): Promise<void>;
|
|
9
|
+
refreshStore(): Promise<void>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { BaseAttachmentService } from "./BaseAttachmentService";
|
|
2
|
+
import { OptimisticMultipleModelResult } from "../typings";
|
|
3
|
+
import { AttachmentModel, IssueAttachment } from "../../typings";
|
|
4
|
+
export declare class IssueAttachmentService extends BaseAttachmentService {
|
|
5
|
+
attachmentModel: AttachmentModel;
|
|
6
|
+
private buildOfflineAttachment;
|
|
7
|
+
attachFilesToIssue(files: File[], issueId: string): Promise<OptimisticMultipleModelResult<IssueAttachment>>;
|
|
8
|
+
deleteIssueAttachment(attachmentId: string): Promise<void>;
|
|
9
|
+
refreshStore(): Promise<void>;
|
|
10
|
+
}
|
|
@@ -5,7 +5,7 @@ import { Issue, IssueType, Submitted } from "../../typings";
|
|
|
5
5
|
* Handles CRUD operations on issues
|
|
6
6
|
*/
|
|
7
7
|
export declare class IssueService extends BaseApiService {
|
|
8
|
-
add(issue: Issue,
|
|
8
|
+
add(issue: Issue, issueType?: 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,10 @@
|
|
|
1
|
+
import { BaseAttachmentService } from "./BaseAttachmentService";
|
|
2
|
+
import { AttachmentModel, ProjectAttachment } from "../../typings";
|
|
3
|
+
import { OptimisticMultipleModelResult } from "../typings";
|
|
4
|
+
export declare class ProjectAttachmentService extends BaseAttachmentService {
|
|
5
|
+
attachmentModel: AttachmentModel;
|
|
6
|
+
private buildOfflineAttachment;
|
|
7
|
+
attachFilesToProject(files: File[], projectId: number): Promise<OptimisticMultipleModelResult<ProjectAttachment>>;
|
|
8
|
+
deleteProjectAttachment(attachmentId: string): Promise<void>;
|
|
9
|
+
refreshStore(): Promise<void>;
|
|
10
|
+
}
|
|
@@ -1,18 +1,21 @@
|
|
|
1
|
-
export * from "./AttachmentService";
|
|
2
1
|
export * from "./AuthService";
|
|
3
2
|
export * from "./BaseApiService";
|
|
4
3
|
export * from "./CategoryService";
|
|
5
4
|
export * from "./ComponentService";
|
|
6
5
|
export * from "./ComponentStageCompletionService";
|
|
7
6
|
export * from "./ComponentStageService";
|
|
7
|
+
export * from "./ComponentAttachmentService";
|
|
8
8
|
export * from "./ComponentTypeService";
|
|
9
|
+
export * from "./ComponentTypeAttachmentService";
|
|
9
10
|
export * from "./IssueCommentService";
|
|
10
11
|
export * from "./IssueUpdateService";
|
|
12
|
+
export * from "./IssueAttachmentService";
|
|
11
13
|
export * from "./IssueService";
|
|
12
14
|
export * from "./IssueTypeService";
|
|
13
15
|
export * from "./MainService";
|
|
14
16
|
export * from "./ProjectAccessService";
|
|
15
17
|
export * from "./ProjectFileService";
|
|
18
|
+
export * from "./ProjectAttachmentService";
|
|
16
19
|
export * from "./ProjectService";
|
|
17
20
|
export * from "./UserFormService";
|
|
18
21
|
export * from "./UserFormSubmissionService";
|
|
@@ -24,6 +27,6 @@ export * from "./EmailDomainsService";
|
|
|
24
27
|
export * from "./OrganizationService";
|
|
25
28
|
export * from "./LicenseService";
|
|
26
29
|
export * from "./DocumentService";
|
|
30
|
+
export * from "./DocumentAttachmentService";
|
|
27
31
|
export * from "./AgentService";
|
|
28
32
|
export * from "./TeamService";
|
|
29
|
-
export * from "./DocumentTeamLinkService";
|
|
@@ -70,9 +70,6 @@ export declare const selectCategories: ((state: import("redux").EmptyObject & {
|
|
|
70
70
|
licenseReducer: import('..').LicenseState;
|
|
71
71
|
documentsReducer: import('..').DocumentState;
|
|
72
72
|
teamReducer: import('..').TeamState;
|
|
73
|
-
documentTeamLinkReducer: import('..').DocumentTeamLinkState;
|
|
74
|
-
issueTypeTeamLinkReducer: import('..').IssueTypeTeamLinkState;
|
|
75
|
-
userFormTeamLinkReducer: import('..').UserFormTeamLinkState;
|
|
76
73
|
} & {
|
|
77
74
|
offline: import("@redux-offline/redux-offline/lib/types").OfflineState;
|
|
78
75
|
}) => Category[]) & import("reselect").OutputSelectorFields<(args_0: Record<string, Category>, args_1: string | null) => Category[], {
|
|
@@ -14,8 +14,17 @@ export declare const componentSlice: import("@reduxjs/toolkit").Slice<ComponentS
|
|
|
14
14
|
setComponents: (state: import("immer/dist/internal.js").WritableDraft<ComponentState>, action: {
|
|
15
15
|
payload: Component[];
|
|
16
16
|
}) => void;
|
|
17
|
+
updateComponent: (state: import("immer/dist/internal.js").WritableDraft<ComponentState>, action: {
|
|
18
|
+
payload: Component;
|
|
19
|
+
}) => void;
|
|
20
|
+
removeComponent: (state: import("immer/dist/internal.js").WritableDraft<ComponentState>, action: PayloadAction<string>) => void;
|
|
21
|
+
removeAllComponentsOfType: (state: import("immer/dist/internal.js").WritableDraft<ComponentState>, action: PayloadAction<string>) => void;
|
|
22
|
+
setComponentAttachment: (state: ComponentState, action: {
|
|
23
|
+
payload: Stored<ComponentAttachment>;
|
|
24
|
+
type: string;
|
|
25
|
+
}) => void;
|
|
17
26
|
setComponentAttachments: (state: ComponentState, action: {
|
|
18
|
-
payload:
|
|
27
|
+
payload: Stored<ComponentAttachment>[];
|
|
19
28
|
type: string;
|
|
20
29
|
}) => void;
|
|
21
30
|
addComponentAttachment: (state: ComponentState, action: {
|
|
@@ -30,6 +39,10 @@ export declare const componentSlice: import("@reduxjs/toolkit").Slice<ComponentS
|
|
|
30
39
|
payload: Submitted<ComponentAttachment>;
|
|
31
40
|
type: string;
|
|
32
41
|
}) => void;
|
|
42
|
+
updateComponentAttachments: (state: ComponentState, action: {
|
|
43
|
+
payload: Submitted<ComponentAttachment>[];
|
|
44
|
+
type: string;
|
|
45
|
+
}) => void;
|
|
33
46
|
removeComponentAttachment: (state: ComponentState, action: {
|
|
34
47
|
payload: string;
|
|
35
48
|
type: string;
|
|
@@ -38,12 +51,8 @@ export declare const componentSlice: import("@reduxjs/toolkit").Slice<ComponentS
|
|
|
38
51
|
payload: string[];
|
|
39
52
|
type: string;
|
|
40
53
|
}) => void;
|
|
41
|
-
updateComponent: (state: import("immer/dist/internal.js").WritableDraft<ComponentState>, action: {
|
|
42
|
-
payload: Component;
|
|
43
|
-
}) => void;
|
|
44
|
-
removeComponent: (state: import("immer/dist/internal.js").WritableDraft<ComponentState>, action: PayloadAction<string>) => void;
|
|
45
|
-
removeAllComponentsOfType: (state: import("immer/dist/internal.js").WritableDraft<ComponentState>, action: PayloadAction<string>) => void;
|
|
46
54
|
}, "components">;
|
|
55
|
+
export declare const addComponent: import("@reduxjs/toolkit").ActionCreatorWithPayload<Component, "components/addComponent">, updateComponent: import("@reduxjs/toolkit").ActionCreatorWithPayload<Component, "components/updateComponent">, removeComponent: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "components/removeComponent">, addComponentsInBatches: import("@reduxjs/toolkit").ActionCreatorWithPayload<(Component | Submitted<Component>)[], "components/addComponentsInBatches">, setComponents: import("@reduxjs/toolkit").ActionCreatorWithPayload<Component[], "components/setComponents">, removeAllComponentsOfType: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "components/removeAllComponentsOfType">, setComponentAttachment: import("@reduxjs/toolkit").ActionCreatorWithPayload<Stored<ComponentAttachment>, "components/setComponentAttachment">, setComponentAttachments: import("@reduxjs/toolkit").ActionCreatorWithPayload<Stored<ComponentAttachment>[], "components/setComponentAttachments">, addComponentAttachment: import("@reduxjs/toolkit").ActionCreatorWithPayload<Submitted<ComponentAttachment>, "components/addComponentAttachment">, addComponentAttachments: import("@reduxjs/toolkit").ActionCreatorWithPayload<Submitted<ComponentAttachment>[], "components/addComponentAttachments">, updateComponentAttachment: import("@reduxjs/toolkit").ActionCreatorWithPayload<Submitted<ComponentAttachment>, "components/updateComponentAttachment">, updateComponentAttachments: import("@reduxjs/toolkit").ActionCreatorWithPayload<Submitted<ComponentAttachment>[], "components/updateComponentAttachments">, removeComponentAttachment: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "components/removeComponentAttachment">, removeComponentAttachments: import("@reduxjs/toolkit").ActionCreatorWithPayload<string[], "components/removeComponentAttachments">;
|
|
47
56
|
export declare const selectComponents: (state: RootState) => Component[];
|
|
48
57
|
export declare const selectComponentsMapping: (state: RootState) => Record<string, Component | Submitted<Component>>;
|
|
49
58
|
export declare const selectComponentsFromComponentType: SelectorWithArgs<string | undefined, Component[]>;
|
|
@@ -61,5 +70,4 @@ export declare const selectAttachmentsOfComponentByType: (args: string) => (stat
|
|
|
61
70
|
fileAttachments: Stored<ComponentAttachment>[];
|
|
62
71
|
imageAttachments: Stored<ComponentAttachment>[];
|
|
63
72
|
};
|
|
64
|
-
export declare const addComponent: import("@reduxjs/toolkit").ActionCreatorWithPayload<Component, "components/addComponent">, updateComponent: import("@reduxjs/toolkit").ActionCreatorWithPayload<Component, "components/updateComponent">, removeComponent: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "components/removeComponent">, addComponentsInBatches: import("@reduxjs/toolkit").ActionCreatorWithPayload<(Component | Submitted<Component>)[], "components/addComponentsInBatches">, setComponents: import("@reduxjs/toolkit").ActionCreatorWithPayload<Component[], "components/setComponents">, setComponentAttachments: import("@reduxjs/toolkit").ActionCreatorWithPayload<import('../../typings/models/issues').Created<ComponentAttachment>[], "components/setComponentAttachments">, addComponentAttachment: import("@reduxjs/toolkit").ActionCreatorWithPayload<Submitted<ComponentAttachment>, "components/addComponentAttachment">, addComponentAttachments: import("@reduxjs/toolkit").ActionCreatorWithPayload<Submitted<ComponentAttachment>[], "components/addComponentAttachments">, updateComponentAttachment: import("@reduxjs/toolkit").ActionCreatorWithPayload<Submitted<ComponentAttachment>, "components/updateComponentAttachment">, removeComponentAttachment: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "components/removeComponentAttachment">, removeComponentAttachments: import("@reduxjs/toolkit").ActionCreatorWithPayload<string[], "components/removeComponentAttachments">, removeAllComponentsOfType: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "components/removeAllComponentsOfType">;
|
|
65
73
|
export declare const componentReducer: Reducer<ComponentState>;
|
|
@@ -12,8 +12,18 @@ export declare const componentTypeSlice: import("@reduxjs/toolkit").Slice<Compon
|
|
|
12
12
|
setComponentTypes: (state: import("immer/dist/internal.js").WritableDraft<ComponentTypeState>, action: {
|
|
13
13
|
payload: ComponentType[];
|
|
14
14
|
}) => void;
|
|
15
|
+
toggleComponentTypeVisibility: (state: import("immer/dist/internal.js").WritableDraft<ComponentTypeState>, action: {
|
|
16
|
+
payload: string;
|
|
17
|
+
}) => void;
|
|
18
|
+
deleteComponentType: (state: import("immer/dist/internal.js").WritableDraft<ComponentTypeState>, action: {
|
|
19
|
+
payload: string;
|
|
20
|
+
}) => void;
|
|
21
|
+
setComponentTypeAttachment: (state: ComponentTypeState, action: {
|
|
22
|
+
payload: Stored<ComponentTypeAttachment>;
|
|
23
|
+
type: string;
|
|
24
|
+
}) => void;
|
|
15
25
|
setComponentTypeAttachments: (state: ComponentTypeState, action: {
|
|
16
|
-
payload:
|
|
26
|
+
payload: Stored<ComponentTypeAttachment>[];
|
|
17
27
|
type: string;
|
|
18
28
|
}) => void;
|
|
19
29
|
addComponentTypeAttachment: (state: ComponentTypeState, action: {
|
|
@@ -28,6 +38,10 @@ export declare const componentTypeSlice: import("@reduxjs/toolkit").Slice<Compon
|
|
|
28
38
|
payload: import('../../typings/models/issues').Submitted<ComponentTypeAttachment>;
|
|
29
39
|
type: string;
|
|
30
40
|
}) => void;
|
|
41
|
+
updateComponentTypeAttachments: (state: ComponentTypeState, action: {
|
|
42
|
+
payload: import('../../typings/models/issues').Submitted<ComponentTypeAttachment>[];
|
|
43
|
+
type: string;
|
|
44
|
+
}) => void;
|
|
31
45
|
removeComponentTypeAttachment: (state: ComponentTypeState, action: {
|
|
32
46
|
payload: string;
|
|
33
47
|
type: string;
|
|
@@ -36,13 +50,8 @@ export declare const componentTypeSlice: import("@reduxjs/toolkit").Slice<Compon
|
|
|
36
50
|
payload: string[];
|
|
37
51
|
type: string;
|
|
38
52
|
}) => void;
|
|
39
|
-
toggleComponentTypeVisibility: (state: import("immer/dist/internal.js").WritableDraft<ComponentTypeState>, action: {
|
|
40
|
-
payload: string;
|
|
41
|
-
}) => void;
|
|
42
|
-
deleteComponentType: (state: import("immer/dist/internal.js").WritableDraft<ComponentTypeState>, action: {
|
|
43
|
-
payload: string;
|
|
44
|
-
}) => void;
|
|
45
53
|
}, "componentTypes">;
|
|
54
|
+
export declare const addComponentType: import("@reduxjs/toolkit").ActionCreatorWithPayload<ComponentType, "componentTypes/addComponentType">, setComponentTypes: import("@reduxjs/toolkit").ActionCreatorWithPayload<ComponentType[], "componentTypes/setComponentTypes">, toggleComponentTypeVisibility: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "componentTypes/toggleComponentTypeVisibility">, deleteComponentType: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "componentTypes/deleteComponentType">, setComponentTypeAttachment: import("@reduxjs/toolkit").ActionCreatorWithPayload<Stored<ComponentTypeAttachment>, "componentTypes/setComponentTypeAttachment">, setComponentTypeAttachments: import("@reduxjs/toolkit").ActionCreatorWithPayload<Stored<ComponentTypeAttachment>[], "componentTypes/setComponentTypeAttachments">, addComponentTypeAttachment: import("@reduxjs/toolkit").ActionCreatorWithPayload<import('../../typings/models/issues').Submitted<ComponentTypeAttachment>, "componentTypes/addComponentTypeAttachment">, addComponentTypeAttachments: import("@reduxjs/toolkit").ActionCreatorWithPayload<import('../../typings/models/issues').Submitted<ComponentTypeAttachment>[], "componentTypes/addComponentTypeAttachments">, updateComponentTypeAttachment: import("@reduxjs/toolkit").ActionCreatorWithPayload<import('../../typings/models/issues').Submitted<ComponentTypeAttachment>, "componentTypes/updateComponentTypeAttachment">, updateComponentTypeAttachments: import("@reduxjs/toolkit").ActionCreatorWithPayload<import('../../typings/models/issues').Submitted<ComponentTypeAttachment>[], "componentTypes/updateComponentTypeAttachments">, removeComponentTypeAttachment: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "componentTypes/removeComponentTypeAttachment">, removeComponentTypeAttachments: import("@reduxjs/toolkit").ActionCreatorWithPayload<string[], "componentTypes/removeComponentTypeAttachments">;
|
|
46
55
|
export type AppSelector<TResult> = (state: RootState) => TResult;
|
|
47
56
|
export declare const selectComponentTypesMapping: AppSelector<Record<string, ComponentType>>;
|
|
48
57
|
export declare const selectComponentTypes: AppSelector<ComponentType[]>;
|
|
@@ -62,6 +71,5 @@ export declare const selectAttachmentsOfComponentTypeByType: (args: string) => (
|
|
|
62
71
|
fileAttachments: Stored<ComponentTypeAttachment>[];
|
|
63
72
|
imageAttachments: Stored<ComponentTypeAttachment>[];
|
|
64
73
|
};
|
|
65
|
-
export declare const addComponentType: import("@reduxjs/toolkit").ActionCreatorWithPayload<ComponentType, "componentTypes/addComponentType">, setComponentTypes: import("@reduxjs/toolkit").ActionCreatorWithPayload<ComponentType[], "componentTypes/setComponentTypes">, setComponentTypeAttachments: import("@reduxjs/toolkit").ActionCreatorWithPayload<import('../../typings/models/issues').Created<ComponentTypeAttachment>[], "componentTypes/setComponentTypeAttachments">, addComponentTypeAttachment: import("@reduxjs/toolkit").ActionCreatorWithPayload<import('../../typings/models/issues').Submitted<ComponentTypeAttachment>, "componentTypes/addComponentTypeAttachment">, addComponentTypeAttachments: import("@reduxjs/toolkit").ActionCreatorWithPayload<import('../../typings/models/issues').Submitted<ComponentTypeAttachment>[], "componentTypes/addComponentTypeAttachments">, updateComponentTypeAttachment: import("@reduxjs/toolkit").ActionCreatorWithPayload<import('../../typings/models/issues').Submitted<ComponentTypeAttachment>, "componentTypes/updateComponentTypeAttachment">, removeComponentTypeAttachment: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "componentTypes/removeComponentTypeAttachment">, removeComponentTypeAttachments: import("@reduxjs/toolkit").ActionCreatorWithPayload<string[], "componentTypes/removeComponentTypeAttachments">, toggleComponentTypeVisibility: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "componentTypes/toggleComponentTypeVisibility">, deleteComponentType: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "componentTypes/deleteComponentType">;
|
|
66
74
|
export declare const componentTypeReducer: Reducer<ComponentTypeState>;
|
|
67
75
|
export {};
|
|
@@ -27,8 +27,12 @@ export declare const documentSlice: import("@reduxjs/toolkit").Slice<DocumentSta
|
|
|
27
27
|
removeDocuments: (state: import("immer/dist/internal.js").WritableDraft<DocumentState>, action: {
|
|
28
28
|
payload: string[];
|
|
29
29
|
}) => void;
|
|
30
|
+
setDocumentAttachment: (state: DocumentState, action: {
|
|
31
|
+
payload: Stored<DocumentAttachment>;
|
|
32
|
+
type: string;
|
|
33
|
+
}) => void;
|
|
30
34
|
setDocumentAttachments: (state: DocumentState, action: {
|
|
31
|
-
payload:
|
|
35
|
+
payload: Stored<DocumentAttachment>[];
|
|
32
36
|
type: string;
|
|
33
37
|
}) => void;
|
|
34
38
|
addDocumentAttachment: (state: DocumentState, action: {
|
|
@@ -43,6 +47,10 @@ export declare const documentSlice: import("@reduxjs/toolkit").Slice<DocumentSta
|
|
|
43
47
|
payload: Submitted<DocumentAttachment>;
|
|
44
48
|
type: string;
|
|
45
49
|
}) => void;
|
|
50
|
+
updateDocumentAttachments: (state: DocumentState, action: {
|
|
51
|
+
payload: Submitted<DocumentAttachment>[];
|
|
52
|
+
type: string;
|
|
53
|
+
}) => void;
|
|
46
54
|
removeDocumentAttachment: (state: DocumentState, action: {
|
|
47
55
|
payload: string;
|
|
48
56
|
type: string;
|
|
@@ -184,7 +192,7 @@ export declare const setDocuments: import("@reduxjs/toolkit").ActionCreatorWithP
|
|
|
184
192
|
project: null;
|
|
185
193
|
} & {
|
|
186
194
|
children_documents: string[];
|
|
187
|
-
}, "id" | "created_at" | "created_by">)>>[], "documents/updateDocuments">, moveDocument: import("@reduxjs/toolkit").ActionCreatorWithPayload<MoveDocumentPayload, "documents/moveDocument">, removeDocuments: import("@reduxjs/toolkit").ActionCreatorWithPayload<string[], "documents/removeDocuments">,
|
|
195
|
+
}, "id" | "created_at" | "created_by">)>>[], "documents/updateDocuments">, moveDocument: import("@reduxjs/toolkit").ActionCreatorWithPayload<MoveDocumentPayload, "documents/moveDocument">, removeDocuments: import("@reduxjs/toolkit").ActionCreatorWithPayload<string[], "documents/removeDocuments">, setDocumentAttachment: import("@reduxjs/toolkit").ActionCreatorWithPayload<Stored<DocumentAttachment>, "documents/setDocumentAttachment">, setDocumentAttachments: import("@reduxjs/toolkit").ActionCreatorWithPayload<Stored<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">, updateDocumentAttachments: import("@reduxjs/toolkit").ActionCreatorWithPayload<Submitted<DocumentAttachment>[], "documents/updateDocumentAttachments">, removeDocumentAttachment: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "documents/removeDocumentAttachment">, removeDocumentAttachments: import("@reduxjs/toolkit").ActionCreatorWithPayload<string[], "documents/removeDocumentAttachments">;
|
|
188
196
|
export declare const selectDocumentsMapping: AppSelector<Record<string, Stored<Document>>>;
|
|
189
197
|
export declare const selectDocuments: AppSelector<Stored<Document>[]>;
|
|
190
198
|
export declare const selectDocument: (args: string) => (state: RootState) => (import('../../typings/models/base').OfflineModel & import('../../typings/models/base').CreatedByModel & {
|
|
@@ -262,9 +270,6 @@ export declare const selectRootDocuments: ((state: import("redux").EmptyObject &
|
|
|
262
270
|
licenseReducer: import('..').LicenseState;
|
|
263
271
|
documentsReducer: DocumentState;
|
|
264
272
|
teamReducer: import('..').TeamState;
|
|
265
|
-
documentTeamLinkReducer: import('..').DocumentTeamLinkState;
|
|
266
|
-
issueTypeTeamLinkReducer: import('..').IssueTypeTeamLinkState;
|
|
267
|
-
userFormTeamLinkReducer: import('..').UserFormTeamLinkState;
|
|
268
273
|
} & {
|
|
269
274
|
offline: import("@redux-offline/redux-offline/lib/types").OfflineState;
|
|
270
275
|
}) => ((import('../../typings/models/base').OfflineModel & import('../../typings/models/base').CreatedByModel & {
|
|
@@ -18,43 +18,40 @@ export declare const formRevisionsSlice: import("@reduxjs/toolkit").Slice<FormRe
|
|
|
18
18
|
deleteFormRevisionAttachment: (state: import("immer/dist/internal.js").WritableDraft<FormRevisionState>, action: PayloadAction<UserFormRevisionAttachment["offline_id"]>) => void;
|
|
19
19
|
deleteFormRevisionAttachments: (state: import("immer/dist/internal.js").WritableDraft<FormRevisionState>, action: PayloadAction<UserFormRevisionAttachment["offline_id"][]>) => void;
|
|
20
20
|
}, "formRevisions">;
|
|
21
|
-
export declare const setFormRevision: import("@reduxjs/toolkit").ActionCreatorWithPayload<Stored<UserFormRevision<import(
|
|
22
|
-
export declare const selectFormRevisionMapping: (state: RootState) => Record<string, Stored<UserFormRevision<import(
|
|
21
|
+
export declare const setFormRevision: import("@reduxjs/toolkit").ActionCreatorWithPayload<Stored<UserFormRevision<import('../../forms').ISerializedField>>, "formRevisions/setFormRevision">, setFormRevisions: import("@reduxjs/toolkit").ActionCreatorWithPayload<Stored<UserFormRevision<import('../../forms').ISerializedField>>[], "formRevisions/setFormRevisions">, addFormRevision: import("@reduxjs/toolkit").ActionCreatorWithPayload<Stored<UserFormRevision<import('../../forms').ISerializedField>>, "formRevisions/addFormRevision">, addFormRevisions: import("@reduxjs/toolkit").ActionCreatorWithPayload<Stored<UserFormRevision<import('../../forms').ISerializedField>>[], "formRevisions/addFormRevisions">, deleteFormRevision: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "formRevisions/deleteFormRevision">, deleteFormRevisions: import("@reduxjs/toolkit").ActionCreatorWithPayload<string[], "formRevisions/deleteFormRevisions">, setFormRevisionAttachments: import("@reduxjs/toolkit").ActionCreatorWithPayload<Stored<UserFormRevisionAttachment>[], "formRevisions/setFormRevisionAttachments">, addFormRevisionAttachment: import("@reduxjs/toolkit").ActionCreatorWithPayload<Stored<UserFormRevisionAttachment>, "formRevisions/addFormRevisionAttachment">, addFormRevisionAttachments: import("@reduxjs/toolkit").ActionCreatorWithPayload<Stored<UserFormRevisionAttachment>[], "formRevisions/addFormRevisionAttachments">, deleteFormRevisionAttachment: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "formRevisions/deleteFormRevisionAttachment">, deleteFormRevisionAttachments: import("@reduxjs/toolkit").ActionCreatorWithPayload<string[], "formRevisions/deleteFormRevisionAttachments">;
|
|
22
|
+
export declare const selectFormRevisionMapping: (state: RootState) => Record<string, Stored<UserFormRevision<import('../../forms').ISerializedField>>>;
|
|
23
23
|
export declare const selectFormRevisions: ((state: import("redux").EmptyObject & {
|
|
24
|
-
versioning: import('../slices/versioningSlice
|
|
25
|
-
fileReducer: import(
|
|
26
|
-
authReducer: import(
|
|
27
|
-
categoryReducer: import(
|
|
28
|
-
componentReducer: import(
|
|
29
|
-
componentStageCompletionReducer: import(
|
|
30
|
-
componentStageReducer: import(
|
|
31
|
-
componentTypeReducer: import(
|
|
32
|
-
issueReducer: import(
|
|
33
|
-
issueTypeReducer: import(
|
|
34
|
-
mapReducer: import(
|
|
35
|
-
organizationReducer: import(
|
|
36
|
-
outboxReducer: import(
|
|
37
|
-
projectReducer: import(
|
|
38
|
-
projectAccessReducer: import(
|
|
39
|
-
organizationAccessReducer: import(
|
|
40
|
-
projectFileReducer: import(
|
|
41
|
-
rehydratedReducer: import(
|
|
42
|
-
settingReducer: import(
|
|
43
|
-
formReducer: import(
|
|
44
|
-
userReducer: import(
|
|
24
|
+
versioning: import('../slices/versioningSlice').VersioningState;
|
|
25
|
+
fileReducer: import('..').FileState;
|
|
26
|
+
authReducer: import('..').AuthState;
|
|
27
|
+
categoryReducer: import('..').CategoryState;
|
|
28
|
+
componentReducer: import('..').ComponentState;
|
|
29
|
+
componentStageCompletionReducer: import('..').ComponentStageCompletionState;
|
|
30
|
+
componentStageReducer: import('..').ComponentStageState;
|
|
31
|
+
componentTypeReducer: import('..').ComponentTypeState;
|
|
32
|
+
issueReducer: import('..').IssueState;
|
|
33
|
+
issueTypeReducer: import('..').IssueTypeState;
|
|
34
|
+
mapReducer: import('..').MapState;
|
|
35
|
+
organizationReducer: import('..').OrganizationState;
|
|
36
|
+
outboxReducer: import('..').OutboxState;
|
|
37
|
+
projectReducer: import('..').ProjectState;
|
|
38
|
+
projectAccessReducer: import('..').ProjectAccessState;
|
|
39
|
+
organizationAccessReducer: import('..').OrganizationAccessState;
|
|
40
|
+
projectFileReducer: import('..').ProjectFileState;
|
|
41
|
+
rehydratedReducer: import('..').RehydratedState;
|
|
42
|
+
settingReducer: import('..').SettingState;
|
|
43
|
+
formReducer: import('..').FormState;
|
|
44
|
+
userReducer: import('..').UserState;
|
|
45
45
|
formRevisionReducer: FormRevisionState;
|
|
46
|
-
formSubmissionReducer: import(
|
|
47
|
-
workspaceReducer: import(
|
|
48
|
-
emailDomainsReducer: import(
|
|
49
|
-
licenseReducer: import(
|
|
50
|
-
documentsReducer: import(
|
|
51
|
-
teamReducer: import(
|
|
52
|
-
documentTeamLinkReducer: import("index.ts").DocumentTeamLinkState;
|
|
53
|
-
issueTypeTeamLinkReducer: import("index.ts").IssueTypeTeamLinkState;
|
|
54
|
-
userFormTeamLinkReducer: import("index.ts").UserFormTeamLinkState;
|
|
46
|
+
formSubmissionReducer: import('..').FormSubmissionState;
|
|
47
|
+
workspaceReducer: import('..').WorkspaceState;
|
|
48
|
+
emailDomainsReducer: import('..').EmailDomainState;
|
|
49
|
+
licenseReducer: import('..').LicenseState;
|
|
50
|
+
documentsReducer: import('..').DocumentState;
|
|
51
|
+
teamReducer: import('..').TeamState;
|
|
55
52
|
} & {
|
|
56
53
|
offline: import("@redux-offline/redux-offline/lib/types").OfflineState;
|
|
57
|
-
}) => Stored<UserFormRevision<import(
|
|
54
|
+
}) => Stored<UserFormRevision<import('../../forms').ISerializedField>>[]) & import("reselect").OutputSelectorFields<(args_0: Record<string, Stored<UserFormRevision<import('../../forms').ISerializedField>>>) => Stored<UserFormRevision<import('../../forms').ISerializedField>>[], {
|
|
58
55
|
clearCache: () => void;
|
|
59
56
|
}> & {
|
|
60
57
|
clearCache: () => void;
|
|
@@ -25,6 +25,3 @@ export * from "./emailDomainsSlice";
|
|
|
25
25
|
export * from "./licenseSlice";
|
|
26
26
|
export * from "./documentSlice";
|
|
27
27
|
export * from "./teamSlice";
|
|
28
|
-
export * from "./documentTeamLinkSlice";
|
|
29
|
-
export * from "./issueTypeTeamLinkSlice";
|
|
30
|
-
export * from "./userFormTeamLinkSlice";
|
|
@@ -25,10 +25,6 @@ export declare const issueSlice: import("@reduxjs/toolkit").Slice<IssueState, {
|
|
|
25
25
|
setIssues: (state: import("immer/dist/internal.js").WritableDraft<IssueState>, action: {
|
|
26
26
|
payload: Created<Issue>[];
|
|
27
27
|
}) => void;
|
|
28
|
-
setIssueAttachments: (state: IssueState, action: {
|
|
29
|
-
payload: Created<IssueAttachment>[];
|
|
30
|
-
type: string;
|
|
31
|
-
}) => void;
|
|
32
28
|
setIssueUpdates: (state: import("immer/dist/internal.js").WritableDraft<IssueState>, action: {
|
|
33
29
|
payload: Created<IssueUpdate>[];
|
|
34
30
|
}) => void;
|
|
@@ -41,14 +37,6 @@ export declare const issueSlice: import("@reduxjs/toolkit").Slice<IssueState, {
|
|
|
41
37
|
addIssues: (state: import("immer/dist/internal.js").WritableDraft<IssueState>, action: {
|
|
42
38
|
payload: Stored<Issue>[];
|
|
43
39
|
}) => void;
|
|
44
|
-
addIssueAttachment: (state: IssueState, action: {
|
|
45
|
-
payload: Submitted<IssueAttachment>;
|
|
46
|
-
type: string;
|
|
47
|
-
}) => void;
|
|
48
|
-
addIssueAttachments: (state: IssueState, action: {
|
|
49
|
-
payload: Submitted<IssueAttachment>[];
|
|
50
|
-
type: string;
|
|
51
|
-
}) => void;
|
|
52
40
|
addIssueUpdate: (state: import("immer/dist/internal.js").WritableDraft<IssueState>, action: {
|
|
53
41
|
payload: Submitted<IssueUpdate>;
|
|
54
42
|
}) => void;
|
|
@@ -58,16 +46,8 @@ export declare const issueSlice: import("@reduxjs/toolkit").Slice<IssueState, {
|
|
|
58
46
|
updateIssue: (state: import("immer/dist/internal.js").WritableDraft<IssueState>, action: {
|
|
59
47
|
payload: Submitted<Partial<Issue>>;
|
|
60
48
|
}) => void;
|
|
61
|
-
updateIssueAttachment: (state: IssueState, action: {
|
|
62
|
-
payload: Submitted<IssueAttachment>;
|
|
63
|
-
type: string;
|
|
64
|
-
}) => void;
|
|
65
49
|
removeIssue: (state: import("immer/dist/internal.js").WritableDraft<IssueState>, action: PayloadAction<string>) => void;
|
|
66
50
|
removeIssues: (state: import("immer/dist/internal.js").WritableDraft<IssueState>, action: PayloadAction<string[]>) => void;
|
|
67
|
-
removeIssueAttachment: (state: IssueState, action: {
|
|
68
|
-
payload: string;
|
|
69
|
-
type: string;
|
|
70
|
-
}) => void;
|
|
71
51
|
removeIssueUpdate: (state: import("immer/dist/internal.js").WritableDraft<IssueState>, action: PayloadAction<string>) => void;
|
|
72
52
|
removeIssueUpdates: (state: import("immer/dist/internal.js").WritableDraft<IssueState>, action: PayloadAction<string[]>) => void;
|
|
73
53
|
removeAttachmentsOfIssue: (state: import("immer/dist/internal.js").WritableDraft<IssueState>, action: PayloadAction<string>) => void;
|
|
@@ -88,8 +68,40 @@ export declare const issueSlice: import("@reduxjs/toolkit").Slice<IssueState, {
|
|
|
88
68
|
}) => void;
|
|
89
69
|
resetRecentIssues: (state: import("immer/dist/internal.js").WritableDraft<IssueState>) => void;
|
|
90
70
|
removeRecentIssue: (state: import("immer/dist/internal.js").WritableDraft<IssueState>, action: PayloadAction<string>) => void;
|
|
71
|
+
setIssueAttachment: (state: IssueState, action: {
|
|
72
|
+
payload: Stored<IssueAttachment>;
|
|
73
|
+
type: string;
|
|
74
|
+
}) => void;
|
|
75
|
+
setIssueAttachments: (state: IssueState, action: {
|
|
76
|
+
payload: Stored<IssueAttachment>[];
|
|
77
|
+
type: string;
|
|
78
|
+
}) => void;
|
|
79
|
+
addIssueAttachment: (state: IssueState, action: {
|
|
80
|
+
payload: Submitted<IssueAttachment>;
|
|
81
|
+
type: string;
|
|
82
|
+
}) => void;
|
|
83
|
+
addIssueAttachments: (state: IssueState, action: {
|
|
84
|
+
payload: Submitted<IssueAttachment>[];
|
|
85
|
+
type: string;
|
|
86
|
+
}) => void;
|
|
87
|
+
updateIssueAttachment: (state: IssueState, action: {
|
|
88
|
+
payload: Submitted<IssueAttachment>;
|
|
89
|
+
type: string;
|
|
90
|
+
}) => void;
|
|
91
|
+
updateIssueAttachments: (state: IssueState, action: {
|
|
92
|
+
payload: Submitted<IssueAttachment>[];
|
|
93
|
+
type: string;
|
|
94
|
+
}) => void;
|
|
95
|
+
removeIssueAttachment: (state: IssueState, action: {
|
|
96
|
+
payload: string;
|
|
97
|
+
type: string;
|
|
98
|
+
}) => void;
|
|
99
|
+
removeIssueAttachments: (state: IssueState, action: {
|
|
100
|
+
payload: string[];
|
|
101
|
+
type: string;
|
|
102
|
+
}) => void;
|
|
91
103
|
}, "issues">;
|
|
92
|
-
export declare const
|
|
104
|
+
export declare const 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">, 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">, 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">, updateIssue: import("@reduxjs/toolkit").ActionCreatorWithPayload<Submitted<Partial<Issue>>, "issues/updateIssue">, setIssueAttachment: import("@reduxjs/toolkit").ActionCreatorWithPayload<Stored<IssueAttachment>, "issues/setIssueAttachment">, setIssueAttachments: import("@reduxjs/toolkit").ActionCreatorWithPayload<Stored<IssueAttachment>[], "issues/setIssueAttachments">, addIssueAttachment: import("@reduxjs/toolkit").ActionCreatorWithPayload<Submitted<IssueAttachment>, "issues/addIssueAttachment">, addIssueAttachments: import("@reduxjs/toolkit").ActionCreatorWithPayload<Submitted<IssueAttachment>[], "issues/addIssueAttachments">, updateIssueAttachment: import("@reduxjs/toolkit").ActionCreatorWithPayload<Submitted<IssueAttachment>, "issues/updateIssueAttachment">, updateIssueAttachments: import("@reduxjs/toolkit").ActionCreatorWithPayload<Submitted<IssueAttachment>[], "issues/updateIssueAttachments">, removeIssueAttachment: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "issues/removeIssueAttachment">, removeIssueAttachments: import("@reduxjs/toolkit").ActionCreatorWithPayload<string[], "issues/removeIssueAttachments">, 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">;
|
|
93
105
|
export interface IssueFilterArgs {
|
|
94
106
|
filterByAssignedTo: boolean;
|
|
95
107
|
filterByStatus: boolean;
|
|
@@ -146,9 +158,6 @@ export declare const selectAllAttachments: ((state: import("redux").EmptyObject
|
|
|
146
158
|
licenseReducer: import('..').LicenseState;
|
|
147
159
|
documentsReducer: import('..').DocumentState;
|
|
148
160
|
teamReducer: import('..').TeamState;
|
|
149
|
-
documentTeamLinkReducer: import('..').DocumentTeamLinkState;
|
|
150
|
-
issueTypeTeamLinkReducer: import('..').IssueTypeTeamLinkState;
|
|
151
|
-
userFormTeamLinkReducer: import('..').UserFormTeamLinkState;
|
|
152
161
|
} & {
|
|
153
162
|
offline: import("@redux-offline/redux-offline/lib/types").OfflineState;
|
|
154
163
|
}) => Stored<IssueAttachment>[]) & import("reselect").OutputSelectorFields<(args_0: Record<string, Stored<IssueAttachment>>) => Stored<IssueAttachment>[], {
|
|
@@ -78,9 +78,6 @@ export declare const selectProjectFiles: ((state: import("redux").EmptyObject &
|
|
|
78
78
|
licenseReducer: import('..').LicenseState;
|
|
79
79
|
documentsReducer: import('..').DocumentState;
|
|
80
80
|
teamReducer: import('..').TeamState;
|
|
81
|
-
documentTeamLinkReducer: import('..').DocumentTeamLinkState;
|
|
82
|
-
issueTypeTeamLinkReducer: import('..').IssueTypeTeamLinkState;
|
|
83
|
-
userFormTeamLinkReducer: import('..').UserFormTeamLinkState;
|
|
84
81
|
} & {
|
|
85
82
|
offline: import("@redux-offline/redux-offline/lib/types").OfflineState;
|
|
86
83
|
}) => ProjectFile[]) & import("reselect").OutputSelectorFields<(args_0: Record<string, ProjectFile>, args_1: number | null) => ProjectFile[], {
|