@overmap-ai/core 1.0.78-attachment-model-improvements.5 → 1.0.78-attachment-model-improvements.7
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 +344 -346
- package/dist/overmap-core.umd.cjs +5 -5
- package/package.json +1 -1
package/dist/overmap-core.js
CHANGED
|
@@ -2,7 +2,7 @@ var pr = Object.defineProperty;
|
|
|
2
2
|
var mr = (t, s, e) => s in t ? pr(t, s, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[s] = e;
|
|
3
3
|
var h = (t, s, e) => mr(t, typeof s != "symbol" ? s + "" : s, e);
|
|
4
4
|
import "@redux-offline/redux-offline/lib/types";
|
|
5
|
-
import { createAction as gt, createSelector as p, createSlice as I, isAnyOf as
|
|
5
|
+
import { createAction as gt, createSelector as p, createSlice as I, isAnyOf as F, combineReducers as pn, compose as yr } from "@reduxjs/toolkit";
|
|
6
6
|
import tt from "superagent";
|
|
7
7
|
import { v4 as Xe } from "uuid";
|
|
8
8
|
import { useMemo as fr } from "react";
|
|
@@ -112,7 +112,7 @@ function og() {
|
|
|
112
112
|
})
|
|
113
113
|
};
|
|
114
114
|
}
|
|
115
|
-
const pt = "versioning", O = gt("RESET"), D = gt("RESET_PROJECT_STATE"),
|
|
115
|
+
const pt = "versioning", O = gt("RESET"), D = gt("RESET_PROJECT_STATE"), _ = gt("RESET_ORGANIZATION_STATE");
|
|
116
116
|
function ug(t, s) {
|
|
117
117
|
return fr(t, s);
|
|
118
118
|
}
|
|
@@ -152,8 +152,8 @@ class Yt {
|
|
|
152
152
|
}
|
|
153
153
|
}
|
|
154
154
|
let It = !1;
|
|
155
|
-
const
|
|
156
|
-
["true", "1"].includes(
|
|
155
|
+
const vr = "";
|
|
156
|
+
["true", "1"].includes(vr.toLowerCase()) && (It = !0);
|
|
157
157
|
function lg(t, s) {
|
|
158
158
|
if (t === s) return !0;
|
|
159
159
|
if (typeof t != typeof s)
|
|
@@ -180,13 +180,13 @@ function hg(t, s) {
|
|
|
180
180
|
if (t[e] !== s[e]) return !1;
|
|
181
181
|
return !0;
|
|
182
182
|
}
|
|
183
|
-
const A = (t) => t.length === 0 ? Pr : t, bt = (t) => Object.keys(t).length === 0 ? _r : t,
|
|
183
|
+
const A = (t) => t.length === 0 ? Pr : t, bt = (t) => Object.keys(t).length === 0 ? _r : t, zr = fn((t) => {
|
|
184
184
|
if (!t) return "";
|
|
185
185
|
const s = new Date(t), e = s.getFullYear() === Pt.getFullYear(), n = { day: "numeric", month: "short" };
|
|
186
186
|
return e || (n.year = "numeric"), s.toLocaleDateString([], n);
|
|
187
187
|
}), Br = new Intl.RelativeTimeFormat([], { style: "long", numeric: "auto" }), kr = 1e3 * 86400, Pt = /* @__PURE__ */ new Date(), pg = (t) => new Date(t).toDateString() === Pt.toDateString(), mg = fn((t, s, e) => {
|
|
188
188
|
const n = Math.round((new Date(t).getTime() - Pt.getTime()) / kr);
|
|
189
|
-
return n < s || n > e ?
|
|
189
|
+
return n < s || n > e ? zr(t) : Br.format(n, "days");
|
|
190
190
|
});
|
|
191
191
|
function qr(t) {
|
|
192
192
|
return new Uint8Array(t).reduce((e, n) => e + n.toString(16).padStart(2, "0"), "");
|
|
@@ -282,7 +282,7 @@ function gg(t, s) {
|
|
|
282
282
|
return e.slice(0, e.lastIndexOf(" ")) + "…";
|
|
283
283
|
}
|
|
284
284
|
const bg = /^.+@.+\..+$/;
|
|
285
|
-
function
|
|
285
|
+
function v(t) {
|
|
286
286
|
const s = { ...t };
|
|
287
287
|
for (const e of [...$r, "created_by"])
|
|
288
288
|
e in s && delete s[e];
|
|
@@ -376,7 +376,7 @@ const f = (
|
|
|
376
376
|
name: "agents",
|
|
377
377
|
initialState: Qt,
|
|
378
378
|
extraReducers: (t) => t.addMatcher(
|
|
379
|
-
|
|
379
|
+
F(O, D, _),
|
|
380
380
|
(s) => Object.assign(s, Qt)
|
|
381
381
|
),
|
|
382
382
|
reducers: {
|
|
@@ -399,8 +399,8 @@ const f = (
|
|
|
399
399
|
updateConversation: Wr,
|
|
400
400
|
updateConversations: Rg,
|
|
401
401
|
deleteConversation: Eg,
|
|
402
|
-
deleteConversations:
|
|
403
|
-
} = On.actions, In = (t) => t.agentsReducer.instances,
|
|
402
|
+
deleteConversations: vg
|
|
403
|
+
} = On.actions, In = (t) => t.agentsReducer.instances, zg = p(
|
|
404
404
|
[In],
|
|
405
405
|
(t) => Object.values(t)
|
|
406
406
|
), Bg = f(
|
|
@@ -414,7 +414,7 @@ const f = (
|
|
|
414
414
|
name: "assetAttachments",
|
|
415
415
|
initialState: es,
|
|
416
416
|
extraReducers: (t) => t.addMatcher(
|
|
417
|
-
|
|
417
|
+
F(O, D, _),
|
|
418
418
|
(s) => Object.assign(s, es)
|
|
419
419
|
),
|
|
420
420
|
reducers: {
|
|
@@ -454,7 +454,7 @@ const f = (
|
|
|
454
454
|
name: "assetProcedureTypeAttachments",
|
|
455
455
|
initialState: ts,
|
|
456
456
|
extraReducers: (t) => t.addMatcher(
|
|
457
|
-
|
|
457
|
+
F(O, _),
|
|
458
458
|
(s) => Object.assign(s, ts)
|
|
459
459
|
),
|
|
460
460
|
reducers: {
|
|
@@ -497,7 +497,7 @@ const f = (
|
|
|
497
497
|
name: "assetProcedureTypeFieldsAttachments",
|
|
498
498
|
initialState: ss,
|
|
499
499
|
extraReducers: (t) => t.addMatcher(
|
|
500
|
-
|
|
500
|
+
F(O, _),
|
|
501
501
|
(s) => Object.assign(s, ss)
|
|
502
502
|
),
|
|
503
503
|
reducers: {
|
|
@@ -529,7 +529,7 @@ const f = (
|
|
|
529
529
|
[Rn, (t, s) => s],
|
|
530
530
|
(t, s) => A(t.filter((e) => e.fields_revision === s))
|
|
531
531
|
)
|
|
532
|
-
),
|
|
532
|
+
), vc = (t) => (s) => s.assetProcedureTypeFieldsAttachmentReducer.instances[t], zc = f(
|
|
533
533
|
p(
|
|
534
534
|
[Rn, (t, s) => s],
|
|
535
535
|
(t, s) => {
|
|
@@ -543,7 +543,7 @@ const f = (
|
|
|
543
543
|
name: "assetProcedureTypeFields",
|
|
544
544
|
initialState: ns,
|
|
545
545
|
extraReducers: (t) => t.addMatcher(
|
|
546
|
-
|
|
546
|
+
F(O, _),
|
|
547
547
|
(s) => Object.assign(s, ns)
|
|
548
548
|
),
|
|
549
549
|
reducers: {
|
|
@@ -590,11 +590,11 @@ const f = (
|
|
|
590
590
|
)
|
|
591
591
|
), Y = P(({ uuid: t }) => t), is = {
|
|
592
592
|
instances: {}
|
|
593
|
-
},
|
|
593
|
+
}, vn = I({
|
|
594
594
|
name: "assetProcedureTypeFieldValuesAttachments",
|
|
595
595
|
initialState: is,
|
|
596
596
|
extraReducers: (t) => t.addMatcher(
|
|
597
|
-
|
|
597
|
+
F(O, D, _),
|
|
598
598
|
(s) => Object.assign(s, is)
|
|
599
599
|
),
|
|
600
600
|
reducers: {
|
|
@@ -611,14 +611,14 @@ const f = (
|
|
|
611
611
|
}), {
|
|
612
612
|
initializeAssetProcedureTypeFieldValuesAttachments: Gc,
|
|
613
613
|
addAssetProcedureTypeFieldValuesAttachment: Wc,
|
|
614
|
-
addAssetProcedureTypeFieldValuesAttachments:
|
|
614
|
+
addAssetProcedureTypeFieldValuesAttachments: zn,
|
|
615
615
|
setAssetProcedureTypeFieldValuesAttachment: Kc,
|
|
616
616
|
setAssetProcedureTypeFieldValuesAttachments: Yc,
|
|
617
617
|
updateAssetProcedureTypeFieldValuesAttachment: Zc,
|
|
618
618
|
updateAssetProcedureTypeFieldValuesAttachments: Jc,
|
|
619
619
|
deleteAssetProcedureTypeFieldValuesAttachment: Xc,
|
|
620
620
|
deleteAssetProcedureTypeFieldValuesAttachments: Bn
|
|
621
|
-
} =
|
|
621
|
+
} = vn.actions, Qc = vn.reducer, ed = (t) => t.assetProcedureTypeFieldValuesAttachmentReducer.instances, kn = p(
|
|
622
622
|
[ed],
|
|
623
623
|
(t) => Object.values(t)
|
|
624
624
|
), td = (t) => (s) => s.assetProcedureTypeFieldValuesAttachmentReducer.instances[t], sd = f(
|
|
@@ -643,7 +643,7 @@ const f = (
|
|
|
643
643
|
name: "assetProcedureTypeFieldValues",
|
|
644
644
|
initialState: as,
|
|
645
645
|
extraReducers: (t) => t.addMatcher(
|
|
646
|
-
|
|
646
|
+
F(O, D, _),
|
|
647
647
|
(s) => Object.assign(s, as)
|
|
648
648
|
),
|
|
649
649
|
reducers: {
|
|
@@ -696,7 +696,7 @@ const f = (
|
|
|
696
696
|
name: "assetProcedures",
|
|
697
697
|
initialState: rs,
|
|
698
698
|
extraReducers: (t) => t.addMatcher(
|
|
699
|
-
|
|
699
|
+
F(O, D, _),
|
|
700
700
|
(s) => Object.assign(s, rs)
|
|
701
701
|
),
|
|
702
702
|
reducers: {
|
|
@@ -740,7 +740,7 @@ const f = (
|
|
|
740
740
|
name: "assetProcedureTypes",
|
|
741
741
|
initialState: cs,
|
|
742
742
|
extraReducers: (t) => t.addMatcher(
|
|
743
|
-
|
|
743
|
+
F(O, _),
|
|
744
744
|
(s) => Object.assign(s, cs)
|
|
745
745
|
),
|
|
746
746
|
reducers: {
|
|
@@ -757,8 +757,8 @@ const f = (
|
|
|
757
757
|
}), {
|
|
758
758
|
initializeAssetProcedureTypes: Rd,
|
|
759
759
|
addAssetProcedureType: Ed,
|
|
760
|
-
addAssetProcedureTypes:
|
|
761
|
-
updateAssetProcedureType:
|
|
760
|
+
addAssetProcedureTypes: vd,
|
|
761
|
+
updateAssetProcedureType: zd,
|
|
762
762
|
updateAssetProcedureTypes: Bd,
|
|
763
763
|
deleteAssetProcedureType: kd,
|
|
764
764
|
deleteAssetProcedureTypes: qd,
|
|
@@ -786,7 +786,7 @@ const f = (
|
|
|
786
786
|
name: "assetProcedureStepFieldsAttachments",
|
|
787
787
|
initialState: ds,
|
|
788
788
|
extraReducers: (t) => t.addMatcher(
|
|
789
|
-
|
|
789
|
+
F(O, _),
|
|
790
790
|
(s) => Object.assign(s, ds)
|
|
791
791
|
),
|
|
792
792
|
reducers: {
|
|
@@ -832,7 +832,7 @@ const f = (
|
|
|
832
832
|
name: "assetProcedureStepFields",
|
|
833
833
|
initialState: os,
|
|
834
834
|
extraReducers: (t) => t.addMatcher(
|
|
835
|
-
|
|
835
|
+
F(O, _),
|
|
836
836
|
(s) => Object.assign(s, os)
|
|
837
837
|
),
|
|
838
838
|
reducers: {
|
|
@@ -893,7 +893,7 @@ const f = (
|
|
|
893
893
|
name: "assetProcedureStepFieldValuesAttachments",
|
|
894
894
|
initialState: us,
|
|
895
895
|
extraReducers: (t) => t.addMatcher(
|
|
896
|
-
|
|
896
|
+
F(O, D, _),
|
|
897
897
|
(s) => Object.assign(s, us)
|
|
898
898
|
),
|
|
899
899
|
reducers: {
|
|
@@ -942,7 +942,7 @@ const f = (
|
|
|
942
942
|
name: "assetProcedureStepFieldValues",
|
|
943
943
|
initialState: ls,
|
|
944
944
|
extraReducers: (t) => t.addMatcher(
|
|
945
|
-
|
|
945
|
+
F(O, D, _),
|
|
946
946
|
(s) => Object.assign(s, ls)
|
|
947
947
|
),
|
|
948
948
|
reducers: {
|
|
@@ -962,8 +962,8 @@ const f = (
|
|
|
962
962
|
addAssetProcedureStepFieldValuesMany: wo,
|
|
963
963
|
setAssetProcedureStepFieldValues: Ro,
|
|
964
964
|
setAssetProcedureStepFieldValuesMany: Eo,
|
|
965
|
-
updateAssetProcedureStepFieldValues:
|
|
966
|
-
updateAssetProcedureStepFieldValuesMany:
|
|
965
|
+
updateAssetProcedureStepFieldValues: vo,
|
|
966
|
+
updateAssetProcedureStepFieldValuesMany: zo,
|
|
967
967
|
deleteAssetProcedureStepFieldValues: Bo,
|
|
968
968
|
deleteAssetProcedureStepFieldValuesMany: ko
|
|
969
969
|
} = Yn.actions, qo = (t) => t.assetProcedureStepFieldValuesReducer.instances, mt = p(
|
|
@@ -998,7 +998,7 @@ const f = (
|
|
|
998
998
|
name: "assetProcedureSteps",
|
|
999
999
|
initialState: hs,
|
|
1000
1000
|
extraReducers: (t) => t.addMatcher(
|
|
1001
|
-
|
|
1001
|
+
F(O, _),
|
|
1002
1002
|
(s) => Object.assign(s, hs)
|
|
1003
1003
|
),
|
|
1004
1004
|
reducers: {
|
|
@@ -1057,7 +1057,7 @@ const f = (
|
|
|
1057
1057
|
name: "assets",
|
|
1058
1058
|
initialState: ps,
|
|
1059
1059
|
extraReducers: (t) => t.addMatcher(
|
|
1060
|
-
|
|
1060
|
+
F(O, D, _),
|
|
1061
1061
|
(s) => Object.assign(s, ps)
|
|
1062
1062
|
),
|
|
1063
1063
|
reducers: {
|
|
@@ -1081,12 +1081,12 @@ const f = (
|
|
|
1081
1081
|
deleteAssets: ei,
|
|
1082
1082
|
setAsset: nu,
|
|
1083
1083
|
setAssets: iu
|
|
1084
|
-
} = Xn.actions, au = (t) => t.assetReducer.instances,
|
|
1085
|
-
p([
|
|
1084
|
+
} = Xn.actions, au = (t) => t.assetReducer.instances, vt = p([au], (t) => A(Object.values(t))), Jg = f(
|
|
1085
|
+
p([vt, (t, s) => s], (t, s) => A(t.filter(({ project: e }) => e === s)))
|
|
1086
1086
|
), ru = f(
|
|
1087
|
-
p([
|
|
1087
|
+
p([vt, (t, s) => s], (t, s) => A(t.filter((e) => e.asset_type === s)))
|
|
1088
1088
|
), cu = (t) => (s) => s.assetReducer.instances[t], du = f(
|
|
1089
|
-
p([
|
|
1089
|
+
p([vt, (t, s) => s], (t, s) => {
|
|
1090
1090
|
const e = new Set(s);
|
|
1091
1091
|
return A(t.filter(({ uuid: n }) => e.has(n)));
|
|
1092
1092
|
})
|
|
@@ -1096,7 +1096,7 @@ const f = (
|
|
|
1096
1096
|
name: "assetStageCompletions",
|
|
1097
1097
|
initialState: ms,
|
|
1098
1098
|
extraReducers: (t) => t.addMatcher(
|
|
1099
|
-
|
|
1099
|
+
F(O, D, _),
|
|
1100
1100
|
(s) => Object.assign(s, ms)
|
|
1101
1101
|
),
|
|
1102
1102
|
reducers: {
|
|
@@ -1139,7 +1139,7 @@ const f = (
|
|
|
1139
1139
|
name: "assetStages",
|
|
1140
1140
|
initialState: ys,
|
|
1141
1141
|
extraReducers: (t) => t.addMatcher(
|
|
1142
|
-
|
|
1142
|
+
F(O, _),
|
|
1143
1143
|
(s) => Object.assign(s, ys)
|
|
1144
1144
|
),
|
|
1145
1145
|
reducers: {
|
|
@@ -1161,8 +1161,8 @@ const f = (
|
|
|
1161
1161
|
addAssetStages: wu,
|
|
1162
1162
|
updateAssetStage: Ru,
|
|
1163
1163
|
updateAssetStages: Eu,
|
|
1164
|
-
deleteAssetStage:
|
|
1165
|
-
deleteAssetStages:
|
|
1164
|
+
deleteAssetStage: vu,
|
|
1165
|
+
deleteAssetStages: zu
|
|
1166
1166
|
} = si.actions, Bu = si.reducer, ni = (t) => t.assetStageReducer.instances, ku = (t) => (s) => s.assetStageReducer.instances[t], ii = p([ni], (t) => Object.values(t)), Xg = f(
|
|
1167
1167
|
p([ni, (t, s) => s], (t, s) => {
|
|
1168
1168
|
const e = {};
|
|
@@ -1183,7 +1183,7 @@ const f = (
|
|
|
1183
1183
|
name: "assetTypeAttachments",
|
|
1184
1184
|
initialState: fs,
|
|
1185
1185
|
extraReducers: (t) => t.addMatcher(
|
|
1186
|
-
|
|
1186
|
+
F(O, _),
|
|
1187
1187
|
(s) => Object.assign(s, fs)
|
|
1188
1188
|
),
|
|
1189
1189
|
reducers: {
|
|
@@ -1226,7 +1226,7 @@ const f = (
|
|
|
1226
1226
|
name: "assetTypeFieldsAttachments",
|
|
1227
1227
|
initialState: As,
|
|
1228
1228
|
extraReducers: (t) => t.addMatcher(
|
|
1229
|
-
|
|
1229
|
+
F(O, _),
|
|
1230
1230
|
(s) => Object.assign(s, As)
|
|
1231
1231
|
),
|
|
1232
1232
|
reducers: {
|
|
@@ -1272,7 +1272,7 @@ const f = (
|
|
|
1272
1272
|
name: "assetTypeFields",
|
|
1273
1273
|
initialState: Ss,
|
|
1274
1274
|
extraReducers: (t) => t.addMatcher(
|
|
1275
|
-
|
|
1275
|
+
F(O, _),
|
|
1276
1276
|
(s) => Object.assign(s, Ss)
|
|
1277
1277
|
),
|
|
1278
1278
|
reducers: {
|
|
@@ -1311,7 +1311,7 @@ const f = (
|
|
|
1311
1311
|
name: "assetTypeFieldValuesAttachments",
|
|
1312
1312
|
initialState: Ts,
|
|
1313
1313
|
extraReducers: (t) => t.addMatcher(
|
|
1314
|
-
|
|
1314
|
+
F(O, D, _),
|
|
1315
1315
|
(s) => Object.assign(s, Ts)
|
|
1316
1316
|
),
|
|
1317
1317
|
reducers: {
|
|
@@ -1351,13 +1351,13 @@ const f = (
|
|
|
1351
1351
|
[yi, (t, s) => s],
|
|
1352
1352
|
(t, s) => A(t.filter((e) => e.field_values === s))
|
|
1353
1353
|
)
|
|
1354
|
-
),
|
|
1354
|
+
), vl = hi.reducer, le = P((t) => t.uuid), Os = {
|
|
1355
1355
|
instances: {}
|
|
1356
1356
|
}, fi = I({
|
|
1357
1357
|
name: "assetTypeFieldValues",
|
|
1358
1358
|
initialState: Os,
|
|
1359
1359
|
extraReducers: (t) => t.addMatcher(
|
|
1360
|
-
|
|
1360
|
+
F(O, D, _),
|
|
1361
1361
|
(s) => Object.assign(s, Os)
|
|
1362
1362
|
),
|
|
1363
1363
|
reducers: {
|
|
@@ -1372,7 +1372,7 @@ const f = (
|
|
|
1372
1372
|
deleteAssetTypeFieldValuesMany: le.deleteMany
|
|
1373
1373
|
}
|
|
1374
1374
|
}), {
|
|
1375
|
-
initializeAssetTypeFieldValues:
|
|
1375
|
+
initializeAssetTypeFieldValues: zl,
|
|
1376
1376
|
addAssetTypeFieldValues: Bl,
|
|
1377
1377
|
addAssetTypeFieldValuesMany: kl,
|
|
1378
1378
|
setAssetTypeFieldValues: ql,
|
|
@@ -1381,11 +1381,11 @@ const f = (
|
|
|
1381
1381
|
updateAssetTypeFieldValuesMany: jl,
|
|
1382
1382
|
deleteAssetTypeFieldValues: $l,
|
|
1383
1383
|
deleteAssetTypeFieldValuesMany: xl
|
|
1384
|
-
} = fi.actions, Cl = (t) => t.assetTypeFieldValuesReducer.instances,
|
|
1385
|
-
p([
|
|
1384
|
+
} = fi.actions, Cl = (t) => t.assetTypeFieldValuesReducer.instances, zt = p([Cl], (t) => Object.values(t)), nb = f(
|
|
1385
|
+
p([zt, (t, s) => s], (t, s) => A(t.filter((e) => e.asset === s)))
|
|
1386
1386
|
), ib = f(
|
|
1387
1387
|
p(
|
|
1388
|
-
[yt,
|
|
1388
|
+
[yt, zt, (t, s) => s],
|
|
1389
1389
|
(t, s, e) => {
|
|
1390
1390
|
const n = new Set(
|
|
1391
1391
|
t.filter((i) => i.asset_type === e).map((i) => i.uuid)
|
|
@@ -1395,7 +1395,7 @@ const f = (
|
|
|
1395
1395
|
)
|
|
1396
1396
|
), Ul = (t) => (s) => s.assetTypeFieldValuesReducer.instances[t], Ll = f(
|
|
1397
1397
|
p(
|
|
1398
|
-
[
|
|
1398
|
+
[zt, (t, s) => s],
|
|
1399
1399
|
(t, s) => {
|
|
1400
1400
|
const e = new Set(s);
|
|
1401
1401
|
return A(t.filter(({ uuid: n }) => e.has(n)));
|
|
@@ -1407,7 +1407,7 @@ const f = (
|
|
|
1407
1407
|
name: "assetTypeIdentifiers",
|
|
1408
1408
|
initialState: Is,
|
|
1409
1409
|
extraReducers: (t) => t.addMatcher(
|
|
1410
|
-
|
|
1410
|
+
F(O, _),
|
|
1411
1411
|
(s) => Object.assign(s, Is)
|
|
1412
1412
|
),
|
|
1413
1413
|
reducers: {
|
|
@@ -1450,7 +1450,7 @@ const f = (
|
|
|
1450
1450
|
name: "assetTypeIdentifierValues",
|
|
1451
1451
|
initialState: gs,
|
|
1452
1452
|
extraReducers: (t) => t.addMatcher(
|
|
1453
|
-
|
|
1453
|
+
F(O, D, _),
|
|
1454
1454
|
(s) => Object.assign(s, gs)
|
|
1455
1455
|
),
|
|
1456
1456
|
reducers: {
|
|
@@ -1502,7 +1502,7 @@ const f = (
|
|
|
1502
1502
|
name: "assetTypes",
|
|
1503
1503
|
initialState: bs,
|
|
1504
1504
|
extraReducers: (t) => t.addMatcher(
|
|
1505
|
-
|
|
1505
|
+
F(O, _),
|
|
1506
1506
|
(s) => Object.assign(s, bs)
|
|
1507
1507
|
),
|
|
1508
1508
|
reducers: {
|
|
@@ -1542,7 +1542,7 @@ const f = (
|
|
|
1542
1542
|
name: "assetTypeStatuses",
|
|
1543
1543
|
initialState: Ps,
|
|
1544
1544
|
extraReducers: (t) => t.addMatcher(
|
|
1545
|
-
|
|
1545
|
+
F(O, _),
|
|
1546
1546
|
(s) => Object.assign(s, Ps)
|
|
1547
1547
|
),
|
|
1548
1548
|
reducers: {
|
|
@@ -1558,8 +1558,8 @@ const f = (
|
|
|
1558
1558
|
}
|
|
1559
1559
|
}), {
|
|
1560
1560
|
initializeAssetTypeStatuses: Eh,
|
|
1561
|
-
addAssetTypeStatus:
|
|
1562
|
-
addAssetTypeStatuses:
|
|
1561
|
+
addAssetTypeStatus: vh,
|
|
1562
|
+
addAssetTypeStatuses: zh,
|
|
1563
1563
|
setAssetTypeStatus: Bh,
|
|
1564
1564
|
setAssetTypeStatuses: kh,
|
|
1565
1565
|
updateAssetTypeStatus: qh,
|
|
@@ -1637,7 +1637,7 @@ const f = (
|
|
|
1637
1637
|
}, Mi = I({
|
|
1638
1638
|
name: "documents",
|
|
1639
1639
|
initialState: Fs,
|
|
1640
|
-
extraReducers: (t) => t.addMatcher(
|
|
1640
|
+
extraReducers: (t) => t.addMatcher(F(O, _), (s) => {
|
|
1641
1641
|
Object.assign(s, Fs);
|
|
1642
1642
|
}),
|
|
1643
1643
|
reducers: {
|
|
@@ -1687,7 +1687,7 @@ const f = (
|
|
|
1687
1687
|
name: "emailDomains",
|
|
1688
1688
|
initialState: ws,
|
|
1689
1689
|
extraReducers: (t) => t.addMatcher(
|
|
1690
|
-
|
|
1690
|
+
F(O, _),
|
|
1691
1691
|
(s) => Object.assign(s, ws)
|
|
1692
1692
|
),
|
|
1693
1693
|
reducers: {
|
|
@@ -1720,7 +1720,7 @@ const f = (
|
|
|
1720
1720
|
p([Ri, (t, s) => s], (t, s) => A(t.filter((e) => e.organization === s)))
|
|
1721
1721
|
), Rp = wi.reducer, Rs = {
|
|
1722
1722
|
s3Urls: {}
|
|
1723
|
-
}, Ei = 1e3 * 60 * 60, Ep = Ei * 24 * 7,
|
|
1723
|
+
}, Ei = 1e3 * 60 * 60, Ep = Ei * 24 * 7, vi = I({
|
|
1724
1724
|
name: "file",
|
|
1725
1725
|
initialState: Rs,
|
|
1726
1726
|
extraReducers: (t) => t.addCase(O, (s) => Object.assign(s, Rs)),
|
|
@@ -1734,22 +1734,22 @@ const f = (
|
|
|
1734
1734
|
};
|
|
1735
1735
|
}
|
|
1736
1736
|
}
|
|
1737
|
-
}), { setUploadUrl: Sb } =
|
|
1737
|
+
}), { setUploadUrl: Sb } = vi.actions, Tb = (t) => (s) => {
|
|
1738
1738
|
const e = s.fileReducer.s3Urls[t];
|
|
1739
1739
|
if (!e)
|
|
1740
1740
|
return;
|
|
1741
1741
|
const n = (/* @__PURE__ */ new Date()).getTime();
|
|
1742
1742
|
if (!((e.exp ?? n) - n < Ei))
|
|
1743
1743
|
return e;
|
|
1744
|
-
},
|
|
1744
|
+
}, vp = vi.reducer, Te = P(
|
|
1745
1745
|
(t) => t.uuid
|
|
1746
1746
|
), Es = {
|
|
1747
1747
|
instances: {}
|
|
1748
|
-
},
|
|
1748
|
+
}, zi = I({
|
|
1749
1749
|
name: "formIdentifiers",
|
|
1750
1750
|
initialState: Es,
|
|
1751
1751
|
extraReducers: (t) => t.addMatcher(
|
|
1752
|
-
|
|
1752
|
+
F(O, _),
|
|
1753
1753
|
(s) => Object.assign(s, Es)
|
|
1754
1754
|
),
|
|
1755
1755
|
reducers: {
|
|
@@ -1764,7 +1764,7 @@ const f = (
|
|
|
1764
1764
|
deleteFormIdentifiers: Te.deleteMany
|
|
1765
1765
|
}
|
|
1766
1766
|
}), {
|
|
1767
|
-
initializeFormIdentifiers:
|
|
1767
|
+
initializeFormIdentifiers: zp,
|
|
1768
1768
|
addFormIdentifier: Bp,
|
|
1769
1769
|
addFormIdentifiers: kp,
|
|
1770
1770
|
setFormIdentifier: qp,
|
|
@@ -1773,7 +1773,7 @@ const f = (
|
|
|
1773
1773
|
updateFormIdentifiers: jp,
|
|
1774
1774
|
deleteFormIdentifier: $p,
|
|
1775
1775
|
deleteFormIdentifiers: xp
|
|
1776
|
-
} =
|
|
1776
|
+
} = zi.actions, Cp = (t) => t.formIdentifierReducer.instances, Bi = p(
|
|
1777
1777
|
[Cp],
|
|
1778
1778
|
(t) => Object.values(t)
|
|
1779
1779
|
), Up = (t) => (s) => s.formIdentifierReducer.instances[t], Lp = f(
|
|
@@ -1783,14 +1783,14 @@ const f = (
|
|
|
1783
1783
|
})
|
|
1784
1784
|
), Ob = f(
|
|
1785
1785
|
p([Bi, (t, s) => s], (t, s) => A(t.filter((e) => e.form === s)))
|
|
1786
|
-
), Np =
|
|
1786
|
+
), Np = zi.reducer, Oe = P((t) => t.uuid), vs = {
|
|
1787
1787
|
instances: {}
|
|
1788
1788
|
}, ki = I({
|
|
1789
1789
|
name: "formIdentifierValues",
|
|
1790
|
-
initialState:
|
|
1790
|
+
initialState: vs,
|
|
1791
1791
|
extraReducers: (t) => t.addMatcher(
|
|
1792
|
-
|
|
1793
|
-
(s) => Object.assign(s,
|
|
1792
|
+
F(O, _),
|
|
1793
|
+
(s) => Object.assign(s, vs)
|
|
1794
1794
|
),
|
|
1795
1795
|
reducers: {
|
|
1796
1796
|
initializeFormIdentifierValues: Oe.initialize,
|
|
@@ -1838,14 +1838,14 @@ const f = (
|
|
|
1838
1838
|
t.filter((e) => e.form_identifier === s)
|
|
1839
1839
|
)
|
|
1840
1840
|
)
|
|
1841
|
-
), nm = ki.reducer, Ie = P((t) => t.uuid),
|
|
1841
|
+
), nm = ki.reducer, Ie = P((t) => t.uuid), zs = {
|
|
1842
1842
|
instances: {}
|
|
1843
1843
|
}, qi = I({
|
|
1844
1844
|
name: "formRevisionAttachments",
|
|
1845
|
-
initialState:
|
|
1845
|
+
initialState: zs,
|
|
1846
1846
|
extraReducers: (t) => t.addMatcher(
|
|
1847
|
-
|
|
1848
|
-
(s) => Object.assign(s,
|
|
1847
|
+
F(O, _),
|
|
1848
|
+
(s) => Object.assign(s, zs)
|
|
1849
1849
|
),
|
|
1850
1850
|
reducers: {
|
|
1851
1851
|
initializeFormRevisionAttachments: Ie.initialize,
|
|
@@ -1896,7 +1896,7 @@ const f = (
|
|
|
1896
1896
|
name: "formRevisions",
|
|
1897
1897
|
initialState: Bs,
|
|
1898
1898
|
extraReducers: (t) => t.addMatcher(
|
|
1899
|
-
|
|
1899
|
+
F(O, _),
|
|
1900
1900
|
(s) => Object.assign(s, Bs)
|
|
1901
1901
|
),
|
|
1902
1902
|
reducers: {
|
|
@@ -1941,7 +1941,7 @@ const f = (
|
|
|
1941
1941
|
name: "forms",
|
|
1942
1942
|
initialState: ks,
|
|
1943
1943
|
extraReducers: (t) => t.addMatcher(
|
|
1944
|
-
|
|
1944
|
+
F(O, _),
|
|
1945
1945
|
(s) => Object.assign(s, ks)
|
|
1946
1946
|
),
|
|
1947
1947
|
reducers: {
|
|
@@ -1961,8 +1961,8 @@ const f = (
|
|
|
1961
1961
|
addForms: wm,
|
|
1962
1962
|
setForm: Rm,
|
|
1963
1963
|
setForms: Em,
|
|
1964
|
-
updateForm:
|
|
1965
|
-
updateForms:
|
|
1964
|
+
updateForm: vm,
|
|
1965
|
+
updateForms: zm,
|
|
1966
1966
|
deleteForm: Bm,
|
|
1967
1967
|
deleteForms: km
|
|
1968
1968
|
} = Ui.actions, qm = Ui.reducer, Vm = (t) => t.formReducer.instances, Li = p([Vm], (t) => Object.values(t)), Dm = (t) => (s) => s.formReducer.instances[t], jm = f(
|
|
@@ -1978,7 +1978,7 @@ const f = (
|
|
|
1978
1978
|
name: "formSubmissionAttachments",
|
|
1979
1979
|
initialState: qs,
|
|
1980
1980
|
extraReducers: (t) => t.addMatcher(
|
|
1981
|
-
|
|
1981
|
+
F(O, _),
|
|
1982
1982
|
(s) => Object.assign(s, qs)
|
|
1983
1983
|
),
|
|
1984
1984
|
reducers: {
|
|
@@ -2035,7 +2035,7 @@ const f = (
|
|
|
2035
2035
|
name: "formSubmissions",
|
|
2036
2036
|
initialState: Vs,
|
|
2037
2037
|
extraReducers: (t) => t.addMatcher(
|
|
2038
|
-
|
|
2038
|
+
F(O, _),
|
|
2039
2039
|
(s) => Object.assign(s, Vs)
|
|
2040
2040
|
),
|
|
2041
2041
|
reducers: {
|
|
@@ -2087,7 +2087,7 @@ const f = (
|
|
|
2087
2087
|
name: "geoImages",
|
|
2088
2088
|
initialState: Ds,
|
|
2089
2089
|
extraReducers: (t) => t.addMatcher(
|
|
2090
|
-
|
|
2090
|
+
F(O, D, _),
|
|
2091
2091
|
(s) => Object.assign(s, Ds)
|
|
2092
2092
|
),
|
|
2093
2093
|
reducers: {
|
|
@@ -2124,7 +2124,7 @@ const f = (
|
|
|
2124
2124
|
name: "issueAssociations",
|
|
2125
2125
|
initialState: js,
|
|
2126
2126
|
extraReducers: (t) => t.addMatcher(
|
|
2127
|
-
|
|
2127
|
+
F(O, D, _),
|
|
2128
2128
|
(s) => Object.assign(s, js)
|
|
2129
2129
|
),
|
|
2130
2130
|
reducers: {
|
|
@@ -2153,9 +2153,9 @@ const f = (
|
|
|
2153
2153
|
const e = new Set(s);
|
|
2154
2154
|
return A(t.filter(({ uuid: n }) => e.has(n)));
|
|
2155
2155
|
})
|
|
2156
|
-
), zy = f(
|
|
2157
|
-
p([at, (t, s) => s], (t, s) => A(t.filter(({ associated_issue: e }) => e === s)))
|
|
2158
2156
|
), vy = f(
|
|
2157
|
+
p([at, (t, s) => s], (t, s) => A(t.filter(({ associated_issue: e }) => e === s)))
|
|
2158
|
+
), zy = f(
|
|
2159
2159
|
p(
|
|
2160
2160
|
[at, (t, s) => s],
|
|
2161
2161
|
(t, s) => {
|
|
@@ -2183,7 +2183,7 @@ const f = (
|
|
|
2183
2183
|
name: "issueAttachments",
|
|
2184
2184
|
initialState: $s,
|
|
2185
2185
|
extraReducers: (t) => t.addMatcher(
|
|
2186
|
-
|
|
2186
|
+
F(O, D, _),
|
|
2187
2187
|
(s) => Object.assign(s, $s)
|
|
2188
2188
|
),
|
|
2189
2189
|
reducers: {
|
|
@@ -2226,7 +2226,7 @@ const f = (
|
|
|
2226
2226
|
name: "issueCommentAttachments",
|
|
2227
2227
|
initialState: xs,
|
|
2228
2228
|
extraReducers: (t) => t.addMatcher(
|
|
2229
|
-
|
|
2229
|
+
F(O, D, _),
|
|
2230
2230
|
(s) => Object.assign(s, xs)
|
|
2231
2231
|
),
|
|
2232
2232
|
reducers: {
|
|
@@ -2271,7 +2271,7 @@ const f = (
|
|
|
2271
2271
|
name: "issueComments",
|
|
2272
2272
|
initialState: Cs,
|
|
2273
2273
|
extraReducers: (t) => t.addMatcher(
|
|
2274
|
-
|
|
2274
|
+
F(O, D, _),
|
|
2275
2275
|
(s) => Object.assign(s, Cs)
|
|
2276
2276
|
),
|
|
2277
2277
|
reducers: {
|
|
@@ -2307,25 +2307,25 @@ const f = (
|
|
|
2307
2307
|
Object.values(t).filter((e) => e.issue === s)
|
|
2308
2308
|
)
|
|
2309
2309
|
)
|
|
2310
|
-
), Of = oa.reducer,
|
|
2310
|
+
), Of = oa.reducer, ve = P((t) => t.uuid), Us = {
|
|
2311
2311
|
instances: {}
|
|
2312
2312
|
}, la = I({
|
|
2313
2313
|
name: "issues",
|
|
2314
2314
|
initialState: Us,
|
|
2315
2315
|
extraReducers: (t) => t.addMatcher(
|
|
2316
|
-
|
|
2316
|
+
F(O, D, _),
|
|
2317
2317
|
(s) => Object.assign(s, Us)
|
|
2318
2318
|
),
|
|
2319
2319
|
reducers: {
|
|
2320
|
-
initializeIssues:
|
|
2321
|
-
addIssue:
|
|
2322
|
-
addIssues:
|
|
2323
|
-
setIssue:
|
|
2324
|
-
setIssues:
|
|
2325
|
-
updateIssue:
|
|
2326
|
-
updateIssues:
|
|
2327
|
-
deleteIssue:
|
|
2328
|
-
deleteIssues:
|
|
2320
|
+
initializeIssues: ve.initialize,
|
|
2321
|
+
addIssue: ve.addOne,
|
|
2322
|
+
addIssues: ve.addMany,
|
|
2323
|
+
setIssue: ve.setOne,
|
|
2324
|
+
setIssues: ve.setMany,
|
|
2325
|
+
updateIssue: ve.updateOne,
|
|
2326
|
+
updateIssues: ve.updateMany,
|
|
2327
|
+
deleteIssue: ve.deleteOne,
|
|
2328
|
+
deleteIssues: ve.deleteMany
|
|
2329
2329
|
}
|
|
2330
2330
|
}), {
|
|
2331
2331
|
initializeIssues: If,
|
|
@@ -2347,27 +2347,27 @@ const f = (
|
|
|
2347
2347
|
})
|
|
2348
2348
|
), Rb = f(
|
|
2349
2349
|
p([$t, (t, s) => s], (t, s) => t.filter((e) => e.project === s))
|
|
2350
|
-
),
|
|
2350
|
+
), vf = f(
|
|
2351
2351
|
p([$t, (t, s) => s], (t, s) => t.filter((e) => e.issue_type === s))
|
|
2352
|
-
),
|
|
2352
|
+
), zf = la.reducer, ze = P((t) => t.uuid), Ls = {
|
|
2353
2353
|
instances: {}
|
|
2354
2354
|
}, ma = I({
|
|
2355
2355
|
name: "issueTypeAttachments",
|
|
2356
2356
|
initialState: Ls,
|
|
2357
2357
|
extraReducers: (t) => t.addMatcher(
|
|
2358
|
-
|
|
2358
|
+
F(O, _),
|
|
2359
2359
|
(s) => Object.assign(s, Ls)
|
|
2360
2360
|
),
|
|
2361
2361
|
reducers: {
|
|
2362
|
-
initializeIssueTypeAttachments:
|
|
2363
|
-
addIssueTypeAttachment:
|
|
2364
|
-
addIssueTypeAttachments:
|
|
2365
|
-
setIssueTypeAttachment:
|
|
2366
|
-
setIssueTypeAttachments:
|
|
2367
|
-
updateIssueTypeAttachment:
|
|
2368
|
-
updateIssueTypeAttachments:
|
|
2369
|
-
deleteIssueTypeAttachment:
|
|
2370
|
-
deleteIssueTypeAttachments:
|
|
2362
|
+
initializeIssueTypeAttachments: ze.initialize,
|
|
2363
|
+
addIssueTypeAttachment: ze.addOne,
|
|
2364
|
+
addIssueTypeAttachments: ze.addMany,
|
|
2365
|
+
setIssueTypeAttachment: ze.setOne,
|
|
2366
|
+
setIssueTypeAttachments: ze.setMany,
|
|
2367
|
+
updateIssueTypeAttachment: ze.updateOne,
|
|
2368
|
+
updateIssueTypeAttachments: ze.updateMany,
|
|
2369
|
+
deleteIssueTypeAttachment: ze.deleteOne,
|
|
2370
|
+
deleteIssueTypeAttachments: ze.deleteMany
|
|
2371
2371
|
}
|
|
2372
2372
|
}), {
|
|
2373
2373
|
initializeIssueTypeAttachments: Bf,
|
|
@@ -2398,7 +2398,7 @@ const f = (
|
|
|
2398
2398
|
name: "issueTypeFieldsAttachments",
|
|
2399
2399
|
initialState: Ns,
|
|
2400
2400
|
extraReducers: (t) => t.addMatcher(
|
|
2401
|
-
|
|
2401
|
+
F(O, _),
|
|
2402
2402
|
(s) => Object.assign(s, Ns)
|
|
2403
2403
|
),
|
|
2404
2404
|
reducers: {
|
|
@@ -2425,7 +2425,7 @@ const f = (
|
|
|
2425
2425
|
} = fa.actions, tA = (t) => t.issueTypeFieldsAttachmentReducer.instances, Aa = p(
|
|
2426
2426
|
[tA],
|
|
2427
2427
|
(t) => Object.values(t)
|
|
2428
|
-
),
|
|
2428
|
+
), vb = f(
|
|
2429
2429
|
p(
|
|
2430
2430
|
[Aa, (t, s) => s],
|
|
2431
2431
|
(t, s) => A(t.filter((e) => e.fields_revision === s))
|
|
@@ -2444,7 +2444,7 @@ const f = (
|
|
|
2444
2444
|
name: "issueTypeFieldValues",
|
|
2445
2445
|
initialState: Hs,
|
|
2446
2446
|
extraReducers: (t) => t.addMatcher(
|
|
2447
|
-
|
|
2447
|
+
F(O, D, _),
|
|
2448
2448
|
(s) => Object.assign(s, Hs)
|
|
2449
2449
|
),
|
|
2450
2450
|
reducers: {
|
|
@@ -2468,7 +2468,7 @@ const f = (
|
|
|
2468
2468
|
updateIssueTypeFieldValuesMany: lA,
|
|
2469
2469
|
deleteIssueTypeFieldValues: hA,
|
|
2470
2470
|
deleteIssueTypeFieldValuesMany: pA
|
|
2471
|
-
} = Sa.actions, mA = (t) => t.issueTypeFieldValuesReducer.instances, xt = p([mA], (t) => Object.values(t)),
|
|
2471
|
+
} = Sa.actions, mA = (t) => t.issueTypeFieldValuesReducer.instances, xt = p([mA], (t) => Object.values(t)), zb = f(
|
|
2472
2472
|
p([xt, (t, s) => s], (t, s) => A(t.filter((e) => e.issue === s)))
|
|
2473
2473
|
), yA = (t) => (s) => s.issueTypeFieldValuesReducer.instances[t], fA = f(
|
|
2474
2474
|
p(
|
|
@@ -2484,7 +2484,7 @@ const f = (
|
|
|
2484
2484
|
name: "issueTypeFields",
|
|
2485
2485
|
initialState: Gs,
|
|
2486
2486
|
extraReducers: (t) => t.addMatcher(
|
|
2487
|
-
|
|
2487
|
+
F(O, _),
|
|
2488
2488
|
(s) => Object.assign(s, Gs)
|
|
2489
2489
|
),
|
|
2490
2490
|
reducers: {
|
|
@@ -2533,7 +2533,7 @@ const f = (
|
|
|
2533
2533
|
name: "issueTypeFieldValuesAttachments",
|
|
2534
2534
|
initialState: Ws,
|
|
2535
2535
|
extraReducers: (t) => t.addMatcher(
|
|
2536
|
-
|
|
2536
|
+
F(O, D, _),
|
|
2537
2537
|
(s) => Object.assign(s, Ws)
|
|
2538
2538
|
),
|
|
2539
2539
|
reducers: {
|
|
@@ -2548,8 +2548,8 @@ const f = (
|
|
|
2548
2548
|
deleteIssueTypeFieldValuesAttachments: Ve.deleteMany
|
|
2549
2549
|
}
|
|
2550
2550
|
}), {
|
|
2551
|
-
initializeIssueTypeFieldValuesAttachments:
|
|
2552
|
-
addIssueTypeFieldValuesAttachment:
|
|
2551
|
+
initializeIssueTypeFieldValuesAttachments: vA,
|
|
2552
|
+
addIssueTypeFieldValuesAttachment: zA,
|
|
2553
2553
|
addIssueTypeFieldValuesAttachments: Ia,
|
|
2554
2554
|
setIssueTypeFieldValuesAttachment: BA,
|
|
2555
2555
|
setIssueTypeFieldValuesAttachments: kA,
|
|
@@ -2579,7 +2579,7 @@ const f = (
|
|
|
2579
2579
|
name: "issueTypeIdentifiers",
|
|
2580
2580
|
initialState: Ks,
|
|
2581
2581
|
extraReducers: (t) => t.addMatcher(
|
|
2582
|
-
|
|
2582
|
+
F(O, _),
|
|
2583
2583
|
(s) => Object.assign(s, Ks)
|
|
2584
2584
|
),
|
|
2585
2585
|
reducers: {
|
|
@@ -2622,7 +2622,7 @@ const f = (
|
|
|
2622
2622
|
name: "issueTypeIdentifierValues",
|
|
2623
2623
|
initialState: Ys,
|
|
2624
2624
|
extraReducers: (t) => t.addMatcher(
|
|
2625
|
-
|
|
2625
|
+
F(O, D, _),
|
|
2626
2626
|
(s) => Object.assign(s, Ys)
|
|
2627
2627
|
),
|
|
2628
2628
|
reducers: {
|
|
@@ -2674,7 +2674,7 @@ const f = (
|
|
|
2674
2674
|
name: "issueTypes",
|
|
2675
2675
|
initialState: Zs,
|
|
2676
2676
|
extraReducers: (t) => t.addMatcher(
|
|
2677
|
-
|
|
2677
|
+
F(O, _),
|
|
2678
2678
|
(s) => Object.assign(s, Zs)
|
|
2679
2679
|
),
|
|
2680
2680
|
reducers: {
|
|
@@ -2714,7 +2714,7 @@ const f = (
|
|
|
2714
2714
|
name: "issueTypeStatuses",
|
|
2715
2715
|
initialState: Js,
|
|
2716
2716
|
extraReducers: (t) => t.addMatcher(
|
|
2717
|
-
|
|
2717
|
+
F(O, _),
|
|
2718
2718
|
(s) => Object.assign(s, Js)
|
|
2719
2719
|
),
|
|
2720
2720
|
reducers: {
|
|
@@ -2732,13 +2732,13 @@ const f = (
|
|
|
2732
2732
|
initializeIssueTypeStatuses: wS,
|
|
2733
2733
|
addIssueTypeStatus: RS,
|
|
2734
2734
|
addIssueTypeStatuses: ES,
|
|
2735
|
-
setIssueTypeStatus:
|
|
2736
|
-
setIssueTypeStatuses:
|
|
2735
|
+
setIssueTypeStatus: vS,
|
|
2736
|
+
setIssueTypeStatuses: zS,
|
|
2737
2737
|
updateIssueTypeStatus: BS,
|
|
2738
2738
|
updateIssueTypeStatuses: kS,
|
|
2739
2739
|
deleteIssueTypeStatus: qS,
|
|
2740
2740
|
deleteIssueTypeStatuses: VS
|
|
2741
|
-
} = Ra.actions, DS = (t) => t.issueTypeStatusReducer.instances, Ea = p([DS], (t) => A(Object.values(t).toSorted(Ur))),
|
|
2741
|
+
} = Ra.actions, DS = (t) => t.issueTypeStatusReducer.instances, Ea = p([DS], (t) => A(Object.values(t).toSorted(Ur))), va = (t) => (s) => s.issueTypeStatusReducer.instances[t], jS = f(
|
|
2742
2742
|
p([Ea, (t, s) => s], (t, s) => {
|
|
2743
2743
|
const e = new Set(s);
|
|
2744
2744
|
return A(t.filter(({ uuid: n }) => e.has(n)));
|
|
@@ -2749,11 +2749,11 @@ const f = (
|
|
|
2749
2749
|
(t) => t.uuid
|
|
2750
2750
|
), Xs = {
|
|
2751
2751
|
instances: {}
|
|
2752
|
-
},
|
|
2752
|
+
}, za = I({
|
|
2753
2753
|
name: "issueUpdates",
|
|
2754
2754
|
initialState: Xs,
|
|
2755
2755
|
extraReducers: (t) => t.addMatcher(
|
|
2756
|
-
|
|
2756
|
+
F(O, D, _),
|
|
2757
2757
|
(s) => Object.assign(s, Xs)
|
|
2758
2758
|
),
|
|
2759
2759
|
reducers: {
|
|
@@ -2777,7 +2777,7 @@ const f = (
|
|
|
2777
2777
|
updateIssueUpdates: NS,
|
|
2778
2778
|
deleteIssueUpdate: qa,
|
|
2779
2779
|
deleteIssueUpdates: Va
|
|
2780
|
-
} =
|
|
2780
|
+
} = za.actions, Da = (t) => t.issueUpdateReducer.instances, ja = p(
|
|
2781
2781
|
[Da],
|
|
2782
2782
|
(t) => Object.values(t)
|
|
2783
2783
|
), HS = f(
|
|
@@ -2795,16 +2795,13 @@ const f = (
|
|
|
2795
2795
|
)
|
|
2796
2796
|
), WS = f(
|
|
2797
2797
|
p([ja, (t, s) => s], (t, s) => A(t.filter((e) => e.issue === s)))
|
|
2798
|
-
), KS =
|
|
2798
|
+
), KS = za.reducer, Ue = P((t) => t.id), Qs = {
|
|
2799
2799
|
instances: {},
|
|
2800
2800
|
currentUser: null
|
|
2801
2801
|
}, $a = I({
|
|
2802
2802
|
name: "users",
|
|
2803
2803
|
initialState: Qs,
|
|
2804
|
-
extraReducers: (t) => t.
|
|
2805
|
-
_(O, M),
|
|
2806
|
-
(s) => Object.assign(s, Qs)
|
|
2807
|
-
),
|
|
2804
|
+
extraReducers: (t) => t.addCase(O, (s) => Object.assign(s, Qs)).addCase(_, (s) => Object.assign(s, { ...s, instances: [] })),
|
|
2808
2805
|
reducers: {
|
|
2809
2806
|
initializeUsers: Ue.initialize,
|
|
2810
2807
|
setUsers: Ue.setMany,
|
|
@@ -2850,7 +2847,7 @@ const f = (
|
|
|
2850
2847
|
name: "organizationAccess",
|
|
2851
2848
|
initialState: en,
|
|
2852
2849
|
extraReducers: (t) => t.addMatcher(
|
|
2853
|
-
|
|
2850
|
+
F(O, _),
|
|
2854
2851
|
(s) => Object.assign(s, en)
|
|
2855
2852
|
),
|
|
2856
2853
|
reducers: {
|
|
@@ -2908,7 +2905,7 @@ const f = (
|
|
|
2908
2905
|
name: "organizations",
|
|
2909
2906
|
initialState: tn,
|
|
2910
2907
|
extraReducers: (t) => t.addMatcher(
|
|
2911
|
-
|
|
2908
|
+
F(O, _),
|
|
2912
2909
|
(s) => Object.assign(s, tn)
|
|
2913
2910
|
),
|
|
2914
2911
|
reducers: {
|
|
@@ -2937,7 +2934,7 @@ const f = (
|
|
|
2937
2934
|
const e = new Set(s);
|
|
2938
2935
|
return A(t.filter(({ uuid: n }) => e.has(n)));
|
|
2939
2936
|
})
|
|
2940
|
-
),
|
|
2937
|
+
), vT = Na.reducer, zT = (t, s, e) => {
|
|
2941
2938
|
const n = t.uuid ? t : { ...t, uuid: Xe() };
|
|
2942
2939
|
return {
|
|
2943
2940
|
payload: n,
|
|
@@ -2969,7 +2966,7 @@ const f = (
|
|
|
2969
2966
|
prepare: (t) => {
|
|
2970
2967
|
console.debug("Preparing to enqueue request", t.url);
|
|
2971
2968
|
const { BASE_URL: s, serviceName: e, ...n } = t;
|
|
2972
|
-
return
|
|
2969
|
+
return zT(n, s, e);
|
|
2973
2970
|
}
|
|
2974
2971
|
},
|
|
2975
2972
|
markForDeletion(t, s) {
|
|
@@ -2991,7 +2988,7 @@ const f = (
|
|
|
2991
2988
|
name: "projectAccess",
|
|
2992
2989
|
initialState: nn,
|
|
2993
2990
|
extraReducers: (t) => t.addMatcher(
|
|
2994
|
-
|
|
2991
|
+
F(O, _),
|
|
2995
2992
|
(s) => Object.assign(s, nn)
|
|
2996
2993
|
),
|
|
2997
2994
|
reducers: {
|
|
@@ -3051,7 +3048,7 @@ const f = (
|
|
|
3051
3048
|
name: "projectAttachments",
|
|
3052
3049
|
initialState: an,
|
|
3053
3050
|
extraReducers: (t) => t.addMatcher(
|
|
3054
|
-
|
|
3051
|
+
F(O, _),
|
|
3055
3052
|
(s) => Object.assign(s, an)
|
|
3056
3053
|
),
|
|
3057
3054
|
reducers: {
|
|
@@ -3093,7 +3090,7 @@ const f = (
|
|
|
3093
3090
|
name: "projectFiles",
|
|
3094
3091
|
initialState: rn,
|
|
3095
3092
|
extraReducers: (t) => t.addMatcher(
|
|
3096
|
-
|
|
3093
|
+
F(O, D, _),
|
|
3097
3094
|
(s) => Object.assign(s, rn)
|
|
3098
3095
|
),
|
|
3099
3096
|
reducers: {
|
|
@@ -3128,7 +3125,7 @@ const f = (
|
|
|
3128
3125
|
name: "projects",
|
|
3129
3126
|
initialState: cn,
|
|
3130
3127
|
extraReducers: (t) => t.addMatcher(
|
|
3131
|
-
|
|
3128
|
+
F(O, _),
|
|
3132
3129
|
(s) => Object.assign(s, cn)
|
|
3133
3130
|
),
|
|
3134
3131
|
reducers: {
|
|
@@ -3152,7 +3149,7 @@ const f = (
|
|
|
3152
3149
|
updateProject: wO,
|
|
3153
3150
|
deleteProject: RO,
|
|
3154
3151
|
deleteProjects: EO
|
|
3155
|
-
} = Ja.actions,
|
|
3152
|
+
} = Ja.actions, vO = Ja.reducer, zO = (t) => t.projectReducer.instances, Ht = p([zO], (t) => Object.values(t)), BO = (t) => (s) => s.projectReducer.instances[t], kO = f(
|
|
3156
3153
|
p([Ht, (t, s) => s], (t, s) => {
|
|
3157
3154
|
const e = new Set(s);
|
|
3158
3155
|
return A(t.filter(({ uuid: n }) => e.has(n)));
|
|
@@ -3183,7 +3180,7 @@ const f = (
|
|
|
3183
3180
|
name: "teamMemberships",
|
|
3184
3181
|
initialState: dn,
|
|
3185
3182
|
extraReducers: (t) => t.addMatcher(
|
|
3186
|
-
|
|
3183
|
+
F(O, _),
|
|
3187
3184
|
(s) => Object.assign(s, dn)
|
|
3188
3185
|
),
|
|
3189
3186
|
reducers: {
|
|
@@ -3236,7 +3233,7 @@ const f = (
|
|
|
3236
3233
|
name: "teams",
|
|
3237
3234
|
initialState: on,
|
|
3238
3235
|
extraReducers: (t) => t.addMatcher(
|
|
3239
|
-
|
|
3236
|
+
F(O, _),
|
|
3240
3237
|
(s) => Object.assign(s, on)
|
|
3241
3238
|
),
|
|
3242
3239
|
reducers: {
|
|
@@ -3275,7 +3272,7 @@ const f = (
|
|
|
3275
3272
|
reducers: {}
|
|
3276
3273
|
}), lI = uI.reducer, sr = {
|
|
3277
3274
|
outboxReducer: VT,
|
|
3278
|
-
fileReducer:
|
|
3275
|
+
fileReducer: vp,
|
|
3279
3276
|
authReducer: Nh
|
|
3280
3277
|
}, aP = pn(sr), hI = {
|
|
3281
3278
|
...sr,
|
|
@@ -3286,12 +3283,12 @@ const f = (
|
|
|
3286
3283
|
assetStageReducer: Bu,
|
|
3287
3284
|
assetTypeReducer: Rh,
|
|
3288
3285
|
assetTypeAttachmentReducer: Wu,
|
|
3289
|
-
issueReducer:
|
|
3286
|
+
issueReducer: zf,
|
|
3290
3287
|
issueAttachmentReducer: Ky,
|
|
3291
3288
|
issueTypeReducer: FS,
|
|
3292
3289
|
issueTypeAttachmentReducer: Hf,
|
|
3293
|
-
organizationReducer:
|
|
3294
|
-
projectReducer:
|
|
3290
|
+
organizationReducer: vT,
|
|
3291
|
+
projectReducer: vO,
|
|
3295
3292
|
projectAttachmentReducer: cO,
|
|
3296
3293
|
projectAccessReducer: GT,
|
|
3297
3294
|
organizationAccessReducer: mT,
|
|
@@ -3325,7 +3322,7 @@ const f = (
|
|
|
3325
3322
|
assetTypeFieldsReducer: Tl,
|
|
3326
3323
|
assetTypeFieldValuesReducer: Nl,
|
|
3327
3324
|
assetTypeFieldsAttachmentReducer: rl,
|
|
3328
|
-
assetTypeFieldValuesAttachmentReducer:
|
|
3325
|
+
assetTypeFieldValuesAttachmentReducer: vl,
|
|
3329
3326
|
assetTypeIdentifierReducer: nh,
|
|
3330
3327
|
assetTypeIdentifierValueReducer: fh,
|
|
3331
3328
|
assetTypeStatusReducer: Uh,
|
|
@@ -3520,7 +3517,7 @@ function EI(t) {
|
|
|
3520
3517
|
if (e.response && s(e.response.response)) return e.response.response;
|
|
3521
3518
|
}
|
|
3522
3519
|
}
|
|
3523
|
-
class
|
|
3520
|
+
class vI extends ar {
|
|
3524
3521
|
constructor(s) {
|
|
3525
3522
|
super(s);
|
|
3526
3523
|
}
|
|
@@ -3626,7 +3623,7 @@ function S(t, s, e) {
|
|
|
3626
3623
|
return `Delete ${n}`;
|
|
3627
3624
|
}
|
|
3628
3625
|
}
|
|
3629
|
-
class
|
|
3626
|
+
class z extends rt {
|
|
3630
3627
|
async get(s, e) {
|
|
3631
3628
|
return this.performRequest(
|
|
3632
3629
|
{
|
|
@@ -3653,7 +3650,7 @@ class v extends rt {
|
|
|
3653
3650
|
);
|
|
3654
3651
|
}
|
|
3655
3652
|
}
|
|
3656
|
-
class j extends
|
|
3653
|
+
class j extends z {
|
|
3657
3654
|
constructor() {
|
|
3658
3655
|
super(...arguments);
|
|
3659
3656
|
h(this, "pageSize", mI);
|
|
@@ -3696,16 +3693,17 @@ class j extends v {
|
|
|
3696
3693
|
const y = m.then(({ instance: b }) => b), T = m.then(async ({ instance: b, presigned_url: E }) => {
|
|
3697
3694
|
try {
|
|
3698
3695
|
return E && await this.client.files.processPresignedUrl(b.file_sha1, E), b.file_sha1;
|
|
3699
|
-
} catch (
|
|
3700
|
-
throw console.error("Upload to s3 using presigned url failed.",
|
|
3696
|
+
} catch (M) {
|
|
3697
|
+
throw console.error("Upload to s3 using presigned url failed.", M), M;
|
|
3701
3698
|
}
|
|
3702
3699
|
});
|
|
3703
3700
|
return [d, y, T];
|
|
3704
3701
|
}
|
|
3705
3702
|
async bulkAdd(e, n) {
|
|
3706
3703
|
const { addMany: i, updateMany: a, deleteMany: r } = this.actions, o = (/* @__PURE__ */ new Date()).toISOString(), c = [], d = /* @__PURE__ */ new Set(), u = et(e, Math.min(n ?? e.length, Qe)), m = [];
|
|
3704
|
+
console.log("BaseOfflineFileModelApiService", "pre batches");
|
|
3707
3705
|
for (const E of u) {
|
|
3708
|
-
const
|
|
3706
|
+
const M = [], R = {};
|
|
3709
3707
|
for (const q of E) {
|
|
3710
3708
|
let $;
|
|
3711
3709
|
if ("file" in q) {
|
|
@@ -3725,18 +3723,18 @@ class j extends v {
|
|
|
3725
3723
|
const V = this.buildModel($);
|
|
3726
3724
|
c.push(V);
|
|
3727
3725
|
const Je = this.buildPayload(V);
|
|
3728
|
-
|
|
3726
|
+
M.push(Je);
|
|
3729
3727
|
}
|
|
3730
3728
|
const w = {
|
|
3731
|
-
payloads:
|
|
3729
|
+
payloads: M,
|
|
3732
3730
|
submitted_at: o,
|
|
3733
3731
|
files: Object.values(R)
|
|
3734
3732
|
};
|
|
3735
3733
|
m.push(w);
|
|
3736
3734
|
}
|
|
3737
|
-
this.dispatch(i(c));
|
|
3735
|
+
this.dispatch(i(c)), console.log("BaseOfflineFileModelApiService", "pre requests");
|
|
3738
3736
|
const y = m.map((E) => {
|
|
3739
|
-
const { payloads:
|
|
3737
|
+
const { payloads: M } = E, R = M.flatMap((q) => this.getBlockers(q)), w = [].concat(M.map((q) => q.uuid)).concat(M.map((q) => q.file_sha1));
|
|
3740
3738
|
return this.enqueueRequest({
|
|
3741
3739
|
description: S(l.POST, this.name, !0),
|
|
3742
3740
|
method: l.POST,
|
|
@@ -3747,28 +3745,28 @@ class j extends v {
|
|
|
3747
3745
|
});
|
|
3748
3746
|
});
|
|
3749
3747
|
Promise.all(y).then((E) => {
|
|
3750
|
-
const
|
|
3751
|
-
this.dispatch(a(
|
|
3748
|
+
const M = E.flatMap((R) => R.instances);
|
|
3749
|
+
this.dispatch(a(M));
|
|
3752
3750
|
}).catch((E) => {
|
|
3753
|
-
throw this.dispatch(r(c.map((
|
|
3751
|
+
throw this.dispatch(r(c.map((M) => this.getId(M)))), E;
|
|
3754
3752
|
}).finally(() => {
|
|
3755
3753
|
for (const E of d)
|
|
3756
3754
|
URL.revokeObjectURL(E);
|
|
3757
3755
|
});
|
|
3758
|
-
const T = Promise.all(y).then((E) => E.flatMap(({ instances:
|
|
3759
|
-
const
|
|
3756
|
+
const T = Promise.all(y).then((E) => E.flatMap(({ instances: M }) => M)), b = Promise.all(y).then(async (E) => {
|
|
3757
|
+
const M = [];
|
|
3760
3758
|
for (const { presigned_urls: R } of E) {
|
|
3761
3759
|
const w = this.client.files.processPresignedUrls(R);
|
|
3762
3760
|
for (const [q, $] of Object.entries(w))
|
|
3763
3761
|
try {
|
|
3764
|
-
await $,
|
|
3762
|
+
await $, M.push(q);
|
|
3765
3763
|
} catch (V) {
|
|
3766
3764
|
throw console.error("Upload to s3 using presigned url failed.", V), V;
|
|
3767
3765
|
}
|
|
3768
3766
|
}
|
|
3769
|
-
return
|
|
3767
|
+
return M;
|
|
3770
3768
|
});
|
|
3771
|
-
return [c, T, b];
|
|
3769
|
+
return console.log("BaseOfflineFileModelApiService", "pre return"), [c, T, b];
|
|
3772
3770
|
}
|
|
3773
3771
|
async delete(e) {
|
|
3774
3772
|
const { store: n } = this.client, { addOne: i, deleteOne: a } = this.actions, { selectById: r } = this.selectors, o = r(e)(n.getState());
|
|
@@ -3926,8 +3924,8 @@ class lP extends j {
|
|
|
3926
3924
|
initialize: Oc
|
|
3927
3925
|
});
|
|
3928
3926
|
h(this, "selectors", {
|
|
3929
|
-
selectById:
|
|
3930
|
-
selectByIds:
|
|
3927
|
+
selectById: vc,
|
|
3928
|
+
selectByIds: zc
|
|
3931
3929
|
});
|
|
3932
3930
|
}
|
|
3933
3931
|
getId(e) {
|
|
@@ -3968,7 +3966,7 @@ class lP extends j {
|
|
|
3968
3966
|
return this.dispatch(i(a)), a;
|
|
3969
3967
|
}
|
|
3970
3968
|
}
|
|
3971
|
-
class hP extends
|
|
3969
|
+
class hP extends z {
|
|
3972
3970
|
constructor() {
|
|
3973
3971
|
super(...arguments);
|
|
3974
3972
|
h(this, "name", "Asset Procedure Type Fields");
|
|
@@ -4001,7 +3999,7 @@ class hP extends v {
|
|
|
4001
3999
|
description: S(l.POST, this.name, !1),
|
|
4002
4000
|
method: l.POST,
|
|
4003
4001
|
url: `${this.url}/`,
|
|
4004
|
-
payload:
|
|
4002
|
+
payload: v(d),
|
|
4005
4003
|
blockers: [d.asset_procedure_type],
|
|
4006
4004
|
blocks: [d.uuid]
|
|
4007
4005
|
});
|
|
@@ -4030,7 +4028,7 @@ class pP extends j {
|
|
|
4030
4028
|
h(this, "url", "/asset-procedure-type-field-values-attachments");
|
|
4031
4029
|
h(this, "actions", {
|
|
4032
4030
|
addOne: Wc,
|
|
4033
|
-
addMany:
|
|
4031
|
+
addMany: zn,
|
|
4034
4032
|
setOne: Kc,
|
|
4035
4033
|
setMany: Yc,
|
|
4036
4034
|
updateOne: Zc,
|
|
@@ -4099,7 +4097,7 @@ class pP extends j {
|
|
|
4099
4097
|
return this.dispatch(i(r)), r;
|
|
4100
4098
|
}
|
|
4101
4099
|
}
|
|
4102
|
-
class mP extends
|
|
4100
|
+
class mP extends z {
|
|
4103
4101
|
constructor() {
|
|
4104
4102
|
super(...arguments);
|
|
4105
4103
|
h(this, "name", "Asset Procedure Type Field Values");
|
|
@@ -4130,7 +4128,7 @@ class mP extends v {
|
|
|
4130
4128
|
description: S(l.POST, this.name, !1),
|
|
4131
4129
|
method: l.POST,
|
|
4132
4130
|
url: `${this.url}/`,
|
|
4133
|
-
payload:
|
|
4131
|
+
payload: v(u),
|
|
4134
4132
|
blockers: [e.asset, e.fields_revision, e.asset_procedure],
|
|
4135
4133
|
blocks: [u.uuid]
|
|
4136
4134
|
});
|
|
@@ -4143,9 +4141,9 @@ class mP extends v {
|
|
|
4143
4141
|
bulkAdd(e, n) {
|
|
4144
4142
|
var E;
|
|
4145
4143
|
const { values: i, payloads: a } = e, { addMany: r, setMany: o, deleteMany: c } = this.actions, d = (/* @__PURE__ */ new Date()).toISOString(), u = ((E = this.client.store.getState().userReducer.currentUser) == null ? void 0 : E.id) ?? null, m = [], y = et(a, Math.min(n ?? a.length, Qe)), T = [];
|
|
4146
|
-
for (const
|
|
4144
|
+
for (const M of y) {
|
|
4147
4145
|
const R = [];
|
|
4148
|
-
for (const w of
|
|
4146
|
+
for (const w of M) {
|
|
4149
4147
|
const q = g({
|
|
4150
4148
|
...w,
|
|
4151
4149
|
values: w.values,
|
|
@@ -4169,19 +4167,19 @@ class mP extends v {
|
|
|
4169
4167
|
}
|
|
4170
4168
|
this.dispatch(r(m));
|
|
4171
4169
|
const b = [];
|
|
4172
|
-
for (const
|
|
4173
|
-
const { field_values: R } =
|
|
4170
|
+
for (const M of T) {
|
|
4171
|
+
const { field_values: R } = M, w = R.map(({ asset: B }) => B), q = R.map(({ fields_revision: B }) => B), $ = R.map(({ asset_procedure: B }) => B), V = R.map(({ uuid: B }) => B), Je = this.enqueueRequest({
|
|
4174
4172
|
description: S(l.POST, this.name, !0),
|
|
4175
4173
|
method: l.POST,
|
|
4176
4174
|
url: `${this.url}/bulk/`,
|
|
4177
|
-
payload:
|
|
4175
|
+
payload: M,
|
|
4178
4176
|
blockers: w.concat(q).concat($),
|
|
4179
4177
|
blocks: V
|
|
4180
4178
|
});
|
|
4181
4179
|
b.push(Je);
|
|
4182
4180
|
}
|
|
4183
|
-
return Promise.all(b).then((
|
|
4184
|
-
this.dispatch(o(
|
|
4181
|
+
return Promise.all(b).then((M) => {
|
|
4182
|
+
this.dispatch(o(M.flat()));
|
|
4185
4183
|
}).catch(() => {
|
|
4186
4184
|
this.dispatch(c(k(m)));
|
|
4187
4185
|
}), [m, b];
|
|
@@ -4228,7 +4226,7 @@ class mP extends v {
|
|
|
4228
4226
|
blocks: []
|
|
4229
4227
|
});
|
|
4230
4228
|
} catch (u) {
|
|
4231
|
-
throw this.dispatch(a(c)), this.dispatch(
|
|
4229
|
+
throw this.dispatch(a(c)), this.dispatch(zn(d)), u;
|
|
4232
4230
|
}
|
|
4233
4231
|
}
|
|
4234
4232
|
async refreshStore(e, n) {
|
|
@@ -4244,7 +4242,7 @@ class mP extends v {
|
|
|
4244
4242
|
return this.dispatch(i(r)), r;
|
|
4245
4243
|
}
|
|
4246
4244
|
}
|
|
4247
|
-
class yP extends
|
|
4245
|
+
class yP extends z {
|
|
4248
4246
|
constructor() {
|
|
4249
4247
|
super(...arguments);
|
|
4250
4248
|
h(this, "name", "Asset Procedure");
|
|
@@ -4277,7 +4275,7 @@ class yP extends v {
|
|
|
4277
4275
|
description: S(l.POST, this.name, !1),
|
|
4278
4276
|
method: l.POST,
|
|
4279
4277
|
url: `${this.url}/`,
|
|
4280
|
-
payload:
|
|
4278
|
+
payload: v(d),
|
|
4281
4279
|
blockers: [e.asset_procedure_type, e.asset_type],
|
|
4282
4280
|
blocks: [d.uuid]
|
|
4283
4281
|
});
|
|
@@ -4339,17 +4337,17 @@ class yP extends v {
|
|
|
4339
4337
|
return this.dispatch(i(r)), r;
|
|
4340
4338
|
}
|
|
4341
4339
|
}
|
|
4342
|
-
class fP extends
|
|
4340
|
+
class fP extends z {
|
|
4343
4341
|
constructor() {
|
|
4344
4342
|
super(...arguments);
|
|
4345
4343
|
h(this, "name", "Asset Procedure Type");
|
|
4346
4344
|
h(this, "url", "/asset-procedure-types");
|
|
4347
4345
|
h(this, "actions", {
|
|
4348
4346
|
addOne: Ed,
|
|
4349
|
-
addMany:
|
|
4347
|
+
addMany: vd,
|
|
4350
4348
|
setOne: Vd,
|
|
4351
4349
|
setMany: Dd,
|
|
4352
|
-
updateOne:
|
|
4350
|
+
updateOne: zd,
|
|
4353
4351
|
updateMany: Bd,
|
|
4354
4352
|
deleteOne: kd,
|
|
4355
4353
|
deleteMany: qd,
|
|
@@ -4372,7 +4370,7 @@ class fP extends v {
|
|
|
4372
4370
|
description: S(l.POST, this.name, !1),
|
|
4373
4371
|
method: l.POST,
|
|
4374
4372
|
url: `${this.url}/`,
|
|
4375
|
-
payload:
|
|
4373
|
+
payload: v(d),
|
|
4376
4374
|
blockers: [],
|
|
4377
4375
|
blocks: [d.uuid]
|
|
4378
4376
|
});
|
|
@@ -4494,7 +4492,7 @@ class AP extends j {
|
|
|
4494
4492
|
return this.dispatch(i(a)), a;
|
|
4495
4493
|
}
|
|
4496
4494
|
}
|
|
4497
|
-
class SP extends
|
|
4495
|
+
class SP extends z {
|
|
4498
4496
|
constructor() {
|
|
4499
4497
|
super(...arguments);
|
|
4500
4498
|
h(this, "name", "Asset Procedure Step Fields");
|
|
@@ -4527,7 +4525,7 @@ class SP extends v {
|
|
|
4527
4525
|
description: S(l.POST, this.name, !1),
|
|
4528
4526
|
method: l.POST,
|
|
4529
4527
|
url: `${this.url}/`,
|
|
4530
|
-
payload:
|
|
4528
|
+
payload: v(d),
|
|
4531
4529
|
blockers: [d.asset_procedure_step],
|
|
4532
4530
|
blocks: [d.uuid]
|
|
4533
4531
|
});
|
|
@@ -4665,7 +4663,7 @@ class TP extends j {
|
|
|
4665
4663
|
return this.dispatch(i(r)), r;
|
|
4666
4664
|
}
|
|
4667
4665
|
}
|
|
4668
|
-
class OP extends
|
|
4666
|
+
class OP extends z {
|
|
4669
4667
|
constructor() {
|
|
4670
4668
|
super(...arguments);
|
|
4671
4669
|
h(this, "name", "Asset Procedure Step Field Values");
|
|
@@ -4675,8 +4673,8 @@ class OP extends v {
|
|
|
4675
4673
|
addMany: wo,
|
|
4676
4674
|
setOne: Ro,
|
|
4677
4675
|
setMany: Eo,
|
|
4678
|
-
updateOne:
|
|
4679
|
-
updateMany:
|
|
4676
|
+
updateOne: vo,
|
|
4677
|
+
updateMany: zo,
|
|
4680
4678
|
deleteOne: Bo,
|
|
4681
4679
|
deleteMany: ko,
|
|
4682
4680
|
initialize: Mo
|
|
@@ -4696,7 +4694,7 @@ class OP extends v {
|
|
|
4696
4694
|
description: S(l.POST, this.name, !1),
|
|
4697
4695
|
method: l.POST,
|
|
4698
4696
|
url: `${this.url}/`,
|
|
4699
|
-
payload:
|
|
4697
|
+
payload: v(u),
|
|
4700
4698
|
blockers: [e.asset, e.fields_revision, e.asset_procedure],
|
|
4701
4699
|
blocks: [u.uuid]
|
|
4702
4700
|
});
|
|
@@ -4709,9 +4707,9 @@ class OP extends v {
|
|
|
4709
4707
|
bulkAdd(e, n) {
|
|
4710
4708
|
var E;
|
|
4711
4709
|
const { payloads: i, values: a } = e, { addMany: r, setMany: o, deleteMany: c } = this.actions, d = (/* @__PURE__ */ new Date()).toISOString(), u = ((E = this.client.store.getState().userReducer.currentUser) == null ? void 0 : E.id) ?? null, m = [], y = et(i, Math.min(n ?? i.length, Qe)), T = [];
|
|
4712
|
-
for (const
|
|
4710
|
+
for (const M of y) {
|
|
4713
4711
|
const R = [];
|
|
4714
|
-
for (const w of
|
|
4712
|
+
for (const w of M) {
|
|
4715
4713
|
const q = g({
|
|
4716
4714
|
...w,
|
|
4717
4715
|
values: w.values,
|
|
@@ -4736,19 +4734,19 @@ class OP extends v {
|
|
|
4736
4734
|
}
|
|
4737
4735
|
this.dispatch(r(m));
|
|
4738
4736
|
const b = [];
|
|
4739
|
-
for (const
|
|
4740
|
-
const { field_values: R } =
|
|
4737
|
+
for (const M of T) {
|
|
4738
|
+
const { field_values: R } = M, w = R.map(({ asset: B }) => B), q = R.map(({ fields_revision: B }) => B), $ = R.map(({ asset_procedure: B }) => B), V = R.map(({ uuid: B }) => B), Je = this.enqueueRequest({
|
|
4741
4739
|
description: S(l.POST, this.name, !0),
|
|
4742
4740
|
method: l.POST,
|
|
4743
4741
|
url: `${this.url}/bulk/`,
|
|
4744
|
-
payload:
|
|
4742
|
+
payload: M,
|
|
4745
4743
|
blockers: w.concat(q).concat($),
|
|
4746
4744
|
blocks: V
|
|
4747
4745
|
});
|
|
4748
4746
|
b.push(Je);
|
|
4749
4747
|
}
|
|
4750
|
-
return Promise.all(b).then((
|
|
4751
|
-
this.dispatch(o(
|
|
4748
|
+
return Promise.all(b).then((M) => {
|
|
4749
|
+
this.dispatch(o(M.flat()));
|
|
4752
4750
|
}).catch(() => {
|
|
4753
4751
|
this.dispatch(c(k(m)));
|
|
4754
4752
|
}), [m, b];
|
|
@@ -4813,7 +4811,7 @@ class OP extends v {
|
|
|
4813
4811
|
return this.dispatch(i(r)), r;
|
|
4814
4812
|
}
|
|
4815
4813
|
}
|
|
4816
|
-
class IP extends
|
|
4814
|
+
class IP extends z {
|
|
4817
4815
|
constructor() {
|
|
4818
4816
|
super(...arguments);
|
|
4819
4817
|
h(this, "name", "Asset Procedure Step");
|
|
@@ -4846,7 +4844,7 @@ class IP extends v {
|
|
|
4846
4844
|
description: S(l.POST, this.name, !1),
|
|
4847
4845
|
method: l.POST,
|
|
4848
4846
|
url: `${this.url}/`,
|
|
4849
|
-
payload:
|
|
4847
|
+
payload: v(d),
|
|
4850
4848
|
blockers: [d.asset_procedure_type],
|
|
4851
4849
|
blocks: [d.uuid]
|
|
4852
4850
|
});
|
|
@@ -4912,7 +4910,7 @@ class IP extends v {
|
|
|
4912
4910
|
return this.dispatch(i(a)), a;
|
|
4913
4911
|
}
|
|
4914
4912
|
}
|
|
4915
|
-
class gP extends
|
|
4913
|
+
class gP extends z {
|
|
4916
4914
|
constructor() {
|
|
4917
4915
|
super(...arguments);
|
|
4918
4916
|
h(this, "url", "/assets");
|
|
@@ -4945,7 +4943,7 @@ class gP extends v {
|
|
|
4945
4943
|
description: S(l.POST, this.name, !1),
|
|
4946
4944
|
method: l.POST,
|
|
4947
4945
|
url: `${this.url}/`,
|
|
4948
|
-
payload:
|
|
4946
|
+
payload: v(d),
|
|
4949
4947
|
blockers: [d.asset_type],
|
|
4950
4948
|
blocks: [d.uuid]
|
|
4951
4949
|
});
|
|
@@ -5012,12 +5010,12 @@ class gP extends v {
|
|
|
5012
5010
|
}), c = [];
|
|
5013
5011
|
let d = null;
|
|
5014
5012
|
for (const u of o) {
|
|
5015
|
-
const { batchId: m, payload: y } = u, T = y.assets.map(({ uuid: w }) => w), b = y.assets.map(({ asset_type: w }) => w), E = y.assets.map(({ project: w }) => w),
|
|
5013
|
+
const { batchId: m, payload: y } = u, T = y.assets.map(({ uuid: w }) => w), b = y.assets.map(({ asset_type: w }) => w), E = y.assets.map(({ project: w }) => w), M = y.assets.map(({ status: w }) => w), R = this.enqueueRequest({
|
|
5016
5014
|
description: S(l.POST, this.name, !0),
|
|
5017
5015
|
method: l.POST,
|
|
5018
5016
|
url: `${this.url}/bulk/`,
|
|
5019
5017
|
payload: y,
|
|
5020
|
-
blockers: (d ? [d] : []).concat(b).concat(E).concat(
|
|
5018
|
+
blockers: (d ? [d] : []).concat(b).concat(E).concat(M),
|
|
5021
5019
|
blocks: [m].concat(T)
|
|
5022
5020
|
});
|
|
5023
5021
|
d = u.batchId, c.push(R);
|
|
@@ -5046,14 +5044,14 @@ class gP extends v {
|
|
|
5046
5044
|
const u = et(e, Math.min(n ?? e.length, Qe)), m = [];
|
|
5047
5045
|
let y = null;
|
|
5048
5046
|
for (const T of u) {
|
|
5049
|
-
const b = Xe(), E = k(T),
|
|
5047
|
+
const b = Xe(), E = k(T), M = T.map(({ status: w }) => w).filter(Boolean), R = this.enqueueRequest({
|
|
5050
5048
|
description: S(l.PATCH, this.name, !0),
|
|
5051
5049
|
method: l.PATCH,
|
|
5052
5050
|
url: `${this.url}/bulk/`,
|
|
5053
5051
|
payload: {
|
|
5054
5052
|
payloads: T
|
|
5055
5053
|
},
|
|
5056
|
-
blockers: (y ? [y] : []).concat(E).concat(
|
|
5054
|
+
blockers: (y ? [y] : []).concat(E).concat(M),
|
|
5057
5055
|
blocks: [b].concat(E)
|
|
5058
5056
|
});
|
|
5059
5057
|
m.push(R), y = b;
|
|
@@ -5092,7 +5090,7 @@ class gP extends v {
|
|
|
5092
5090
|
return this.dispatch(i(r)), r;
|
|
5093
5091
|
}
|
|
5094
5092
|
}
|
|
5095
|
-
class bP extends
|
|
5093
|
+
class bP extends z {
|
|
5096
5094
|
constructor() {
|
|
5097
5095
|
super(...arguments);
|
|
5098
5096
|
h(this, "name", "Asset Stage Completion");
|
|
@@ -5125,7 +5123,7 @@ class bP extends v {
|
|
|
5125
5123
|
description: S(l.POST, this.name, !1),
|
|
5126
5124
|
method: l.POST,
|
|
5127
5125
|
url: `${this.url}/`,
|
|
5128
|
-
payload:
|
|
5126
|
+
payload: v(d),
|
|
5129
5127
|
blockers: [e.asset, e.asset_stage],
|
|
5130
5128
|
blocks: [d.uuid]
|
|
5131
5129
|
});
|
|
@@ -5209,7 +5207,7 @@ class bP extends v {
|
|
|
5209
5207
|
return this.dispatch(i(r)), r;
|
|
5210
5208
|
}
|
|
5211
5209
|
}
|
|
5212
|
-
class PP extends
|
|
5210
|
+
class PP extends z {
|
|
5213
5211
|
constructor() {
|
|
5214
5212
|
super(...arguments);
|
|
5215
5213
|
h(this, "name", "Asset Stage");
|
|
@@ -5221,8 +5219,8 @@ class PP extends v {
|
|
|
5221
5219
|
setMany: Mu,
|
|
5222
5220
|
updateOne: Ru,
|
|
5223
5221
|
updateMany: Eu,
|
|
5224
|
-
deleteOne:
|
|
5225
|
-
deleteMany:
|
|
5222
|
+
deleteOne: vu,
|
|
5223
|
+
deleteMany: zu,
|
|
5226
5224
|
initialize: Pu
|
|
5227
5225
|
});
|
|
5228
5226
|
h(this, "selectors", {
|
|
@@ -5242,7 +5240,7 @@ class PP extends v {
|
|
|
5242
5240
|
description: S(l.POST, this.name, !1),
|
|
5243
5241
|
method: l.POST,
|
|
5244
5242
|
url: `${this.url}/`,
|
|
5245
|
-
payload:
|
|
5243
|
+
payload: v(d),
|
|
5246
5244
|
blockers: [d.asset_procedure_type],
|
|
5247
5245
|
blocks: [d.uuid]
|
|
5248
5246
|
});
|
|
@@ -5418,7 +5416,7 @@ class MP extends j {
|
|
|
5418
5416
|
return this.dispatch(i(a)), a;
|
|
5419
5417
|
}
|
|
5420
5418
|
}
|
|
5421
|
-
class FP extends
|
|
5419
|
+
class FP extends z {
|
|
5422
5420
|
constructor() {
|
|
5423
5421
|
super(...arguments);
|
|
5424
5422
|
h(this, "name", "Asset Type Fields");
|
|
@@ -5451,7 +5449,7 @@ class FP extends v {
|
|
|
5451
5449
|
description: S(l.POST, this.name, !1),
|
|
5452
5450
|
method: l.POST,
|
|
5453
5451
|
url: `${this.url}/`,
|
|
5454
|
-
payload:
|
|
5452
|
+
payload: v(d),
|
|
5455
5453
|
blockers: [d.asset_type],
|
|
5456
5454
|
blocks: [d.uuid]
|
|
5457
5455
|
});
|
|
@@ -5549,7 +5547,7 @@ class wP extends j {
|
|
|
5549
5547
|
return this.dispatch(i(r)), r;
|
|
5550
5548
|
}
|
|
5551
5549
|
}
|
|
5552
|
-
class RP extends
|
|
5550
|
+
class RP extends z {
|
|
5553
5551
|
constructor() {
|
|
5554
5552
|
super(...arguments);
|
|
5555
5553
|
h(this, "name", "Asset Type Field Values");
|
|
@@ -5563,7 +5561,7 @@ class RP extends v {
|
|
|
5563
5561
|
updateMany: jl,
|
|
5564
5562
|
deleteOne: $l,
|
|
5565
5563
|
deleteMany: xl,
|
|
5566
|
-
initialize:
|
|
5564
|
+
initialize: zl
|
|
5567
5565
|
});
|
|
5568
5566
|
h(this, "selectors", {
|
|
5569
5567
|
selectById: Ul,
|
|
@@ -5580,7 +5578,7 @@ class RP extends v {
|
|
|
5580
5578
|
description: S(l.POST, this.name, !1),
|
|
5581
5579
|
method: l.POST,
|
|
5582
5580
|
url: `${this.url}/`,
|
|
5583
|
-
payload:
|
|
5581
|
+
payload: v(u),
|
|
5584
5582
|
blockers: [e.asset, e.fields_revision],
|
|
5585
5583
|
blocks: [u.uuid]
|
|
5586
5584
|
});
|
|
@@ -5594,7 +5592,7 @@ class RP extends v {
|
|
|
5594
5592
|
var b;
|
|
5595
5593
|
const { payloads: i, values: a } = e, { addMany: r, setMany: o, deleteMany: c } = this.actions, d = (/* @__PURE__ */ new Date()).toISOString(), u = [], m = et(i, Math.min(n ?? i.length, Qe)), y = [];
|
|
5596
5594
|
for (const E of m) {
|
|
5597
|
-
const
|
|
5595
|
+
const M = [];
|
|
5598
5596
|
for (const R of E) {
|
|
5599
5597
|
const w = g({
|
|
5600
5598
|
...R,
|
|
@@ -5602,7 +5600,7 @@ class RP extends v {
|
|
|
5602
5600
|
created_by: ((b = this.client.store.getState().userReducer.currentUser) == null ? void 0 : b.id) ?? null,
|
|
5603
5601
|
submitted_at: d
|
|
5604
5602
|
});
|
|
5605
|
-
u.push(w),
|
|
5603
|
+
u.push(w), M.push({
|
|
5606
5604
|
uuid: w.uuid,
|
|
5607
5605
|
asset: R.asset,
|
|
5608
5606
|
fields_revision: R.fields_revision,
|
|
@@ -5613,13 +5611,13 @@ class RP extends v {
|
|
|
5613
5611
|
y.push({
|
|
5614
5612
|
submitted_at: d,
|
|
5615
5613
|
values: a,
|
|
5616
|
-
field_values:
|
|
5614
|
+
field_values: M
|
|
5617
5615
|
});
|
|
5618
5616
|
}
|
|
5619
5617
|
this.dispatch(r(u));
|
|
5620
5618
|
const T = [];
|
|
5621
5619
|
for (const E of y) {
|
|
5622
|
-
const { field_values:
|
|
5620
|
+
const { field_values: M } = E, R = M.map(({ asset: V }) => V), w = M.map(({ fields_revision: V }) => V), q = M.map(({ uuid: V }) => V), $ = this.enqueueRequest({
|
|
5623
5621
|
description: S(l.POST, this.name, !0),
|
|
5624
5622
|
method: l.POST,
|
|
5625
5623
|
url: `${this.url}/bulk/`,
|
|
@@ -5693,7 +5691,7 @@ class RP extends v {
|
|
|
5693
5691
|
return this.dispatch(i(r)), r;
|
|
5694
5692
|
}
|
|
5695
5693
|
}
|
|
5696
|
-
class EP extends
|
|
5694
|
+
class EP extends z {
|
|
5697
5695
|
constructor() {
|
|
5698
5696
|
super(...arguments);
|
|
5699
5697
|
h(this, "name", "Asset Type Identifier");
|
|
@@ -5726,7 +5724,7 @@ class EP extends v {
|
|
|
5726
5724
|
description: S(l.POST, this.name, !1),
|
|
5727
5725
|
method: l.POST,
|
|
5728
5726
|
url: `${this.url}/`,
|
|
5729
|
-
payload:
|
|
5727
|
+
payload: v(d),
|
|
5730
5728
|
blockers: [d.asset_type],
|
|
5731
5729
|
blocks: [d.uuid]
|
|
5732
5730
|
});
|
|
@@ -5788,7 +5786,7 @@ class EP extends v {
|
|
|
5788
5786
|
return this.dispatch(i(a)), a;
|
|
5789
5787
|
}
|
|
5790
5788
|
}
|
|
5791
|
-
class
|
|
5789
|
+
class vP extends z {
|
|
5792
5790
|
constructor() {
|
|
5793
5791
|
super(...arguments);
|
|
5794
5792
|
h(this, "name", "Asset Type Identifier Value");
|
|
@@ -5821,7 +5819,7 @@ class zP extends v {
|
|
|
5821
5819
|
description: S(l.POST, this.name, !1),
|
|
5822
5820
|
method: l.POST,
|
|
5823
5821
|
url: `${this.url}/`,
|
|
5824
|
-
payload:
|
|
5822
|
+
payload: v(d),
|
|
5825
5823
|
blockers: [e.asset, e.asset_type_identifier],
|
|
5826
5824
|
blocks: [d.uuid]
|
|
5827
5825
|
});
|
|
@@ -5861,7 +5859,7 @@ class zP extends v {
|
|
|
5861
5859
|
return this.dispatch(i(r)), r;
|
|
5862
5860
|
}
|
|
5863
5861
|
}
|
|
5864
|
-
class
|
|
5862
|
+
class zP extends z {
|
|
5865
5863
|
constructor() {
|
|
5866
5864
|
super(...arguments);
|
|
5867
5865
|
h(this, "name", "Asset Type");
|
|
@@ -5894,7 +5892,7 @@ class vP extends v {
|
|
|
5894
5892
|
description: S(l.POST, this.name, !1),
|
|
5895
5893
|
method: l.POST,
|
|
5896
5894
|
url: `${this.url}/`,
|
|
5897
|
-
payload:
|
|
5895
|
+
payload: v(d),
|
|
5898
5896
|
blockers: [],
|
|
5899
5897
|
blocks: [d.uuid]
|
|
5900
5898
|
});
|
|
@@ -5957,14 +5955,14 @@ class vP extends v {
|
|
|
5957
5955
|
return this.dispatch(i(a)), a;
|
|
5958
5956
|
}
|
|
5959
5957
|
}
|
|
5960
|
-
class BP extends
|
|
5958
|
+
class BP extends z {
|
|
5961
5959
|
constructor() {
|
|
5962
5960
|
super(...arguments);
|
|
5963
5961
|
h(this, "name", "Asset Type Status");
|
|
5964
5962
|
h(this, "url", "/asset-type-statuses");
|
|
5965
5963
|
h(this, "actions", {
|
|
5966
|
-
addOne:
|
|
5967
|
-
addMany:
|
|
5964
|
+
addOne: vh,
|
|
5965
|
+
addMany: zh,
|
|
5968
5966
|
setOne: Bh,
|
|
5969
5967
|
setMany: kh,
|
|
5970
5968
|
updateOne: qh,
|
|
@@ -5990,7 +5988,7 @@ class BP extends v {
|
|
|
5990
5988
|
description: S(l.POST, this.name, !1),
|
|
5991
5989
|
method: l.POST,
|
|
5992
5990
|
url: `${this.url}/`,
|
|
5993
|
-
payload:
|
|
5991
|
+
payload: v(d),
|
|
5994
5992
|
blockers: [e.asset_type],
|
|
5995
5993
|
blocks: [d.uuid]
|
|
5996
5994
|
});
|
|
@@ -6136,7 +6134,7 @@ class kP extends j {
|
|
|
6136
6134
|
return this.dispatch(i(c)), c;
|
|
6137
6135
|
}
|
|
6138
6136
|
}
|
|
6139
|
-
class qP extends
|
|
6137
|
+
class qP extends z {
|
|
6140
6138
|
constructor() {
|
|
6141
6139
|
super(...arguments);
|
|
6142
6140
|
h(this, "name", "Document");
|
|
@@ -6169,7 +6167,7 @@ class qP extends v {
|
|
|
6169
6167
|
description: S(l.POST, this.name, !1),
|
|
6170
6168
|
method: l.POST,
|
|
6171
6169
|
url: `${this.url}/`,
|
|
6172
|
-
payload:
|
|
6170
|
+
payload: v(d),
|
|
6173
6171
|
blockers: d.parent_document ? [d.parent_document] : [],
|
|
6174
6172
|
blocks: [d.uuid]
|
|
6175
6173
|
});
|
|
@@ -6511,7 +6509,7 @@ class jP extends rt {
|
|
|
6511
6509
|
return await this.client.files.addCache(e), i;
|
|
6512
6510
|
}
|
|
6513
6511
|
}
|
|
6514
|
-
class $P extends
|
|
6512
|
+
class $P extends z {
|
|
6515
6513
|
constructor() {
|
|
6516
6514
|
super(...arguments);
|
|
6517
6515
|
h(this, "name", "Form Identifier");
|
|
@@ -6525,7 +6523,7 @@ class $P extends v {
|
|
|
6525
6523
|
updateMany: jp,
|
|
6526
6524
|
deleteOne: $p,
|
|
6527
6525
|
deleteMany: xp,
|
|
6528
|
-
initialize:
|
|
6526
|
+
initialize: zp
|
|
6529
6527
|
});
|
|
6530
6528
|
h(this, "selectors", {
|
|
6531
6529
|
selectById: Up,
|
|
@@ -6544,7 +6542,7 @@ class $P extends v {
|
|
|
6544
6542
|
description: S(l.POST, this.name, !1),
|
|
6545
6543
|
method: l.POST,
|
|
6546
6544
|
url: `${this.url}/`,
|
|
6547
|
-
payload:
|
|
6545
|
+
payload: v(d),
|
|
6548
6546
|
blockers: [d.form],
|
|
6549
6547
|
blocks: [d.uuid]
|
|
6550
6548
|
});
|
|
@@ -6606,7 +6604,7 @@ class $P extends v {
|
|
|
6606
6604
|
return this.dispatch(i(a)), a;
|
|
6607
6605
|
}
|
|
6608
6606
|
}
|
|
6609
|
-
class xP extends
|
|
6607
|
+
class xP extends z {
|
|
6610
6608
|
constructor() {
|
|
6611
6609
|
super(...arguments);
|
|
6612
6610
|
h(this, "name", "Form Identifier Value");
|
|
@@ -6639,7 +6637,7 @@ class xP extends v {
|
|
|
6639
6637
|
description: S(l.POST, this.name, !1),
|
|
6640
6638
|
method: l.POST,
|
|
6641
6639
|
url: `${this.url}/`,
|
|
6642
|
-
payload:
|
|
6640
|
+
payload: v(d),
|
|
6643
6641
|
blockers: [e.form_submission, e.form_identifier],
|
|
6644
6642
|
blocks: [d.uuid]
|
|
6645
6643
|
});
|
|
@@ -6738,7 +6736,7 @@ class CP extends j {
|
|
|
6738
6736
|
return this.dispatch(i(a)), a;
|
|
6739
6737
|
}
|
|
6740
6738
|
}
|
|
6741
|
-
class UP extends
|
|
6739
|
+
class UP extends z {
|
|
6742
6740
|
constructor() {
|
|
6743
6741
|
super(...arguments);
|
|
6744
6742
|
h(this, "name", "Form Revision");
|
|
@@ -6771,7 +6769,7 @@ class UP extends v {
|
|
|
6771
6769
|
description: S(l.POST, this.name, !1),
|
|
6772
6770
|
method: l.POST,
|
|
6773
6771
|
url: `${this.url}/`,
|
|
6774
|
-
payload:
|
|
6772
|
+
payload: v(u),
|
|
6775
6773
|
blockers: [e.form],
|
|
6776
6774
|
blocks: [u.uuid]
|
|
6777
6775
|
});
|
|
@@ -6793,7 +6791,7 @@ class UP extends v {
|
|
|
6793
6791
|
return this.dispatch(i(a)), a;
|
|
6794
6792
|
}
|
|
6795
6793
|
}
|
|
6796
|
-
class LP extends
|
|
6794
|
+
class LP extends z {
|
|
6797
6795
|
constructor() {
|
|
6798
6796
|
super(...arguments);
|
|
6799
6797
|
h(this, "name", "Form");
|
|
@@ -6803,8 +6801,8 @@ class LP extends v {
|
|
|
6803
6801
|
addMany: wm,
|
|
6804
6802
|
setOne: Rm,
|
|
6805
6803
|
setMany: Em,
|
|
6806
|
-
updateOne:
|
|
6807
|
-
updateMany:
|
|
6804
|
+
updateOne: vm,
|
|
6805
|
+
updateMany: zm,
|
|
6808
6806
|
deleteOne: Bm,
|
|
6809
6807
|
deleteMany: km,
|
|
6810
6808
|
initialize: Mm
|
|
@@ -6832,7 +6830,7 @@ class LP extends v {
|
|
|
6832
6830
|
method: l.POST,
|
|
6833
6831
|
url: `${this.url}/`,
|
|
6834
6832
|
payload: {
|
|
6835
|
-
...
|
|
6833
|
+
...v(d),
|
|
6836
6834
|
initial_revision: {
|
|
6837
6835
|
uuid: u.uuid,
|
|
6838
6836
|
submitted_at: u.submitted_at,
|
|
@@ -6953,7 +6951,7 @@ class NP extends j {
|
|
|
6953
6951
|
return this.dispatch(i(r)), r;
|
|
6954
6952
|
}
|
|
6955
6953
|
}
|
|
6956
|
-
class HP extends
|
|
6954
|
+
class HP extends z {
|
|
6957
6955
|
constructor() {
|
|
6958
6956
|
super(...arguments);
|
|
6959
6957
|
h(this, "name", "Form Submission");
|
|
@@ -6984,7 +6982,7 @@ class HP extends v {
|
|
|
6984
6982
|
description: S(l.POST, this.name, !1),
|
|
6985
6983
|
method: l.POST,
|
|
6986
6984
|
url: `${this.url}/`,
|
|
6987
|
-
payload:
|
|
6985
|
+
payload: v(u),
|
|
6988
6986
|
blockers: [e.form_revision],
|
|
6989
6987
|
blocks: [u.uuid]
|
|
6990
6988
|
});
|
|
@@ -7132,7 +7130,7 @@ class GP extends j {
|
|
|
7132
7130
|
return this.dispatch(i(a)), a;
|
|
7133
7131
|
}
|
|
7134
7132
|
}
|
|
7135
|
-
class WP extends
|
|
7133
|
+
class WP extends z {
|
|
7136
7134
|
constructor() {
|
|
7137
7135
|
super(...arguments);
|
|
7138
7136
|
h(this, "name", "Issue Association");
|
|
@@ -7165,7 +7163,7 @@ class WP extends v {
|
|
|
7165
7163
|
description: S(l.POST, this.name, !1),
|
|
7166
7164
|
method: l.POST,
|
|
7167
7165
|
url: `${this.url}/`,
|
|
7168
|
-
payload:
|
|
7166
|
+
payload: v(d),
|
|
7169
7167
|
blockers: [
|
|
7170
7168
|
e.associated_issue,
|
|
7171
7169
|
...e.issue ? [e.issue] : [],
|
|
@@ -7322,7 +7320,7 @@ class YP extends j {
|
|
|
7322
7320
|
return this.dispatch(i(r)), r;
|
|
7323
7321
|
}
|
|
7324
7322
|
}
|
|
7325
|
-
class ZP extends
|
|
7323
|
+
class ZP extends z {
|
|
7326
7324
|
constructor() {
|
|
7327
7325
|
super(...arguments);
|
|
7328
7326
|
h(this, "name", "Issue Comment");
|
|
@@ -7354,7 +7352,7 @@ class ZP extends v {
|
|
|
7354
7352
|
description: S(l.POST, this.name, !1),
|
|
7355
7353
|
method: l.POST,
|
|
7356
7354
|
url: `${this.url}/`,
|
|
7357
|
-
payload:
|
|
7355
|
+
payload: v(o),
|
|
7358
7356
|
blockers: [e.issue],
|
|
7359
7357
|
blocks: [o.uuid]
|
|
7360
7358
|
});
|
|
@@ -7416,7 +7414,7 @@ class ZP extends v {
|
|
|
7416
7414
|
return this.dispatch(i(r)), r;
|
|
7417
7415
|
}
|
|
7418
7416
|
}
|
|
7419
|
-
class JP extends
|
|
7417
|
+
class JP extends z {
|
|
7420
7418
|
constructor() {
|
|
7421
7419
|
super(...arguments);
|
|
7422
7420
|
h(this, "name", "Issue");
|
|
@@ -7449,7 +7447,7 @@ class JP extends v {
|
|
|
7449
7447
|
description: S(l.POST, this.name, !1),
|
|
7450
7448
|
method: l.POST,
|
|
7451
7449
|
url: `${this.url}/`,
|
|
7452
|
-
payload:
|
|
7450
|
+
payload: v(u),
|
|
7453
7451
|
blockers: [u.project, u.issue_type, u.status],
|
|
7454
7452
|
blocks: [u.uuid]
|
|
7455
7453
|
});
|
|
@@ -7490,7 +7488,7 @@ class JP extends v {
|
|
|
7490
7488
|
c[y] = e[y];
|
|
7491
7489
|
break;
|
|
7492
7490
|
case x.STATUS: {
|
|
7493
|
-
const T = e[y], b =
|
|
7491
|
+
const T = e[y], b = va(T)(a);
|
|
7494
7492
|
if (!b)
|
|
7495
7493
|
throw new Error(`Trying to update issue type status with ${T} which does not exist in store`);
|
|
7496
7494
|
c[y] = {
|
|
@@ -7556,14 +7554,14 @@ class JP extends v {
|
|
|
7556
7554
|
const u = et(e, Math.min(n ?? e.length, Qe)), m = [];
|
|
7557
7555
|
let y = null;
|
|
7558
7556
|
for (const T of u) {
|
|
7559
|
-
const b = Xe(), E = k(T),
|
|
7557
|
+
const b = Xe(), E = k(T), M = T.map(({ status: w }) => w).filter(Boolean), R = this.enqueueRequest({
|
|
7560
7558
|
description: S(l.PATCH, this.name, !0),
|
|
7561
7559
|
method: l.PATCH,
|
|
7562
7560
|
url: `${this.url}/bulk/`,
|
|
7563
7561
|
payload: {
|
|
7564
7562
|
payloads: T
|
|
7565
7563
|
},
|
|
7566
|
-
blockers: (y ? [y] : []).concat(E).concat(
|
|
7564
|
+
blockers: (y ? [y] : []).concat(E).concat(M),
|
|
7567
7565
|
blocks: [b].concat(E)
|
|
7568
7566
|
});
|
|
7569
7567
|
m.push(R), y = b;
|
|
@@ -7578,7 +7576,7 @@ class JP extends v {
|
|
|
7578
7576
|
const { store: n } = this.client, { deleteOne: i, addOne: a } = this.actions, { selectById: r } = this.selectors, o = n.getState(), c = r(e)(o);
|
|
7579
7577
|
if (!c)
|
|
7580
7578
|
throw new Error(`No issue with uuid ${e} found in the store`);
|
|
7581
|
-
const d =
|
|
7579
|
+
const d = vy(e)(o), u = ky(e)(o), m = Hy(e)(o), y = WS(e)(o);
|
|
7582
7580
|
this.dispatch(i(e)), this.dispatch(aa(k(m))), this.dispatch(Va(k(y))), this.dispatch(nt(k(d))), this.dispatch(nt(k(u)));
|
|
7583
7581
|
try {
|
|
7584
7582
|
return await this.enqueueRequest({
|
|
@@ -7593,7 +7591,7 @@ class JP extends v {
|
|
|
7593
7591
|
}
|
|
7594
7592
|
}
|
|
7595
7593
|
async bulkDelete(e) {
|
|
7596
|
-
const { store: n } = this.client, { addMany: i, deleteMany: a } = this.actions, { selectByIds: r } = this.selectors, o = n.getState(), c = r(e)(o), d =
|
|
7594
|
+
const { store: n } = this.client, { addMany: i, deleteMany: a } = this.actions, { selectByIds: r } = this.selectors, o = n.getState(), c = r(e)(o), d = zy(e)(o), u = By(e)(o);
|
|
7597
7595
|
this.dispatch(a(e)), this.dispatch(nt(k(d))), this.dispatch(nt(k(u)));
|
|
7598
7596
|
try {
|
|
7599
7597
|
return await this.enqueueRequest({
|
|
@@ -7736,7 +7734,7 @@ class QP extends j {
|
|
|
7736
7734
|
return this.dispatch(i(a)), a;
|
|
7737
7735
|
}
|
|
7738
7736
|
}
|
|
7739
|
-
class e_ extends
|
|
7737
|
+
class e_ extends z {
|
|
7740
7738
|
constructor() {
|
|
7741
7739
|
super(...arguments);
|
|
7742
7740
|
h(this, "name", "Issue Type Fields");
|
|
@@ -7769,7 +7767,7 @@ class e_ extends v {
|
|
|
7769
7767
|
description: S(l.POST, this.name, !1),
|
|
7770
7768
|
method: l.POST,
|
|
7771
7769
|
url: `${this.url}/`,
|
|
7772
|
-
payload:
|
|
7770
|
+
payload: v(d),
|
|
7773
7771
|
blockers: [d.issue_type],
|
|
7774
7772
|
blocks: [d.uuid]
|
|
7775
7773
|
});
|
|
@@ -7797,7 +7795,7 @@ class t_ extends j {
|
|
|
7797
7795
|
h(this, "name", "Issue Type Field Values Attachment");
|
|
7798
7796
|
h(this, "url", "/issue-type-field-values-attachments");
|
|
7799
7797
|
h(this, "actions", {
|
|
7800
|
-
addOne:
|
|
7798
|
+
addOne: zA,
|
|
7801
7799
|
addMany: Ia,
|
|
7802
7800
|
setOne: BA,
|
|
7803
7801
|
setMany: kA,
|
|
@@ -7805,7 +7803,7 @@ class t_ extends j {
|
|
|
7805
7803
|
updateMany: VA,
|
|
7806
7804
|
deleteOne: DA,
|
|
7807
7805
|
deleteMany: ga,
|
|
7808
|
-
initialize:
|
|
7806
|
+
initialize: vA
|
|
7809
7807
|
});
|
|
7810
7808
|
h(this, "selectors", {
|
|
7811
7809
|
selectById: $A,
|
|
@@ -7867,7 +7865,7 @@ class t_ extends j {
|
|
|
7867
7865
|
return this.dispatch(i(r)), r;
|
|
7868
7866
|
}
|
|
7869
7867
|
}
|
|
7870
|
-
class s_ extends
|
|
7868
|
+
class s_ extends z {
|
|
7871
7869
|
constructor() {
|
|
7872
7870
|
super(...arguments);
|
|
7873
7871
|
h(this, "name", "Issue Type Field Values");
|
|
@@ -7898,7 +7896,7 @@ class s_ extends v {
|
|
|
7898
7896
|
description: S(l.POST, this.name, !1),
|
|
7899
7897
|
method: l.POST,
|
|
7900
7898
|
url: `${this.url}/`,
|
|
7901
|
-
payload:
|
|
7899
|
+
payload: v(u),
|
|
7902
7900
|
blockers: [e.issue, e.fields_revision],
|
|
7903
7901
|
blocks: [u.uuid]
|
|
7904
7902
|
});
|
|
@@ -7966,7 +7964,7 @@ class s_ extends v {
|
|
|
7966
7964
|
return this.dispatch(i(r)), r;
|
|
7967
7965
|
}
|
|
7968
7966
|
}
|
|
7969
|
-
class n_ extends
|
|
7967
|
+
class n_ extends z {
|
|
7970
7968
|
constructor() {
|
|
7971
7969
|
super(...arguments);
|
|
7972
7970
|
h(this, "name", "Issue Type Identifier");
|
|
@@ -7999,7 +7997,7 @@ class n_ extends v {
|
|
|
7999
7997
|
description: S(l.POST, this.name, !1),
|
|
8000
7998
|
method: l.POST,
|
|
8001
7999
|
url: `${this.url}/`,
|
|
8002
|
-
payload:
|
|
8000
|
+
payload: v(d),
|
|
8003
8001
|
blockers: [d.issue_type],
|
|
8004
8002
|
blocks: [d.uuid]
|
|
8005
8003
|
});
|
|
@@ -8061,7 +8059,7 @@ class n_ extends v {
|
|
|
8061
8059
|
return this.dispatch(i(a)), a;
|
|
8062
8060
|
}
|
|
8063
8061
|
}
|
|
8064
|
-
class i_ extends
|
|
8062
|
+
class i_ extends z {
|
|
8065
8063
|
constructor() {
|
|
8066
8064
|
super(...arguments);
|
|
8067
8065
|
h(this, "name", "Issue Type Identifier Value");
|
|
@@ -8094,7 +8092,7 @@ class i_ extends v {
|
|
|
8094
8092
|
description: S(l.POST, this.name, !1),
|
|
8095
8093
|
method: l.POST,
|
|
8096
8094
|
url: `${this.url}/`,
|
|
8097
|
-
payload:
|
|
8095
|
+
payload: v(d),
|
|
8098
8096
|
blockers: [e.issue, e.issue_type_identifier],
|
|
8099
8097
|
blocks: [d.uuid]
|
|
8100
8098
|
});
|
|
@@ -8134,7 +8132,7 @@ class i_ extends v {
|
|
|
8134
8132
|
return this.dispatch(i(r)), r;
|
|
8135
8133
|
}
|
|
8136
8134
|
}
|
|
8137
|
-
class a_ extends
|
|
8135
|
+
class a_ extends z {
|
|
8138
8136
|
constructor() {
|
|
8139
8137
|
super(...arguments);
|
|
8140
8138
|
h(this, "name", "Issue Type");
|
|
@@ -8166,7 +8164,7 @@ class a_ extends v {
|
|
|
8166
8164
|
const m = this.enqueueRequest({
|
|
8167
8165
|
method: l.POST,
|
|
8168
8166
|
url: `${this.url}/`,
|
|
8169
|
-
payload:
|
|
8167
|
+
payload: v(u),
|
|
8170
8168
|
blockers: [],
|
|
8171
8169
|
blocks: [u.uuid]
|
|
8172
8170
|
});
|
|
@@ -8202,7 +8200,7 @@ class a_ extends v {
|
|
|
8202
8200
|
const { store: n } = this.client, { deleteOne: i, setOne: a } = this.actions, { selectById: r } = this.selectors, o = n.getState(), c = r(e)(o);
|
|
8203
8201
|
if (!c)
|
|
8204
8202
|
throw new Error(`IssueType with uuid ${e} does not exist in the store.`);
|
|
8205
|
-
const d =
|
|
8203
|
+
const d = vf(e)(o);
|
|
8206
8204
|
this.dispatch(i(e)), this.dispatch(pa(k(d)));
|
|
8207
8205
|
try {
|
|
8208
8206
|
return await this.enqueueRequest({
|
|
@@ -8228,7 +8226,7 @@ class a_ extends v {
|
|
|
8228
8226
|
return this.dispatch(i(a)), a;
|
|
8229
8227
|
}
|
|
8230
8228
|
}
|
|
8231
|
-
class r_ extends
|
|
8229
|
+
class r_ extends z {
|
|
8232
8230
|
constructor() {
|
|
8233
8231
|
super(...arguments);
|
|
8234
8232
|
h(this, "name", "Issue Type Status");
|
|
@@ -8236,8 +8234,8 @@ class r_ extends v {
|
|
|
8236
8234
|
h(this, "actions", {
|
|
8237
8235
|
addOne: RS,
|
|
8238
8236
|
addMany: ES,
|
|
8239
|
-
setOne:
|
|
8240
|
-
setMany:
|
|
8237
|
+
setOne: vS,
|
|
8238
|
+
setMany: zS,
|
|
8241
8239
|
updateOne: BS,
|
|
8242
8240
|
updateMany: kS,
|
|
8243
8241
|
deleteOne: qS,
|
|
@@ -8245,7 +8243,7 @@ class r_ extends v {
|
|
|
8245
8243
|
initialize: wS
|
|
8246
8244
|
});
|
|
8247
8245
|
h(this, "selectors", {
|
|
8248
|
-
selectById:
|
|
8246
|
+
selectById: va,
|
|
8249
8247
|
selectByIds: jS
|
|
8250
8248
|
});
|
|
8251
8249
|
}
|
|
@@ -8261,7 +8259,7 @@ class r_ extends v {
|
|
|
8261
8259
|
description: S(l.POST, this.name, !1),
|
|
8262
8260
|
method: l.POST,
|
|
8263
8261
|
url: `${this.url}/`,
|
|
8264
|
-
payload:
|
|
8262
|
+
payload: v(d),
|
|
8265
8263
|
blockers: [e.issue_type],
|
|
8266
8264
|
blocks: [d.uuid]
|
|
8267
8265
|
});
|
|
@@ -8320,7 +8318,7 @@ class r_ extends v {
|
|
|
8320
8318
|
return this.dispatch(i(a)), a;
|
|
8321
8319
|
}
|
|
8322
8320
|
}
|
|
8323
|
-
class c_ extends
|
|
8321
|
+
class c_ extends z {
|
|
8324
8322
|
constructor() {
|
|
8325
8323
|
super(...arguments);
|
|
8326
8324
|
h(this, "name", "Issue Update");
|
|
@@ -8353,13 +8351,13 @@ class c_ extends v {
|
|
|
8353
8351
|
return this.dispatch(i(r)), r;
|
|
8354
8352
|
}
|
|
8355
8353
|
}
|
|
8356
|
-
const
|
|
8354
|
+
const zI = 1800;
|
|
8357
8355
|
function BI(t) {
|
|
8358
8356
|
if (!t.access) throw new Error("Missing access token");
|
|
8359
8357
|
if (!t.refresh) throw new Error("Missing refresh token");
|
|
8360
8358
|
return { accessToken: t.access, refreshToken: t.refresh };
|
|
8361
8359
|
}
|
|
8362
|
-
class d_ extends
|
|
8360
|
+
class d_ extends vI {
|
|
8363
8361
|
constructor() {
|
|
8364
8362
|
super(...arguments);
|
|
8365
8363
|
// _getTokenPair and _getRenewedTokens don't need to use enqueueRequest from the BaseApiService because
|
|
@@ -8425,7 +8423,7 @@ class d_ extends zI {
|
|
|
8425
8423
|
} catch {
|
|
8426
8424
|
i = n;
|
|
8427
8425
|
}
|
|
8428
|
-
return i - n <
|
|
8426
|
+
return i - n < zI;
|
|
8429
8427
|
}
|
|
8430
8428
|
getAuthHeader() {
|
|
8431
8429
|
return `Bearer ${this.getAccessToken()}`;
|
|
@@ -8598,7 +8596,7 @@ class u_ extends ut {
|
|
|
8598
8596
|
return this.dispatch(n(i)), i;
|
|
8599
8597
|
}
|
|
8600
8598
|
}
|
|
8601
|
-
class l_ extends
|
|
8599
|
+
class l_ extends z {
|
|
8602
8600
|
constructor() {
|
|
8603
8601
|
super(...arguments);
|
|
8604
8602
|
h(this, "name", "Project Access");
|
|
@@ -8630,7 +8628,7 @@ class l_ extends v {
|
|
|
8630
8628
|
description: S(l.POST, this.name, !1),
|
|
8631
8629
|
method: l.POST,
|
|
8632
8630
|
url: `${this.url}/`,
|
|
8633
|
-
payload:
|
|
8631
|
+
payload: v(o),
|
|
8634
8632
|
blockers: [o.organization_access, o.project],
|
|
8635
8633
|
blocks: [o.uuid]
|
|
8636
8634
|
});
|
|
@@ -8648,7 +8646,7 @@ class l_ extends v {
|
|
|
8648
8646
|
description: S(l.POST, this.name, !0),
|
|
8649
8647
|
method: l.POST,
|
|
8650
8648
|
url: `${this.url}/bulk/`,
|
|
8651
|
-
payload: { project_accesses: c.map((m) =>
|
|
8649
|
+
payload: { project_accesses: c.map((m) => v(m)) },
|
|
8652
8650
|
blockers: c.flatMap((m) => [
|
|
8653
8651
|
m.project,
|
|
8654
8652
|
m.organization_access
|
|
@@ -8870,7 +8868,7 @@ class m_ extends ut {
|
|
|
8870
8868
|
const { addOne: n } = this.actions, i = await this.performRequest({
|
|
8871
8869
|
method: l.POST,
|
|
8872
8870
|
url: `${this.url}/`,
|
|
8873
|
-
payload:
|
|
8871
|
+
payload: v(e)
|
|
8874
8872
|
});
|
|
8875
8873
|
return this.dispatch(n(i)), i;
|
|
8876
8874
|
}
|
|
@@ -8878,7 +8876,7 @@ class m_ extends ut {
|
|
|
8878
8876
|
const { updateOne: n } = this.actions, i = await this.performRequest({
|
|
8879
8877
|
method: l.PATCH,
|
|
8880
8878
|
url: `${this.url}/${e.uuid}/`,
|
|
8881
|
-
payload:
|
|
8879
|
+
payload: v(e)
|
|
8882
8880
|
});
|
|
8883
8881
|
return this.dispatch(n(i)), i;
|
|
8884
8882
|
}
|
|
@@ -8904,7 +8902,7 @@ class m_ extends ut {
|
|
|
8904
8902
|
return this.dispatch(i(a)), a;
|
|
8905
8903
|
}
|
|
8906
8904
|
}
|
|
8907
|
-
class y_ extends
|
|
8905
|
+
class y_ extends z {
|
|
8908
8906
|
constructor() {
|
|
8909
8907
|
super(...arguments);
|
|
8910
8908
|
h(this, "name", "Team Membership");
|
|
@@ -8936,7 +8934,7 @@ class y_ extends v {
|
|
|
8936
8934
|
description: S(l.POST, this.name, !1),
|
|
8937
8935
|
method: l.POST,
|
|
8938
8936
|
url: `${this.url}/`,
|
|
8939
|
-
payload:
|
|
8937
|
+
payload: v(o),
|
|
8940
8938
|
blockers: [e.team],
|
|
8941
8939
|
blocks: [o.uuid]
|
|
8942
8940
|
});
|
|
@@ -8954,7 +8952,7 @@ class y_ extends v {
|
|
|
8954
8952
|
description: S(l.POST, this.name, !0),
|
|
8955
8953
|
method: l.POST,
|
|
8956
8954
|
url: `${this.url}/bulk/`,
|
|
8957
|
-
payload: { team_memberships: c.map((m) =>
|
|
8955
|
+
payload: { team_memberships: c.map((m) => v(m)) },
|
|
8958
8956
|
blockers: c.map((m) => m.team),
|
|
8959
8957
|
blocks: c.map((m) => m.uuid)
|
|
8960
8958
|
});
|
|
@@ -8993,7 +8991,7 @@ class y_ extends v {
|
|
|
8993
8991
|
return this.dispatch(i(a)), a;
|
|
8994
8992
|
}
|
|
8995
8993
|
}
|
|
8996
|
-
class f_ extends
|
|
8994
|
+
class f_ extends z {
|
|
8997
8995
|
constructor() {
|
|
8998
8996
|
super(...arguments);
|
|
8999
8997
|
h(this, "name", "Team");
|
|
@@ -9026,7 +9024,7 @@ class f_ extends v {
|
|
|
9026
9024
|
description: S(l.POST, this.name, !1),
|
|
9027
9025
|
method: l.POST,
|
|
9028
9026
|
url: `${this.url}/`,
|
|
9029
|
-
payload:
|
|
9027
|
+
payload: v(o),
|
|
9030
9028
|
blockers: [],
|
|
9031
9029
|
blocks: [o.uuid]
|
|
9032
9030
|
});
|
|
@@ -9049,7 +9047,7 @@ class f_ extends v {
|
|
|
9049
9047
|
description: S(l.PATCH, this.name, !1),
|
|
9050
9048
|
method: l.PATCH,
|
|
9051
9049
|
url: `${this.url}/${e.uuid}/`,
|
|
9052
|
-
payload:
|
|
9050
|
+
payload: v(e),
|
|
9053
9051
|
blockers: [e.uuid],
|
|
9054
9052
|
blocks: [e.uuid]
|
|
9055
9053
|
});
|
|
@@ -9150,11 +9148,11 @@ async function or(t, s, e, n, i) {
|
|
|
9150
9148
|
...r,
|
|
9151
9149
|
...s
|
|
9152
9150
|
};
|
|
9153
|
-
let
|
|
9151
|
+
let M = s.url;
|
|
9154
9152
|
const R = y ? await e.files.fetchCache(y) : void 0;
|
|
9155
9153
|
if (y && !R)
|
|
9156
9154
|
throw new Error(`Cannot upload file ${y} because it's not cached.`);
|
|
9157
|
-
!T && !
|
|
9155
|
+
!T && !M.startsWith("http") && (!M.startsWith("/") && !M.startsWith("blob:") && (M = "/" + M), M = t + M);
|
|
9158
9156
|
const w = (B) => {
|
|
9159
9157
|
if (y) {
|
|
9160
9158
|
if (!o) throw new Error(`No S3 URL for file ${y}`);
|
|
@@ -9166,21 +9164,21 @@ async function or(t, s, e, n, i) {
|
|
|
9166
9164
|
}
|
|
9167
9165
|
return B.send(c);
|
|
9168
9166
|
}, $ = {
|
|
9169
|
-
[l.GET]: () => E ? tt.get(
|
|
9167
|
+
[l.GET]: () => E ? tt.get(M.toString()).responseType("blob") : tt.get(M.toString()),
|
|
9170
9168
|
[l.POST]: () => {
|
|
9171
|
-
const B = tt.post(
|
|
9169
|
+
const B = tt.post(M.toString());
|
|
9172
9170
|
return w(B);
|
|
9173
9171
|
},
|
|
9174
9172
|
[l.PATCH]: () => {
|
|
9175
|
-
const B = tt.patch(
|
|
9173
|
+
const B = tt.patch(M.toString());
|
|
9176
9174
|
return w(B);
|
|
9177
9175
|
},
|
|
9178
9176
|
[l.PUT]: () => {
|
|
9179
|
-
const B = tt.put(
|
|
9177
|
+
const B = tt.put(M.toString());
|
|
9180
9178
|
return w(B);
|
|
9181
9179
|
},
|
|
9182
9180
|
[l.DELETE]: () => {
|
|
9183
|
-
const B = tt.delete(
|
|
9181
|
+
const B = tt.delete(M.toString());
|
|
9184
9182
|
return w(B);
|
|
9185
9183
|
}
|
|
9186
9184
|
}[u];
|
|
@@ -9542,14 +9540,14 @@ export {
|
|
|
9542
9540
|
MP as AssetTypeFieldsAttachmentService,
|
|
9543
9541
|
FP as AssetTypeFieldsService,
|
|
9544
9542
|
EP as AssetTypeIdentifierService,
|
|
9545
|
-
|
|
9546
|
-
|
|
9543
|
+
vP as AssetTypeIdentifierValueService,
|
|
9544
|
+
zP as AssetTypeService,
|
|
9547
9545
|
BP as AssetTypeStatusService,
|
|
9548
9546
|
wr as AttachmentModel,
|
|
9549
9547
|
rt as BaseApiService,
|
|
9550
9548
|
ut as BaseModelApiService,
|
|
9551
9549
|
j as BaseOfflineFileModelApiService,
|
|
9552
|
-
|
|
9550
|
+
z as BaseOfflineModelApiService,
|
|
9553
9551
|
S_ as BaseSDK,
|
|
9554
9552
|
$r as COMMON_AUTO_FIELDS,
|
|
9555
9553
|
dg as DEFAULT_ISSUE_PRIORITY,
|
|
@@ -9604,7 +9602,7 @@ export {
|
|
|
9604
9602
|
h_ as ProjectAttachmentService,
|
|
9605
9603
|
p_ as ProjectFileService,
|
|
9606
9604
|
m_ as ProjectService,
|
|
9607
|
-
|
|
9605
|
+
_ as RESET_ORGANIZATION_STATE,
|
|
9608
9606
|
D as RESET_PROJECT_STATE,
|
|
9609
9607
|
O as RESET_STATE,
|
|
9610
9608
|
$I as RateLimitingMiddleware,
|
|
@@ -9635,13 +9633,13 @@ export {
|
|
|
9635
9633
|
oc as addAssetProcedureTypeAttachments,
|
|
9636
9634
|
ad as addAssetProcedureTypeFieldValues,
|
|
9637
9635
|
Wc as addAssetProcedureTypeFieldValuesAttachment,
|
|
9638
|
-
|
|
9636
|
+
zn as addAssetProcedureTypeFieldValuesAttachments,
|
|
9639
9637
|
rd as addAssetProcedureTypeFieldValuesMany,
|
|
9640
9638
|
kc as addAssetProcedureTypeFields,
|
|
9641
9639
|
Ic as addAssetProcedureTypeFieldsAttachment,
|
|
9642
9640
|
gc as addAssetProcedureTypeFieldsAttachments,
|
|
9643
9641
|
qc as addAssetProcedureTypeFieldsMany,
|
|
9644
|
-
|
|
9642
|
+
vd as addAssetProcedureTypes,
|
|
9645
9643
|
Dn as addAssetProcedures,
|
|
9646
9644
|
Fu as addAssetStage,
|
|
9647
9645
|
lu as addAssetStageCompletion,
|
|
@@ -9662,8 +9660,8 @@ export {
|
|
|
9662
9660
|
ah as addAssetTypeIdentifierValue,
|
|
9663
9661
|
rh as addAssetTypeIdentifierValues,
|
|
9664
9662
|
Wl as addAssetTypeIdentifiers,
|
|
9665
|
-
|
|
9666
|
-
|
|
9663
|
+
vh as addAssetTypeStatus,
|
|
9664
|
+
zh as addAssetTypeStatuses,
|
|
9667
9665
|
Ih as addAssetTypes,
|
|
9668
9666
|
Qn as addAssets,
|
|
9669
9667
|
Hr as addConversation,
|
|
@@ -9703,7 +9701,7 @@ export {
|
|
|
9703
9701
|
kf as addIssueTypeAttachment,
|
|
9704
9702
|
qf as addIssueTypeAttachments,
|
|
9705
9703
|
rA as addIssueTypeFieldValues,
|
|
9706
|
-
|
|
9704
|
+
zA as addIssueTypeFieldValuesAttachment,
|
|
9707
9705
|
Ia as addIssueTypeFieldValuesAttachments,
|
|
9708
9706
|
cA as addIssueTypeFieldValuesMany,
|
|
9709
9707
|
TA as addIssueTypeFields,
|
|
@@ -9758,7 +9756,7 @@ export {
|
|
|
9758
9756
|
fc as assetProcedureTypeAttachmentReducer,
|
|
9759
9757
|
Mn as assetProcedureTypeAttachmentSlice,
|
|
9760
9758
|
Qc as assetProcedureTypeFieldValuesAttachmentReducer,
|
|
9761
|
-
|
|
9759
|
+
vn as assetProcedureTypeFieldValuesAttachmentSlice,
|
|
9762
9760
|
pd as assetProcedureTypeFieldValuesReducer,
|
|
9763
9761
|
qn as assetProcedureTypeFieldValuesSlice,
|
|
9764
9762
|
Rc as assetProcedureTypeFieldsAttachmentReducer,
|
|
@@ -9775,7 +9773,7 @@ export {
|
|
|
9775
9773
|
si as assetStageSlice,
|
|
9776
9774
|
Wu as assetTypeAttachmentReducer,
|
|
9777
9775
|
ai as assetTypeAttachmentSlice,
|
|
9778
|
-
|
|
9776
|
+
vl as assetTypeFieldValuesAttachmentReducer,
|
|
9779
9777
|
hi as assetTypeFieldValuesAttachmentSlice,
|
|
9780
9778
|
Nl as assetTypeFieldValuesReducer,
|
|
9781
9779
|
fi as assetTypeFieldValuesSlice,
|
|
@@ -9798,8 +9796,8 @@ export {
|
|
|
9798
9796
|
sr as baseReducers,
|
|
9799
9797
|
lb as clearTokens,
|
|
9800
9798
|
P as createModelAdapter,
|
|
9801
|
-
|
|
9802
|
-
|
|
9799
|
+
zT as createOfflineAction,
|
|
9800
|
+
v as createPayload,
|
|
9803
9801
|
og as createSelectionAdapter,
|
|
9804
9802
|
su as deleteAsset,
|
|
9805
9803
|
tc as deleteAssetAttachment,
|
|
@@ -9828,10 +9826,10 @@ export {
|
|
|
9828
9826
|
Cc as deleteAssetProcedureTypeFieldsMany,
|
|
9829
9827
|
qd as deleteAssetProcedureTypes,
|
|
9830
9828
|
jn as deleteAssetProcedures,
|
|
9831
|
-
|
|
9829
|
+
vu as deleteAssetStage,
|
|
9832
9830
|
Au as deleteAssetStageCompletion,
|
|
9833
9831
|
Su as deleteAssetStageCompletions,
|
|
9834
|
-
|
|
9832
|
+
zu as deleteAssetStages,
|
|
9835
9833
|
Ph as deleteAssetType,
|
|
9836
9834
|
Uu as deleteAssetTypeAttachment,
|
|
9837
9835
|
ci as deleteAssetTypeAttachments,
|
|
@@ -9852,7 +9850,7 @@ export {
|
|
|
9852
9850
|
_h as deleteAssetTypes,
|
|
9853
9851
|
ei as deleteAssets,
|
|
9854
9852
|
Eg as deleteConversation,
|
|
9855
|
-
|
|
9853
|
+
vg as deleteConversations,
|
|
9856
9854
|
lp as deleteDocument,
|
|
9857
9855
|
Xh as deleteDocumentAttachment,
|
|
9858
9856
|
Qh as deleteDocumentAttachments,
|
|
@@ -9940,10 +9938,10 @@ export {
|
|
|
9940
9938
|
bt as fallbackToEmptyObject,
|
|
9941
9939
|
Vr as fetchBlobFromObjectUrl,
|
|
9942
9940
|
Dr as fetchFileFromObjectUrl,
|
|
9943
|
-
|
|
9944
|
-
|
|
9941
|
+
vp as fileReducer,
|
|
9942
|
+
vi as fileSlice,
|
|
9945
9943
|
Np as formIdentifierReducer,
|
|
9946
|
-
|
|
9944
|
+
zi as formIdentifierSlice,
|
|
9947
9945
|
nm as formIdentifierValueReducer,
|
|
9948
9946
|
ki as formIdentifierValueSlice,
|
|
9949
9947
|
qm as formReducer,
|
|
@@ -9965,7 +9963,7 @@ export {
|
|
|
9965
9963
|
Lr as getDocumentSubTree,
|
|
9966
9964
|
_g as getDocumentTrees,
|
|
9967
9965
|
Jt as getFileExtension,
|
|
9968
|
-
|
|
9966
|
+
zr as getLocalDateString,
|
|
9969
9967
|
mg as getLocalRelativeDateString,
|
|
9970
9968
|
it as getOutboxCoordinator,
|
|
9971
9969
|
yg as getRenamedFile,
|
|
@@ -9989,7 +9987,7 @@ export {
|
|
|
9989
9987
|
uu as initializeAssetStageCompletions,
|
|
9990
9988
|
Pu as initializeAssetStages,
|
|
9991
9989
|
Vu as initializeAssetTypeAttachments,
|
|
9992
|
-
|
|
9990
|
+
zl as initializeAssetTypeFieldValues,
|
|
9993
9991
|
Ol as initializeAssetTypeFieldValuesAttachments,
|
|
9994
9992
|
cl as initializeAssetTypeFields,
|
|
9995
9993
|
Ku as initializeAssetTypeFieldsAttachments,
|
|
@@ -10003,7 +10001,7 @@ export {
|
|
|
10003
10001
|
ip as initializeDocuments,
|
|
10004
10002
|
Ap as initializeEmailDomains,
|
|
10005
10003
|
Hp as initializeFormIdentifierValues,
|
|
10006
|
-
|
|
10004
|
+
zp as initializeFormIdentifiers,
|
|
10007
10005
|
im as initializeFormRevisionAttachments,
|
|
10008
10006
|
Am as initializeFormRevisions,
|
|
10009
10007
|
$m as initializeFormSubmissionAttachments,
|
|
@@ -10016,7 +10014,7 @@ export {
|
|
|
10016
10014
|
of as initializeIssueComments,
|
|
10017
10015
|
Bf as initializeIssueTypeAttachments,
|
|
10018
10016
|
aA as initializeIssueTypeFieldValues,
|
|
10019
|
-
|
|
10017
|
+
vA as initializeIssueTypeFieldValuesAttachments,
|
|
10020
10018
|
SA as initializeIssueTypeFields,
|
|
10021
10019
|
Gf as initializeIssueTypeFieldsAttachments,
|
|
10022
10020
|
sS as initializeIssueTypeIdentifierValues,
|
|
@@ -10044,7 +10042,7 @@ export {
|
|
|
10044
10042
|
ca as issueCommentAttachmentSlice,
|
|
10045
10043
|
Of as issueCommentReducer,
|
|
10046
10044
|
oa as issueCommentSlice,
|
|
10047
|
-
|
|
10045
|
+
zf as issueReducer,
|
|
10048
10046
|
la as issueSlice,
|
|
10049
10047
|
Hf as issueTypeAttachmentReducer,
|
|
10050
10048
|
ma as issueTypeAttachmentSlice,
|
|
@@ -10066,14 +10064,14 @@ export {
|
|
|
10066
10064
|
Ra as issueTypeStatusSlice,
|
|
10067
10065
|
Ur as issueTypeStatusSortFn,
|
|
10068
10066
|
KS as issueUpdateReducer,
|
|
10069
|
-
|
|
10067
|
+
za as issueUpdateSlice,
|
|
10070
10068
|
Ag as logOnlyOnce,
|
|
10071
10069
|
kT as markAsDeleted,
|
|
10072
10070
|
Wb as markForDeletion,
|
|
10073
10071
|
fn as memoize,
|
|
10074
10072
|
mT as organizationAccessReducer,
|
|
10075
10073
|
La as organizationAccessSlice,
|
|
10076
|
-
|
|
10074
|
+
vT as organizationReducer,
|
|
10077
10075
|
Na as organizationSlice,
|
|
10078
10076
|
VT as outboxReducer,
|
|
10079
10077
|
Ha as outboxSlice,
|
|
@@ -10088,7 +10086,7 @@ export {
|
|
|
10088
10086
|
Ka as projectAttachmentSlice,
|
|
10089
10087
|
IO as projectFileReducer,
|
|
10090
10088
|
Za as projectFileSlice,
|
|
10091
|
-
|
|
10089
|
+
vO as projectReducer,
|
|
10092
10090
|
Ja as projectSlice,
|
|
10093
10091
|
VO as rehydratedReducer,
|
|
10094
10092
|
Xa as rehydratedSlice,
|
|
@@ -10146,9 +10144,9 @@ export {
|
|
|
10146
10144
|
md as selectAssetProcedureTypeFieldValuesMapping,
|
|
10147
10145
|
jg as selectAssetProcedureTypeFieldValuesOfAsset,
|
|
10148
10146
|
Mt as selectAssetProcedureTypeFields,
|
|
10149
|
-
|
|
10147
|
+
vc as selectAssetProcedureTypeFieldsAttachmentById,
|
|
10150
10148
|
Rn as selectAssetProcedureTypeFieldsAttachments,
|
|
10151
|
-
|
|
10149
|
+
zc as selectAssetProcedureTypeFieldsAttachmentsByIds,
|
|
10152
10150
|
Ec as selectAssetProcedureTypeFieldsAttachmentsMapping,
|
|
10153
10151
|
Nc as selectAssetProcedureTypeFieldsById,
|
|
10154
10152
|
Hc as selectAssetProcedureTypeFieldsByIds,
|
|
@@ -10177,7 +10175,7 @@ export {
|
|
|
10177
10175
|
di as selectAssetTypeAttachments,
|
|
10178
10176
|
Hu as selectAssetTypeAttachmentsByIds,
|
|
10179
10177
|
Fh as selectAssetTypeById,
|
|
10180
|
-
|
|
10178
|
+
zt as selectAssetTypeFieldValues,
|
|
10181
10179
|
wl as selectAssetTypeFieldValuesAttachmentById,
|
|
10182
10180
|
yi as selectAssetTypeFieldValuesAttachments,
|
|
10183
10181
|
Rl as selectAssetTypeFieldValuesAttachmentsByIds,
|
|
@@ -10216,7 +10214,7 @@ export {
|
|
|
10216
10214
|
wh as selectAssetTypesByIds,
|
|
10217
10215
|
Mh as selectAssetTypesMapping,
|
|
10218
10216
|
db as selectAssetTypesOfOrganization,
|
|
10219
|
-
|
|
10217
|
+
vt as selectAssets,
|
|
10220
10218
|
du as selectAssetsByIds,
|
|
10221
10219
|
au as selectAssetsMapping,
|
|
10222
10220
|
ru as selectAssetsOfAssetType,
|
|
@@ -10237,12 +10235,12 @@ export {
|
|
|
10237
10235
|
Fb as selectAttachmentsOfIssueComment,
|
|
10238
10236
|
Eb as selectAttachmentsOfIssueType,
|
|
10239
10237
|
CA as selectAttachmentsOfIssueTypeFieldValues,
|
|
10240
|
-
|
|
10238
|
+
vb as selectAttachmentsOfIssueTypeFields,
|
|
10241
10239
|
Jb as selectAttachmentsOfProject,
|
|
10242
10240
|
wb as selectCommentsOfIssue,
|
|
10243
10241
|
Bg as selectConversation,
|
|
10244
10242
|
In as selectConversationMapping,
|
|
10245
|
-
|
|
10243
|
+
zg as selectConversations,
|
|
10246
10244
|
nT as selectCurrentUser,
|
|
10247
10245
|
Hb as selectDeletedRequests,
|
|
10248
10246
|
Jo as selectDescendantsOfAssetProcedureStep,
|
|
@@ -10308,8 +10306,8 @@ export {
|
|
|
10308
10306
|
qy as selectIssueAssociationsOfAsset,
|
|
10309
10307
|
ky as selectIssueAssociationsOfIssue,
|
|
10310
10308
|
By as selectIssueAssociationsOfIssues,
|
|
10311
|
-
|
|
10312
|
-
|
|
10309
|
+
vy as selectIssueAssociationsToIssue,
|
|
10310
|
+
zy as selectIssueAssociationsToIssues,
|
|
10313
10311
|
Gy as selectIssueAttachmentById,
|
|
10314
10312
|
Ny as selectIssueAttachmentMapping,
|
|
10315
10313
|
ra as selectIssueAttachments,
|
|
@@ -10336,7 +10334,7 @@ export {
|
|
|
10336
10334
|
yA as selectIssueTypeFieldValuesById,
|
|
10337
10335
|
fA as selectIssueTypeFieldValuesByIds,
|
|
10338
10336
|
mA as selectIssueTypeFieldValuesMapping,
|
|
10339
|
-
|
|
10337
|
+
zb as selectIssueTypeFieldValuesOfIssue,
|
|
10340
10338
|
ft as selectIssueTypeFields,
|
|
10341
10339
|
sA as selectIssueTypeFieldsAttachmentById,
|
|
10342
10340
|
Aa as selectIssueTypeFieldsAttachments,
|
|
@@ -10358,7 +10356,7 @@ export {
|
|
|
10358
10356
|
eS as selectIssueTypeIdentifiersByIds,
|
|
10359
10357
|
Vb as selectIssueTypeIdentifiersOfIssueType,
|
|
10360
10358
|
PS as selectIssueTypeMapping,
|
|
10361
|
-
|
|
10359
|
+
va as selectIssueTypeStatusById,
|
|
10362
10360
|
DS as selectIssueTypeStatusMapping,
|
|
10363
10361
|
Ea as selectIssueTypeStatuses,
|
|
10364
10362
|
jS as selectIssueTypeStatusesByIds,
|
|
@@ -10374,7 +10372,7 @@ export {
|
|
|
10374
10372
|
WS as selectIssueUpdatesOfIssue,
|
|
10375
10373
|
$t as selectIssues,
|
|
10376
10374
|
Ef as selectIssuesByIds,
|
|
10377
|
-
|
|
10375
|
+
vf as selectIssuesOfIssueType,
|
|
10378
10376
|
Rb as selectIssuesOfProject,
|
|
10379
10377
|
Ng as selectLatestAssetProcedureStepFieldsOfAssetProcedureStep,
|
|
10380
10378
|
Dg as selectLatestAssetProcedureTypeFieldsOfAssetProcedureType,
|
|
@@ -10408,7 +10406,7 @@ export {
|
|
|
10408
10406
|
AO as selectProjectFileMapping,
|
|
10409
10407
|
SO as selectProjectFiles,
|
|
10410
10408
|
OO as selectProjectFilesByIds,
|
|
10411
|
-
|
|
10409
|
+
zO as selectProjectMapping,
|
|
10412
10410
|
Ht as selectProjects,
|
|
10413
10411
|
kO as selectProjectsByIds,
|
|
10414
10412
|
Qb as selectProjectsOfOrganization,
|
|
@@ -10532,8 +10530,8 @@ export {
|
|
|
10532
10530
|
aS as setIssueTypeIdentifierValue,
|
|
10533
10531
|
rS as setIssueTypeIdentifierValues,
|
|
10534
10532
|
WA as setIssueTypeIdentifiers,
|
|
10535
|
-
|
|
10536
|
-
|
|
10533
|
+
vS as setIssueTypeStatus,
|
|
10534
|
+
zS as setIssueTypeStatuses,
|
|
10537
10535
|
TS as setIssueTypes,
|
|
10538
10536
|
CS as setIssueUpdate,
|
|
10539
10537
|
US as setIssueUpdates,
|
|
@@ -10577,16 +10575,16 @@ export {
|
|
|
10577
10575
|
ec as updateAssetAttachments,
|
|
10578
10576
|
Td as updateAssetProcedure,
|
|
10579
10577
|
No as updateAssetProcedureStep,
|
|
10580
|
-
|
|
10578
|
+
vo as updateAssetProcedureStepFieldValues,
|
|
10581
10579
|
So as updateAssetProcedureStepFieldValuesAttachment,
|
|
10582
10580
|
To as updateAssetProcedureStepFieldValuesAttachments,
|
|
10583
|
-
|
|
10581
|
+
zo as updateAssetProcedureStepFieldValuesMany,
|
|
10584
10582
|
ro as updateAssetProcedureStepFields,
|
|
10585
10583
|
Wd as updateAssetProcedureStepFieldsAttachment,
|
|
10586
10584
|
Kd as updateAssetProcedureStepFieldsAttachments,
|
|
10587
10585
|
co as updateAssetProcedureStepFieldsMany,
|
|
10588
10586
|
Ho as updateAssetProcedureSteps,
|
|
10589
|
-
|
|
10587
|
+
zd as updateAssetProcedureType,
|
|
10590
10588
|
hc as updateAssetProcedureTypeAttachment,
|
|
10591
10589
|
pc as updateAssetProcedureTypeAttachments,
|
|
10592
10590
|
od as updateAssetProcedureTypeFieldValues,
|
|
@@ -10630,7 +10628,7 @@ export {
|
|
|
10630
10628
|
up as updateDocuments,
|
|
10631
10629
|
gp as updateEmailDomain,
|
|
10632
10630
|
bp as updateEmailDomains,
|
|
10633
|
-
|
|
10631
|
+
vm as updateForm,
|
|
10634
10632
|
Dp as updateFormIdentifier,
|
|
10635
10633
|
Zp as updateFormIdentifierValue,
|
|
10636
10634
|
Jp as updateFormIdentifierValues,
|
|
@@ -10643,7 +10641,7 @@ export {
|
|
|
10643
10641
|
Lm as updateFormSubmissionAttachment,
|
|
10644
10642
|
Nm as updateFormSubmissionAttachments,
|
|
10645
10643
|
ty as updateFormSubmissions,
|
|
10646
|
-
|
|
10644
|
+
zm as updateForms,
|
|
10647
10645
|
py as updateGeoImage,
|
|
10648
10646
|
my as updateGeoImages,
|
|
10649
10647
|
_f as updateIssue,
|