@stamhoofd/backend 2.118.0 → 2.118.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stamhoofd/backend",
|
|
3
|
-
"version": "2.118.
|
|
3
|
+
"version": "2.118.1",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -55,14 +55,14 @@
|
|
|
55
55
|
"@simonbackx/simple-encoding": "2.23.1",
|
|
56
56
|
"@simonbackx/simple-endpoints": "1.20.1",
|
|
57
57
|
"@simonbackx/simple-logging": "^1.0.1",
|
|
58
|
-
"@stamhoofd/backend-i18n": "2.118.
|
|
59
|
-
"@stamhoofd/backend-middleware": "2.118.
|
|
60
|
-
"@stamhoofd/email": "2.118.
|
|
61
|
-
"@stamhoofd/models": "2.118.
|
|
62
|
-
"@stamhoofd/queues": "2.118.
|
|
63
|
-
"@stamhoofd/sql": "2.118.
|
|
64
|
-
"@stamhoofd/structures": "2.118.
|
|
65
|
-
"@stamhoofd/utility": "2.118.
|
|
58
|
+
"@stamhoofd/backend-i18n": "2.118.1",
|
|
59
|
+
"@stamhoofd/backend-middleware": "2.118.1",
|
|
60
|
+
"@stamhoofd/email": "2.118.1",
|
|
61
|
+
"@stamhoofd/models": "2.118.1",
|
|
62
|
+
"@stamhoofd/queues": "2.118.1",
|
|
63
|
+
"@stamhoofd/sql": "2.118.1",
|
|
64
|
+
"@stamhoofd/structures": "2.118.1",
|
|
65
|
+
"@stamhoofd/utility": "2.118.1",
|
|
66
66
|
"archiver": "^7.0.1",
|
|
67
67
|
"axios": "^1.13.2",
|
|
68
68
|
"cookie": "^0.7.0",
|
|
@@ -80,5 +80,5 @@
|
|
|
80
80
|
"publishConfig": {
|
|
81
81
|
"access": "public"
|
|
82
82
|
},
|
|
83
|
-
"gitHead": "
|
|
83
|
+
"gitHead": "7461e7ca17f68233be8a8acf1943f2d7882244fd"
|
|
84
84
|
}
|
|
@@ -499,7 +499,7 @@ export class PatchEventsEndpoint extends Endpoint<Params, Query, Body, ResponseB
|
|
|
499
499
|
const originalGroupType = existingGroup.type;
|
|
500
500
|
|
|
501
501
|
if (!await Context.auth.canAccessGroup(existingGroup)) {
|
|
502
|
-
throw Context.auth.error($t(`
|
|
502
|
+
throw Context.auth.error($t(`9cb60490-97be-4d11-beaf-4bdcf8b02d53`));
|
|
503
503
|
}
|
|
504
504
|
|
|
505
505
|
if (event.organizationId !== existingGroup.organizationId) {
|
|
@@ -541,7 +541,7 @@ export class PatchOrganizationMembersEndpoint extends Endpoint<Params, Query, Bo
|
|
|
541
541
|
code: 'invalid_field',
|
|
542
542
|
field: 'startDate',
|
|
543
543
|
message: 'Overlapping memberships',
|
|
544
|
-
human: $t(`
|
|
544
|
+
human: $t(`84ef7751-ddf9-4591-ba5b-53371c67bdc3`),
|
|
545
545
|
});
|
|
546
546
|
}
|
|
547
547
|
if (existing.locked) {
|
|
@@ -549,7 +549,7 @@ export class PatchOrganizationMembersEndpoint extends Endpoint<Params, Query, Bo
|
|
|
549
549
|
code: 'invalid_field',
|
|
550
550
|
field: 'startDate',
|
|
551
551
|
message: 'Overlapping memberships',
|
|
552
|
-
human: $t(`
|
|
552
|
+
human: $t(`723af14b-38b8-4f33-a645-ed5087fc7461`),
|
|
553
553
|
});
|
|
554
554
|
}
|
|
555
555
|
if (!existing.generated) {
|
|
@@ -557,14 +557,14 @@ export class PatchOrganizationMembersEndpoint extends Endpoint<Params, Query, Bo
|
|
|
557
557
|
code: 'invalid_field',
|
|
558
558
|
field: 'startDate',
|
|
559
559
|
message: 'Overlapping memberships',
|
|
560
|
-
human: $t(`
|
|
560
|
+
human: $t(`b0280152-295f-48af-94e0-111c92dbda32`),
|
|
561
561
|
});
|
|
562
562
|
}
|
|
563
563
|
throw new SimpleError({
|
|
564
564
|
code: 'invalid_field',
|
|
565
565
|
field: 'startDate',
|
|
566
566
|
message: 'Overlapping memberships',
|
|
567
|
-
human: $t(`
|
|
567
|
+
human: $t(`1c0d9219-ef24-46ad-9b9c-f09b8d093fc8`),
|
|
568
568
|
});
|
|
569
569
|
}
|
|
570
570
|
else if (existing) {
|