@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
|
@@ -668,15 +668,15 @@ var __publicField = (obj, key, value) => {
|
|
|
668
668
|
};
|
|
669
669
|
const migrations = [initialVersioning, signOut, signOut, createOutboxState];
|
|
670
670
|
const manifest = Object.fromEntries(migrations.map((migration2, i) => [i, wrapMigration(migration2)]));
|
|
671
|
-
const initialState$
|
|
671
|
+
const initialState$u = {
|
|
672
672
|
accessToken: "",
|
|
673
673
|
refreshToken: "",
|
|
674
674
|
isLoggedIn: false
|
|
675
675
|
};
|
|
676
676
|
const authSlice = toolkit.createSlice({
|
|
677
677
|
name: "auth",
|
|
678
|
-
initialState: initialState$
|
|
679
|
-
extraReducers: (builder) => builder.addCase("RESET", (state) => Object.assign(state, initialState$
|
|
678
|
+
initialState: initialState$u,
|
|
679
|
+
extraReducers: (builder) => builder.addCase("RESET", (state) => Object.assign(state, initialState$u)),
|
|
680
680
|
reducers: {
|
|
681
681
|
setTokens: (state, action) => {
|
|
682
682
|
state.accessToken = action.payload.accessToken;
|
|
@@ -1420,7 +1420,7 @@ var __publicField = (obj, key, value) => {
|
|
|
1420
1420
|
return getLocalDateString(date);
|
|
1421
1421
|
return relative.format(days, "days");
|
|
1422
1422
|
});
|
|
1423
|
-
const initialState$
|
|
1423
|
+
const initialState$t = {
|
|
1424
1424
|
categories: {},
|
|
1425
1425
|
usedCategoryColors: [],
|
|
1426
1426
|
categoryVisibility: {
|
|
@@ -1430,8 +1430,8 @@ var __publicField = (obj, key, value) => {
|
|
|
1430
1430
|
};
|
|
1431
1431
|
const categorySlice = toolkit.createSlice({
|
|
1432
1432
|
name: "categories",
|
|
1433
|
-
initialState: initialState$
|
|
1434
|
-
extraReducers: (builder) => builder.addCase("RESET", (state) => Object.assign(state, initialState$
|
|
1433
|
+
initialState: initialState$t,
|
|
1434
|
+
extraReducers: (builder) => builder.addCase("RESET", (state) => Object.assign(state, initialState$t)),
|
|
1435
1435
|
reducers: {
|
|
1436
1436
|
setCategories: (state, action) => {
|
|
1437
1437
|
if (!Array.isArray(action.payload))
|
|
@@ -1603,14 +1603,14 @@ var __publicField = (obj, key, value) => {
|
|
|
1603
1603
|
delete state.attachments[attachmentId];
|
|
1604
1604
|
}
|
|
1605
1605
|
}
|
|
1606
|
-
const initialState$
|
|
1606
|
+
const initialState$s = {
|
|
1607
1607
|
components: {},
|
|
1608
1608
|
attachments: {}
|
|
1609
1609
|
};
|
|
1610
1610
|
const componentSlice = toolkit.createSlice({
|
|
1611
1611
|
name: "components",
|
|
1612
|
-
initialState: initialState$
|
|
1613
|
-
extraReducers: (builder) => builder.addCase("RESET", (state) => Object.assign(state, initialState$
|
|
1612
|
+
initialState: initialState$s,
|
|
1613
|
+
extraReducers: (builder) => builder.addCase("RESET", (state) => Object.assign(state, initialState$s)),
|
|
1614
1614
|
reducers: {
|
|
1615
1615
|
addComponent: (state, action) => {
|
|
1616
1616
|
state.components[action.payload.offline_id] = action.payload;
|
|
@@ -1766,13 +1766,13 @@ var __publicField = (obj, key, value) => {
|
|
|
1766
1766
|
removeAllComponentsOfType
|
|
1767
1767
|
} = componentSlice.actions;
|
|
1768
1768
|
const componentReducer = componentSlice.reducer;
|
|
1769
|
-
const initialState$
|
|
1769
|
+
const initialState$r = {
|
|
1770
1770
|
completionsByComponentId: {}
|
|
1771
1771
|
};
|
|
1772
1772
|
const componentStageCompletionSlice = toolkit.createSlice({
|
|
1773
1773
|
name: "componentStageCompletions",
|
|
1774
|
-
initialState: initialState$
|
|
1775
|
-
extraReducers: (builder) => builder.addCase("RESET", (state) => Object.assign(state, initialState$
|
|
1774
|
+
initialState: initialState$r,
|
|
1775
|
+
extraReducers: (builder) => builder.addCase("RESET", (state) => Object.assign(state, initialState$r)),
|
|
1776
1776
|
reducers: {
|
|
1777
1777
|
addStageCompletion: (state, action) => {
|
|
1778
1778
|
let stageToCompletionDateMapping = state.completionsByComponentId[action.payload.component];
|
|
@@ -1823,13 +1823,13 @@ var __publicField = (obj, key, value) => {
|
|
|
1823
1823
|
return Object.keys(state.componentStageCompletionReducer.completionsByComponentId[component.offline_id] ?? {});
|
|
1824
1824
|
};
|
|
1825
1825
|
const componentStageCompletionReducer = componentStageCompletionSlice.reducer;
|
|
1826
|
-
const initialState$
|
|
1826
|
+
const initialState$q = {
|
|
1827
1827
|
stages: {}
|
|
1828
1828
|
};
|
|
1829
1829
|
const componentStageSlice = toolkit.createSlice({
|
|
1830
1830
|
name: "componentStages",
|
|
1831
|
-
initialState: initialState$
|
|
1832
|
-
extraReducers: (builder) => builder.addCase("RESET", (state) => Object.assign(state, initialState$
|
|
1831
|
+
initialState: initialState$q,
|
|
1832
|
+
extraReducers: (builder) => builder.addCase("RESET", (state) => Object.assign(state, initialState$q)),
|
|
1833
1833
|
reducers: {
|
|
1834
1834
|
addStages: (state, action) => {
|
|
1835
1835
|
Object.assign(state.stages, toOfflineIdRecord(action.payload));
|
|
@@ -1939,15 +1939,15 @@ var __publicField = (obj, key, value) => {
|
|
|
1939
1939
|
);
|
|
1940
1940
|
const { addStages, updateStages, removeStages, linkStageToForm, unlinkStageToForm } = componentStageSlice.actions;
|
|
1941
1941
|
const componentStageReducer = componentStageSlice.reducer;
|
|
1942
|
-
const initialState$
|
|
1942
|
+
const initialState$p = {
|
|
1943
1943
|
componentTypes: {},
|
|
1944
1944
|
hiddenComponentTypeIds: {},
|
|
1945
1945
|
attachments: {}
|
|
1946
1946
|
};
|
|
1947
1947
|
const componentTypeSlice = toolkit.createSlice({
|
|
1948
1948
|
name: "componentTypes",
|
|
1949
|
-
initialState: initialState$
|
|
1950
|
-
extraReducers: (builder) => builder.addCase("RESET", (state) => Object.assign(state, initialState$
|
|
1949
|
+
initialState: initialState$p,
|
|
1950
|
+
extraReducers: (builder) => builder.addCase("RESET", (state) => Object.assign(state, initialState$p)),
|
|
1951
1951
|
reducers: {
|
|
1952
1952
|
addComponentType: (state, action) => {
|
|
1953
1953
|
state.componentTypes[action.payload.offline_id] = action.payload;
|
|
@@ -2058,13 +2058,13 @@ var __publicField = (obj, key, value) => {
|
|
|
2058
2058
|
deleteComponentType
|
|
2059
2059
|
} = componentTypeSlice.actions;
|
|
2060
2060
|
const componentTypeReducer = componentTypeSlice.reducer;
|
|
2061
|
-
const initialState$
|
|
2061
|
+
const initialState$o = {
|
|
2062
2062
|
workspaces: {},
|
|
2063
2063
|
activeWorkspaceId: null
|
|
2064
2064
|
};
|
|
2065
2065
|
const workspaceSlice = toolkit.createSlice({
|
|
2066
2066
|
name: "workspace",
|
|
2067
|
-
initialState: initialState$
|
|
2067
|
+
initialState: initialState$o,
|
|
2068
2068
|
// The `reducers` field lets us define reducers and generate associated actions
|
|
2069
2069
|
reducers: {
|
|
2070
2070
|
setWorkspaces: (state, action) => {
|
|
@@ -2121,7 +2121,7 @@ var __publicField = (obj, key, value) => {
|
|
|
2121
2121
|
);
|
|
2122
2122
|
const workspaceReducer = workspaceSlice.reducer;
|
|
2123
2123
|
const maxRecentIssues = 10;
|
|
2124
|
-
const initialState$
|
|
2124
|
+
const initialState$n = {
|
|
2125
2125
|
issues: {},
|
|
2126
2126
|
attachments: {},
|
|
2127
2127
|
comments: {},
|
|
@@ -2133,9 +2133,9 @@ var __publicField = (obj, key, value) => {
|
|
|
2133
2133
|
};
|
|
2134
2134
|
const issueSlice = toolkit.createSlice({
|
|
2135
2135
|
name: "issues",
|
|
2136
|
-
initialState: initialState$
|
|
2136
|
+
initialState: initialState$n,
|
|
2137
2137
|
extraReducers: (builder) => builder.addCase("RESET", (state) => {
|
|
2138
|
-
Object.assign(state, initialState$
|
|
2138
|
+
Object.assign(state, initialState$n);
|
|
2139
2139
|
}),
|
|
2140
2140
|
reducers: {
|
|
2141
2141
|
setIssues: (state, action) => {
|
|
@@ -2560,14 +2560,14 @@ var __publicField = (obj, key, value) => {
|
|
|
2560
2560
|
}
|
|
2561
2561
|
);
|
|
2562
2562
|
const issueReducer = issueSlice.reducer;
|
|
2563
|
-
const initialState$
|
|
2563
|
+
const initialState$m = {
|
|
2564
2564
|
issueTypes: {}
|
|
2565
2565
|
};
|
|
2566
2566
|
const issueTypeSlice = toolkit.createSlice({
|
|
2567
2567
|
name: "issueTypes",
|
|
2568
|
-
initialState: initialState$
|
|
2568
|
+
initialState: initialState$m,
|
|
2569
2569
|
extraReducers: (builder) => builder.addCase("RESET", (state) => {
|
|
2570
|
-
Object.assign(state, initialState$
|
|
2570
|
+
Object.assign(state, initialState$m);
|
|
2571
2571
|
}),
|
|
2572
2572
|
reducers: {
|
|
2573
2573
|
setIssueTypes: (state, action) => {
|
|
@@ -2634,15 +2634,15 @@ var __publicField = (obj, key, value) => {
|
|
|
2634
2634
|
return ((_a2 = selectIssuesOfIssueType(issueTypeId)(state)) == null ? void 0 : _a2.length) ?? 0;
|
|
2635
2635
|
};
|
|
2636
2636
|
const issueTypeReducer = issueTypeSlice.reducer;
|
|
2637
|
-
const initialState$
|
|
2637
|
+
const initialState$l = {
|
|
2638
2638
|
s3Urls: {}
|
|
2639
2639
|
};
|
|
2640
2640
|
const msPerHour = 1e3 * 60 * 60;
|
|
2641
2641
|
const msPerWeek = msPerHour * 24 * 7;
|
|
2642
2642
|
const fileSlice = toolkit.createSlice({
|
|
2643
2643
|
name: "file",
|
|
2644
|
-
initialState: initialState$
|
|
2645
|
-
extraReducers: (builder) => builder.addCase("RESET", (state) => Object.assign(state, initialState$
|
|
2644
|
+
initialState: initialState$l,
|
|
2645
|
+
extraReducers: (builder) => builder.addCase("RESET", (state) => Object.assign(state, initialState$l)),
|
|
2646
2646
|
reducers: {
|
|
2647
2647
|
setUploadUrl: (state, action) => {
|
|
2648
2648
|
const { url, fields, sha1 } = action.payload;
|
|
@@ -2669,7 +2669,7 @@ var __publicField = (obj, key, value) => {
|
|
|
2669
2669
|
return url;
|
|
2670
2670
|
};
|
|
2671
2671
|
const fileReducer = fileSlice.reducer;
|
|
2672
|
-
const initialState$
|
|
2672
|
+
const initialState$k = {
|
|
2673
2673
|
// TODO: Change first MapStyle.SATELLITE to MaptStyle.None when project creation map is fixed
|
|
2674
2674
|
mapStyle: MapStyle.SATELLITE,
|
|
2675
2675
|
showTooltips: false,
|
|
@@ -2677,8 +2677,8 @@ var __publicField = (obj, key, value) => {
|
|
|
2677
2677
|
};
|
|
2678
2678
|
const mapSlice = toolkit.createSlice({
|
|
2679
2679
|
name: "map",
|
|
2680
|
-
initialState: initialState$
|
|
2681
|
-
extraReducers: (builder) => builder.addCase("RESET", (state) => Object.assign(state, initialState$
|
|
2680
|
+
initialState: initialState$k,
|
|
2681
|
+
extraReducers: (builder) => builder.addCase("RESET", (state) => Object.assign(state, initialState$k)),
|
|
2682
2682
|
reducers: {
|
|
2683
2683
|
setMapStyle: (state, action) => {
|
|
2684
2684
|
state.mapStyle = action.payload;
|
|
@@ -2747,7 +2747,7 @@ var __publicField = (obj, key, value) => {
|
|
|
2747
2747
|
LicenseStatus2[LicenseStatus2["PAST_DUE"] = 8] = "PAST_DUE";
|
|
2748
2748
|
return LicenseStatus2;
|
|
2749
2749
|
})(LicenseStatus || {});
|
|
2750
|
-
const initialState$
|
|
2750
|
+
const initialState$j = {
|
|
2751
2751
|
users: {},
|
|
2752
2752
|
currentUser: {
|
|
2753
2753
|
id: 0,
|
|
@@ -2758,8 +2758,8 @@ var __publicField = (obj, key, value) => {
|
|
|
2758
2758
|
};
|
|
2759
2759
|
const userSlice = toolkit.createSlice({
|
|
2760
2760
|
name: "users",
|
|
2761
|
-
initialState: initialState$
|
|
2762
|
-
extraReducers: (builder) => builder.addCase("RESET", (state) => Object.assign(state, initialState$
|
|
2761
|
+
initialState: initialState$j,
|
|
2762
|
+
extraReducers: (builder) => builder.addCase("RESET", (state) => Object.assign(state, initialState$j)),
|
|
2763
2763
|
reducers: {
|
|
2764
2764
|
setUsers: (state, action) => {
|
|
2765
2765
|
const usersMapping = {};
|
|
@@ -2821,13 +2821,13 @@ var __publicField = (obj, key, value) => {
|
|
|
2821
2821
|
const selectUsersAsMapping = (state) => state.userReducer.users;
|
|
2822
2822
|
const selectFavouriteProjects = (state) => state.userReducer.currentUser.profile.favourite_project_ids;
|
|
2823
2823
|
const userReducer = userSlice.reducer;
|
|
2824
|
-
const initialState$
|
|
2824
|
+
const initialState$i = {
|
|
2825
2825
|
organizationAccesses: {}
|
|
2826
2826
|
};
|
|
2827
2827
|
const organizationAccessSlice = toolkit.createSlice({
|
|
2828
2828
|
name: "organizationAccess",
|
|
2829
|
-
initialState: initialState$
|
|
2830
|
-
extraReducers: (builder) => builder.addCase("RESET", (state) => Object.assign(state, initialState$
|
|
2829
|
+
initialState: initialState$i,
|
|
2830
|
+
extraReducers: (builder) => builder.addCase("RESET", (state) => Object.assign(state, initialState$i)),
|
|
2831
2831
|
reducers: {
|
|
2832
2832
|
setOrganizationAccesses: (state, action) => {
|
|
2833
2833
|
if (!Array.isArray(action.payload))
|
|
@@ -2890,13 +2890,13 @@ var __publicField = (obj, key, value) => {
|
|
|
2890
2890
|
return organizationAccesses;
|
|
2891
2891
|
};
|
|
2892
2892
|
const organizationAccessReducer = organizationAccessSlice.reducer;
|
|
2893
|
-
const initialState$
|
|
2893
|
+
const initialState$h = {
|
|
2894
2894
|
licenses: {}
|
|
2895
2895
|
};
|
|
2896
2896
|
const licenseSlice = toolkit.createSlice({
|
|
2897
2897
|
name: "license",
|
|
2898
|
-
initialState: initialState$
|
|
2899
|
-
extraReducers: (builder) => builder.addCase("RESET", (state) => Object.assign(state, initialState$
|
|
2898
|
+
initialState: initialState$h,
|
|
2899
|
+
extraReducers: (builder) => builder.addCase("RESET", (state) => Object.assign(state, initialState$h)),
|
|
2900
2900
|
reducers: {
|
|
2901
2901
|
setLicenses: (state, action) => {
|
|
2902
2902
|
if (!Array.isArray(action.payload))
|
|
@@ -2941,13 +2941,13 @@ var __publicField = (obj, key, value) => {
|
|
|
2941
2941
|
(licenses) => Object.values(licenses).filter((license) => license.project).reduce((accum, license) => ({ ...accum, [license.project]: license }), {})
|
|
2942
2942
|
);
|
|
2943
2943
|
const licenseReducer = licenseSlice.reducer;
|
|
2944
|
-
const initialState$
|
|
2944
|
+
const initialState$g = {
|
|
2945
2945
|
projectAccesses: {}
|
|
2946
2946
|
};
|
|
2947
2947
|
const projectAccessSlice = toolkit.createSlice({
|
|
2948
2948
|
name: "projectAccess",
|
|
2949
|
-
initialState: initialState$
|
|
2950
|
-
extraReducers: (builder) => builder.addCase("RESET", (state) => Object.assign(state, initialState$
|
|
2949
|
+
initialState: initialState$g,
|
|
2950
|
+
extraReducers: (builder) => builder.addCase("RESET", (state) => Object.assign(state, initialState$g)),
|
|
2951
2951
|
reducers: {
|
|
2952
2952
|
setProjectAccesses: (state, action) => {
|
|
2953
2953
|
if (!Array.isArray(action.payload))
|
|
@@ -3015,7 +3015,7 @@ var __publicField = (obj, key, value) => {
|
|
|
3015
3015
|
return projectAccesses;
|
|
3016
3016
|
};
|
|
3017
3017
|
const projectAccessReducer = projectAccessSlice.reducer;
|
|
3018
|
-
const initialState$
|
|
3018
|
+
const initialState$f = {
|
|
3019
3019
|
projects: {},
|
|
3020
3020
|
activeProjectId: null,
|
|
3021
3021
|
recentProjectIds: [],
|
|
@@ -3025,7 +3025,7 @@ var __publicField = (obj, key, value) => {
|
|
|
3025
3025
|
};
|
|
3026
3026
|
const projectSlice = toolkit.createSlice({
|
|
3027
3027
|
name: "projects",
|
|
3028
|
-
initialState: initialState$
|
|
3028
|
+
initialState: initialState$f,
|
|
3029
3029
|
reducers: {
|
|
3030
3030
|
setProjects: (state, action) => {
|
|
3031
3031
|
const projectsMap = {};
|
|
@@ -3212,14 +3212,14 @@ var __publicField = (obj, key, value) => {
|
|
|
3212
3212
|
}
|
|
3213
3213
|
)
|
|
3214
3214
|
);
|
|
3215
|
-
const initialState$
|
|
3215
|
+
const initialState$e = {
|
|
3216
3216
|
organizations: {},
|
|
3217
3217
|
activeOrganizationId: null
|
|
3218
3218
|
};
|
|
3219
3219
|
const organizationSlice = toolkit.createSlice({
|
|
3220
3220
|
name: "organizations",
|
|
3221
|
-
initialState: initialState$
|
|
3222
|
-
extraReducers: (builder) => builder.addCase("RESET", (state) => Object.assign(state, initialState$
|
|
3221
|
+
initialState: initialState$e,
|
|
3222
|
+
extraReducers: (builder) => builder.addCase("RESET", (state) => Object.assign(state, initialState$e)),
|
|
3223
3223
|
reducers: {
|
|
3224
3224
|
setOrganizations: (state, action) => {
|
|
3225
3225
|
for (const org of action.payload) {
|
|
@@ -3338,14 +3338,14 @@ var __publicField = (obj, key, value) => {
|
|
|
3338
3338
|
}
|
|
3339
3339
|
};
|
|
3340
3340
|
};
|
|
3341
|
-
const initialState$
|
|
3341
|
+
const initialState$d = {
|
|
3342
3342
|
deletedRequests: [],
|
|
3343
3343
|
latestRetryTime: 0
|
|
3344
3344
|
};
|
|
3345
3345
|
const outboxSlice = toolkit.createSlice({
|
|
3346
3346
|
name: "outbox",
|
|
3347
|
-
initialState: initialState$
|
|
3348
|
-
extraReducers: (builder) => builder.addCase("RESET", (state) => Object.assign(state, initialState$
|
|
3347
|
+
initialState: initialState$d,
|
|
3348
|
+
extraReducers: (builder) => builder.addCase("RESET", (state) => Object.assign(state, initialState$d)),
|
|
3349
3349
|
reducers: {
|
|
3350
3350
|
// enqueueActions is a reducer that does nothing but enqueue API request to the Redux Offline outbox
|
|
3351
3351
|
// Whenever an issue is being created, a reducer addIssue() is responsible for adding it to the offline store
|
|
@@ -3377,7 +3377,7 @@ var __publicField = (obj, key, value) => {
|
|
|
3377
3377
|
const selectLatestRetryTime = (state) => state.outboxReducer.latestRetryTime;
|
|
3378
3378
|
const { enqueueRequest, markForDeletion, markAsDeleted, _setLatestRetryTime } = outboxSlice.actions;
|
|
3379
3379
|
const outboxReducer = outboxSlice.reducer;
|
|
3380
|
-
const initialState$
|
|
3380
|
+
const initialState$c = {
|
|
3381
3381
|
projectFiles: {},
|
|
3382
3382
|
activeProjectFileId: null,
|
|
3383
3383
|
isImportingProjectFile: false,
|
|
@@ -3385,8 +3385,8 @@ var __publicField = (obj, key, value) => {
|
|
|
3385
3385
|
};
|
|
3386
3386
|
const projectFileSlice = toolkit.createSlice({
|
|
3387
3387
|
name: "projectFiles",
|
|
3388
|
-
initialState: initialState$
|
|
3389
|
-
extraReducers: (builder) => builder.addCase("RESET", (state) => Object.assign(state, initialState$
|
|
3388
|
+
initialState: initialState$c,
|
|
3389
|
+
extraReducers: (builder) => builder.addCase("RESET", (state) => Object.assign(state, initialState$c)),
|
|
3390
3390
|
reducers: {
|
|
3391
3391
|
addOrReplaceProjectFiles: (state, action) => {
|
|
3392
3392
|
for (let fileObj of action.payload) {
|
|
@@ -3487,12 +3487,12 @@ var __publicField = (obj, key, value) => {
|
|
|
3487
3487
|
const selectActiveProjectFileId = (state) => state.projectFileReducer.activeProjectFileId;
|
|
3488
3488
|
const selectIsImportingProjectFile = (state) => state.projectFileReducer.isImportingProjectFile;
|
|
3489
3489
|
const projectFileReducer = projectFileSlice.reducer;
|
|
3490
|
-
const initialState$
|
|
3490
|
+
const initialState$b = {
|
|
3491
3491
|
isRehydrated: false
|
|
3492
3492
|
};
|
|
3493
3493
|
const rehydratedSlice = toolkit.createSlice({
|
|
3494
3494
|
name: "rehydrated",
|
|
3495
|
-
initialState: initialState$
|
|
3495
|
+
initialState: initialState$b,
|
|
3496
3496
|
// The `reducers` field lets us define reducers and generate associated actions
|
|
3497
3497
|
reducers: {
|
|
3498
3498
|
setRehydrated: (state, action) => {
|
|
@@ -3502,7 +3502,7 @@ var __publicField = (obj, key, value) => {
|
|
|
3502
3502
|
});
|
|
3503
3503
|
const selectRehydrated = (state) => state.rehydratedReducer.isRehydrated;
|
|
3504
3504
|
const rehydratedReducer = rehydratedSlice.reducer;
|
|
3505
|
-
const initialState$
|
|
3505
|
+
const initialState$a = {
|
|
3506
3506
|
useIssueTemplate: false,
|
|
3507
3507
|
placementMode: false,
|
|
3508
3508
|
enableClustering: false,
|
|
@@ -3519,8 +3519,8 @@ var __publicField = (obj, key, value) => {
|
|
|
3519
3519
|
};
|
|
3520
3520
|
const settingSlice = toolkit.createSlice({
|
|
3521
3521
|
name: "settings",
|
|
3522
|
-
initialState: initialState$
|
|
3523
|
-
extraReducers: (builder) => builder.addCase("RESET", (state) => Object.assign(state, initialState$
|
|
3522
|
+
initialState: initialState$a,
|
|
3523
|
+
extraReducers: (builder) => builder.addCase("RESET", (state) => Object.assign(state, initialState$a)),
|
|
3524
3524
|
reducers: {
|
|
3525
3525
|
setEnableDuplicateIssues: (state, action) => {
|
|
3526
3526
|
state.useIssueTemplate = action.payload;
|
|
@@ -3579,14 +3579,14 @@ var __publicField = (obj, key, value) => {
|
|
|
3579
3579
|
return revisionA < revisionB ? -1 : 1;
|
|
3580
3580
|
}
|
|
3581
3581
|
};
|
|
3582
|
-
const initialState$
|
|
3582
|
+
const initialState$9 = {
|
|
3583
3583
|
formRevisions: {},
|
|
3584
3584
|
attachments: {}
|
|
3585
3585
|
};
|
|
3586
3586
|
const formRevisionsSlice = toolkit.createSlice({
|
|
3587
3587
|
name: "formRevisions",
|
|
3588
|
-
initialState: initialState$
|
|
3589
|
-
extraReducers: (builder) => builder.addCase("RESET", (state) => Object.assign(state, initialState$
|
|
3588
|
+
initialState: initialState$9,
|
|
3589
|
+
extraReducers: (builder) => builder.addCase("RESET", (state) => Object.assign(state, initialState$9)),
|
|
3590
3590
|
reducers: {
|
|
3591
3591
|
// revision related actions
|
|
3592
3592
|
setFormRevision: (state, action) => {
|
|
@@ -3766,13 +3766,13 @@ var __publicField = (obj, key, value) => {
|
|
|
3766
3766
|
)
|
|
3767
3767
|
);
|
|
3768
3768
|
const formRevisionReducer = formRevisionsSlice.reducer;
|
|
3769
|
-
const initialState$
|
|
3769
|
+
const initialState$8 = {
|
|
3770
3770
|
forms: {}
|
|
3771
3771
|
};
|
|
3772
3772
|
const formSlice = toolkit.createSlice({
|
|
3773
3773
|
name: "forms",
|
|
3774
|
-
initialState: initialState$
|
|
3775
|
-
extraReducers: (builder) => builder.addCase("RESET", (state) => Object.assign(state, initialState$
|
|
3774
|
+
initialState: initialState$8,
|
|
3775
|
+
extraReducers: (builder) => builder.addCase("RESET", (state) => Object.assign(state, initialState$8)),
|
|
3776
3776
|
reducers: {
|
|
3777
3777
|
setForms: (state, action) => {
|
|
3778
3778
|
state.forms = {};
|
|
@@ -3877,14 +3877,14 @@ var __publicField = (obj, key, value) => {
|
|
|
3877
3877
|
return Object.values(userForms).filter((form) => !form.component_type).length;
|
|
3878
3878
|
});
|
|
3879
3879
|
const formReducer = formSlice.reducer;
|
|
3880
|
-
const initialState$
|
|
3880
|
+
const initialState$7 = {
|
|
3881
3881
|
formSubmissions: {},
|
|
3882
3882
|
attachments: {}
|
|
3883
3883
|
};
|
|
3884
3884
|
const formSubmissionSlice = toolkit.createSlice({
|
|
3885
3885
|
name: "formSubmissions",
|
|
3886
|
-
initialState: initialState$
|
|
3887
|
-
extraReducers: (builder) => builder.addCase("RESET", (state) => Object.assign(state, initialState$
|
|
3886
|
+
initialState: initialState$7,
|
|
3887
|
+
extraReducers: (builder) => builder.addCase("RESET", (state) => Object.assign(state, initialState$7)),
|
|
3888
3888
|
reducers: {
|
|
3889
3889
|
setFormSubmission: (state, action) => {
|
|
3890
3890
|
state.formSubmissions[action.payload.offline_id] = action.payload;
|
|
@@ -4121,12 +4121,12 @@ var __publicField = (obj, key, value) => {
|
|
|
4121
4121
|
)
|
|
4122
4122
|
);
|
|
4123
4123
|
const formSubmissionReducer = formSubmissionSlice.reducer;
|
|
4124
|
-
const initialState$
|
|
4124
|
+
const initialState$6 = {
|
|
4125
4125
|
emailDomains: {}
|
|
4126
4126
|
};
|
|
4127
4127
|
const emailDomainsSlice = toolkit.createSlice({
|
|
4128
4128
|
name: "emailDomains",
|
|
4129
|
-
initialState: initialState$
|
|
4129
|
+
initialState: initialState$6,
|
|
4130
4130
|
reducers: {
|
|
4131
4131
|
setEmailDomains: (state, action) => {
|
|
4132
4132
|
const emailDomains = {};
|
|
@@ -4153,15 +4153,15 @@ var __publicField = (obj, key, value) => {
|
|
|
4153
4153
|
(ed1, ed2) => ed1.domain.localeCompare(ed2.domain)
|
|
4154
4154
|
);
|
|
4155
4155
|
const emailDomainsReducer = emailDomainsSlice.reducer;
|
|
4156
|
-
const initialState$
|
|
4156
|
+
const initialState$5 = {
|
|
4157
4157
|
documents: {},
|
|
4158
4158
|
attachments: {}
|
|
4159
4159
|
};
|
|
4160
4160
|
const documentSlice = toolkit.createSlice({
|
|
4161
4161
|
name: "documents",
|
|
4162
|
-
initialState: initialState$
|
|
4162
|
+
initialState: initialState$5,
|
|
4163
4163
|
extraReducers: (builder) => builder.addCase("RESET", (state) => {
|
|
4164
|
-
Object.assign(state, initialState$
|
|
4164
|
+
Object.assign(state, initialState$5);
|
|
4165
4165
|
}),
|
|
4166
4166
|
reducers: {
|
|
4167
4167
|
setDocuments: (state, action) => {
|
|
@@ -4386,13 +4386,13 @@ var __publicField = (obj, key, value) => {
|
|
|
4386
4386
|
)
|
|
4387
4387
|
);
|
|
4388
4388
|
const documentsReducer = documentSlice.reducer;
|
|
4389
|
-
const initialState$
|
|
4389
|
+
const initialState$4 = {
|
|
4390
4390
|
teams: {}
|
|
4391
4391
|
};
|
|
4392
4392
|
const teamSlice = toolkit.createSlice({
|
|
4393
4393
|
name: "teams",
|
|
4394
|
-
initialState: initialState$
|
|
4395
|
-
extraReducers: (builder) => builder.addCase("RESET", (state) => Object.assign(state, initialState$
|
|
4394
|
+
initialState: initialState$4,
|
|
4395
|
+
extraReducers: (builder) => builder.addCase("RESET", (state) => Object.assign(state, initialState$4)),
|
|
4396
4396
|
reducers: {
|
|
4397
4397
|
setTeam: (state, action) => {
|
|
4398
4398
|
state.teams[action.payload.offline_id] = action.payload;
|
|
@@ -4442,6 +4442,260 @@ var __publicField = (obj, key, value) => {
|
|
|
4442
4442
|
})
|
|
4443
4443
|
);
|
|
4444
4444
|
const teamReducer = teamSlice.reducer;
|
|
4445
|
+
const initialState$3 = {
|
|
4446
|
+
documentTeamLinks: {}
|
|
4447
|
+
};
|
|
4448
|
+
const documentTeamLinkSlice = toolkit.createSlice({
|
|
4449
|
+
name: "documentTeamLink",
|
|
4450
|
+
initialState: initialState$3,
|
|
4451
|
+
extraReducers: (builder) => builder.addCase("RESET", (state) => {
|
|
4452
|
+
Object.assign(state, initialState$3);
|
|
4453
|
+
}),
|
|
4454
|
+
reducers: {
|
|
4455
|
+
setDocumentTeamLink: (state, action) => {
|
|
4456
|
+
state.documentTeamLinks[action.payload.offline_id] = action.payload;
|
|
4457
|
+
},
|
|
4458
|
+
setDocumentTeamLinks: (state, action) => {
|
|
4459
|
+
for (const documentTeamLink of action.payload) {
|
|
4460
|
+
state.documentTeamLinks[documentTeamLink.offline_id] = documentTeamLink;
|
|
4461
|
+
}
|
|
4462
|
+
},
|
|
4463
|
+
addDocumentTeamLink: (state, action) => {
|
|
4464
|
+
if (action.payload.offline_id in state.documentTeamLinks) {
|
|
4465
|
+
throw new Error(`DocumentTeamLink with offline_id ${action.payload.offline_id} already exists`);
|
|
4466
|
+
}
|
|
4467
|
+
state.documentTeamLinks[action.payload.offline_id] = action.payload;
|
|
4468
|
+
},
|
|
4469
|
+
deleteDocumentTeamLink: (state, action) => {
|
|
4470
|
+
if (!(action.payload in state.documentTeamLinks)) {
|
|
4471
|
+
throw new Error(`DocumentTeamLink with offline_id ${action.payload} does not exist`);
|
|
4472
|
+
}
|
|
4473
|
+
delete state.documentTeamLinks[action.payload];
|
|
4474
|
+
},
|
|
4475
|
+
deleteDocumentTeamLinks: (state, action) => {
|
|
4476
|
+
for (const offlineId of action.payload) {
|
|
4477
|
+
if (!(offlineId in state.documentTeamLinks)) {
|
|
4478
|
+
throw new Error(`DocumentTeamLink with offline_id ${offlineId} does not exist`);
|
|
4479
|
+
}
|
|
4480
|
+
}
|
|
4481
|
+
for (const offlineId of action.payload) {
|
|
4482
|
+
delete state.documentTeamLinks[offlineId];
|
|
4483
|
+
}
|
|
4484
|
+
}
|
|
4485
|
+
}
|
|
4486
|
+
});
|
|
4487
|
+
const {
|
|
4488
|
+
setDocumentTeamLink,
|
|
4489
|
+
setDocumentTeamLinks,
|
|
4490
|
+
addDocumentTeamLink,
|
|
4491
|
+
deleteDocumentTeamLink,
|
|
4492
|
+
deleteDocumentTeamLinks
|
|
4493
|
+
} = documentTeamLinkSlice.actions;
|
|
4494
|
+
const selectDocumentTeamLinksMapping = (state) => state.documentTeamLinkReducer.documentTeamLinks;
|
|
4495
|
+
const selectDocumentTeamLinks = (state) => Object.values(state.documentTeamLinkReducer.documentTeamLinks);
|
|
4496
|
+
const selectDocumentTeamLinksOfDocument = restructureCreateSelectorWithArgs(
|
|
4497
|
+
toolkit.createSelector(
|
|
4498
|
+
[selectDocumentTeamLinks, (_, documentId) => documentId],
|
|
4499
|
+
(documentTeamLinks, documentId) => {
|
|
4500
|
+
return documentTeamLinks.filter((documentTeamLink) => documentTeamLink.document === documentId);
|
|
4501
|
+
}
|
|
4502
|
+
)
|
|
4503
|
+
);
|
|
4504
|
+
const selectDocumentTeamLinksOfTeam = restructureCreateSelectorWithArgs(
|
|
4505
|
+
toolkit.createSelector([selectDocumentTeamLinks, (_, teamId) => teamId], (documentTeamLinks, teamId) => {
|
|
4506
|
+
return documentTeamLinks.filter((documentTeamLink) => documentTeamLink.team === teamId);
|
|
4507
|
+
})
|
|
4508
|
+
);
|
|
4509
|
+
const selectDocumentsLinkedToTeam = restructureCreateSelectorWithArgs(
|
|
4510
|
+
toolkit.createSelector(
|
|
4511
|
+
[
|
|
4512
|
+
selectDocumentTeamLinks,
|
|
4513
|
+
(state) => state.documentsReducer.documents,
|
|
4514
|
+
(_, teamId) => teamId
|
|
4515
|
+
],
|
|
4516
|
+
(documentTeamLinks, documents, teamId) => {
|
|
4517
|
+
return documentTeamLinks.filter((documentTeamLink) => documentTeamLink.team === teamId).map((documentTeamLink) => documents[documentTeamLink.document]).filter((document2) => !!document2);
|
|
4518
|
+
}
|
|
4519
|
+
)
|
|
4520
|
+
);
|
|
4521
|
+
const selectTeamsLinkedToDocument = restructureCreateSelectorWithArgs(
|
|
4522
|
+
toolkit.createSelector(
|
|
4523
|
+
[selectDocumentTeamLinks, (state) => state.teamReducer.teams, (_, documentId) => documentId],
|
|
4524
|
+
(documentTeamLinks, teams, documentId) => {
|
|
4525
|
+
return documentTeamLinks.filter((documentTeamLink) => documentTeamLink.document === documentId).map((documentTeamLink) => teams[documentTeamLink.team]).filter((team) => !!team);
|
|
4526
|
+
}
|
|
4527
|
+
)
|
|
4528
|
+
);
|
|
4529
|
+
const documentTeamLinkReducer = documentTeamLinkSlice.reducer;
|
|
4530
|
+
const initialState$2 = {
|
|
4531
|
+
issueTypeTeamLinks: {}
|
|
4532
|
+
};
|
|
4533
|
+
const issueTypeTeamLinkSlice = toolkit.createSlice({
|
|
4534
|
+
name: "issueTypeTeamLink",
|
|
4535
|
+
initialState: initialState$2,
|
|
4536
|
+
extraReducers: (builder) => builder.addCase("RESET", (state) => {
|
|
4537
|
+
Object.assign(state, initialState$2);
|
|
4538
|
+
}),
|
|
4539
|
+
reducers: {
|
|
4540
|
+
setIssueTypeTeamLink: (state, action) => {
|
|
4541
|
+
state.issueTypeTeamLinks[action.payload.offline_id] = action.payload;
|
|
4542
|
+
},
|
|
4543
|
+
setIssueTypeTeamLinks: (state, action) => {
|
|
4544
|
+
state.issueTypeTeamLinks = {};
|
|
4545
|
+
for (const issueTypeTeamLink of action.payload) {
|
|
4546
|
+
state.issueTypeTeamLinks[issueTypeTeamLink.offline_id] = issueTypeTeamLink;
|
|
4547
|
+
}
|
|
4548
|
+
},
|
|
4549
|
+
addIssueTypeTeamLink: (state, action) => {
|
|
4550
|
+
if (action.payload.offline_id in state.issueTypeTeamLinks) {
|
|
4551
|
+
throw new Error(`IssueTypeTeamLink with offline_id ${action.payload.offline_id} already exists`);
|
|
4552
|
+
}
|
|
4553
|
+
state.issueTypeTeamLinks[action.payload.offline_id] = action.payload;
|
|
4554
|
+
},
|
|
4555
|
+
deleteIssueTypeTeamLink: (state, action) => {
|
|
4556
|
+
if (!(action.payload in state.issueTypeTeamLinks)) {
|
|
4557
|
+
throw new Error(`IssueTypeTeamLink with offline_id ${action.payload} does not exist`);
|
|
4558
|
+
}
|
|
4559
|
+
delete state.issueTypeTeamLinks[action.payload];
|
|
4560
|
+
},
|
|
4561
|
+
deleteIssueTypeTeamLinks: (state, action) => {
|
|
4562
|
+
for (const offlineId of action.payload) {
|
|
4563
|
+
if (!(offlineId in state.issueTypeTeamLinks)) {
|
|
4564
|
+
throw new Error(`IssueTypeTeamLink with offline_id ${offlineId} does not exist`);
|
|
4565
|
+
}
|
|
4566
|
+
}
|
|
4567
|
+
for (const offlineId of action.payload) {
|
|
4568
|
+
delete state.issueTypeTeamLinks[offlineId];
|
|
4569
|
+
}
|
|
4570
|
+
}
|
|
4571
|
+
}
|
|
4572
|
+
});
|
|
4573
|
+
const {
|
|
4574
|
+
setIssueTypeTeamLink,
|
|
4575
|
+
setIssueTypeTeamLinks,
|
|
4576
|
+
addIssueTypeTeamLink,
|
|
4577
|
+
deleteIssueTypeTeamLink,
|
|
4578
|
+
deleteIssueTypeTeamLinks
|
|
4579
|
+
} = issueTypeTeamLinkSlice.actions;
|
|
4580
|
+
const selectIssueTypeTeamLinkMapping = (state) => state.issueTypeTeamLinkReducer.issueTypeTeamLinks;
|
|
4581
|
+
const selectIssueTypeTeamLinks = (state) => Object.values(state.issueTypeTeamLinkReducer.issueTypeTeamLinks);
|
|
4582
|
+
const selectIssueTypeTeamLinksOfIssueType = restructureCreateSelectorWithArgs(
|
|
4583
|
+
toolkit.createSelector(
|
|
4584
|
+
[selectIssueTypeTeamLinks, (_, issueTypeId) => issueTypeId],
|
|
4585
|
+
(issueTypeTeamLinks, issueTypeId) => {
|
|
4586
|
+
return issueTypeTeamLinks.filter((issueTypeTeamLink) => issueTypeTeamLink.issue_type === issueTypeId);
|
|
4587
|
+
}
|
|
4588
|
+
)
|
|
4589
|
+
);
|
|
4590
|
+
const selectIssueTypeTeamLinksOfTeam = restructureCreateSelectorWithArgs(
|
|
4591
|
+
toolkit.createSelector([selectIssueTypeTeamLinks, (_, teamId) => teamId], (issueTypeTeamLinks, teamId) => {
|
|
4592
|
+
return issueTypeTeamLinks.filter((issueTypeTeamLink) => issueTypeTeamLink.team === teamId);
|
|
4593
|
+
})
|
|
4594
|
+
);
|
|
4595
|
+
const selectIssueTypesLinkedToTeam = restructureCreateSelectorWithArgs(
|
|
4596
|
+
toolkit.createSelector(
|
|
4597
|
+
[
|
|
4598
|
+
selectIssueTypeTeamLinks,
|
|
4599
|
+
(state) => state.issueTypeReducer.issueTypes,
|
|
4600
|
+
(_, teamId) => teamId
|
|
4601
|
+
],
|
|
4602
|
+
(issueTypeTeamLinks, issueTypes, teamId) => {
|
|
4603
|
+
return issueTypeTeamLinks.filter((issueTypeTeamLink) => issueTypeTeamLink.team === teamId).map((issueTypeTeamLink) => issueTypes[issueTypeTeamLink.issue_type]).filter((issueType) => !!issueType);
|
|
4604
|
+
}
|
|
4605
|
+
)
|
|
4606
|
+
);
|
|
4607
|
+
const selectTeamsLinkedToIssueType = restructureCreateSelectorWithArgs(
|
|
4608
|
+
toolkit.createSelector(
|
|
4609
|
+
[
|
|
4610
|
+
selectIssueTypeTeamLinks,
|
|
4611
|
+
(state) => state.teamReducer.teams,
|
|
4612
|
+
(_, issueTypeId) => issueTypeId
|
|
4613
|
+
],
|
|
4614
|
+
(issueTypeTeamLinks, teams, issueTypeId) => {
|
|
4615
|
+
return issueTypeTeamLinks.filter((issueTypeTeamLink) => issueTypeTeamLink.issue_type === issueTypeId).map((issueTypeTeamLink) => teams[issueTypeTeamLink.team]).filter((team) => !!team);
|
|
4616
|
+
}
|
|
4617
|
+
)
|
|
4618
|
+
);
|
|
4619
|
+
const issueTypeTeamLinkReducer = issueTypeTeamLinkSlice.reducer;
|
|
4620
|
+
const initialState$1 = {
|
|
4621
|
+
userFormTeamLinks: {}
|
|
4622
|
+
};
|
|
4623
|
+
const userFormTeamLinkSlice = toolkit.createSlice({
|
|
4624
|
+
name: "userFormTeamLink",
|
|
4625
|
+
initialState: initialState$1,
|
|
4626
|
+
extraReducers: (builder) => builder.addCase("RESET", (state) => {
|
|
4627
|
+
Object.assign(state, initialState$1);
|
|
4628
|
+
}),
|
|
4629
|
+
reducers: {
|
|
4630
|
+
setUserFormTeamLink: (state, action) => {
|
|
4631
|
+
state.userFormTeamLinks[action.payload.offline_id] = action.payload;
|
|
4632
|
+
},
|
|
4633
|
+
setUserFormTeamLinks: (state, action) => {
|
|
4634
|
+
state.userFormTeamLinks = {};
|
|
4635
|
+
for (const userFormTeamLink of action.payload) {
|
|
4636
|
+
state.userFormTeamLinks[userFormTeamLink.offline_id] = userFormTeamLink;
|
|
4637
|
+
}
|
|
4638
|
+
},
|
|
4639
|
+
addUserFormTeamLink: (state, action) => {
|
|
4640
|
+
if (action.payload.offline_id in state.userFormTeamLinks) {
|
|
4641
|
+
throw new Error(`UserFormTeamLink with offline_id ${action.payload.offline_id} already exists`);
|
|
4642
|
+
}
|
|
4643
|
+
state.userFormTeamLinks[action.payload.offline_id] = action.payload;
|
|
4644
|
+
},
|
|
4645
|
+
deleteUserFormTeamLink: (state, action) => {
|
|
4646
|
+
if (!(action.payload in state.userFormTeamLinks)) {
|
|
4647
|
+
throw new Error(`UserFormTeamLink with offline_id ${action.payload} does not exist`);
|
|
4648
|
+
}
|
|
4649
|
+
delete state.userFormTeamLinks[action.payload];
|
|
4650
|
+
},
|
|
4651
|
+
deleteUserFormTeamLinks: (state, action) => {
|
|
4652
|
+
for (const offlineId of action.payload) {
|
|
4653
|
+
if (!(offlineId in state.userFormTeamLinks)) {
|
|
4654
|
+
throw new Error(`UserFormTeamLink with offline_id ${offlineId} does not exist`);
|
|
4655
|
+
}
|
|
4656
|
+
}
|
|
4657
|
+
for (const offlineId of action.payload) {
|
|
4658
|
+
delete state.userFormTeamLinks[offlineId];
|
|
4659
|
+
}
|
|
4660
|
+
}
|
|
4661
|
+
}
|
|
4662
|
+
});
|
|
4663
|
+
const {
|
|
4664
|
+
setUserFormTeamLink,
|
|
4665
|
+
setUserFormTeamLinks,
|
|
4666
|
+
addUserFormTeamLink,
|
|
4667
|
+
deleteUserFormTeamLink,
|
|
4668
|
+
deleteUserFormTeamLinks
|
|
4669
|
+
} = userFormTeamLinkSlice.actions;
|
|
4670
|
+
const selectUserFormTeamLinkMapping = (state) => state.userFormTeamLinkReducer.userFormTeamLinks;
|
|
4671
|
+
const selectUserFormTeamLinks = (state) => Object.values(state.userFormTeamLinkReducer.userFormTeamLinks);
|
|
4672
|
+
const selectUserFormLinksOfTeam = restructureCreateSelectorWithArgs(
|
|
4673
|
+
toolkit.createSelector([selectUserFormTeamLinks, (_, teamId) => teamId], (userFormTeamLinks, teamId) => {
|
|
4674
|
+
return userFormTeamLinks.filter((userFormTeamLink) => userFormTeamLink.team === teamId);
|
|
4675
|
+
})
|
|
4676
|
+
);
|
|
4677
|
+
const selectUserFormLinksOfForm = restructureCreateSelectorWithArgs(
|
|
4678
|
+
toolkit.createSelector([selectUserFormTeamLinks, (_, formId2) => formId2], (userFormTeamLinks, formId2) => {
|
|
4679
|
+
return userFormTeamLinks.filter((userFormTeamLink) => userFormTeamLink.form === formId2);
|
|
4680
|
+
})
|
|
4681
|
+
);
|
|
4682
|
+
const selectUserFormsLinkedToTeam = restructureCreateSelectorWithArgs(
|
|
4683
|
+
toolkit.createSelector(
|
|
4684
|
+
[selectUserFormTeamLinks, (state) => state.formReducer.forms, (_, teamId) => teamId],
|
|
4685
|
+
(userFormTeamLinks, userForms, teamId) => {
|
|
4686
|
+
return userFormTeamLinks.filter((userFormTeamLink) => userFormTeamLink.team === teamId).map((userFormTeamLink) => userForms[userFormTeamLink.form]).filter((form) => !!form);
|
|
4687
|
+
}
|
|
4688
|
+
)
|
|
4689
|
+
);
|
|
4690
|
+
const selectTeamsLinkedToUserForm = restructureCreateSelectorWithArgs(
|
|
4691
|
+
toolkit.createSelector(
|
|
4692
|
+
[selectUserFormTeamLinks, (state) => state.teamReducer.teams, (_, formId2) => formId2],
|
|
4693
|
+
(userFormTeamLinks, teams, formId2) => {
|
|
4694
|
+
return userFormTeamLinks.filter((userFormTeamLink) => userFormTeamLink.form === formId2).map((userFormTeamLink) => teams[userFormTeamLink.team]).filter((team) => !!team);
|
|
4695
|
+
}
|
|
4696
|
+
)
|
|
4697
|
+
);
|
|
4698
|
+
const userFormTeamLinkReducer = userFormTeamLinkSlice.reducer;
|
|
4445
4699
|
const initialState = {
|
|
4446
4700
|
version: 0
|
|
4447
4701
|
};
|
|
@@ -4492,7 +4746,10 @@ var __publicField = (obj, key, value) => {
|
|
|
4492
4746
|
emailDomainsReducer,
|
|
4493
4747
|
licenseReducer,
|
|
4494
4748
|
documentsReducer,
|
|
4495
|
-
teamReducer
|
|
4749
|
+
teamReducer,
|
|
4750
|
+
documentTeamLinkReducer,
|
|
4751
|
+
issueTypeTeamLinkReducer,
|
|
4752
|
+
userFormTeamLinkReducer
|
|
4496
4753
|
};
|
|
4497
4754
|
const overmapReducer = toolkit.combineReducers(overmapReducers);
|
|
4498
4755
|
const resetStore = "RESET";
|
|
@@ -6699,17 +6956,20 @@ var __publicField = (obj, key, value) => {
|
|
|
6699
6956
|
throw new Error(`IssueType with offline_id ${issueTypeId} does not exist in the store.`);
|
|
6700
6957
|
}
|
|
6701
6958
|
const issuesOfIssueType = selectIssuesOfIssueType(issueTypeId)(store.getState()) ?? [];
|
|
6959
|
+
const issueTypeTeamLinks = selectIssueTypeTeamLinksOfIssueType(issueTypeId)(store.getState()) ?? [];
|
|
6702
6960
|
store.dispatch(removeIssueType(issueTypeId));
|
|
6703
6961
|
store.dispatch(removeIssues(issuesOfIssueType.map((issue) => issue.offline_id)));
|
|
6962
|
+
store.dispatch(deleteIssueTypeTeamLinks(issueTypeTeamLinks.map((link) => link.offline_id)));
|
|
6704
6963
|
const promise = this.enqueueRequest({
|
|
6705
6964
|
method: HttpMethod.DELETE,
|
|
6706
6965
|
url: `/issues/types/${issueTypeId}/`,
|
|
6707
6966
|
blockers: [issueTypeId],
|
|
6708
|
-
blocks: []
|
|
6967
|
+
blocks: [issueTypeId]
|
|
6709
6968
|
});
|
|
6710
6969
|
promise.catch(() => {
|
|
6711
6970
|
store.dispatch(setIssueType(issueTypeToDelete));
|
|
6712
6971
|
store.dispatch(addIssues(issuesOfIssueType));
|
|
6972
|
+
store.dispatch(setIssueTypeTeamLinks(issueTypeTeamLinks));
|
|
6713
6973
|
});
|
|
6714
6974
|
return promise;
|
|
6715
6975
|
}
|
|
@@ -7284,7 +7544,7 @@ var __publicField = (obj, key, value) => {
|
|
|
7284
7544
|
const currentUser = state.userReducer.currentUser;
|
|
7285
7545
|
const activeWorkspaceId = state.workspaceReducer.activeWorkspaceId;
|
|
7286
7546
|
const submittedAt = (/* @__PURE__ */ new Date()).toISOString();
|
|
7287
|
-
const offlineFormPayload = offline({
|
|
7547
|
+
const offlineFormPayload = offline({});
|
|
7288
7548
|
const offlineRevisionPayload = offline({ ...initialRevision, submitted_at: submittedAt });
|
|
7289
7549
|
const retForm = {
|
|
7290
7550
|
...offlineFormPayload,
|
|
@@ -7448,6 +7708,8 @@ var __publicField = (obj, key, value) => {
|
|
|
7448
7708
|
if (userFormRevisions && userFormRevisions.length > 0) {
|
|
7449
7709
|
store.dispatch(deleteFormRevisions(userFormRevisions.map(({ offline_id }) => offline_id)));
|
|
7450
7710
|
}
|
|
7711
|
+
const userFormTeamLinks = selectUserFormLinksOfForm(formId2)(state) ?? [];
|
|
7712
|
+
store.dispatch(deleteUserFormTeamLinks(userFormTeamLinks.map((link) => link.offline_id)));
|
|
7451
7713
|
store.dispatch(deleteForm(formId2));
|
|
7452
7714
|
try {
|
|
7453
7715
|
return await this.enqueueRequest({
|
|
@@ -7465,6 +7727,7 @@ var __publicField = (obj, key, value) => {
|
|
|
7465
7727
|
if (userFormSubmissions && userFormSubmissions.length > 0) {
|
|
7466
7728
|
store.dispatch(addFormSubmissions(userFormSubmissions));
|
|
7467
7729
|
}
|
|
7730
|
+
store.dispatch(setUserFormTeamLinks(userFormTeamLinks));
|
|
7468
7731
|
throw e;
|
|
7469
7732
|
}
|
|
7470
7733
|
}
|
|
@@ -8409,7 +8672,8 @@ var __publicField = (obj, key, value) => {
|
|
|
8409
8672
|
}
|
|
8410
8673
|
delete(documentId) {
|
|
8411
8674
|
const { store } = this.client;
|
|
8412
|
-
const
|
|
8675
|
+
const state = store.getState();
|
|
8676
|
+
const documentsMapping = selectDocumentsMapping(state);
|
|
8413
8677
|
const documentToBeDeleted = documentsMapping[documentId];
|
|
8414
8678
|
if (!documentToBeDeleted) {
|
|
8415
8679
|
throw new Error(
|
|
@@ -8417,7 +8681,9 @@ var __publicField = (obj, key, value) => {
|
|
|
8417
8681
|
);
|
|
8418
8682
|
}
|
|
8419
8683
|
const parentDocument = documentToBeDeleted.parent_document ? documentsMapping[documentToBeDeleted.parent_document] : void 0;
|
|
8684
|
+
const documentTeamLinks = selectDocumentTeamLinksOfDocument(documentId)(state) ?? [];
|
|
8420
8685
|
store.dispatch(removeDocuments([documentId]));
|
|
8686
|
+
store.dispatch(deleteDocumentTeamLinks(documentTeamLinks.map((link) => link.offline_id)));
|
|
8421
8687
|
const promise = this.enqueueRequest({
|
|
8422
8688
|
description: "Delete Document",
|
|
8423
8689
|
method: HttpMethod.DELETE,
|
|
@@ -8432,6 +8698,7 @@ var __publicField = (obj, key, value) => {
|
|
|
8432
8698
|
if (parentDocument) {
|
|
8433
8699
|
store.dispatch(updateDocuments([parentDocument]));
|
|
8434
8700
|
}
|
|
8701
|
+
store.dispatch(setDocumentTeamLinks(documentTeamLinks));
|
|
8435
8702
|
});
|
|
8436
8703
|
return promise;
|
|
8437
8704
|
}
|
|
@@ -8553,7 +8820,13 @@ var __publicField = (obj, key, value) => {
|
|
|
8553
8820
|
if (!team) {
|
|
8554
8821
|
throw new Error(`Expected team with id ${teamId} to exist`);
|
|
8555
8822
|
}
|
|
8823
|
+
const documentTeamLinks = selectDocumentTeamLinksOfTeam(team.offline_id)(state) ?? [];
|
|
8824
|
+
const issueTypeTeamLinks = selectIssueTypeTeamLinksOfTeam(team.offline_id)(state) ?? [];
|
|
8825
|
+
const userFormTeamLinks = selectUserFormLinksOfTeam(team.offline_id)(state) ?? [];
|
|
8556
8826
|
store.dispatch(deleteTeam(teamId));
|
|
8827
|
+
store.dispatch(deleteDocumentTeamLinks(documentTeamLinks.map((link) => link.offline_id)));
|
|
8828
|
+
store.dispatch(deleteIssueTypeTeamLinks(issueTypeTeamLinks.map((link) => link.offline_id)));
|
|
8829
|
+
store.dispatch(deleteUserFormTeamLinks(userFormTeamLinks.map((link) => link.offline_id)));
|
|
8557
8830
|
try {
|
|
8558
8831
|
return await this.enqueueRequest({
|
|
8559
8832
|
description: "Delete team",
|
|
@@ -8564,6 +8837,9 @@ var __publicField = (obj, key, value) => {
|
|
|
8564
8837
|
});
|
|
8565
8838
|
} catch (e) {
|
|
8566
8839
|
store.dispatch(setTeam(team));
|
|
8840
|
+
store.dispatch(setDocumentTeamLinks(documentTeamLinks));
|
|
8841
|
+
store.dispatch(setIssueTypeTeamLinks(issueTypeTeamLinks));
|
|
8842
|
+
store.dispatch(setUserFormTeamLinks(userFormTeamLinks));
|
|
8567
8843
|
throw e;
|
|
8568
8844
|
}
|
|
8569
8845
|
}
|
|
@@ -8626,6 +8902,61 @@ var __publicField = (obj, key, value) => {
|
|
|
8626
8902
|
store.dispatch(setTeams(result));
|
|
8627
8903
|
}
|
|
8628
8904
|
}
|
|
8905
|
+
class DocumentTeamLinkService extends BaseApiService {
|
|
8906
|
+
add(payload) {
|
|
8907
|
+
const { store } = this.client;
|
|
8908
|
+
const offlineDocumentTeamLink = offline({
|
|
8909
|
+
...payload,
|
|
8910
|
+
submitted_at: (/* @__PURE__ */ new Date()).toISOString()
|
|
8911
|
+
});
|
|
8912
|
+
store.dispatch(addDocumentTeamLink(offlineDocumentTeamLink));
|
|
8913
|
+
const promise = this.enqueueRequest({
|
|
8914
|
+
method: HttpMethod.POST,
|
|
8915
|
+
url: `/organizations/teams/${payload.team}/link-document/`,
|
|
8916
|
+
payload: offlineDocumentTeamLink,
|
|
8917
|
+
blockers: [payload.team, payload.document],
|
|
8918
|
+
blocks: [offlineDocumentTeamLink.offline_id]
|
|
8919
|
+
});
|
|
8920
|
+
promise.then((createdDocumentLink) => {
|
|
8921
|
+
store.dispatch(setDocumentTeamLink(createdDocumentLink));
|
|
8922
|
+
}).catch(() => {
|
|
8923
|
+
store.dispatch(deleteDocumentTeamLink(offlineDocumentTeamLink.offline_id));
|
|
8924
|
+
});
|
|
8925
|
+
return [offlineDocumentTeamLink, promise];
|
|
8926
|
+
}
|
|
8927
|
+
delete(documentTeamLinkId) {
|
|
8928
|
+
const { store } = this.client;
|
|
8929
|
+
const documentTeamLink = store.getState().documentTeamLinkReducer.documentTeamLinks[documentTeamLinkId];
|
|
8930
|
+
if (!documentTeamLink) {
|
|
8931
|
+
throw new Error(`No document team link found for ${documentTeamLinkId}`);
|
|
8932
|
+
}
|
|
8933
|
+
store.dispatch(deleteDocumentTeamLink(documentTeamLinkId));
|
|
8934
|
+
const promise = this.enqueueRequest({
|
|
8935
|
+
method: HttpMethod.DELETE,
|
|
8936
|
+
url: `/organizations/teams/document-links/${documentTeamLinkId}/`,
|
|
8937
|
+
blockers: [documentTeamLinkId],
|
|
8938
|
+
blocks: [documentTeamLinkId]
|
|
8939
|
+
});
|
|
8940
|
+
promise.catch(() => {
|
|
8941
|
+
store.dispatch(setDocumentTeamLink(documentTeamLink));
|
|
8942
|
+
});
|
|
8943
|
+
return promise;
|
|
8944
|
+
}
|
|
8945
|
+
async refreshStore() {
|
|
8946
|
+
const { store } = this.client;
|
|
8947
|
+
const activeOrganizationId = store.getState().organizationReducer.activeOrganizationId;
|
|
8948
|
+
if (!activeOrganizationId) {
|
|
8949
|
+
throw new Error(`No active organization, got ${activeOrganizationId} for activeOrganizationId.`);
|
|
8950
|
+
}
|
|
8951
|
+
const result = await this.enqueueRequest({
|
|
8952
|
+
method: HttpMethod.GET,
|
|
8953
|
+
url: `/organizations/${activeOrganizationId}/teams/document-links/`,
|
|
8954
|
+
blockers: [],
|
|
8955
|
+
blocks: []
|
|
8956
|
+
});
|
|
8957
|
+
store.dispatch(setDocumentTeamLinks(result));
|
|
8958
|
+
}
|
|
8959
|
+
}
|
|
8629
8960
|
class OvermapSDK {
|
|
8630
8961
|
constructor(apiUrl, store) {
|
|
8631
8962
|
__publicField(this, "API_URL");
|
|
@@ -8657,6 +8988,7 @@ var __publicField = (obj, key, value) => {
|
|
|
8657
8988
|
__publicField(this, "licenses", new LicenseService(this));
|
|
8658
8989
|
__publicField(this, "documents", new DocumentService(this));
|
|
8659
8990
|
__publicField(this, "teams", new TeamService(this));
|
|
8991
|
+
__publicField(this, "documentTeamLinks", new DocumentTeamLinkService(this));
|
|
8660
8992
|
this.API_URL = apiUrl;
|
|
8661
8993
|
this.store = store;
|
|
8662
8994
|
}
|
|
@@ -16509,6 +16841,7 @@ var __publicField = (obj, key, value) => {
|
|
|
16509
16841
|
exports2.DateField = DateField;
|
|
16510
16842
|
exports2.DateInput = DateInput;
|
|
16511
16843
|
exports2.DocumentService = DocumentService;
|
|
16844
|
+
exports2.DocumentTeamLinkService = DocumentTeamLinkService;
|
|
16512
16845
|
exports2.EmailDomainsService = EmailDomainsService;
|
|
16513
16846
|
exports2.EmailVerificationService = EmailVerificationService;
|
|
16514
16847
|
exports2.FieldSection = FieldSection;
|
|
@@ -16602,6 +16935,7 @@ var __publicField = (obj, key, value) => {
|
|
|
16602
16935
|
exports2.addComponentsInBatches = addComponentsInBatches;
|
|
16603
16936
|
exports2.addDocumentAttachment = addDocumentAttachment;
|
|
16604
16937
|
exports2.addDocumentAttachments = addDocumentAttachments;
|
|
16938
|
+
exports2.addDocumentTeamLink = addDocumentTeamLink;
|
|
16605
16939
|
exports2.addDocuments = addDocuments;
|
|
16606
16940
|
exports2.addEmailDomain = addEmailDomain;
|
|
16607
16941
|
exports2.addFavouriteProjectId = addFavouriteProjectId;
|
|
@@ -16621,6 +16955,7 @@ var __publicField = (obj, key, value) => {
|
|
|
16621
16955
|
exports2.addIssueComment = addIssueComment;
|
|
16622
16956
|
exports2.addIssueComments = addIssueComments;
|
|
16623
16957
|
exports2.addIssueType = addIssueType;
|
|
16958
|
+
exports2.addIssueTypeTeamLink = addIssueTypeTeamLink;
|
|
16624
16959
|
exports2.addIssueUpdate = addIssueUpdate;
|
|
16625
16960
|
exports2.addIssueUpdates = addIssueUpdates;
|
|
16626
16961
|
exports2.addIssues = addIssues;
|
|
@@ -16638,6 +16973,7 @@ var __publicField = (obj, key, value) => {
|
|
|
16638
16973
|
exports2.addStages = addStages;
|
|
16639
16974
|
exports2.addTeam = addTeam;
|
|
16640
16975
|
exports2.addToRecentIssues = addToRecentIssues;
|
|
16976
|
+
exports2.addUserFormTeamLink = addUserFormTeamLink;
|
|
16641
16977
|
exports2.addUsers = addUsers;
|
|
16642
16978
|
exports2.addWorkspace = addWorkspace;
|
|
16643
16979
|
exports2.areArraysEqual = areArraysEqual;
|
|
@@ -16669,6 +17005,8 @@ var __publicField = (obj, key, value) => {
|
|
|
16669
17005
|
exports2.defaultBadgeColor = defaultBadgeColor;
|
|
16670
17006
|
exports2.defaultStore = defaultStore;
|
|
16671
17007
|
exports2.deleteComponentType = deleteComponentType;
|
|
17008
|
+
exports2.deleteDocumentTeamLink = deleteDocumentTeamLink;
|
|
17009
|
+
exports2.deleteDocumentTeamLinks = deleteDocumentTeamLinks;
|
|
16672
17010
|
exports2.deleteForm = deleteForm;
|
|
16673
17011
|
exports2.deleteFormRevision = deleteFormRevision;
|
|
16674
17012
|
exports2.deleteFormRevisionAttachment = deleteFormRevisionAttachment;
|
|
@@ -16678,13 +17016,19 @@ var __publicField = (obj, key, value) => {
|
|
|
16678
17016
|
exports2.deleteFormSubmissionAttachment = deleteFormSubmissionAttachment;
|
|
16679
17017
|
exports2.deleteFormSubmissionAttachments = deleteFormSubmissionAttachments;
|
|
16680
17018
|
exports2.deleteFormSubmissions = deleteFormSubmissions;
|
|
17019
|
+
exports2.deleteIssueTypeTeamLink = deleteIssueTypeTeamLink;
|
|
17020
|
+
exports2.deleteIssueTypeTeamLinks = deleteIssueTypeTeamLinks;
|
|
16681
17021
|
exports2.deleteProject = deleteProject;
|
|
16682
17022
|
exports2.deleteTeam = deleteTeam;
|
|
17023
|
+
exports2.deleteUserFormTeamLink = deleteUserFormTeamLink;
|
|
17024
|
+
exports2.deleteUserFormTeamLinks = deleteUserFormTeamLinks;
|
|
16683
17025
|
exports2.dequeue = dequeue;
|
|
16684
17026
|
exports2.deserialize = deserialize;
|
|
16685
17027
|
exports2.deserializeField = deserializeField;
|
|
16686
17028
|
exports2.discard = discard;
|
|
16687
17029
|
exports2.documentSlice = documentSlice;
|
|
17030
|
+
exports2.documentTeamLinkReducer = documentTeamLinkReducer;
|
|
17031
|
+
exports2.documentTeamLinkSlice = documentTeamLinkSlice;
|
|
16688
17032
|
exports2.documentsReducer = documentsReducer;
|
|
16689
17033
|
exports2.downloadFile = downloadFile;
|
|
16690
17034
|
exports2.downloadInMemoryFile = downloadInMemoryFile;
|
|
@@ -16737,6 +17081,8 @@ var __publicField = (obj, key, value) => {
|
|
|
16737
17081
|
exports2.issueToSearchResult = issueToSearchResult;
|
|
16738
17082
|
exports2.issueTypeReducer = issueTypeReducer;
|
|
16739
17083
|
exports2.issueTypeSlice = issueTypeSlice;
|
|
17084
|
+
exports2.issueTypeTeamLinkReducer = issueTypeTeamLinkReducer;
|
|
17085
|
+
exports2.issueTypeTeamLinkSlice = issueTypeTeamLinkSlice;
|
|
16740
17086
|
exports2.licenseReducer = licenseReducer;
|
|
16741
17087
|
exports2.licenseSlice = licenseSlice;
|
|
16742
17088
|
exports2.linkStageToForm = linkStageToForm;
|
|
@@ -16886,7 +17232,12 @@ var __publicField = (obj, key, value) => {
|
|
|
16886
17232
|
exports2.selectDocument = selectDocument;
|
|
16887
17233
|
exports2.selectDocumentAttachment = selectDocumentAttachment;
|
|
16888
17234
|
exports2.selectDocumentAttachmentMapping = selectDocumentAttachmentMapping;
|
|
17235
|
+
exports2.selectDocumentTeamLinks = selectDocumentTeamLinks;
|
|
17236
|
+
exports2.selectDocumentTeamLinksMapping = selectDocumentTeamLinksMapping;
|
|
17237
|
+
exports2.selectDocumentTeamLinksOfDocument = selectDocumentTeamLinksOfDocument;
|
|
17238
|
+
exports2.selectDocumentTeamLinksOfTeam = selectDocumentTeamLinksOfTeam;
|
|
16889
17239
|
exports2.selectDocuments = selectDocuments;
|
|
17240
|
+
exports2.selectDocumentsLinkedToTeam = selectDocumentsLinkedToTeam;
|
|
16890
17241
|
exports2.selectDocumentsMapping = selectDocumentsMapping;
|
|
16891
17242
|
exports2.selectEmailDomainsAsMapping = selectEmailDomainsAsMapping;
|
|
16892
17243
|
exports2.selectEnableClustering = selectEnableClustering;
|
|
@@ -16932,7 +17283,12 @@ var __publicField = (obj, key, value) => {
|
|
|
16932
17283
|
exports2.selectIssueMapping = selectIssueMapping;
|
|
16933
17284
|
exports2.selectIssueType = selectIssueType;
|
|
16934
17285
|
exports2.selectIssueTypeMapping = selectIssueTypeMapping;
|
|
17286
|
+
exports2.selectIssueTypeTeamLinkMapping = selectIssueTypeTeamLinkMapping;
|
|
17287
|
+
exports2.selectIssueTypeTeamLinks = selectIssueTypeTeamLinks;
|
|
17288
|
+
exports2.selectIssueTypeTeamLinksOfIssueType = selectIssueTypeTeamLinksOfIssueType;
|
|
17289
|
+
exports2.selectIssueTypeTeamLinksOfTeam = selectIssueTypeTeamLinksOfTeam;
|
|
16935
17290
|
exports2.selectIssueTypes = selectIssueTypes;
|
|
17291
|
+
exports2.selectIssueTypesLinkedToTeam = selectIssueTypesLinkedToTeam;
|
|
16936
17292
|
exports2.selectIssueTypesOfOrganization = selectIssueTypesOfOrganization;
|
|
16937
17293
|
exports2.selectIssueUpdateMapping = selectIssueUpdateMapping;
|
|
16938
17294
|
exports2.selectIssueUpdatesOfIssue = selectIssueUpdatesOfIssue;
|
|
@@ -16995,13 +17351,21 @@ var __publicField = (obj, key, value) => {
|
|
|
16995
17351
|
exports2.selectStagesFromStageIds = selectStagesFromStageIds;
|
|
16996
17352
|
exports2.selectTeam = selectTeam;
|
|
16997
17353
|
exports2.selectTeams = selectTeams;
|
|
17354
|
+
exports2.selectTeamsLinkedToDocument = selectTeamsLinkedToDocument;
|
|
17355
|
+
exports2.selectTeamsLinkedToIssueType = selectTeamsLinkedToIssueType;
|
|
17356
|
+
exports2.selectTeamsLinkedToUserForm = selectTeamsLinkedToUserForm;
|
|
16998
17357
|
exports2.selectTeamsMapping = selectTeamsMapping;
|
|
16999
17358
|
exports2.selectTeamsOfOrganization = selectTeamsOfOrganization;
|
|
17000
17359
|
exports2.selectTeamsOfUser = selectTeamsOfUser;
|
|
17001
17360
|
exports2.selectUploadUrl = selectUploadUrl;
|
|
17002
17361
|
exports2.selectUsedColors = selectUsedColors;
|
|
17003
17362
|
exports2.selectUser = selectUser;
|
|
17363
|
+
exports2.selectUserFormLinksOfForm = selectUserFormLinksOfForm;
|
|
17364
|
+
exports2.selectUserFormLinksOfTeam = selectUserFormLinksOfTeam;
|
|
17004
17365
|
exports2.selectUserFormRevisionAttachmentsMapping = selectUserFormRevisionAttachmentsMapping;
|
|
17366
|
+
exports2.selectUserFormTeamLinkMapping = selectUserFormTeamLinkMapping;
|
|
17367
|
+
exports2.selectUserFormTeamLinks = selectUserFormTeamLinks;
|
|
17368
|
+
exports2.selectUserFormsLinkedToTeam = selectUserFormsLinkedToTeam;
|
|
17005
17369
|
exports2.selectUsersAsMapping = selectUsersAsMapping;
|
|
17006
17370
|
exports2.selectVisibleStatuses = selectVisibleStatuses;
|
|
17007
17371
|
exports2.selectVisibleUserIds = selectVisibleUserIds;
|
|
@@ -17023,6 +17387,8 @@ var __publicField = (obj, key, value) => {
|
|
|
17023
17387
|
exports2.setCreateProjectType = setCreateProjectType;
|
|
17024
17388
|
exports2.setCurrentUser = setCurrentUser;
|
|
17025
17389
|
exports2.setDocumentAttachments = setDocumentAttachments;
|
|
17390
|
+
exports2.setDocumentTeamLink = setDocumentTeamLink;
|
|
17391
|
+
exports2.setDocumentTeamLinks = setDocumentTeamLinks;
|
|
17026
17392
|
exports2.setDocuments = setDocuments;
|
|
17027
17393
|
exports2.setEmailDomains = setEmailDomains;
|
|
17028
17394
|
exports2.setEnableClustering = setEnableClustering;
|
|
@@ -17042,6 +17408,8 @@ var __publicField = (obj, key, value) => {
|
|
|
17042
17408
|
exports2.setIssueComment = setIssueComment;
|
|
17043
17409
|
exports2.setIssueComments = setIssueComments;
|
|
17044
17410
|
exports2.setIssueType = setIssueType;
|
|
17411
|
+
exports2.setIssueTypeTeamLink = setIssueTypeTeamLink;
|
|
17412
|
+
exports2.setIssueTypeTeamLinks = setIssueTypeTeamLinks;
|
|
17045
17413
|
exports2.setIssueTypes = setIssueTypes;
|
|
17046
17414
|
exports2.setIssueUpdates = setIssueUpdates;
|
|
17047
17415
|
exports2.setIssues = setIssues;
|
|
@@ -17063,6 +17431,8 @@ var __publicField = (obj, key, value) => {
|
|
|
17063
17431
|
exports2.setTokens = setTokens;
|
|
17064
17432
|
exports2.setTourStep = setTourStep;
|
|
17065
17433
|
exports2.setUploadUrl = setUploadUrl;
|
|
17434
|
+
exports2.setUserFormTeamLink = setUserFormTeamLink;
|
|
17435
|
+
exports2.setUserFormTeamLinks = setUserFormTeamLinks;
|
|
17066
17436
|
exports2.setUsers = setUsers;
|
|
17067
17437
|
exports2.setVisibleStatuses = setVisibleStatuses;
|
|
17068
17438
|
exports2.setVisibleUserIds = setVisibleUserIds;
|
|
@@ -17111,6 +17481,8 @@ var __publicField = (obj, key, value) => {
|
|
|
17111
17481
|
exports2.useFormikInput = useFormikInput;
|
|
17112
17482
|
exports2.useMemoCompare = useMemoCompare;
|
|
17113
17483
|
exports2.useSDK = useSDK;
|
|
17484
|
+
exports2.userFormTeamLinkReducer = userFormTeamLinkReducer;
|
|
17485
|
+
exports2.userFormTeamLinkSlice = userFormTeamLinkSlice;
|
|
17114
17486
|
exports2.userReducer = userReducer;
|
|
17115
17487
|
exports2.userSlice = userSlice;
|
|
17116
17488
|
exports2.valueIsFile = valueIsFile;
|