@overmap-ai/core 1.0.57-export-overmap-reducer.1 → 1.0.57-export-overmap-reducer.3
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/contexts/sdk/sdk.d.ts +3 -3
- package/dist/overmap-core.js +1 -1
- package/dist/overmap-core.js.map +1 -1
- package/dist/overmap-core.umd.cjs +1 -1
- package/dist/overmap-core.umd.cjs.map +1 -1
- package/dist/store/slices/categorySlice.d.ts +1 -34
- package/dist/store/slices/documentSlice.d.ts +1 -34
- package/dist/store/slices/formRevisionSlice.d.ts +1 -34
- package/dist/store/slices/issueSlice.d.ts +1 -34
- package/dist/store/slices/projectFileSlice.d.ts +1 -34
- package/dist/store/slices/workspaceSlice.d.ts +1 -34
- package/dist/store/store.d.ts +2 -32
- package/dist/typings/models/store.d.ts +33 -3
- package/package.json +1 -1
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="@redux-offline/redux-offline" />
|
|
2
1
|
import { PayloadAction, Reducer } from "@reduxjs/toolkit";
|
|
3
2
|
import { Category, CSSColor, Offline, OvermapRootState, Selector, SelectorWithArgs } from "../../typings";
|
|
4
3
|
interface CategoryVisibility {
|
|
@@ -41,39 +40,7 @@ export declare const categorySlice: import("@reduxjs/toolkit").Slice<CategorySta
|
|
|
41
40
|
}, "categories">;
|
|
42
41
|
export declare const setCategories: import("@reduxjs/toolkit").ActionCreatorWithPayload<Category[], "categories/setCategories">, addCategory: import("@reduxjs/toolkit").ActionCreatorWithPayload<Category, "categories/addCategory">, replaceCategory: import("@reduxjs/toolkit").ActionCreatorWithPayload<Category, "categories/replaceCategory">, patchCategory: import("@reduxjs/toolkit").ActionCreatorWithPayload<Offline<Partial<Category>>, "categories/patchCategory">, removeCategory: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "categories/removeCategory">, hideCategory: import("@reduxjs/toolkit").ActionCreatorWithPayload<string | null, "categories/hideCategory">, hideAllCategories: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"categories/hideAllCategories">, unhideCategory: import("@reduxjs/toolkit").ActionCreatorWithPayload<string | null, "categories/unhideCategory">, unhideAllCategories: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"categories/unhideAllCategories">, removeColor: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "categories/removeColor">, addOrReplaceCategories: import("@reduxjs/toolkit").ActionCreatorWithPayload<Category[], "categories/addOrReplaceCategories">;
|
|
43
42
|
export declare const selectCategoryMapping: (state: OvermapRootState) => Record<string, Category>;
|
|
44
|
-
export declare const selectCategories: ((state: import("
|
|
45
|
-
versioning: import('../slices/versioningSlice').VersioningState;
|
|
46
|
-
fileReducer: import('..').FileState;
|
|
47
|
-
authReducer: import('..').AuthState;
|
|
48
|
-
categoryReducer: CategoryState;
|
|
49
|
-
assetReducer: import('..').AssetState;
|
|
50
|
-
assetStageCompletionReducer: import('..').AssetStageCompletionState;
|
|
51
|
-
assetStageReducer: import('..').AssetStageState;
|
|
52
|
-
assetTypeReducer: import('..').AssetTypeState;
|
|
53
|
-
issueReducer: import('..').IssueState;
|
|
54
|
-
issueTypeReducer: import('..').IssueTypeState;
|
|
55
|
-
mapReducer: import('..').MapState;
|
|
56
|
-
organizationReducer: import('..').OrganizationState;
|
|
57
|
-
outboxReducer: import('..').OutboxState;
|
|
58
|
-
projectReducer: import('..').ProjectState;
|
|
59
|
-
projectAccessReducer: import('..').ProjectAccessState;
|
|
60
|
-
organizationAccessReducer: import('..').OrganizationAccessState;
|
|
61
|
-
projectFileReducer: import('..').ProjectFileState;
|
|
62
|
-
rehydratedReducer: import('..').RehydratedState;
|
|
63
|
-
settingReducer: import('..').SettingState;
|
|
64
|
-
formReducer: import('..').FormState;
|
|
65
|
-
userReducer: import('..').UserState;
|
|
66
|
-
formRevisionReducer: import('..').FormRevisionState;
|
|
67
|
-
formSubmissionReducer: import('..').FormSubmissionState;
|
|
68
|
-
workspaceReducer: import('..').WorkspaceState;
|
|
69
|
-
emailDomainsReducer: import('..').EmailDomainState;
|
|
70
|
-
licenseReducer: import('..').LicenseState;
|
|
71
|
-
documentsReducer: import('..').DocumentState;
|
|
72
|
-
teamReducer: import('..').TeamState;
|
|
73
|
-
agentsReducer: import('..').AgentsState;
|
|
74
|
-
} & {
|
|
75
|
-
offline: import("@redux-offline/redux-offline/lib/types").OfflineState;
|
|
76
|
-
}) => Category[]) & import("reselect").OutputSelectorFields<(args_0: Record<string, Category>, args_1: string | null) => Category[], {
|
|
43
|
+
export declare const selectCategories: ((state: OvermapRootState) => Category[]) & import("reselect").OutputSelectorFields<(args_0: Record<string, Category>, args_1: string | null) => Category[], {
|
|
77
44
|
clearCache: () => void;
|
|
78
45
|
}> & {
|
|
79
46
|
clearCache: () => void;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="@redux-offline/redux-offline" />
|
|
2
1
|
import { Reducer } from "@reduxjs/toolkit";
|
|
3
2
|
import { DocumentAttachment, MovePosition, Document, OvermapRootState, Selector, SelectorWithArgs, Stored, Submitted } from "../../typings";
|
|
4
3
|
export interface DocumentState {
|
|
@@ -240,39 +239,7 @@ export declare const selectDocument: (args: string) => (state: OvermapRootState)
|
|
|
240
239
|
children_documents: string[];
|
|
241
240
|
}, "id" | "created_at" | "created_by">) | undefined;
|
|
242
241
|
export declare const selectAncestorIdsOfDocument: (args: string) => (state: OvermapRootState) => string[];
|
|
243
|
-
export declare const selectRootDocuments: ((state: import(
|
|
244
|
-
versioning: import('../slices/versioningSlice').VersioningState;
|
|
245
|
-
fileReducer: import('..').FileState;
|
|
246
|
-
authReducer: import('..').AuthState;
|
|
247
|
-
categoryReducer: import('..').CategoryState;
|
|
248
|
-
assetReducer: import('..').AssetState;
|
|
249
|
-
assetStageCompletionReducer: import('..').AssetStageCompletionState;
|
|
250
|
-
assetStageReducer: import('..').AssetStageState;
|
|
251
|
-
assetTypeReducer: import('..').AssetTypeState;
|
|
252
|
-
issueReducer: import('..').IssueState;
|
|
253
|
-
issueTypeReducer: import('..').IssueTypeState;
|
|
254
|
-
mapReducer: import('..').MapState;
|
|
255
|
-
organizationReducer: import('..').OrganizationState;
|
|
256
|
-
outboxReducer: import('..').OutboxState;
|
|
257
|
-
projectReducer: import('..').ProjectState;
|
|
258
|
-
projectAccessReducer: import('..').ProjectAccessState;
|
|
259
|
-
organizationAccessReducer: import('..').OrganizationAccessState;
|
|
260
|
-
projectFileReducer: import('..').ProjectFileState;
|
|
261
|
-
rehydratedReducer: import('..').RehydratedState;
|
|
262
|
-
settingReducer: import('..').SettingState;
|
|
263
|
-
formReducer: import('..').FormState;
|
|
264
|
-
userReducer: import('..').UserState;
|
|
265
|
-
formRevisionReducer: import('..').FormRevisionState;
|
|
266
|
-
formSubmissionReducer: import('..').FormSubmissionState;
|
|
267
|
-
workspaceReducer: import('..').WorkspaceState;
|
|
268
|
-
emailDomainsReducer: import('..').EmailDomainState;
|
|
269
|
-
licenseReducer: import('..').LicenseState;
|
|
270
|
-
documentsReducer: DocumentState;
|
|
271
|
-
teamReducer: import('..').TeamState;
|
|
272
|
-
agentsReducer: import('..').AgentsState;
|
|
273
|
-
} & {
|
|
274
|
-
offline: import("@redux-offline/redux-offline/lib/types").OfflineState;
|
|
275
|
-
}) => ((import('../../typings/models/base').OfflineModel & import('../../typings/models/base').CreatedByModel & {
|
|
242
|
+
export declare const selectRootDocuments: ((state: OvermapRootState) => ((import('../../typings/models/base').OfflineModel & import('../../typings/models/base').CreatedByModel & {
|
|
276
243
|
title: string | null;
|
|
277
244
|
description: string | null;
|
|
278
245
|
content: string | null;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="@redux-offline/redux-offline" />
|
|
2
1
|
import { PayloadAction, Reducer } from "@reduxjs/toolkit";
|
|
3
2
|
import { OvermapRootState, Selector, SelectorWithArgs, Stored, UserForm, UserFormRevision, UserFormRevisionAttachment } from "../../typings";
|
|
4
3
|
export interface FormRevisionState {
|
|
@@ -20,39 +19,7 @@ export declare const formRevisionsSlice: import("@reduxjs/toolkit").Slice<FormRe
|
|
|
20
19
|
}, "formRevisions">;
|
|
21
20
|
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
21
|
export declare const selectFormRevisionMapping: (state: OvermapRootState) => Record<string, Stored<UserFormRevision<import('../../forms').ISerializedField>>>;
|
|
23
|
-
export declare const selectFormRevisions: ((state: import("
|
|
24
|
-
versioning: import('../slices/versioningSlice').VersioningState;
|
|
25
|
-
fileReducer: import('..').FileState;
|
|
26
|
-
authReducer: import('..').AuthState;
|
|
27
|
-
categoryReducer: import('..').CategoryState;
|
|
28
|
-
assetReducer: import('..').AssetState;
|
|
29
|
-
assetStageCompletionReducer: import('..').AssetStageCompletionState;
|
|
30
|
-
assetStageReducer: import('..').AssetStageState;
|
|
31
|
-
assetTypeReducer: import('..').AssetTypeState;
|
|
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
|
-
formRevisionReducer: FormRevisionState;
|
|
46
|
-
formSubmissionReducer: import('..').FormSubmissionState;
|
|
47
|
-
workspaceReducer: import('..').WorkspaceState;
|
|
48
|
-
emailDomainsReducer: import('..').EmailDomainState;
|
|
49
|
-
licenseReducer: import('..').LicenseState;
|
|
50
|
-
documentsReducer: import('..').DocumentState;
|
|
51
|
-
teamReducer: import('..').TeamState;
|
|
52
|
-
agentsReducer: import('..').AgentsState;
|
|
53
|
-
} & {
|
|
54
|
-
offline: import("@redux-offline/redux-offline/lib/types").OfflineState;
|
|
55
|
-
}) => Stored<UserFormRevision<import('../../forms').ISerializedField>>[]) & import("reselect").OutputSelectorFields<(args_0: Record<string, Stored<UserFormRevision<import('../../forms').ISerializedField>>>) => Stored<UserFormRevision<import('../../forms').ISerializedField>>[], {
|
|
22
|
+
export declare const selectFormRevisions: ((state: OvermapRootState) => Stored<UserFormRevision<import('../../forms').ISerializedField>>[]) & import("reselect").OutputSelectorFields<(args_0: Record<string, Stored<UserFormRevision<import('../../forms').ISerializedField>>>) => Stored<UserFormRevision<import('../../forms').ISerializedField>>[], {
|
|
56
23
|
clearCache: () => void;
|
|
57
24
|
}> & {
|
|
58
25
|
clearCache: () => void;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="@redux-offline/redux-offline" />
|
|
2
1
|
import { PayloadAction, Reducer } from "@reduxjs/toolkit";
|
|
3
2
|
import { Created, Issue, IssueAttachment, IssueComment, IssueUpdate, OvermapRootState, SearchableRecentResult, SearchArgs, SearchResult, Selector, SelectorWithArgs, Stored, Submitted } from "../../typings";
|
|
4
3
|
import { IssueStatus } from "../../enums";
|
|
@@ -129,39 +128,7 @@ export declare const selectAttachmentsOfIssueByType: (args: string) => (state: O
|
|
|
129
128
|
};
|
|
130
129
|
export declare const selectFileAttachmentsOfIssue: (args: string) => (state: OvermapRootState) => Stored<IssueAttachment>[] | undefined;
|
|
131
130
|
export declare const selectIssue: SelectorWithArgs<string, Stored<Issue> | undefined>;
|
|
132
|
-
export declare const selectAllAttachments: ((state: import("
|
|
133
|
-
versioning: import('../slices/versioningSlice').VersioningState;
|
|
134
|
-
fileReducer: import('..').FileState;
|
|
135
|
-
authReducer: import('..').AuthState;
|
|
136
|
-
categoryReducer: import("./categorySlice").CategoryState;
|
|
137
|
-
assetReducer: import('..').AssetState;
|
|
138
|
-
assetStageCompletionReducer: import('..').AssetStageCompletionState;
|
|
139
|
-
assetStageReducer: import('..').AssetStageState;
|
|
140
|
-
assetTypeReducer: import('..').AssetTypeState;
|
|
141
|
-
issueReducer: IssueState;
|
|
142
|
-
issueTypeReducer: import('..').IssueTypeState;
|
|
143
|
-
mapReducer: import('..').MapState;
|
|
144
|
-
organizationReducer: import('..').OrganizationState;
|
|
145
|
-
outboxReducer: import('..').OutboxState;
|
|
146
|
-
projectReducer: import('..').ProjectState;
|
|
147
|
-
projectAccessReducer: import('..').ProjectAccessState;
|
|
148
|
-
organizationAccessReducer: import('..').OrganizationAccessState;
|
|
149
|
-
projectFileReducer: import('..').ProjectFileState;
|
|
150
|
-
rehydratedReducer: import('..').RehydratedState;
|
|
151
|
-
settingReducer: import('..').SettingState;
|
|
152
|
-
formReducer: import('..').FormState;
|
|
153
|
-
userReducer: import('..').UserState;
|
|
154
|
-
formRevisionReducer: import('..').FormRevisionState;
|
|
155
|
-
formSubmissionReducer: import('..').FormSubmissionState;
|
|
156
|
-
workspaceReducer: import("./workspaceSlice").WorkspaceState;
|
|
157
|
-
emailDomainsReducer: import('..').EmailDomainState;
|
|
158
|
-
licenseReducer: import('..').LicenseState;
|
|
159
|
-
documentsReducer: import('..').DocumentState;
|
|
160
|
-
teamReducer: import('..').TeamState;
|
|
161
|
-
agentsReducer: import('..').AgentsState;
|
|
162
|
-
} & {
|
|
163
|
-
offline: import("@redux-offline/redux-offline/lib/types").OfflineState;
|
|
164
|
-
}) => Stored<IssueAttachment>[]) & import("reselect").OutputSelectorFields<(args_0: Record<string, Stored<IssueAttachment>>) => Stored<IssueAttachment>[], {
|
|
131
|
+
export declare const selectAllAttachments: ((state: OvermapRootState) => Stored<IssueAttachment>[]) & import("reselect").OutputSelectorFields<(args_0: Record<string, Stored<IssueAttachment>>) => Stored<IssueAttachment>[], {
|
|
165
132
|
clearCache: () => void;
|
|
166
133
|
}> & {
|
|
167
134
|
clearCache: () => void;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="@redux-offline/redux-offline" />
|
|
2
1
|
import { Reducer } from "@reduxjs/toolkit";
|
|
3
2
|
import L from "leaflet";
|
|
4
3
|
import { ProjectFile, OvermapRootState, Selector } from "../../typings";
|
|
@@ -49,39 +48,7 @@ export declare const addOrReplaceProjectFiles: import("@reduxjs/toolkit").Action
|
|
|
49
48
|
export declare const selectEnabledProjectFiles: (state: OvermapRootState) => Record<string, boolean | undefined>;
|
|
50
49
|
export declare const selectProjectFileVisibility: Selector<Record<string, boolean>>;
|
|
51
50
|
export declare const selectEnabledProjectFileMapping: (state: OvermapRootState) => Record<string, ProjectFile>;
|
|
52
|
-
export declare const selectProjectFiles: ((state: import("
|
|
53
|
-
versioning: import('../slices/versioningSlice').VersioningState;
|
|
54
|
-
fileReducer: import('..').FileState;
|
|
55
|
-
authReducer: import('..').AuthState;
|
|
56
|
-
categoryReducer: import('..').CategoryState;
|
|
57
|
-
assetReducer: import('..').AssetState;
|
|
58
|
-
assetStageCompletionReducer: import('..').AssetStageCompletionState;
|
|
59
|
-
assetStageReducer: import('..').AssetStageState;
|
|
60
|
-
assetTypeReducer: import('..').AssetTypeState;
|
|
61
|
-
issueReducer: import('..').IssueState;
|
|
62
|
-
issueTypeReducer: import('..').IssueTypeState;
|
|
63
|
-
mapReducer: import('..').MapState;
|
|
64
|
-
organizationReducer: import('..').OrganizationState;
|
|
65
|
-
outboxReducer: import('..').OutboxState;
|
|
66
|
-
projectReducer: import("./projectSlice").ProjectState;
|
|
67
|
-
projectAccessReducer: import('..').ProjectAccessState;
|
|
68
|
-
organizationAccessReducer: import('..').OrganizationAccessState;
|
|
69
|
-
projectFileReducer: ProjectFileState;
|
|
70
|
-
rehydratedReducer: import('..').RehydratedState;
|
|
71
|
-
settingReducer: import('..').SettingState;
|
|
72
|
-
formReducer: import('..').FormState;
|
|
73
|
-
userReducer: import('..').UserState;
|
|
74
|
-
formRevisionReducer: import('..').FormRevisionState;
|
|
75
|
-
formSubmissionReducer: import('..').FormSubmissionState;
|
|
76
|
-
workspaceReducer: import('..').WorkspaceState;
|
|
77
|
-
emailDomainsReducer: import('..').EmailDomainState;
|
|
78
|
-
licenseReducer: import('..').LicenseState;
|
|
79
|
-
documentsReducer: import('..').DocumentState;
|
|
80
|
-
teamReducer: import('..').TeamState;
|
|
81
|
-
agentsReducer: import('..').AgentsState;
|
|
82
|
-
} & {
|
|
83
|
-
offline: import("@redux-offline/redux-offline/lib/types").OfflineState;
|
|
84
|
-
}) => ProjectFile[]) & import("reselect").OutputSelectorFields<(args_0: Record<string, ProjectFile>, args_1: number | null) => ProjectFile[], {
|
|
51
|
+
export declare const selectProjectFiles: ((state: OvermapRootState) => ProjectFile[]) & import("reselect").OutputSelectorFields<(args_0: Record<string, ProjectFile>, args_1: number | null) => ProjectFile[], {
|
|
85
52
|
clearCache: () => void;
|
|
86
53
|
}> & {
|
|
87
54
|
clearCache: () => void;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="@redux-offline/redux-offline" />
|
|
2
1
|
import { Reducer } from "@reduxjs/toolkit";
|
|
3
2
|
import { OvermapRootState, Selector, Workspace } from "../../typings";
|
|
4
3
|
export interface WorkspaceState {
|
|
@@ -27,39 +26,7 @@ export declare const workspaceSlice: import("@reduxjs/toolkit").Slice<WorkspaceS
|
|
|
27
26
|
}, "workspace">;
|
|
28
27
|
export declare const setWorkspaces: import("@reduxjs/toolkit").ActionCreatorWithPayload<Record<string, Workspace>, "workspace/setWorkspaces">, addOrReplaceWorkspaces: import("@reduxjs/toolkit").ActionCreatorWithPayload<Record<string, Workspace>, "workspace/addOrReplaceWorkspaces">, addWorkspace: import("@reduxjs/toolkit").ActionCreatorWithPayload<Workspace, "workspace/addWorkspace">, setActiveWorkspaceId: import("@reduxjs/toolkit").ActionCreatorWithPayload<string | null, "workspace/setActiveWorkspaceId">, removeWorkspace: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "workspace/removeWorkspace">;
|
|
29
28
|
export declare const selectWorkspaceMapping: Selector<Record<string, Workspace>>;
|
|
30
|
-
export declare const selectWorkspaces: ((state: import("
|
|
31
|
-
versioning: import('../slices/versioningSlice').VersioningState;
|
|
32
|
-
fileReducer: import('..').FileState;
|
|
33
|
-
authReducer: import('..').AuthState;
|
|
34
|
-
categoryReducer: import('..').CategoryState;
|
|
35
|
-
assetReducer: import('..').AssetState;
|
|
36
|
-
assetStageCompletionReducer: import('..').AssetStageCompletionState;
|
|
37
|
-
assetStageReducer: import('..').AssetStageState;
|
|
38
|
-
assetTypeReducer: import('..').AssetTypeState;
|
|
39
|
-
issueReducer: import('..').IssueState;
|
|
40
|
-
issueTypeReducer: import('..').IssueTypeState;
|
|
41
|
-
mapReducer: import('..').MapState;
|
|
42
|
-
organizationReducer: import('..').OrganizationState;
|
|
43
|
-
outboxReducer: import('..').OutboxState;
|
|
44
|
-
projectReducer: import('..').ProjectState;
|
|
45
|
-
projectAccessReducer: import('..').ProjectAccessState;
|
|
46
|
-
organizationAccessReducer: import('..').OrganizationAccessState;
|
|
47
|
-
projectFileReducer: import('..').ProjectFileState;
|
|
48
|
-
rehydratedReducer: import('..').RehydratedState;
|
|
49
|
-
settingReducer: import('..').SettingState;
|
|
50
|
-
formReducer: import('..').FormState;
|
|
51
|
-
userReducer: import('..').UserState;
|
|
52
|
-
formRevisionReducer: import('..').FormRevisionState;
|
|
53
|
-
formSubmissionReducer: import('..').FormSubmissionState;
|
|
54
|
-
workspaceReducer: WorkspaceState;
|
|
55
|
-
emailDomainsReducer: import('..').EmailDomainState;
|
|
56
|
-
licenseReducer: import('..').LicenseState;
|
|
57
|
-
documentsReducer: import('..').DocumentState;
|
|
58
|
-
teamReducer: import('..').TeamState;
|
|
59
|
-
agentsReducer: import('..').AgentsState;
|
|
60
|
-
} & {
|
|
61
|
-
offline: import("@redux-offline/redux-offline/lib/types").OfflineState;
|
|
62
|
-
}) => Workspace[]) & import("reselect").OutputSelectorFields<(args_0: Record<string, Workspace>) => Workspace[], {
|
|
29
|
+
export declare const selectWorkspaces: ((state: OvermapRootState) => Workspace[]) & import("reselect").OutputSelectorFields<(args_0: Record<string, Workspace>) => Workspace[], {
|
|
63
30
|
clearCache: () => void;
|
|
64
31
|
}> & {
|
|
65
32
|
clearCache: () => void;
|
package/dist/store/store.d.ts
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
/// <reference types="@redux-offline/redux-offline" />
|
|
2
|
-
import {
|
|
2
|
+
import { Reducer } from "redux";
|
|
3
3
|
import { Config, OfflineAction, OfflineMetadata } from "@redux-offline/redux-offline/lib/types";
|
|
4
4
|
import request from "superagent";
|
|
5
5
|
import { type OfflineMetaEffect, OutboxCoordinator, type OvermapSDK, RequestDetails } from "../sdk";
|
|
6
6
|
import { AgentsState, AuthState, CategoryState, AssetStageCompletionState, AssetStageState, AssetState, AssetTypeState, DocumentState, EmailDomainState, FileState, FormRevisionState, FormState, FormSubmissionState, IssueState, IssueTypeState, LicenseState, MapState, OrganizationAccessState, OrganizationState, OutboxState, ProjectAccessState, ProjectFileState, ProjectState, RehydratedState, SettingState, UserState, WorkspaceState, TeamState } from "./slices";
|
|
7
7
|
import { VersioningState } from "./slices/versioningSlice";
|
|
8
8
|
import { OvermapRootState } from "../typings";
|
|
9
|
+
export declare const VERSION_REDUCER_KEY = "versioning";
|
|
9
10
|
export declare const overmapReducers: {
|
|
10
11
|
versioning: Reducer<VersioningState>;
|
|
11
12
|
fileReducer: Reducer<FileState>;
|
|
@@ -37,37 +38,6 @@ export declare const overmapReducers: {
|
|
|
37
38
|
teamReducer: Reducer<TeamState>;
|
|
38
39
|
agentsReducer: Reducer<AgentsState>;
|
|
39
40
|
};
|
|
40
|
-
export declare const overmapReducer: Reducer<import("redux").CombinedState<{
|
|
41
|
-
versioning: VersioningState;
|
|
42
|
-
fileReducer: FileState;
|
|
43
|
-
authReducer: AuthState;
|
|
44
|
-
categoryReducer: CategoryState;
|
|
45
|
-
assetReducer: AssetState;
|
|
46
|
-
assetStageCompletionReducer: AssetStageCompletionState;
|
|
47
|
-
assetStageReducer: AssetStageState;
|
|
48
|
-
assetTypeReducer: AssetTypeState;
|
|
49
|
-
issueReducer: IssueState;
|
|
50
|
-
issueTypeReducer: IssueTypeState;
|
|
51
|
-
mapReducer: MapState;
|
|
52
|
-
organizationReducer: OrganizationState;
|
|
53
|
-
outboxReducer: OutboxState;
|
|
54
|
-
projectReducer: ProjectState;
|
|
55
|
-
projectAccessReducer: ProjectAccessState;
|
|
56
|
-
organizationAccessReducer: OrganizationAccessState;
|
|
57
|
-
projectFileReducer: ProjectFileState;
|
|
58
|
-
rehydratedReducer: RehydratedState;
|
|
59
|
-
settingReducer: SettingState;
|
|
60
|
-
formReducer: FormState;
|
|
61
|
-
userReducer: UserState;
|
|
62
|
-
formRevisionReducer: FormRevisionState;
|
|
63
|
-
formSubmissionReducer: FormSubmissionState;
|
|
64
|
-
workspaceReducer: WorkspaceState;
|
|
65
|
-
emailDomainsReducer: EmailDomainState;
|
|
66
|
-
licenseReducer: LicenseState;
|
|
67
|
-
documentsReducer: DocumentState;
|
|
68
|
-
teamReducer: TeamState;
|
|
69
|
-
agentsReducer: AgentsState;
|
|
70
|
-
}>, AnyAction>;
|
|
71
41
|
export declare const resetStore = "RESET";
|
|
72
42
|
export declare const overmapRootReducer: Reducer<OvermapRootState>;
|
|
73
43
|
export interface FullOfflineMetadata extends OfflineMetadata {
|
|
@@ -1,6 +1,36 @@
|
|
|
1
1
|
/// <reference types="@redux-offline/redux-offline" />
|
|
2
2
|
import { OfflineState } from "@redux-offline/redux-offline/lib/types";
|
|
3
|
-
import {
|
|
4
|
-
|
|
3
|
+
import { AgentsState, AssetStageCompletionState, AssetStageState, AssetState, AssetTypeState, AuthState, CategoryState, DocumentState, EmailDomainState, FileState, FormRevisionState, FormState, FormSubmissionState, IssueState, IssueTypeState, LicenseState, MapState, OrganizationAccessState, OrganizationState, OutboxState, ProjectAccessState, ProjectFileState, ProjectState, RehydratedState, SettingState, TeamState, UserState, VERSION_REDUCER_KEY, WorkspaceState } from "../../store";
|
|
4
|
+
import { VersioningState } from "../../store/slices/versioningSlice";
|
|
5
|
+
export interface OvermapRootState {
|
|
6
|
+
[VERSION_REDUCER_KEY]: VersioningState;
|
|
7
|
+
fileReducer: FileState;
|
|
8
|
+
authReducer: AuthState;
|
|
9
|
+
categoryReducer: CategoryState;
|
|
10
|
+
assetReducer: AssetState;
|
|
11
|
+
assetStageCompletionReducer: AssetStageCompletionState;
|
|
12
|
+
assetStageReducer: AssetStageState;
|
|
13
|
+
assetTypeReducer: AssetTypeState;
|
|
14
|
+
issueReducer: IssueState;
|
|
15
|
+
issueTypeReducer: IssueTypeState;
|
|
16
|
+
mapReducer: MapState;
|
|
17
|
+
organizationReducer: OrganizationState;
|
|
18
|
+
outboxReducer: OutboxState;
|
|
19
|
+
projectReducer: ProjectState;
|
|
20
|
+
projectAccessReducer: ProjectAccessState;
|
|
21
|
+
organizationAccessReducer: OrganizationAccessState;
|
|
22
|
+
projectFileReducer: ProjectFileState;
|
|
23
|
+
rehydratedReducer: RehydratedState;
|
|
24
|
+
settingReducer: SettingState;
|
|
25
|
+
formReducer: FormState;
|
|
26
|
+
formRevisionReducer: FormRevisionState;
|
|
27
|
+
formSubmissionReducer: FormSubmissionState;
|
|
28
|
+
userReducer: UserState;
|
|
29
|
+
workspaceReducer: WorkspaceState;
|
|
30
|
+
emailDomainsReducer: EmailDomainState;
|
|
31
|
+
licenseReducer: LicenseState;
|
|
32
|
+
documentsReducer: DocumentState;
|
|
33
|
+
teamReducer: TeamState;
|
|
34
|
+
agentsReducer: AgentsState;
|
|
5
35
|
offline: OfflineState;
|
|
6
|
-
}
|
|
36
|
+
}
|
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.57-export-overmap-reducer.
|
|
6
|
+
"version": "1.0.57-export-overmap-reducer.3",
|
|
7
7
|
"type": "module",
|
|
8
8
|
"main": "dist/overmap-core.umd.cjs",
|
|
9
9
|
"module": "dist/overmap-core.js",
|