@overmap-ai/core 1.0.78-project-status-and-fields.0 → 1.0.78-project-status-and-fields.1
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
CHANGED
|
@@ -108,7 +108,7 @@ function PE(t) {
|
|
|
108
108
|
}
|
|
109
109
|
};
|
|
110
110
|
}
|
|
111
|
-
const Nt = "versioning", O = as("RESET"),
|
|
111
|
+
const Nt = "versioning", O = as("RESET"), k = as("RESET_PROJECT_STATE"), F = as("RESET_ORGANIZATION_STATE");
|
|
112
112
|
function OE(t, s) {
|
|
113
113
|
return Td(t, s);
|
|
114
114
|
}
|
|
@@ -375,7 +375,7 @@ const y = (
|
|
|
375
375
|
name: "agents",
|
|
376
376
|
initialState: qs,
|
|
377
377
|
extraReducers: (t) => t.addMatcher(
|
|
378
|
-
b(O,
|
|
378
|
+
b(O, k, F),
|
|
379
379
|
(s) => Object.assign(s, qs)
|
|
380
380
|
),
|
|
381
381
|
reducers: {
|
|
@@ -413,7 +413,7 @@ const y = (
|
|
|
413
413
|
name: "assetAttachments",
|
|
414
414
|
initialState: $s,
|
|
415
415
|
extraReducers: (t) => t.addMatcher(
|
|
416
|
-
b(O,
|
|
416
|
+
b(O, k, F),
|
|
417
417
|
(s) => Object.assign(s, $s)
|
|
418
418
|
),
|
|
419
419
|
reducers: {
|
|
@@ -593,7 +593,7 @@ const y = (
|
|
|
593
593
|
name: "assetProcedureTypeFieldValuesAttachments",
|
|
594
594
|
initialState: Ls,
|
|
595
595
|
extraReducers: (t) => t.addMatcher(
|
|
596
|
-
b(O,
|
|
596
|
+
b(O, k, F),
|
|
597
597
|
(s) => Object.assign(s, Ls)
|
|
598
598
|
),
|
|
599
599
|
reducers: {
|
|
@@ -642,7 +642,7 @@ const y = (
|
|
|
642
642
|
name: "assetProcedureTypeFieldValues",
|
|
643
643
|
initialState: Ns,
|
|
644
644
|
extraReducers: (t) => t.addMatcher(
|
|
645
|
-
b(O,
|
|
645
|
+
b(O, k, F),
|
|
646
646
|
(s) => Object.assign(s, Ns)
|
|
647
647
|
),
|
|
648
648
|
reducers: {
|
|
@@ -695,7 +695,7 @@ const y = (
|
|
|
695
695
|
name: "assetProcedures",
|
|
696
696
|
initialState: Hs,
|
|
697
697
|
extraReducers: (t) => t.addMatcher(
|
|
698
|
-
b(O,
|
|
698
|
+
b(O, k, F),
|
|
699
699
|
(s) => Object.assign(s, Hs)
|
|
700
700
|
),
|
|
701
701
|
reducers: {
|
|
@@ -892,7 +892,7 @@ const y = (
|
|
|
892
892
|
name: "assetProcedureStepFieldValuesAttachments",
|
|
893
893
|
initialState: Ys,
|
|
894
894
|
extraReducers: (t) => t.addMatcher(
|
|
895
|
-
b(O,
|
|
895
|
+
b(O, k, F),
|
|
896
896
|
(s) => Object.assign(s, Ys)
|
|
897
897
|
),
|
|
898
898
|
reducers: {
|
|
@@ -941,7 +941,7 @@ const y = (
|
|
|
941
941
|
name: "assetProcedureStepFieldValues",
|
|
942
942
|
initialState: Js,
|
|
943
943
|
extraReducers: (t) => t.addMatcher(
|
|
944
|
-
b(O,
|
|
944
|
+
b(O, k, F),
|
|
945
945
|
(s) => Object.assign(s, Js)
|
|
946
946
|
),
|
|
947
947
|
reducers: {
|
|
@@ -1056,7 +1056,7 @@ const y = (
|
|
|
1056
1056
|
name: "assets",
|
|
1057
1057
|
initialState: Qs,
|
|
1058
1058
|
extraReducers: (t) => t.addMatcher(
|
|
1059
|
-
b(O,
|
|
1059
|
+
b(O, k, F),
|
|
1060
1060
|
(s) => Object.assign(s, Qs)
|
|
1061
1061
|
),
|
|
1062
1062
|
reducers: {
|
|
@@ -1095,7 +1095,7 @@ const y = (
|
|
|
1095
1095
|
name: "assetStageCompletions",
|
|
1096
1096
|
initialState: Xs,
|
|
1097
1097
|
extraReducers: (t) => t.addMatcher(
|
|
1098
|
-
b(O,
|
|
1098
|
+
b(O, k, F),
|
|
1099
1099
|
(s) => Object.assign(s, Xs)
|
|
1100
1100
|
),
|
|
1101
1101
|
reducers: {
|
|
@@ -1310,7 +1310,7 @@ const y = (
|
|
|
1310
1310
|
name: "assetTypeFieldValuesAttachments",
|
|
1311
1311
|
initialState: ni,
|
|
1312
1312
|
extraReducers: (t) => t.addMatcher(
|
|
1313
|
-
b(O,
|
|
1313
|
+
b(O, k, F),
|
|
1314
1314
|
(s) => Object.assign(s, ni)
|
|
1315
1315
|
),
|
|
1316
1316
|
reducers: {
|
|
@@ -1356,7 +1356,7 @@ const y = (
|
|
|
1356
1356
|
name: "assetTypeFieldValues",
|
|
1357
1357
|
initialState: ri,
|
|
1358
1358
|
extraReducers: (t) => t.addMatcher(
|
|
1359
|
-
b(O,
|
|
1359
|
+
b(O, k, F),
|
|
1360
1360
|
(s) => Object.assign(s, ri)
|
|
1361
1361
|
),
|
|
1362
1362
|
reducers: {
|
|
@@ -1449,7 +1449,7 @@ const y = (
|
|
|
1449
1449
|
name: "assetTypeIdentifierValues",
|
|
1450
1450
|
initialState: ci,
|
|
1451
1451
|
extraReducers: (t) => t.addMatcher(
|
|
1452
|
-
b(O,
|
|
1452
|
+
b(O, k, F),
|
|
1453
1453
|
(s) => Object.assign(s, ci)
|
|
1454
1454
|
),
|
|
1455
1455
|
reducers: {
|
|
@@ -2076,7 +2076,7 @@ const y = (
|
|
|
2076
2076
|
name: "geoImages",
|
|
2077
2077
|
initialState: _i,
|
|
2078
2078
|
extraReducers: (t) => t.addMatcher(
|
|
2079
|
-
b(O,
|
|
2079
|
+
b(O, k, F),
|
|
2080
2080
|
(s) => Object.assign(s, _i)
|
|
2081
2081
|
),
|
|
2082
2082
|
reducers: {
|
|
@@ -2113,7 +2113,7 @@ const y = (
|
|
|
2113
2113
|
name: "issueAssociations",
|
|
2114
2114
|
initialState: Ii,
|
|
2115
2115
|
extraReducers: (t) => t.addMatcher(
|
|
2116
|
-
b(O,
|
|
2116
|
+
b(O, k, F),
|
|
2117
2117
|
(s) => Object.assign(s, Ii)
|
|
2118
2118
|
),
|
|
2119
2119
|
reducers: {
|
|
@@ -2180,7 +2180,7 @@ const y = (
|
|
|
2180
2180
|
name: "issueAttachments",
|
|
2181
2181
|
initialState: bi,
|
|
2182
2182
|
extraReducers: (t) => t.addMatcher(
|
|
2183
|
-
b(O,
|
|
2183
|
+
b(O, k, F),
|
|
2184
2184
|
(s) => Object.assign(s, bi)
|
|
2185
2185
|
),
|
|
2186
2186
|
reducers: {
|
|
@@ -2223,7 +2223,7 @@ const y = (
|
|
|
2223
2223
|
name: "issueCommentAttachments",
|
|
2224
2224
|
initialState: Fi,
|
|
2225
2225
|
extraReducers: (t) => t.addMatcher(
|
|
2226
|
-
b(O,
|
|
2226
|
+
b(O, k, F),
|
|
2227
2227
|
(s) => Object.assign(s, Fi)
|
|
2228
2228
|
),
|
|
2229
2229
|
reducers: {
|
|
@@ -2268,7 +2268,7 @@ const y = (
|
|
|
2268
2268
|
name: "issueComments",
|
|
2269
2269
|
initialState: Mi,
|
|
2270
2270
|
extraReducers: (t) => t.addMatcher(
|
|
2271
|
-
b(O,
|
|
2271
|
+
b(O, k, F),
|
|
2272
2272
|
(s) => Object.assign(s, Mi)
|
|
2273
2273
|
),
|
|
2274
2274
|
reducers: {
|
|
@@ -2310,7 +2310,7 @@ const y = (
|
|
|
2310
2310
|
name: "issues",
|
|
2311
2311
|
initialState: gi,
|
|
2312
2312
|
extraReducers: (t) => t.addMatcher(
|
|
2313
|
-
b(O,
|
|
2313
|
+
b(O, k, F),
|
|
2314
2314
|
(s) => Object.assign(s, gi)
|
|
2315
2315
|
),
|
|
2316
2316
|
reducers: {
|
|
@@ -2441,7 +2441,7 @@ const y = (
|
|
|
2441
2441
|
name: "issueTypeFieldValues",
|
|
2442
2442
|
initialState: Ei,
|
|
2443
2443
|
extraReducers: (t) => t.addMatcher(
|
|
2444
|
-
b(O,
|
|
2444
|
+
b(O, k, F),
|
|
2445
2445
|
(s) => Object.assign(s, Ei)
|
|
2446
2446
|
),
|
|
2447
2447
|
reducers: {
|
|
@@ -2530,7 +2530,7 @@ const y = (
|
|
|
2530
2530
|
name: "issueTypeFieldValuesAttachments",
|
|
2531
2531
|
initialState: Bi,
|
|
2532
2532
|
extraReducers: (t) => t.addMatcher(
|
|
2533
|
-
b(O,
|
|
2533
|
+
b(O, k, F),
|
|
2534
2534
|
(s) => Object.assign(s, Bi)
|
|
2535
2535
|
),
|
|
2536
2536
|
reducers: {
|
|
@@ -2619,7 +2619,7 @@ const y = (
|
|
|
2619
2619
|
name: "issueTypeIdentifierValues",
|
|
2620
2620
|
initialState: ji,
|
|
2621
2621
|
extraReducers: (t) => t.addMatcher(
|
|
2622
|
-
b(O,
|
|
2622
|
+
b(O, k, F),
|
|
2623
2623
|
(s) => Object.assign(s, ji)
|
|
2624
2624
|
),
|
|
2625
2625
|
reducers: {
|
|
@@ -2750,7 +2750,7 @@ const y = (
|
|
|
2750
2750
|
name: "issueUpdates",
|
|
2751
2751
|
initialState: Di,
|
|
2752
2752
|
extraReducers: (t) => t.addMatcher(
|
|
2753
|
-
b(O,
|
|
2753
|
+
b(O, k, F),
|
|
2754
2754
|
(s) => Object.assign(s, Di)
|
|
2755
2755
|
),
|
|
2756
2756
|
reducers: {
|
|
@@ -3169,7 +3169,7 @@ const y = (
|
|
|
3169
3169
|
name: "projectFieldValuesAttachments",
|
|
3170
3170
|
initialState: Gi,
|
|
3171
3171
|
extraReducers: (t) => t.addMatcher(
|
|
3172
|
-
b(O,
|
|
3172
|
+
b(O, F),
|
|
3173
3173
|
(s) => Object.assign(s, Gi)
|
|
3174
3174
|
),
|
|
3175
3175
|
reducers: {
|
|
@@ -3215,7 +3215,7 @@ const y = (
|
|
|
3215
3215
|
name: "projectFieldValues",
|
|
3216
3216
|
initialState: Wi,
|
|
3217
3217
|
extraReducers: (t) => t.addMatcher(
|
|
3218
|
-
b(O,
|
|
3218
|
+
b(O, F),
|
|
3219
3219
|
(s) => Object.assign(s, Wi)
|
|
3220
3220
|
),
|
|
3221
3221
|
reducers: {
|
|
@@ -3267,7 +3267,7 @@ const y = (
|
|
|
3267
3267
|
name: "projectFiles",
|
|
3268
3268
|
initialState: Ki,
|
|
3269
3269
|
extraReducers: (t) => t.addMatcher(
|
|
3270
|
-
b(O,
|
|
3270
|
+
b(O, k, F),
|
|
3271
3271
|
(s) => Object.assign(s, Ki)
|
|
3272
3272
|
),
|
|
3273
3273
|
reducers: {
|
|
@@ -3383,7 +3383,7 @@ const y = (
|
|
|
3383
3383
|
name: "procedureInitiatives",
|
|
3384
3384
|
initialState: Zi,
|
|
3385
3385
|
extraReducers: (t) => t.addMatcher(
|
|
3386
|
-
b(O,
|
|
3386
|
+
b(O, k, F),
|
|
3387
3387
|
(s) => Object.assign(s, Zi)
|
|
3388
3388
|
),
|
|
3389
3389
|
reducers: {
|
|
@@ -3428,7 +3428,7 @@ const y = (
|
|
|
3428
3428
|
name: "procedures",
|
|
3429
3429
|
initialState: Qi,
|
|
3430
3430
|
extraReducers: (t) => t.addMatcher(
|
|
3431
|
-
b(O,
|
|
3431
|
+
b(O, k, F),
|
|
3432
3432
|
(s) => Object.assign(s, Qi)
|
|
3433
3433
|
),
|
|
3434
3434
|
reducers: {
|
|
@@ -3479,7 +3479,7 @@ const y = (
|
|
|
3479
3479
|
name: "procedureStepAssignees",
|
|
3480
3480
|
initialState: Xi,
|
|
3481
3481
|
extraReducers: (t) => t.addMatcher(
|
|
3482
|
-
b(O,
|
|
3482
|
+
b(O, k, F),
|
|
3483
3483
|
(s) => Object.assign(s, Xi)
|
|
3484
3484
|
),
|
|
3485
3485
|
reducers: {
|
|
@@ -3534,7 +3534,7 @@ const y = (
|
|
|
3534
3534
|
name: "procedureStepComments",
|
|
3535
3535
|
initialState: en,
|
|
3536
3536
|
extraReducers: (t) => t.addMatcher(
|
|
3537
|
-
b(O,
|
|
3537
|
+
b(O, k, F),
|
|
3538
3538
|
(s) => Object.assign(s, en)
|
|
3539
3539
|
),
|
|
3540
3540
|
reducers: {
|
|
@@ -3681,7 +3681,7 @@ const y = (
|
|
|
3681
3681
|
name: "procedureStepEvents",
|
|
3682
3682
|
initialState: nn,
|
|
3683
3683
|
extraReducers: (t) => t.addMatcher(
|
|
3684
|
-
b(O,
|
|
3684
|
+
b(O, k, F),
|
|
3685
3685
|
(s) => Object.assign(s, nn)
|
|
3686
3686
|
),
|
|
3687
3687
|
reducers: {
|
|
@@ -3831,7 +3831,7 @@ const y = (
|
|
|
3831
3831
|
name: "procedureStepFieldValuesAttachments",
|
|
3832
3832
|
initialState: cn,
|
|
3833
3833
|
extraReducers: (t) => t.addMatcher(
|
|
3834
|
-
b(O,
|
|
3834
|
+
b(O, k, F),
|
|
3835
3835
|
(s) => Object.assign(s, cn)
|
|
3836
3836
|
),
|
|
3837
3837
|
reducers: {
|
|
@@ -3877,7 +3877,7 @@ const y = (
|
|
|
3877
3877
|
name: "procedureStepFieldValues",
|
|
3878
3878
|
initialState: dn,
|
|
3879
3879
|
extraReducers: (t) => t.addMatcher(
|
|
3880
|
-
b(O,
|
|
3880
|
+
b(O, k, F),
|
|
3881
3881
|
(s) => Object.assign(s, dn)
|
|
3882
3882
|
),
|
|
3883
3883
|
reducers: {
|
|
@@ -3938,7 +3938,7 @@ const y = (
|
|
|
3938
3938
|
name: "procedureStepFieldValuesReviews",
|
|
3939
3939
|
initialState: un,
|
|
3940
3940
|
extraReducers: (t) => t.addMatcher(
|
|
3941
|
-
b(O,
|
|
3941
|
+
b(O, k, F),
|
|
3942
3942
|
(s) => Object.assign(s, un)
|
|
3943
3943
|
),
|
|
3944
3944
|
reducers: {
|
|
@@ -4026,7 +4026,7 @@ const y = (
|
|
|
4026
4026
|
name: "procedureStepReviewers",
|
|
4027
4027
|
initialState: on,
|
|
4028
4028
|
extraReducers: (t) => t.addMatcher(
|
|
4029
|
-
b(O,
|
|
4029
|
+
b(O, k, F),
|
|
4030
4030
|
(s) => Object.assign(s, on)
|
|
4031
4031
|
),
|
|
4032
4032
|
reducers: {
|
|
@@ -4267,7 +4267,7 @@ const y = (
|
|
|
4267
4267
|
name: "procedureFieldValuesAttachments",
|
|
4268
4268
|
initialState: yn,
|
|
4269
4269
|
extraReducers: (t) => t.addMatcher(
|
|
4270
|
-
b(O,
|
|
4270
|
+
b(O, k, F),
|
|
4271
4271
|
(s) => Object.assign(s, yn)
|
|
4272
4272
|
),
|
|
4273
4273
|
reducers: {
|
|
@@ -4313,7 +4313,7 @@ const y = (
|
|
|
4313
4313
|
name: "procedureFieldValues",
|
|
4314
4314
|
initialState: fn,
|
|
4315
4315
|
extraReducers: (t) => t.addMatcher(
|
|
4316
|
-
b(O,
|
|
4316
|
+
b(O, k, F),
|
|
4317
4317
|
(s) => Object.assign(s, fn)
|
|
4318
4318
|
),
|
|
4319
4319
|
reducers: {
|
|
@@ -4984,18 +4984,18 @@ class D extends E {
|
|
|
4984
4984
|
const fd = this.getBlocks(x);
|
|
4985
4985
|
q.push(...fd);
|
|
4986
4986
|
}
|
|
4987
|
-
const
|
|
4987
|
+
const j = {
|
|
4988
4988
|
payloads: I,
|
|
4989
4989
|
submittedAt: d,
|
|
4990
4990
|
files: Object.values(g),
|
|
4991
4991
|
blockers: V,
|
|
4992
4992
|
blocks: q
|
|
4993
4993
|
};
|
|
4994
|
-
m.push(
|
|
4994
|
+
m.push(j);
|
|
4995
4995
|
}
|
|
4996
4996
|
this.dispatch(n(c));
|
|
4997
4997
|
const S = m.map((M) => {
|
|
4998
|
-
const { submittedAt: I, files: g, payloads: V, blocks: q, blockers:
|
|
4998
|
+
const { submittedAt: I, files: g, payloads: V, blocks: q, blockers: j } = M;
|
|
4999
4999
|
return this.enqueueRequest({
|
|
5000
5000
|
description: A(u.POST, this.name, !0),
|
|
5001
5001
|
method: u.POST,
|
|
@@ -5005,7 +5005,7 @@ class D extends E {
|
|
|
5005
5005
|
files: g,
|
|
5006
5006
|
payloads: V
|
|
5007
5007
|
},
|
|
5008
|
-
blockers:
|
|
5008
|
+
blockers: j,
|
|
5009
5009
|
blocks: q
|
|
5010
5010
|
});
|
|
5011
5011
|
});
|
|
@@ -5022,9 +5022,9 @@ class D extends E {
|
|
|
5022
5022
|
const I = [];
|
|
5023
5023
|
for (const { presigned_urls: g } of M) {
|
|
5024
5024
|
const V = this.client.files.processPresignedUrls(g);
|
|
5025
|
-
for (const [q,
|
|
5025
|
+
for (const [q, j] of Object.entries(V))
|
|
5026
5026
|
try {
|
|
5027
|
-
await
|
|
5027
|
+
await j, I.push(q);
|
|
5028
5028
|
} catch (z) {
|
|
5029
5029
|
throw console.error("Upload to s3 using presigned url failed.", z), z;
|
|
5030
5030
|
}
|
|
@@ -5502,13 +5502,13 @@ class hV extends E {
|
|
|
5502
5502
|
this.dispatch(r(m));
|
|
5503
5503
|
const w = [];
|
|
5504
5504
|
for (const M of B) {
|
|
5505
|
-
const { field_values: I } = M, g = I.map(({ asset: $ }) => $), V = I.map(({ fields_revision: $ }) => $), q = I.map(({ asset_procedure: $ }) => $),
|
|
5505
|
+
const { field_values: I } = M, g = I.map(({ asset: $ }) => $), V = I.map(({ fields_revision: $ }) => $), q = I.map(({ asset_procedure: $ }) => $), j = I.map(({ uuid: $ }) => $), z = this.enqueueRequest({
|
|
5506
5506
|
description: A(u.POST, this.name, !0),
|
|
5507
5507
|
method: u.POST,
|
|
5508
5508
|
url: `${this.url}/bulk/`,
|
|
5509
5509
|
payload: M,
|
|
5510
5510
|
blockers: g.concat(V).concat(q),
|
|
5511
|
-
blocks:
|
|
5511
|
+
blocks: j
|
|
5512
5512
|
});
|
|
5513
5513
|
w.push(z);
|
|
5514
5514
|
}
|
|
@@ -6113,13 +6113,13 @@ class SV extends E {
|
|
|
6113
6113
|
this.dispatch(r(m));
|
|
6114
6114
|
const w = [];
|
|
6115
6115
|
for (const M of B) {
|
|
6116
|
-
const { field_values: I } = M, g = I.map(({ asset: $ }) => $), V = I.map(({ fields_revision: $ }) => $), q = I.map(({ asset_procedure: $ }) => $),
|
|
6116
|
+
const { field_values: I } = M, g = I.map(({ asset: $ }) => $), V = I.map(({ fields_revision: $ }) => $), q = I.map(({ asset_procedure: $ }) => $), j = I.map(({ uuid: $ }) => $), z = this.enqueueRequest({
|
|
6117
6117
|
description: A(u.POST, this.name, !0),
|
|
6118
6118
|
method: u.POST,
|
|
6119
6119
|
url: `${this.url}/bulk/`,
|
|
6120
6120
|
payload: M,
|
|
6121
6121
|
blockers: g.concat(V).concat(q),
|
|
6122
|
-
blocks:
|
|
6122
|
+
blocks: j
|
|
6123
6123
|
});
|
|
6124
6124
|
w.push(z);
|
|
6125
6125
|
}
|
|
@@ -7061,7 +7061,7 @@ class gV extends E {
|
|
|
7061
7061
|
this.dispatch(r(l));
|
|
7062
7062
|
const B = [];
|
|
7063
7063
|
for (const w of S) {
|
|
7064
|
-
const { field_values: M } = w, I = M.map(({ asset:
|
|
7064
|
+
const { field_values: M } = w, I = M.map(({ asset: j }) => j), g = M.map(({ fields_revision: j }) => j), V = M.map(({ uuid: j }) => j), q = this.enqueueRequest({
|
|
7065
7065
|
description: A(u.POST, this.name, !0),
|
|
7066
7066
|
method: u.POST,
|
|
7067
7067
|
url: `${this.url}/bulk/`,
|
|
@@ -7285,19 +7285,19 @@ class RV extends E {
|
|
|
7285
7285
|
for (const w of p) {
|
|
7286
7286
|
const M = [], I = [], g = [];
|
|
7287
7287
|
for (const q of w) {
|
|
7288
|
-
const
|
|
7288
|
+
const j = P({
|
|
7289
7289
|
...q,
|
|
7290
7290
|
submitted_at: d,
|
|
7291
7291
|
created_by: c
|
|
7292
7292
|
});
|
|
7293
|
-
m.push(
|
|
7293
|
+
m.push(j);
|
|
7294
7294
|
const z = {
|
|
7295
|
-
uuid:
|
|
7296
|
-
asset:
|
|
7297
|
-
asset_type_identifier:
|
|
7298
|
-
value:
|
|
7295
|
+
uuid: j.uuid,
|
|
7296
|
+
asset: j.asset,
|
|
7297
|
+
asset_type_identifier: j.asset_type_identifier,
|
|
7298
|
+
value: j.value
|
|
7299
7299
|
};
|
|
7300
|
-
M.push(z), I.push(
|
|
7300
|
+
M.push(z), I.push(j.asset), I.push(j.asset_type_identifier), g.push(j.uuid);
|
|
7301
7301
|
}
|
|
7302
7302
|
const V = {
|
|
7303
7303
|
payloads: M,
|
|
@@ -10678,7 +10678,7 @@ class pj extends D {
|
|
|
10678
10678
|
const { initialize: n } = this.actions, r = (await this.listPaginated(
|
|
10679
10679
|
{
|
|
10680
10680
|
queryParams: {
|
|
10681
|
-
|
|
10681
|
+
field_values__project__organization: e,
|
|
10682
10682
|
latest: !0
|
|
10683
10683
|
}
|
|
10684
10684
|
},
|
|
@@ -10761,7 +10761,7 @@ class mj extends E {
|
|
|
10761
10761
|
this.dispatch(r(l));
|
|
10762
10762
|
const B = [];
|
|
10763
10763
|
for (const w of S) {
|
|
10764
|
-
const { field_values: M } = w, I = M.map(({ project:
|
|
10764
|
+
const { field_values: M } = w, I = M.map(({ project: j }) => j), g = M.map(({ fields_revision: j }) => j), V = M.map(({ uuid: j }) => j), q = this.enqueueRequest({
|
|
10765
10765
|
description: A(u.POST, this.name, !0),
|
|
10766
10766
|
method: u.POST,
|
|
10767
10767
|
url: `${this.url}/bulk/`,
|
|
@@ -10826,7 +10826,7 @@ class mj extends E {
|
|
|
10826
10826
|
const { initialize: n } = this.actions, r = (await this.listPaginated(
|
|
10827
10827
|
{
|
|
10828
10828
|
queryParams: {
|
|
10829
|
-
|
|
10829
|
+
project__organization: e,
|
|
10830
10830
|
latest: !0
|
|
10831
10831
|
}
|
|
10832
10832
|
},
|
|
@@ -11141,9 +11141,9 @@ class Sj extends E {
|
|
|
11141
11141
|
const { store: n } = this.client, { addMany: a, updateMany: r, deleteMany: d } = this.actions, c = (/* @__PURE__ */ new Date()).toISOString(), p = ((w = n.getState().userReducer.currentUser) == null ? void 0 : w.id) ?? null, l = [], m = H(e, Math.min(i ?? e.length, N)), S = [];
|
|
11142
11142
|
for (const M of m) {
|
|
11143
11143
|
const I = [], g = [], V = [];
|
|
11144
|
-
for (const
|
|
11144
|
+
for (const j of M) {
|
|
11145
11145
|
const z = P({
|
|
11146
|
-
...
|
|
11146
|
+
...j,
|
|
11147
11147
|
submitted_at: c,
|
|
11148
11148
|
created_by: p
|
|
11149
11149
|
});
|
|
@@ -13166,7 +13166,7 @@ async function hd(t, s, e, i, n) {
|
|
|
13166
13166
|
return x.set("x-amz-checksum-sha1", L).field({ ...c, ...d.fields }).attach("file", g);
|
|
13167
13167
|
}
|
|
13168
13168
|
return x.send(c);
|
|
13169
|
-
},
|
|
13169
|
+
}, j = {
|
|
13170
13170
|
[u.GET]: () => M ? Rt.get(I.toString()).responseType("blob") : Rt.get(I.toString()),
|
|
13171
13171
|
[u.POST]: () => {
|
|
13172
13172
|
const x = Rt.post(I.toString());
|
|
@@ -13185,7 +13185,7 @@ async function hd(t, s, e, i, n) {
|
|
|
13185
13185
|
return V(x);
|
|
13186
13186
|
}
|
|
13187
13187
|
}[l];
|
|
13188
|
-
let z =
|
|
13188
|
+
let z = j();
|
|
13189
13189
|
const $ = () => {
|
|
13190
13190
|
console.debug("aborting request:", s.url), z.abort();
|
|
13191
13191
|
};
|
|
@@ -13634,7 +13634,7 @@ export {
|
|
|
13634
13634
|
Aj as ProjectStatusService,
|
|
13635
13635
|
Dd as ProjectStatusType,
|
|
13636
13636
|
F as RESET_ORGANIZATION_STATE,
|
|
13637
|
-
|
|
13637
|
+
k as RESET_PROJECT_STATE,
|
|
13638
13638
|
O as RESET_STATE,
|
|
13639
13639
|
YR as RateLimitingMiddleware,
|
|
13640
13640
|
qE as SelectorBuilder,
|