@overmap-ai/core 1.0.53-fix-not-send-org-in-payload.0 → 1.0.53-team-links.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 +453 -81
- package/dist/overmap-core.js.map +1 -1
- package/dist/overmap-core.umd.cjs +453 -81
- package/dist/overmap-core.umd.cjs.map +1 -1
- package/dist/sdk/sdk.d.ts +2 -1
- package/dist/sdk/services/DocumentTeamLinkService.d.ts +8 -0
- package/dist/sdk/services/IssueTypeTeamLinkService.d.ts +8 -0
- package/dist/sdk/services/UserFormTeamLinkService.d.ts +8 -0
- package/dist/sdk/services/index.d.ts +1 -0
- package/dist/store/slices/categorySlice.d.ts +3 -0
- package/dist/store/slices/documentSlice.d.ts +3 -0
- package/dist/store/slices/documentTeamLinkSlice.d.ts +20 -0
- package/dist/store/slices/formRevisionSlice.d.ts +3 -0
- package/dist/store/slices/index.d.ts +3 -0
- package/dist/store/slices/issueSlice.d.ts +3 -0
- package/dist/store/slices/issueTypeTeamLinkSlice.d.ts +20 -0
- package/dist/store/slices/projectFileSlice.d.ts +3 -0
- package/dist/store/slices/userFormTeamLinkSlice.d.ts +20 -0
- package/dist/store/slices/workspaceSlice.d.ts +3 -0
- package/dist/store/store.d.ts +10 -1
- package/dist/typings/models/teams.d.ts +15 -0
- 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, IssueTypeService } 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, DocumentTeamLinkService } from "./services";
|
|
2
2
|
import { ToolkitStore } from "@reduxjs/toolkit/dist/configureStore.js";
|
|
3
3
|
import { RootState } from "../typings";
|
|
4
4
|
export declare class OvermapSDK {
|
|
@@ -32,5 +32,6 @@ export declare class OvermapSDK {
|
|
|
32
32
|
licenses: LicenseService;
|
|
33
33
|
documents: DocumentService;
|
|
34
34
|
teams: TeamService;
|
|
35
|
+
documentTeamLinks: DocumentTeamLinkService;
|
|
35
36
|
}
|
|
36
37
|
export declare const makeClient: (apiUrl: string, store: ToolkitStore<RootState>) => OvermapSDK;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { BaseApiService } from "./BaseApiService";
|
|
2
|
+
import { DocumentTeamLink, DocumentTeamLinkPayload } from "../../typings";
|
|
3
|
+
import { OptimisticModelResult } from "../typings.ts";
|
|
4
|
+
export declare class DocumentTeamLinkService extends BaseApiService {
|
|
5
|
+
add(payload: DocumentTeamLinkPayload): OptimisticModelResult<DocumentTeamLink>;
|
|
6
|
+
delete(documentTeamLinkId: string): Promise<undefined>;
|
|
7
|
+
refreshStore(): Promise<void>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { BaseApiService } from "./BaseApiService";
|
|
2
|
+
import { IssueTypeTeamLink, IssueTypeTeamLinkPayload } from "../../typings";
|
|
3
|
+
import { OptimisticModelResult } from "../typings";
|
|
4
|
+
export declare class IssueTypeTeamLinkService extends BaseApiService {
|
|
5
|
+
add(payload: IssueTypeTeamLinkPayload): OptimisticModelResult<IssueTypeTeamLink>;
|
|
6
|
+
delete(issueTypeTeamLinkId: string): Promise<undefined>;
|
|
7
|
+
refreshStore(): Promise<void>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { BaseApiService } from "./BaseApiService";
|
|
2
|
+
import { UserFormTeamLink, UserFormTeamLinkPayload } from "../../typings";
|
|
3
|
+
import { OptimisticModelResult } from "../typings.ts";
|
|
4
|
+
export declare class UserFormTeamLinkService extends BaseApiService {
|
|
5
|
+
add(payload: UserFormTeamLinkPayload): OptimisticModelResult<UserFormTeamLink>;
|
|
6
|
+
delete(userFormTeamLinkId: string): Promise<undefined>;
|
|
7
|
+
refreshStore(): Promise<void>;
|
|
8
|
+
}
|
|
@@ -70,6 +70,9 @@ 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;
|
|
73
76
|
} & {
|
|
74
77
|
offline: import("@redux-offline/redux-offline/lib/types").OfflineState;
|
|
75
78
|
}) => Category[]) & import("reselect").OutputSelectorFields<(args_0: Record<string, Category>, args_1: string | null) => Category[], {
|
|
@@ -262,6 +262,9 @@ export declare const selectRootDocuments: ((state: import("redux").EmptyObject &
|
|
|
262
262
|
licenseReducer: import('..').LicenseState;
|
|
263
263
|
documentsReducer: DocumentState;
|
|
264
264
|
teamReducer: import('..').TeamState;
|
|
265
|
+
documentTeamLinkReducer: import('..').DocumentTeamLinkState;
|
|
266
|
+
issueTypeTeamLinkReducer: import('..').IssueTypeTeamLinkState;
|
|
267
|
+
userFormTeamLinkReducer: import('..').UserFormTeamLinkState;
|
|
265
268
|
} & {
|
|
266
269
|
offline: import("@redux-offline/redux-offline/lib/types").OfflineState;
|
|
267
270
|
}) => ((import('../../typings/models/base').OfflineModel & import('../../typings/models/base').CreatedByModel & {
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { PayloadAction, Reducer } from "@reduxjs/toolkit";
|
|
2
|
+
import { DocumentTeamLink, RootState, SelectorWithArgs, Stored, Team } from "../../typings";
|
|
3
|
+
export interface DocumentTeamLinkState {
|
|
4
|
+
documentTeamLinks: Record<string, Stored<DocumentTeamLink>>;
|
|
5
|
+
}
|
|
6
|
+
export declare const documentTeamLinkSlice: import("@reduxjs/toolkit").Slice<DocumentTeamLinkState, {
|
|
7
|
+
setDocumentTeamLink: (state: import("immer/dist/internal.js").WritableDraft<DocumentTeamLinkState>, action: PayloadAction<Stored<DocumentTeamLink>>) => void;
|
|
8
|
+
setDocumentTeamLinks: (state: import("immer/dist/internal.js").WritableDraft<DocumentTeamLinkState>, action: PayloadAction<Stored<DocumentTeamLink>[]>) => void;
|
|
9
|
+
addDocumentTeamLink: (state: import("immer/dist/internal.js").WritableDraft<DocumentTeamLinkState>, action: PayloadAction<Stored<DocumentTeamLink>>) => void;
|
|
10
|
+
deleteDocumentTeamLink: (state: import("immer/dist/internal.js").WritableDraft<DocumentTeamLinkState>, action: PayloadAction<string>) => void;
|
|
11
|
+
deleteDocumentTeamLinks: (state: import("immer/dist/internal.js").WritableDraft<DocumentTeamLinkState>, action: PayloadAction<string[]>) => void;
|
|
12
|
+
}, "documentTeamLink">;
|
|
13
|
+
export declare const setDocumentTeamLink: import("@reduxjs/toolkit").ActionCreatorWithPayload<Stored<DocumentTeamLink>, "documentTeamLink/setDocumentTeamLink">, setDocumentTeamLinks: import("@reduxjs/toolkit").ActionCreatorWithPayload<Stored<DocumentTeamLink>[], "documentTeamLink/setDocumentTeamLinks">, addDocumentTeamLink: import("@reduxjs/toolkit").ActionCreatorWithPayload<Stored<DocumentTeamLink>, "documentTeamLink/addDocumentTeamLink">, deleteDocumentTeamLink: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "documentTeamLink/deleteDocumentTeamLink">, deleteDocumentTeamLinks: import("@reduxjs/toolkit").ActionCreatorWithPayload<string[], "documentTeamLink/deleteDocumentTeamLinks">;
|
|
14
|
+
export declare const selectDocumentTeamLinksMapping: (state: RootState) => Record<string, Stored<DocumentTeamLink>>;
|
|
15
|
+
export declare const selectDocumentTeamLinks: (state: RootState) => Stored<DocumentTeamLink>[];
|
|
16
|
+
export declare const selectDocumentTeamLinksOfDocument: SelectorWithArgs<string, Stored<DocumentTeamLink>[]>;
|
|
17
|
+
export declare const selectDocumentTeamLinksOfTeam: SelectorWithArgs<string, Stored<DocumentTeamLink>[]>;
|
|
18
|
+
export declare const selectDocumentsLinkedToTeam: SelectorWithArgs<string, Stored<Document>[]>;
|
|
19
|
+
export declare const selectTeamsLinkedToDocument: SelectorWithArgs<string, Stored<Team>[]>;
|
|
20
|
+
export declare const documentTeamLinkReducer: Reducer<DocumentTeamLinkState>;
|
|
@@ -49,6 +49,9 @@ export declare const selectFormRevisions: ((state: import("redux").EmptyObject &
|
|
|
49
49
|
licenseReducer: import("index.ts").LicenseState;
|
|
50
50
|
documentsReducer: import("index.ts").DocumentState;
|
|
51
51
|
teamReducer: import("index.ts").TeamState;
|
|
52
|
+
documentTeamLinkReducer: import("index.ts").DocumentTeamLinkState;
|
|
53
|
+
issueTypeTeamLinkReducer: import("index.ts").IssueTypeTeamLinkState;
|
|
54
|
+
userFormTeamLinkReducer: import("index.ts").UserFormTeamLinkState;
|
|
52
55
|
} & {
|
|
53
56
|
offline: import("@redux-offline/redux-offline/lib/types").OfflineState;
|
|
54
57
|
}) => Stored<UserFormRevision<import("index.ts").ISerializedField>>[]) & import("reselect").OutputSelectorFields<(args_0: Record<string, Stored<UserFormRevision<import("index.ts").ISerializedField>>>) => Stored<UserFormRevision<import("index.ts").ISerializedField>>[], {
|
|
@@ -25,3 +25,6 @@ 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";
|
|
@@ -146,6 +146,9 @@ export declare const selectAllAttachments: ((state: import("redux").EmptyObject
|
|
|
146
146
|
licenseReducer: import('..').LicenseState;
|
|
147
147
|
documentsReducer: import('..').DocumentState;
|
|
148
148
|
teamReducer: import('..').TeamState;
|
|
149
|
+
documentTeamLinkReducer: import('..').DocumentTeamLinkState;
|
|
150
|
+
issueTypeTeamLinkReducer: import('..').IssueTypeTeamLinkState;
|
|
151
|
+
userFormTeamLinkReducer: import('..').UserFormTeamLinkState;
|
|
149
152
|
} & {
|
|
150
153
|
offline: import("@redux-offline/redux-offline/lib/types").OfflineState;
|
|
151
154
|
}) => Stored<IssueAttachment>[]) & import("reselect").OutputSelectorFields<(args_0: Record<string, Stored<IssueAttachment>>) => Stored<IssueAttachment>[], {
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { PayloadAction, Reducer } from "@reduxjs/toolkit";
|
|
2
|
+
import { IssueType, IssueTypeTeamLink, RootState, SelectorWithArgs, Stored, Team } from "../../typings";
|
|
3
|
+
export interface IssueTypeTeamLinkState {
|
|
4
|
+
issueTypeTeamLinks: Record<string, Stored<IssueTypeTeamLink>>;
|
|
5
|
+
}
|
|
6
|
+
export declare const issueTypeTeamLinkSlice: import("@reduxjs/toolkit").Slice<IssueTypeTeamLinkState, {
|
|
7
|
+
setIssueTypeTeamLink: (state: import("immer/dist/internal.js").WritableDraft<IssueTypeTeamLinkState>, action: PayloadAction<Stored<IssueTypeTeamLink>>) => void;
|
|
8
|
+
setIssueTypeTeamLinks: (state: import("immer/dist/internal.js").WritableDraft<IssueTypeTeamLinkState>, action: PayloadAction<Stored<IssueTypeTeamLink>[]>) => void;
|
|
9
|
+
addIssueTypeTeamLink: (state: import("immer/dist/internal.js").WritableDraft<IssueTypeTeamLinkState>, action: PayloadAction<Stored<IssueTypeTeamLink>>) => void;
|
|
10
|
+
deleteIssueTypeTeamLink: (state: import("immer/dist/internal.js").WritableDraft<IssueTypeTeamLinkState>, action: PayloadAction<string>) => void;
|
|
11
|
+
deleteIssueTypeTeamLinks: (state: import("immer/dist/internal.js").WritableDraft<IssueTypeTeamLinkState>, action: PayloadAction<string[]>) => void;
|
|
12
|
+
}, "issueTypeTeamLink">;
|
|
13
|
+
export declare const setIssueTypeTeamLink: import("@reduxjs/toolkit").ActionCreatorWithPayload<Stored<IssueTypeTeamLink>, "issueTypeTeamLink/setIssueTypeTeamLink">, setIssueTypeTeamLinks: import("@reduxjs/toolkit").ActionCreatorWithPayload<Stored<IssueTypeTeamLink>[], "issueTypeTeamLink/setIssueTypeTeamLinks">, addIssueTypeTeamLink: import("@reduxjs/toolkit").ActionCreatorWithPayload<Stored<IssueTypeTeamLink>, "issueTypeTeamLink/addIssueTypeTeamLink">, deleteIssueTypeTeamLink: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "issueTypeTeamLink/deleteIssueTypeTeamLink">, deleteIssueTypeTeamLinks: import("@reduxjs/toolkit").ActionCreatorWithPayload<string[], "issueTypeTeamLink/deleteIssueTypeTeamLinks">;
|
|
14
|
+
export declare const selectIssueTypeTeamLinkMapping: (state: RootState) => Record<string, Stored<IssueTypeTeamLink>>;
|
|
15
|
+
export declare const selectIssueTypeTeamLinks: (state: RootState) => Stored<IssueTypeTeamLink>[];
|
|
16
|
+
export declare const selectIssueTypeTeamLinksOfIssueType: SelectorWithArgs<string, Stored<IssueTypeTeamLink>[]>;
|
|
17
|
+
export declare const selectIssueTypeTeamLinksOfTeam: SelectorWithArgs<string, Stored<IssueTypeTeamLink>[]>;
|
|
18
|
+
export declare const selectIssueTypesLinkedToTeam: SelectorWithArgs<string, Stored<IssueType>[]>;
|
|
19
|
+
export declare const selectTeamsLinkedToIssueType: SelectorWithArgs<string, Stored<Team>[]>;
|
|
20
|
+
export declare const issueTypeTeamLinkReducer: Reducer<IssueTypeTeamLinkState>;
|
|
@@ -78,6 +78,9 @@ 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;
|
|
81
84
|
} & {
|
|
82
85
|
offline: import("@redux-offline/redux-offline/lib/types").OfflineState;
|
|
83
86
|
}) => ProjectFile[]) & import("reselect").OutputSelectorFields<(args_0: Record<string, ProjectFile>, args_1: number | null) => ProjectFile[], {
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { PayloadAction, Reducer } from "@reduxjs/toolkit";
|
|
2
|
+
import { RootState, SelectorWithArgs, Stored, Team, UserForm, UserFormTeamLink } from "../../typings";
|
|
3
|
+
export interface UserFormTeamLinkState {
|
|
4
|
+
userFormTeamLinks: Record<string, Stored<UserFormTeamLink>>;
|
|
5
|
+
}
|
|
6
|
+
export declare const userFormTeamLinkSlice: import("@reduxjs/toolkit").Slice<UserFormTeamLinkState, {
|
|
7
|
+
setUserFormTeamLink: (state: import("immer/dist/internal.js").WritableDraft<UserFormTeamLinkState>, action: PayloadAction<Stored<UserFormTeamLink>>) => void;
|
|
8
|
+
setUserFormTeamLinks: (state: import("immer/dist/internal.js").WritableDraft<UserFormTeamLinkState>, action: PayloadAction<Stored<UserFormTeamLink>[]>) => void;
|
|
9
|
+
addUserFormTeamLink: (state: import("immer/dist/internal.js").WritableDraft<UserFormTeamLinkState>, action: PayloadAction<Stored<UserFormTeamLink>>) => void;
|
|
10
|
+
deleteUserFormTeamLink: (state: import("immer/dist/internal.js").WritableDraft<UserFormTeamLinkState>, action: PayloadAction<string>) => void;
|
|
11
|
+
deleteUserFormTeamLinks: (state: import("immer/dist/internal.js").WritableDraft<UserFormTeamLinkState>, action: PayloadAction<string[]>) => void;
|
|
12
|
+
}, "userFormTeamLink">;
|
|
13
|
+
export declare const setUserFormTeamLink: import("@reduxjs/toolkit").ActionCreatorWithPayload<Stored<UserFormTeamLink>, "userFormTeamLink/setUserFormTeamLink">, setUserFormTeamLinks: import("@reduxjs/toolkit").ActionCreatorWithPayload<Stored<UserFormTeamLink>[], "userFormTeamLink/setUserFormTeamLinks">, addUserFormTeamLink: import("@reduxjs/toolkit").ActionCreatorWithPayload<Stored<UserFormTeamLink>, "userFormTeamLink/addUserFormTeamLink">, deleteUserFormTeamLink: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "userFormTeamLink/deleteUserFormTeamLink">, deleteUserFormTeamLinks: import("@reduxjs/toolkit").ActionCreatorWithPayload<string[], "userFormTeamLink/deleteUserFormTeamLinks">;
|
|
14
|
+
export declare const selectUserFormTeamLinkMapping: (state: RootState) => Record<string, Stored<UserFormTeamLink>>;
|
|
15
|
+
export declare const selectUserFormTeamLinks: (state: RootState) => Stored<UserFormTeamLink>[];
|
|
16
|
+
export declare const selectUserFormLinksOfTeam: SelectorWithArgs<string, Stored<UserFormTeamLink>[]>;
|
|
17
|
+
export declare const selectUserFormLinksOfForm: SelectorWithArgs<string, Stored<UserFormTeamLink>[]>;
|
|
18
|
+
export declare const selectUserFormsLinkedToTeam: SelectorWithArgs<string, Stored<UserForm>[]>;
|
|
19
|
+
export declare const selectTeamsLinkedToUserForm: SelectorWithArgs<string, Stored<Team>[]>;
|
|
20
|
+
export declare const userFormTeamLinkReducer: Reducer<UserFormTeamLinkState>;
|
|
@@ -56,6 +56,9 @@ export declare const selectWorkspaces: ((state: import("redux").EmptyObject & {
|
|
|
56
56
|
licenseReducer: import('..').LicenseState;
|
|
57
57
|
documentsReducer: import('..').DocumentState;
|
|
58
58
|
teamReducer: import('..').TeamState;
|
|
59
|
+
documentTeamLinkReducer: import('..').DocumentTeamLinkState;
|
|
60
|
+
issueTypeTeamLinkReducer: import('..').IssueTypeTeamLinkState;
|
|
61
|
+
userFormTeamLinkReducer: import('..').UserFormTeamLinkState;
|
|
59
62
|
} & {
|
|
60
63
|
offline: import("@redux-offline/redux-offline/lib/types").OfflineState;
|
|
61
64
|
}) => Workspace[]) & import("reselect").OutputSelectorFields<(args_0: Record<string, Workspace>) => Workspace[], {
|
package/dist/store/store.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { AnyAction, Reducer } from "redux";
|
|
|
3
3
|
import { Config, OfflineAction, OfflineMetadata, OfflineState } from "@redux-offline/redux-offline/lib/types";
|
|
4
4
|
import request from "superagent";
|
|
5
5
|
import { type OfflineMetaEffect, type OvermapSDK, RequestDetails } from "../sdk";
|
|
6
|
-
import { AuthState, CategoryState, ComponentStageCompletionState, ComponentStageState, ComponentState, ComponentTypeState, DocumentState, EmailDomainState, FileState, IssueState, IssueTypeState, LicenseState, MapState, OrganizationAccessState, OrganizationState, OutboxState, ProjectAccessState, ProjectFileState, ProjectState, RehydratedState, SettingState, FormState, FormRevisionState, FormSubmissionState, UserState, WorkspaceState, TeamState } from "./slices";
|
|
6
|
+
import { AuthState, CategoryState, ComponentStageCompletionState, ComponentStageState, ComponentState, ComponentTypeState, DocumentState, EmailDomainState, FileState, IssueState, IssueTypeState, LicenseState, MapState, OrganizationAccessState, OrganizationState, OutboxState, ProjectAccessState, ProjectFileState, ProjectState, RehydratedState, SettingState, FormState, FormRevisionState, FormSubmissionState, UserState, WorkspaceState, TeamState, DocumentTeamLinkState, IssueTypeTeamLinkState, UserFormTeamLinkState } from "./slices";
|
|
7
7
|
import { VersioningState } from "./slices/versioningSlice";
|
|
8
8
|
import { RootState } from "../typings";
|
|
9
9
|
export declare const overmapReducers: {
|
|
@@ -35,6 +35,9 @@ export declare const overmapReducers: {
|
|
|
35
35
|
licenseReducer: Reducer<LicenseState>;
|
|
36
36
|
documentsReducer: Reducer<DocumentState>;
|
|
37
37
|
teamReducer: Reducer<TeamState>;
|
|
38
|
+
documentTeamLinkReducer: Reducer<DocumentTeamLinkState>;
|
|
39
|
+
issueTypeTeamLinkReducer: Reducer<IssueTypeTeamLinkState>;
|
|
40
|
+
userFormTeamLinkReducer: Reducer<UserFormTeamLinkState>;
|
|
38
41
|
};
|
|
39
42
|
export declare const overmapReducer: Reducer<import("redux").CombinedState<{
|
|
40
43
|
versioning: VersioningState;
|
|
@@ -65,6 +68,9 @@ export declare const overmapReducer: Reducer<import("redux").CombinedState<{
|
|
|
65
68
|
licenseReducer: LicenseState;
|
|
66
69
|
documentsReducer: DocumentState;
|
|
67
70
|
teamReducer: TeamState;
|
|
71
|
+
documentTeamLinkReducer: DocumentTeamLinkState;
|
|
72
|
+
issueTypeTeamLinkReducer: IssueTypeTeamLinkState;
|
|
73
|
+
userFormTeamLinkReducer: UserFormTeamLinkState;
|
|
68
74
|
}>, AnyAction>;
|
|
69
75
|
export declare const resetStore = "RESET";
|
|
70
76
|
export declare const rootReducer: Reducer<RootState>;
|
|
@@ -113,6 +119,9 @@ export declare const defaultStore: import("@reduxjs/toolkit/dist/configureStore"
|
|
|
113
119
|
licenseReducer: LicenseState;
|
|
114
120
|
documentsReducer: DocumentState;
|
|
115
121
|
teamReducer: TeamState;
|
|
122
|
+
documentTeamLinkReducer: DocumentTeamLinkState;
|
|
123
|
+
issueTypeTeamLinkReducer: IssueTypeTeamLinkState;
|
|
124
|
+
userFormTeamLinkReducer: UserFormTeamLinkState;
|
|
116
125
|
} & {
|
|
117
126
|
offline: OfflineState;
|
|
118
127
|
}, AnyAction, import("@reduxjs/toolkit").MiddlewareArray<[import("@reduxjs/toolkit").ThunkMiddleware<RootState, AnyAction>]>>;
|
|
@@ -8,3 +8,18 @@ export interface Team extends OfflineModel, SubmittedAtModel, IconModel {
|
|
|
8
8
|
members: User["id"][];
|
|
9
9
|
}
|
|
10
10
|
export type TeamPayload = Omit<Payload<Team>, "organization" | "submitted_at">;
|
|
11
|
+
export interface DocumentTeamLink extends OfflineModel, SubmittedAtModel {
|
|
12
|
+
team: string;
|
|
13
|
+
document: string;
|
|
14
|
+
}
|
|
15
|
+
export type DocumentTeamLinkPayload = Omit<Payload<DocumentTeamLink>, "submitted_at">;
|
|
16
|
+
export interface IssueTypeTeamLink extends OfflineModel, SubmittedAtModel {
|
|
17
|
+
team: string;
|
|
18
|
+
issue_type: string;
|
|
19
|
+
}
|
|
20
|
+
export type IssueTypeTeamLinkPayload = Omit<Payload<IssueTypeTeamLink>, "submitted_at">;
|
|
21
|
+
export interface UserFormTeamLink extends OfflineModel, SubmittedAtModel {
|
|
22
|
+
team: string;
|
|
23
|
+
form: string;
|
|
24
|
+
}
|
|
25
|
+
export type UserFormTeamLinkPayload = Omit<Payload<UserFormTeamLink>, "submitted_at">;
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "Core functionality for Overmap",
|
|
4
4
|
"author": "Wôrdn Inc.",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
|
-
"version": "1.0.53-
|
|
6
|
+
"version": "1.0.53-team-links.0",
|
|
7
7
|
"type": "module",
|
|
8
8
|
"main": "dist/overmap-core.umd.cjs",
|
|
9
9
|
"module": "dist/overmap-core.js",
|