@timardex/cluemart-server-shared 1.0.164 → 1.0.166
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/{chunk-RGSAG3WZ.mjs → chunk-W5EVEI2Y.mjs} +183 -169
- package/dist/chunk-W5EVEI2Y.mjs.map +1 -0
- package/dist/index.cjs +192 -177
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +14 -2
- package/dist/index.d.ts +14 -2
- package/dist/index.mjs +190 -176
- package/dist/index.mjs.map +1 -1
- package/dist/mongoose/index.cjs +184 -169
- package/dist/mongoose/index.cjs.map +1 -1
- package/dist/mongoose/index.d.mts +14 -2
- package/dist/mongoose/index.d.ts +14 -2
- package/dist/mongoose/index.mjs +3 -1
- package/dist/service/index.cjs +186 -173
- package/dist/service/index.cjs.map +1 -1
- package/dist/service/index.mjs +1 -1
- package/package.json +2 -2
- package/dist/chunk-RGSAG3WZ.mjs.map +0 -1
|
@@ -4656,10 +4656,10 @@ var Condition = class _Condition {
|
|
|
4656
4656
|
otherwise
|
|
4657
4657
|
} = config;
|
|
4658
4658
|
let check = typeof is === "function" ? is : (...values) => values.every((value) => value === is);
|
|
4659
|
-
return new _Condition(refs, (values,
|
|
4659
|
+
return new _Condition(refs, (values, schema17) => {
|
|
4660
4660
|
var _branch;
|
|
4661
4661
|
let branch = check(...values) ? then : otherwise;
|
|
4662
|
-
return (_branch = branch == null ? void 0 : branch(
|
|
4662
|
+
return (_branch = branch == null ? void 0 : branch(schema17)) != null ? _branch : schema17;
|
|
4663
4663
|
});
|
|
4664
4664
|
}
|
|
4665
4665
|
constructor(refs, builder) {
|
|
@@ -4673,13 +4673,13 @@ var Condition = class _Condition {
|
|
|
4673
4673
|
// TODO: ? operator here?
|
|
4674
4674
|
ref.getValue(options == null ? void 0 : options.value, options == null ? void 0 : options.parent, options == null ? void 0 : options.context)
|
|
4675
4675
|
));
|
|
4676
|
-
let
|
|
4677
|
-
if (
|
|
4678
|
-
|
|
4676
|
+
let schema17 = this.fn(values, base, options);
|
|
4677
|
+
if (schema17 === void 0 || // @ts-ignore this can be base
|
|
4678
|
+
schema17 === base) {
|
|
4679
4679
|
return base;
|
|
4680
4680
|
}
|
|
4681
|
-
if (!isSchema(
|
|
4682
|
-
return
|
|
4681
|
+
if (!isSchema(schema17)) throw new TypeError("conditions must return a schema object");
|
|
4682
|
+
return schema17.resolve(options);
|
|
4683
4683
|
}
|
|
4684
4684
|
};
|
|
4685
4685
|
var prefixes = {
|
|
@@ -4749,7 +4749,7 @@ function createValidation(config) {
|
|
|
4749
4749
|
path = "",
|
|
4750
4750
|
options,
|
|
4751
4751
|
originalValue,
|
|
4752
|
-
schema:
|
|
4752
|
+
schema: schema17
|
|
4753
4753
|
}, panic, next) {
|
|
4754
4754
|
const {
|
|
4755
4755
|
name,
|
|
@@ -4761,8 +4761,8 @@ function createValidation(config) {
|
|
|
4761
4761
|
let {
|
|
4762
4762
|
parent,
|
|
4763
4763
|
context,
|
|
4764
|
-
abortEarly =
|
|
4765
|
-
disableStackTrace =
|
|
4764
|
+
abortEarly = schema17.spec.abortEarly,
|
|
4765
|
+
disableStackTrace = schema17.spec.disableStackTrace
|
|
4766
4766
|
} = options;
|
|
4767
4767
|
function resolve(item) {
|
|
4768
4768
|
return Reference.isRef(item) ? item.getValue(value, parent, context) : item;
|
|
@@ -4771,9 +4771,9 @@ function createValidation(config) {
|
|
|
4771
4771
|
const nextParams = Object.assign({
|
|
4772
4772
|
value,
|
|
4773
4773
|
originalValue,
|
|
4774
|
-
label:
|
|
4774
|
+
label: schema17.spec.label,
|
|
4775
4775
|
path: overrides.path || path,
|
|
4776
|
-
spec:
|
|
4776
|
+
spec: schema17.spec,
|
|
4777
4777
|
disableStackTrace: overrides.disableStackTrace || disableStackTrace
|
|
4778
4778
|
}, params, overrides.params);
|
|
4779
4779
|
for (const key of Object.keys(nextParams)) nextParams[key] = resolve(nextParams[key]);
|
|
@@ -4791,7 +4791,7 @@ function createValidation(config) {
|
|
|
4791
4791
|
resolve,
|
|
4792
4792
|
options,
|
|
4793
4793
|
originalValue,
|
|
4794
|
-
schema:
|
|
4794
|
+
schema: schema17
|
|
4795
4795
|
};
|
|
4796
4796
|
const handleResult = (validOrError) => {
|
|
4797
4797
|
if (ValidationError.isError(validOrError)) invalid(validOrError);
|
|
@@ -4825,42 +4825,42 @@ function createValidation(config) {
|
|
|
4825
4825
|
validate.OPTIONS = config;
|
|
4826
4826
|
return validate;
|
|
4827
4827
|
}
|
|
4828
|
-
function getIn(
|
|
4828
|
+
function getIn(schema17, path, value, context = value) {
|
|
4829
4829
|
let parent, lastPart, lastPartDebug;
|
|
4830
4830
|
if (!path) return {
|
|
4831
4831
|
parent,
|
|
4832
4832
|
parentPath: path,
|
|
4833
|
-
schema:
|
|
4833
|
+
schema: schema17
|
|
4834
4834
|
};
|
|
4835
4835
|
(0, import_property_expr.forEach)(path, (_part, isBracket, isArray) => {
|
|
4836
4836
|
let part = isBracket ? _part.slice(1, _part.length - 1) : _part;
|
|
4837
|
-
|
|
4837
|
+
schema17 = schema17.resolve({
|
|
4838
4838
|
context,
|
|
4839
4839
|
parent,
|
|
4840
4840
|
value
|
|
4841
4841
|
});
|
|
4842
|
-
let isTuple =
|
|
4842
|
+
let isTuple = schema17.type === "tuple";
|
|
4843
4843
|
let idx = isArray ? parseInt(part, 10) : 0;
|
|
4844
|
-
if (
|
|
4844
|
+
if (schema17.innerType || isTuple) {
|
|
4845
4845
|
if (isTuple && !isArray) throw new Error(`Yup.reach cannot implicitly index into a tuple type. the path part "${lastPartDebug}" must contain an index to the tuple element, e.g. "${lastPartDebug}[0]"`);
|
|
4846
4846
|
if (value && idx >= value.length) {
|
|
4847
4847
|
throw new Error(`Yup.reach cannot resolve an array item at index: ${_part}, in the path: ${path}. because there is no value at that index. `);
|
|
4848
4848
|
}
|
|
4849
4849
|
parent = value;
|
|
4850
4850
|
value = value && value[idx];
|
|
4851
|
-
|
|
4851
|
+
schema17 = isTuple ? schema17.spec.types[idx] : schema17.innerType;
|
|
4852
4852
|
}
|
|
4853
4853
|
if (!isArray) {
|
|
4854
|
-
if (!
|
|
4854
|
+
if (!schema17.fields || !schema17.fields[part]) throw new Error(`The schema does not contain the path: ${path}. (failed at: ${lastPartDebug} which is a type: "${schema17.type}")`);
|
|
4855
4855
|
parent = value;
|
|
4856
4856
|
value = value && value[part];
|
|
4857
|
-
|
|
4857
|
+
schema17 = schema17.fields[part];
|
|
4858
4858
|
}
|
|
4859
4859
|
lastPart = part;
|
|
4860
4860
|
lastPartDebug = isBracket ? "[" + _part + "]" : "." + _part;
|
|
4861
4861
|
});
|
|
4862
4862
|
return {
|
|
4863
|
-
schema:
|
|
4863
|
+
schema: schema17,
|
|
4864
4864
|
parent,
|
|
4865
4865
|
parentPath: lastPart
|
|
4866
4866
|
};
|
|
@@ -4997,20 +4997,20 @@ var Schema = class {
|
|
|
4997
4997
|
this._mutate = before;
|
|
4998
4998
|
return result;
|
|
4999
4999
|
}
|
|
5000
|
-
concat(
|
|
5001
|
-
if (!
|
|
5002
|
-
if (
|
|
5000
|
+
concat(schema17) {
|
|
5001
|
+
if (!schema17 || schema17 === this) return this;
|
|
5002
|
+
if (schema17.type !== this.type && this.type !== "mixed") throw new TypeError(`You cannot \`concat()\` schema's of different types: ${this.type} and ${schema17.type}`);
|
|
5003
5003
|
let base = this;
|
|
5004
|
-
let combined =
|
|
5004
|
+
let combined = schema17.clone();
|
|
5005
5005
|
const mergedSpec = Object.assign({}, base.spec, combined.spec);
|
|
5006
5006
|
combined.spec = mergedSpec;
|
|
5007
5007
|
combined.internalTests = Object.assign({}, base.internalTests, combined.internalTests);
|
|
5008
|
-
combined._whitelist = base._whitelist.merge(
|
|
5009
|
-
combined._blacklist = base._blacklist.merge(
|
|
5008
|
+
combined._whitelist = base._whitelist.merge(schema17._whitelist, schema17._blacklist);
|
|
5009
|
+
combined._blacklist = base._blacklist.merge(schema17._blacklist, schema17._whitelist);
|
|
5010
5010
|
combined.tests = base.tests;
|
|
5011
5011
|
combined.exclusiveTests = base.exclusiveTests;
|
|
5012
5012
|
combined.withMutation((next) => {
|
|
5013
|
-
|
|
5013
|
+
schema17.tests.forEach((fn) => {
|
|
5014
5014
|
next.test(fn.OPTIONS);
|
|
5015
5015
|
});
|
|
5016
5016
|
});
|
|
@@ -5026,15 +5026,15 @@ var Schema = class {
|
|
|
5026
5026
|
return this._typeCheck(v);
|
|
5027
5027
|
}
|
|
5028
5028
|
resolve(options) {
|
|
5029
|
-
let
|
|
5030
|
-
if (
|
|
5031
|
-
let conditions =
|
|
5032
|
-
|
|
5033
|
-
|
|
5034
|
-
|
|
5035
|
-
|
|
5029
|
+
let schema17 = this;
|
|
5030
|
+
if (schema17.conditions.length) {
|
|
5031
|
+
let conditions = schema17.conditions;
|
|
5032
|
+
schema17 = schema17.clone();
|
|
5033
|
+
schema17.conditions = [];
|
|
5034
|
+
schema17 = conditions.reduce((prevSchema, condition) => condition.resolve(prevSchema, options), schema17);
|
|
5035
|
+
schema17 = schema17.resolve(options);
|
|
5036
5036
|
}
|
|
5037
|
-
return
|
|
5037
|
+
return schema17;
|
|
5038
5038
|
}
|
|
5039
5039
|
resolveOptions(options) {
|
|
5040
5040
|
var _options$strict, _options$abortEarly, _options$recursive, _options$disableStack;
|
|
@@ -5188,11 +5188,11 @@ attempted value: ${formattedValue}
|
|
|
5188
5188
|
}
|
|
5189
5189
|
validate(value, options) {
|
|
5190
5190
|
var _options$disableStack2;
|
|
5191
|
-
let
|
|
5191
|
+
let schema17 = this.resolve(Object.assign({}, options, {
|
|
5192
5192
|
value
|
|
5193
5193
|
}));
|
|
5194
|
-
let disableStackTrace = (_options$disableStack2 = options == null ? void 0 : options.disableStackTrace) != null ? _options$disableStack2 :
|
|
5195
|
-
return new Promise((resolve, reject) =>
|
|
5194
|
+
let disableStackTrace = (_options$disableStack2 = options == null ? void 0 : options.disableStackTrace) != null ? _options$disableStack2 : schema17.spec.disableStackTrace;
|
|
5195
|
+
return new Promise((resolve, reject) => schema17._validate(value, options, (error, parsed) => {
|
|
5196
5196
|
if (ValidationError.isError(error)) error.value = parsed;
|
|
5197
5197
|
reject(error);
|
|
5198
5198
|
}, (errors, validated) => {
|
|
@@ -5202,12 +5202,12 @@ attempted value: ${formattedValue}
|
|
|
5202
5202
|
}
|
|
5203
5203
|
validateSync(value, options) {
|
|
5204
5204
|
var _options$disableStack3;
|
|
5205
|
-
let
|
|
5205
|
+
let schema17 = this.resolve(Object.assign({}, options, {
|
|
5206
5206
|
value
|
|
5207
5207
|
}));
|
|
5208
5208
|
let result;
|
|
5209
|
-
let disableStackTrace = (_options$disableStack3 = options == null ? void 0 : options.disableStackTrace) != null ? _options$disableStack3 :
|
|
5210
|
-
|
|
5209
|
+
let disableStackTrace = (_options$disableStack3 = options == null ? void 0 : options.disableStackTrace) != null ? _options$disableStack3 : schema17.spec.disableStackTrace;
|
|
5210
|
+
schema17._validate(value, Object.assign({}, options, {
|
|
5211
5211
|
sync: true
|
|
5212
5212
|
}), (error, parsed) => {
|
|
5213
5213
|
if (ValidationError.isError(error)) error.value = parsed;
|
|
@@ -5241,8 +5241,8 @@ attempted value: ${formattedValue}
|
|
|
5241
5241
|
return typeof defaultValue === "function" ? defaultValue.call(this, options) : clone(defaultValue);
|
|
5242
5242
|
}
|
|
5243
5243
|
getDefault(options) {
|
|
5244
|
-
let
|
|
5245
|
-
return
|
|
5244
|
+
let schema17 = this.resolve(options || {});
|
|
5245
|
+
return schema17._getDefault(options);
|
|
5246
5246
|
}
|
|
5247
5247
|
default(def) {
|
|
5248
5248
|
if (arguments.length === 0) {
|
|
@@ -5477,9 +5477,9 @@ for (const method of ["validate", "validateSync"]) Schema.prototype[`${method}At
|
|
|
5477
5477
|
const {
|
|
5478
5478
|
parent,
|
|
5479
5479
|
parentPath,
|
|
5480
|
-
schema:
|
|
5480
|
+
schema: schema17
|
|
5481
5481
|
} = getIn(this, path, value, options.context);
|
|
5482
|
-
return
|
|
5482
|
+
return schema17[method](parent && parent[parentPath], Object.assign({}, options, {
|
|
5483
5483
|
parent,
|
|
5484
5484
|
path
|
|
5485
5485
|
}));
|
|
@@ -5653,7 +5653,7 @@ var StringSchema = class extends Schema {
|
|
|
5653
5653
|
});
|
|
5654
5654
|
}
|
|
5655
5655
|
required(message) {
|
|
5656
|
-
return super.required(message).withMutation((
|
|
5656
|
+
return super.required(message).withMutation((schema17) => schema17.test({
|
|
5657
5657
|
message: message || mixed.required,
|
|
5658
5658
|
name: "required",
|
|
5659
5659
|
skipAbsent: true,
|
|
@@ -5661,9 +5661,9 @@ var StringSchema = class extends Schema {
|
|
|
5661
5661
|
}));
|
|
5662
5662
|
}
|
|
5663
5663
|
notRequired() {
|
|
5664
|
-
return super.notRequired().withMutation((
|
|
5665
|
-
|
|
5666
|
-
return
|
|
5664
|
+
return super.notRequired().withMutation((schema17) => {
|
|
5665
|
+
schema17.tests = schema17.tests.filter((t) => t.OPTIONS.name !== "required");
|
|
5666
|
+
return schema17;
|
|
5667
5667
|
});
|
|
5668
5668
|
}
|
|
5669
5669
|
length(length, message = string.length) {
|
|
@@ -6052,28 +6052,28 @@ var parseJson = (value, _, ctx) => {
|
|
|
6052
6052
|
}
|
|
6053
6053
|
return ctx.isType(parsed) ? parsed : value;
|
|
6054
6054
|
};
|
|
6055
|
-
function deepPartial(
|
|
6056
|
-
if ("fields" in
|
|
6055
|
+
function deepPartial(schema17) {
|
|
6056
|
+
if ("fields" in schema17) {
|
|
6057
6057
|
const partial = {};
|
|
6058
|
-
for (const [key, fieldSchema] of Object.entries(
|
|
6058
|
+
for (const [key, fieldSchema] of Object.entries(schema17.fields)) {
|
|
6059
6059
|
partial[key] = deepPartial(fieldSchema);
|
|
6060
6060
|
}
|
|
6061
|
-
return
|
|
6061
|
+
return schema17.setFields(partial);
|
|
6062
6062
|
}
|
|
6063
|
-
if (
|
|
6064
|
-
const nextArray =
|
|
6063
|
+
if (schema17.type === "array") {
|
|
6064
|
+
const nextArray = schema17.optional();
|
|
6065
6065
|
if (nextArray.innerType) nextArray.innerType = deepPartial(nextArray.innerType);
|
|
6066
6066
|
return nextArray;
|
|
6067
6067
|
}
|
|
6068
|
-
if (
|
|
6069
|
-
return
|
|
6070
|
-
types:
|
|
6068
|
+
if (schema17.type === "tuple") {
|
|
6069
|
+
return schema17.optional().clone({
|
|
6070
|
+
types: schema17.spec.types.map(deepPartial)
|
|
6071
6071
|
});
|
|
6072
6072
|
}
|
|
6073
|
-
if ("optional" in
|
|
6074
|
-
return
|
|
6073
|
+
if ("optional" in schema17) {
|
|
6074
|
+
return schema17.optional();
|
|
6075
6075
|
}
|
|
6076
|
-
return
|
|
6076
|
+
return schema17;
|
|
6077
6077
|
}
|
|
6078
6078
|
var deepHas = (obj, p) => {
|
|
6079
6079
|
const path = [...(0, import_property_expr.normalizePath)(p)];
|
|
@@ -6207,8 +6207,8 @@ var ObjectSchema = class extends Schema {
|
|
|
6207
6207
|
next._sortErrors = this._sortErrors;
|
|
6208
6208
|
return next;
|
|
6209
6209
|
}
|
|
6210
|
-
concat(
|
|
6211
|
-
let next = super.concat(
|
|
6210
|
+
concat(schema17) {
|
|
6211
|
+
let next = super.concat(schema17);
|
|
6212
6212
|
let nextFields = next.fields;
|
|
6213
6213
|
for (let [field, schemaOrRef] of Object.entries(this.fields)) {
|
|
6214
6214
|
const target = nextFields[field];
|
|
@@ -6216,7 +6216,7 @@ var ObjectSchema = class extends Schema {
|
|
|
6216
6216
|
}
|
|
6217
6217
|
return next.withMutation((s) => (
|
|
6218
6218
|
// XXX: excludes here is wrong
|
|
6219
|
-
s.setFields(nextFields, [...this._excludedEdges, ...
|
|
6219
|
+
s.setFields(nextFields, [...this._excludedEdges, ...schema17._excludedEdges])
|
|
6220
6220
|
));
|
|
6221
6221
|
}
|
|
6222
6222
|
_getDefault(options) {
|
|
@@ -6261,8 +6261,8 @@ var ObjectSchema = class extends Schema {
|
|
|
6261
6261
|
}
|
|
6262
6262
|
partial() {
|
|
6263
6263
|
const partial = {};
|
|
6264
|
-
for (const [key,
|
|
6265
|
-
partial[key] = "optional" in
|
|
6264
|
+
for (const [key, schema17] of Object.entries(this.fields)) {
|
|
6265
|
+
partial[key] = "optional" in schema17 && schema17.optional instanceof Function ? schema17.optional() : schema17;
|
|
6266
6266
|
}
|
|
6267
6267
|
return this.setFields(partial);
|
|
6268
6268
|
}
|
|
@@ -6460,22 +6460,22 @@ var ArraySchema = class extends Schema {
|
|
|
6460
6460
|
json() {
|
|
6461
6461
|
return this.transform(parseJson);
|
|
6462
6462
|
}
|
|
6463
|
-
concat(
|
|
6464
|
-
let next = super.concat(
|
|
6463
|
+
concat(schema17) {
|
|
6464
|
+
let next = super.concat(schema17);
|
|
6465
6465
|
next.innerType = this.innerType;
|
|
6466
|
-
if (
|
|
6466
|
+
if (schema17.innerType)
|
|
6467
6467
|
next.innerType = next.innerType ? (
|
|
6468
6468
|
// @ts-expect-error Lazy doesn't have concat and will break
|
|
6469
|
-
next.innerType.concat(
|
|
6470
|
-
) :
|
|
6469
|
+
next.innerType.concat(schema17.innerType)
|
|
6470
|
+
) : schema17.innerType;
|
|
6471
6471
|
return next;
|
|
6472
6472
|
}
|
|
6473
|
-
of(
|
|
6473
|
+
of(schema17) {
|
|
6474
6474
|
let next = this.clone();
|
|
6475
|
-
if (!isSchema(
|
|
6476
|
-
next.innerType =
|
|
6475
|
+
if (!isSchema(schema17)) throw new TypeError("`array.of()` sub-schema must be a valid yup schema not: " + printValue(schema17));
|
|
6476
|
+
next.innerType = schema17;
|
|
6477
6477
|
next.spec = Object.assign({}, next.spec, {
|
|
6478
|
-
types:
|
|
6478
|
+
types: schema17
|
|
6479
6479
|
});
|
|
6480
6480
|
return next;
|
|
6481
6481
|
}
|
|
@@ -6619,7 +6619,7 @@ var TupleSchema = class extends Schema {
|
|
|
6619
6619
|
describe(options) {
|
|
6620
6620
|
const next = (options ? this.resolve(options) : this).clone();
|
|
6621
6621
|
const base = super.describe(options);
|
|
6622
|
-
base.innerType = next.spec.types.map((
|
|
6622
|
+
base.innerType = next.spec.types.map((schema17, index) => {
|
|
6623
6623
|
var _innerOptions;
|
|
6624
6624
|
let innerOptions = options;
|
|
6625
6625
|
if ((_innerOptions = innerOptions) != null && _innerOptions.value) {
|
|
@@ -6628,7 +6628,7 @@ var TupleSchema = class extends Schema {
|
|
|
6628
6628
|
value: innerOptions.value[index]
|
|
6629
6629
|
});
|
|
6630
6630
|
}
|
|
6631
|
-
return
|
|
6631
|
+
return schema17.describe(innerOptions);
|
|
6632
6632
|
});
|
|
6633
6633
|
return base;
|
|
6634
6634
|
}
|
|
@@ -8470,21 +8470,6 @@ var EVENT_LIST_ITEM = gql`
|
|
|
8470
8470
|
${RESOURCE_IMAGE_FIELDS_FRAGMENT}
|
|
8471
8471
|
${RELATION_DATES_FRAGMENT}
|
|
8472
8472
|
`;
|
|
8473
|
-
var UNREGISTERED_VENDOR_LIST_ITEM_FIELDS_FRAGMENT = gql`
|
|
8474
|
-
fragment UnregisteredVendorListItemFields on UnregisteredVendorListItemType {
|
|
8475
|
-
_id
|
|
8476
|
-
categoryIds
|
|
8477
|
-
email
|
|
8478
|
-
invitations {
|
|
8479
|
-
dateTime {
|
|
8480
|
-
...DateTimeFields
|
|
8481
|
-
}
|
|
8482
|
-
eventId
|
|
8483
|
-
}
|
|
8484
|
-
name
|
|
8485
|
-
}
|
|
8486
|
-
${DATETIME_FIELDS_FRAGMENT}
|
|
8487
|
-
`;
|
|
8488
8473
|
var EVENT_INFO = gql`
|
|
8489
8474
|
fragment EventInfoFields on EventInfoType {
|
|
8490
8475
|
_id
|
|
@@ -8808,12 +8793,10 @@ var VENDOR_INFO = gql`
|
|
|
8808
8793
|
`;
|
|
8809
8794
|
var UNREGISTERED_VENDOR_INVITATION_FRAGMENT = gql`
|
|
8810
8795
|
fragment UnregisteredVendorInvitationFields on UnregisteredVendorInvitationType {
|
|
8811
|
-
|
|
8812
|
-
|
|
8813
|
-
...DateTimeFields
|
|
8814
|
-
}
|
|
8815
|
-
eventId
|
|
8796
|
+
dateTime {
|
|
8797
|
+
...DateTimeFields
|
|
8816
8798
|
}
|
|
8799
|
+
inviterId
|
|
8817
8800
|
}
|
|
8818
8801
|
${DATETIME_FIELDS_FRAGMENT}
|
|
8819
8802
|
`;
|
|
@@ -10521,7 +10504,7 @@ var stallTypesSchema = create$3({
|
|
|
10521
10504
|
"",
|
|
10522
10505
|
noLeadingZeros("Stall price", { allowDecimal: true })
|
|
10523
10506
|
),
|
|
10524
|
-
stallCapacity: create$5().label("Stall Capacity").typeError("Stall capacity must be a number").min(
|
|
10507
|
+
stallCapacity: create$5().label("Stall Capacity").typeError("Stall capacity must be a number").min(0, "Stall capacity cannot be negative").integer("Stall capacity must be a whole number").required("Stall capacity is required").test("no-leading-zeros", "", noLeadingZeros("Stall capacity"))
|
|
10525
10508
|
});
|
|
10526
10509
|
var dateTimeWithPriceSchema = dateTimeSchema.shape({
|
|
10527
10510
|
stallTypes: create$2().of(stallTypesSchema).min(1, "At least one stall type is required").required("Stall types are required")
|
|
@@ -10548,7 +10531,7 @@ var socialMediaSchema = create$3({
|
|
|
10548
10531
|
is: (name) => !!name,
|
|
10549
10532
|
// If name has a value
|
|
10550
10533
|
then: () => normalizedUrlTransform().required("Link is required when name is set").url("Link must be a valid URL").label("Social Media Link"),
|
|
10551
|
-
otherwise: (
|
|
10534
|
+
otherwise: (schema17) => schema17.notRequired()
|
|
10552
10535
|
})
|
|
10553
10536
|
});
|
|
10554
10537
|
var globalResourceSchema = create$3().shape({
|
|
@@ -10624,21 +10607,21 @@ var paymentInfoSchema = create$3({
|
|
|
10624
10607
|
).required("Please select a Payment method"),
|
|
10625
10608
|
accountHolderName: create$6().when("paymentMethod", {
|
|
10626
10609
|
is: "bank_transfer",
|
|
10627
|
-
then: (
|
|
10628
|
-
otherwise: (
|
|
10610
|
+
then: (schema17) => schema17.required("Account holder name is required for bank transfer").trim(),
|
|
10611
|
+
otherwise: (schema17) => schema17.notRequired()
|
|
10629
10612
|
}),
|
|
10630
10613
|
accountNumber: create$6().when("paymentMethod", {
|
|
10631
10614
|
is: "bank_transfer",
|
|
10632
|
-
then: (
|
|
10615
|
+
then: (schema17) => schema17.required("Account number is required for bank transfer").matches(
|
|
10633
10616
|
nzBankAccountRegex,
|
|
10634
10617
|
"Account number must be in format: XX-XXXX-XXXXXXX-XX"
|
|
10635
10618
|
).trim(),
|
|
10636
|
-
otherwise: (
|
|
10619
|
+
otherwise: (schema17) => schema17.notRequired()
|
|
10637
10620
|
}),
|
|
10638
10621
|
link: create$6().when("paymentMethod", {
|
|
10639
10622
|
is: (val) => val === "paypal" || val === "stripe",
|
|
10640
10623
|
then: () => normalizedUrlTransform().url("Link must be a valid URL").required("Link is required for PayPal/Stripe"),
|
|
10641
|
-
otherwise: (
|
|
10624
|
+
otherwise: (schema17) => schema17.notRequired()
|
|
10642
10625
|
})
|
|
10643
10626
|
});
|
|
10644
10627
|
var eventInfoSchema = create$3().shape({
|
|
@@ -10687,7 +10670,9 @@ var vendorSchema = globalResourceSchema.shape({
|
|
|
10687
10670
|
});
|
|
10688
10671
|
var unregisteredVendorSchema = create$3().shape({
|
|
10689
10672
|
categoryIds: create$2().of(create$6().defined()).min(1, "Category list must contain at least one item").required("Categories are required"),
|
|
10673
|
+
dateTime: create$2().of(dateTimeSchema).min(1, "DateTime list must contain at least one item").required("DateTime is required"),
|
|
10690
10674
|
email: emailOptionalSchema,
|
|
10675
|
+
inviterId: create$6().required("Inviter ID is required"),
|
|
10691
10676
|
name: create$6().label("Stallholder Name").trim().min(3, "Name must be at least 3 characters").required("Name is required")
|
|
10692
10677
|
});
|
|
10693
10678
|
var vendorInfoSchema = create$3().shape({
|
|
@@ -10788,8 +10773,8 @@ var userSchema = create$3().shape({
|
|
|
10788
10773
|
confirmPassword: create$6().nullable().trim().label("Confirm Password").when("password", {
|
|
10789
10774
|
is: (val) => !!val,
|
|
10790
10775
|
// only necessary if password typed
|
|
10791
|
-
then: (
|
|
10792
|
-
otherwise: (
|
|
10776
|
+
then: (schema17) => schema17.required("Confirm Password is required").oneOf([create$9("password")], "Passwords must match"),
|
|
10777
|
+
otherwise: (schema17) => schema17.notRequired()
|
|
10793
10778
|
}),
|
|
10794
10779
|
role: create$8().oneOf(Object.values(EnumUserRole)).required("Role is required")
|
|
10795
10780
|
});
|
|
@@ -10860,7 +10845,7 @@ var adSchema = create$3().shape({
|
|
|
10860
10845
|
return endDate > now;
|
|
10861
10846
|
}).when("start", {
|
|
10862
10847
|
is: (val) => val && val.length > 0,
|
|
10863
|
-
then: (
|
|
10848
|
+
then: (schema17) => schema17.test(
|
|
10864
10849
|
"is-after-start",
|
|
10865
10850
|
"End date must be after start date",
|
|
10866
10851
|
function(value) {
|
|
@@ -12136,7 +12121,7 @@ var schema9 = new MongooseSchema13(
|
|
|
12136
12121
|
required: false,
|
|
12137
12122
|
type: calendarWrapperSchema
|
|
12138
12123
|
},
|
|
12139
|
-
categories: [CategorySchema],
|
|
12124
|
+
categories: { required: true, type: [CategorySchema] },
|
|
12140
12125
|
foodTruck: { required: true, type: Boolean },
|
|
12141
12126
|
products: { required: false, type: productWrapperSchema },
|
|
12142
12127
|
relations: {
|
|
@@ -12215,19 +12200,47 @@ var schema10 = new MongooseSchema14(
|
|
|
12215
12200
|
);
|
|
12216
12201
|
var VendorInfoModel = mongoose14.models.VendorInfo || mongoose14.model("VendorInfo", schema10);
|
|
12217
12202
|
|
|
12218
|
-
// src/mongoose/
|
|
12203
|
+
// src/mongoose/vendor/UnregisteredVendor.ts
|
|
12219
12204
|
import mongoose15 from "mongoose";
|
|
12220
12205
|
var MongooseSchema15 = mongoose15.Schema;
|
|
12206
|
+
var invitationSchema = new MongooseSchema15(
|
|
12207
|
+
{
|
|
12208
|
+
dateTime: { required: true, type: [dateTimeSchema3] },
|
|
12209
|
+
inviterId: {
|
|
12210
|
+
ref: "Event",
|
|
12211
|
+
required: true,
|
|
12212
|
+
type: String
|
|
12213
|
+
}
|
|
12214
|
+
},
|
|
12215
|
+
{ _id: false }
|
|
12216
|
+
);
|
|
12221
12217
|
var schema11 = new MongooseSchema15(
|
|
12218
|
+
{
|
|
12219
|
+
categoryIds: { required: true, type: [String] },
|
|
12220
|
+
deletedAt: { default: null, required: false, type: Date },
|
|
12221
|
+
email: { required: true, type: String },
|
|
12222
|
+
invitations: { required: true, type: [invitationSchema] },
|
|
12223
|
+
name: { required: true, type: String }
|
|
12224
|
+
},
|
|
12225
|
+
{ timestamps: true }
|
|
12226
|
+
);
|
|
12227
|
+
schema11.index({ email: 1 }, { unique: true });
|
|
12228
|
+
schema11.index({ name: 1 });
|
|
12229
|
+
var UnregisteredVendorModel = mongoose15.models.UnregisteredVendor || mongoose15.model("UnregisteredVendor", schema11);
|
|
12230
|
+
|
|
12231
|
+
// src/mongoose/event/Event.ts
|
|
12232
|
+
import mongoose16 from "mongoose";
|
|
12233
|
+
var MongooseSchema16 = mongoose16.Schema;
|
|
12234
|
+
var schema12 = new MongooseSchema16(
|
|
12222
12235
|
{
|
|
12223
12236
|
...baseResourceFields,
|
|
12224
12237
|
// Importing base resource fields from global.ts
|
|
12225
12238
|
claimed: { default: true, required: false, type: Boolean },
|
|
12226
|
-
dateTime: [dateTimeSchema3],
|
|
12239
|
+
dateTime: { required: true, type: [dateTimeSchema3] },
|
|
12227
12240
|
eventInfoId: {
|
|
12228
12241
|
ref: "EventInfo",
|
|
12229
12242
|
required: false,
|
|
12230
|
-
type:
|
|
12243
|
+
type: mongoose16.Schema.Types.ObjectId
|
|
12231
12244
|
},
|
|
12232
12245
|
eventType: {
|
|
12233
12246
|
enum: Object.values(EnumEventType),
|
|
@@ -12256,18 +12269,18 @@ var schema11 = new MongooseSchema15(
|
|
|
12256
12269
|
},
|
|
12257
12270
|
{ timestamps: true }
|
|
12258
12271
|
);
|
|
12259
|
-
|
|
12260
|
-
|
|
12261
|
-
|
|
12262
|
-
|
|
12263
|
-
|
|
12264
|
-
|
|
12265
|
-
var EventModel =
|
|
12272
|
+
schema12.index({ name: 1 });
|
|
12273
|
+
schema12.index({ description: 1 });
|
|
12274
|
+
schema12.index({ region: 1 });
|
|
12275
|
+
schema12.index({ "location.geo": "2dsphere" });
|
|
12276
|
+
schema12.index({ tags: 1 });
|
|
12277
|
+
schema12.index({ "associates.email": 1 });
|
|
12278
|
+
var EventModel = mongoose16.models.Event || mongoose16.model("Event", schema12);
|
|
12266
12279
|
|
|
12267
12280
|
// src/mongoose/Partner.ts
|
|
12268
|
-
import
|
|
12269
|
-
var
|
|
12270
|
-
var
|
|
12281
|
+
import mongoose17 from "mongoose";
|
|
12282
|
+
var MongooseSchema17 = mongoose17.Schema;
|
|
12283
|
+
var schema13 = new MongooseSchema17(
|
|
12271
12284
|
{
|
|
12272
12285
|
...baseResourceFields,
|
|
12273
12286
|
location: {
|
|
@@ -12283,17 +12296,17 @@ var schema12 = new MongooseSchema16(
|
|
|
12283
12296
|
},
|
|
12284
12297
|
{ timestamps: true }
|
|
12285
12298
|
);
|
|
12286
|
-
|
|
12287
|
-
|
|
12288
|
-
|
|
12289
|
-
|
|
12290
|
-
|
|
12291
|
-
var PartnerModel =
|
|
12299
|
+
schema13.index({ name: 1 });
|
|
12300
|
+
schema13.index({ description: 1 });
|
|
12301
|
+
schema13.index({ region: 1 });
|
|
12302
|
+
schema13.index({ "location.geo": "2dsphere" });
|
|
12303
|
+
schema13.index({ "associates.email": 1 });
|
|
12304
|
+
var PartnerModel = mongoose17.models.Partner || mongoose17.model("Partner", schema13);
|
|
12292
12305
|
|
|
12293
12306
|
// src/mongoose/Post.ts
|
|
12294
|
-
import
|
|
12295
|
-
var
|
|
12296
|
-
var contentSchema = new
|
|
12307
|
+
import mongoose18, { Schema as Schema2 } from "mongoose";
|
|
12308
|
+
var MongooseSchema18 = mongoose18.Schema;
|
|
12309
|
+
var contentSchema = new MongooseSchema18(
|
|
12297
12310
|
{
|
|
12298
12311
|
contentData: Schema2.Types.Mixed,
|
|
12299
12312
|
contentOrder: { required: true, type: Number },
|
|
@@ -12305,7 +12318,7 @@ var contentSchema = new MongooseSchema17(
|
|
|
12305
12318
|
},
|
|
12306
12319
|
{ _id: false }
|
|
12307
12320
|
);
|
|
12308
|
-
var
|
|
12321
|
+
var schema14 = new MongooseSchema18(
|
|
12309
12322
|
{
|
|
12310
12323
|
active: { default: true, required: true, type: Boolean },
|
|
12311
12324
|
caption: { required: true, type: String },
|
|
@@ -12341,15 +12354,15 @@ var schema13 = new MongooseSchema17(
|
|
|
12341
12354
|
},
|
|
12342
12355
|
{ timestamps: true }
|
|
12343
12356
|
);
|
|
12344
|
-
|
|
12345
|
-
|
|
12346
|
-
var PostModel =
|
|
12357
|
+
schema14.index({ title: 1 });
|
|
12358
|
+
schema14.index({ tags: 1 });
|
|
12359
|
+
var PostModel = mongoose18.models.Post || mongoose18.model("Post", schema14);
|
|
12347
12360
|
|
|
12348
12361
|
// src/mongoose/AppSetting.ts
|
|
12349
|
-
import
|
|
12350
|
-
var
|
|
12362
|
+
import mongoose19 from "mongoose";
|
|
12363
|
+
var MongooseSchema19 = mongoose19.Schema;
|
|
12351
12364
|
var APP_SETTINGS_ID = "APP_SETTINGS_DOCUMENT_ID";
|
|
12352
|
-
var AppSettingSchema = new
|
|
12365
|
+
var AppSettingSchema = new MongooseSchema19(
|
|
12353
12366
|
{
|
|
12354
12367
|
activeSchoolsStudentCountTotal: {
|
|
12355
12368
|
default: 0,
|
|
@@ -12375,18 +12388,18 @@ var AppSettingSchema = new MongooseSchema18(
|
|
|
12375
12388
|
},
|
|
12376
12389
|
{ timestamps: true }
|
|
12377
12390
|
);
|
|
12378
|
-
var AppSettingModel =
|
|
12391
|
+
var AppSettingModel = mongoose19.models.AppSetting || mongoose19.model("AppSetting", AppSettingSchema);
|
|
12379
12392
|
|
|
12380
12393
|
// src/mongoose/game/Game.ts
|
|
12381
|
-
import
|
|
12394
|
+
import mongoose23 from "mongoose";
|
|
12382
12395
|
|
|
12383
12396
|
// src/mongoose/game/DailyClue.ts
|
|
12384
|
-
import
|
|
12397
|
+
import mongoose21 from "mongoose";
|
|
12385
12398
|
|
|
12386
12399
|
// src/mongoose/game/utils.ts
|
|
12387
|
-
import
|
|
12388
|
-
var
|
|
12389
|
-
var schemaGameDate = new
|
|
12400
|
+
import mongoose20 from "mongoose";
|
|
12401
|
+
var MongooseSchema20 = mongoose20.Schema;
|
|
12402
|
+
var schemaGameDate = new MongooseSchema20(
|
|
12390
12403
|
{
|
|
12391
12404
|
endDate: { required: true, type: Date },
|
|
12392
12405
|
startDate: { required: true, type: Date }
|
|
@@ -12395,8 +12408,8 @@ var schemaGameDate = new MongooseSchema19(
|
|
|
12395
12408
|
);
|
|
12396
12409
|
|
|
12397
12410
|
// src/mongoose/game/DailyClue.ts
|
|
12398
|
-
var
|
|
12399
|
-
var schemaLetters = new
|
|
12411
|
+
var MongooseSchema21 = mongoose21.Schema;
|
|
12412
|
+
var schemaLetters = new MongooseSchema21(
|
|
12400
12413
|
{
|
|
12401
12414
|
collected: { required: false, type: [String] },
|
|
12402
12415
|
solutionShuffled: { required: true, type: [String] }
|
|
@@ -12404,14 +12417,14 @@ var schemaLetters = new MongooseSchema20(
|
|
|
12404
12417
|
},
|
|
12405
12418
|
{ _id: false }
|
|
12406
12419
|
);
|
|
12407
|
-
var schemaDailyClueBaseGame = new
|
|
12420
|
+
var schemaDailyClueBaseGame = new MongooseSchema21(
|
|
12408
12421
|
{
|
|
12409
12422
|
gameDate: { required: true, type: schemaGameDate },
|
|
12410
12423
|
gameSolution: { required: true, type: String }
|
|
12411
12424
|
},
|
|
12412
12425
|
{ _id: false }
|
|
12413
12426
|
);
|
|
12414
|
-
var schemaDailyClueGameData = new
|
|
12427
|
+
var schemaDailyClueGameData = new MongooseSchema21(
|
|
12415
12428
|
{
|
|
12416
12429
|
gameFields: { required: true, type: schemaDailyClueBaseGame },
|
|
12417
12430
|
lastFoundDate: { default: null, required: false, type: Date },
|
|
@@ -12426,9 +12439,9 @@ var schemaDailyClueGameData = new MongooseSchema20(
|
|
|
12426
12439
|
);
|
|
12427
12440
|
|
|
12428
12441
|
// src/mongoose/game/MiniQuiz.ts
|
|
12429
|
-
import
|
|
12430
|
-
var
|
|
12431
|
-
var schemaMiniQuizAnswer = new
|
|
12442
|
+
import mongoose22 from "mongoose";
|
|
12443
|
+
var MongooseSchema22 = mongoose22.Schema;
|
|
12444
|
+
var schemaMiniQuizAnswer = new MongooseSchema22(
|
|
12432
12445
|
{
|
|
12433
12446
|
answer: { required: true, type: String },
|
|
12434
12447
|
answerId: { required: true, type: String },
|
|
@@ -12436,7 +12449,7 @@ var schemaMiniQuizAnswer = new MongooseSchema21(
|
|
|
12436
12449
|
},
|
|
12437
12450
|
{ _id: false }
|
|
12438
12451
|
);
|
|
12439
|
-
var schemaMiniQuizQuestion = new
|
|
12452
|
+
var schemaMiniQuizQuestion = new MongooseSchema22(
|
|
12440
12453
|
{
|
|
12441
12454
|
answers: { required: true, type: [schemaMiniQuizAnswer] },
|
|
12442
12455
|
question: { required: true, type: String },
|
|
@@ -12444,20 +12457,20 @@ var schemaMiniQuizQuestion = new MongooseSchema21(
|
|
|
12444
12457
|
},
|
|
12445
12458
|
{ _id: false }
|
|
12446
12459
|
);
|
|
12447
|
-
var schemaMiniQuizBaseGame = new
|
|
12460
|
+
var schemaMiniQuizBaseGame = new MongooseSchema22(
|
|
12448
12461
|
{
|
|
12449
12462
|
questions: { required: true, type: [schemaMiniQuizQuestion] }
|
|
12450
12463
|
},
|
|
12451
12464
|
{ _id: false }
|
|
12452
12465
|
);
|
|
12453
|
-
var schemaMiniQuizAnsweredQuestion = new
|
|
12466
|
+
var schemaMiniQuizAnsweredQuestion = new MongooseSchema22(
|
|
12454
12467
|
{
|
|
12455
12468
|
questionId: { required: true, type: String },
|
|
12456
12469
|
selectedAnswerId: { required: true, type: String }
|
|
12457
12470
|
},
|
|
12458
12471
|
{ _id: false }
|
|
12459
12472
|
);
|
|
12460
|
-
var schemaMiniQuizGameData = new
|
|
12473
|
+
var schemaMiniQuizGameData = new MongooseSchema22(
|
|
12461
12474
|
{
|
|
12462
12475
|
answeredQuestions: {
|
|
12463
12476
|
default: null,
|
|
@@ -12472,18 +12485,18 @@ var schemaMiniQuizGameData = new MongooseSchema21(
|
|
|
12472
12485
|
);
|
|
12473
12486
|
|
|
12474
12487
|
// src/mongoose/game/Game.ts
|
|
12475
|
-
var
|
|
12488
|
+
var MongooseSchema23 = mongoose23.Schema;
|
|
12476
12489
|
var gameDataSchemas = {
|
|
12477
12490
|
[EnumGameType.DAILY_CLUE]: schemaDailyClueGameData,
|
|
12478
12491
|
[EnumGameType.MINI_QUIZ]: schemaMiniQuizGameData
|
|
12479
12492
|
};
|
|
12480
12493
|
var gameDataDefinition = Object.fromEntries(
|
|
12481
|
-
Object.entries(gameDataSchemas).map(([key,
|
|
12494
|
+
Object.entries(gameDataSchemas).map(([key, schema17]) => [
|
|
12482
12495
|
key,
|
|
12483
|
-
{ default: null, required: false, type:
|
|
12496
|
+
{ default: null, required: false, type: schema17 }
|
|
12484
12497
|
])
|
|
12485
12498
|
);
|
|
12486
|
-
var gameHistorySchema = new
|
|
12499
|
+
var gameHistorySchema = new MongooseSchema23(
|
|
12487
12500
|
{
|
|
12488
12501
|
createdAt: { required: true, type: Date },
|
|
12489
12502
|
gameDate: { required: true, type: schemaGameDate },
|
|
@@ -12501,7 +12514,7 @@ var gameHistorySchema = new MongooseSchema22(
|
|
|
12501
12514
|
},
|
|
12502
12515
|
{ _id: false }
|
|
12503
12516
|
);
|
|
12504
|
-
var gameTypeSchema = new
|
|
12517
|
+
var gameTypeSchema = new MongooseSchema23(
|
|
12505
12518
|
{
|
|
12506
12519
|
active: { default: true, required: true, type: Boolean },
|
|
12507
12520
|
gameData: gameDataDefinition,
|
|
@@ -12515,7 +12528,7 @@ var gameTypeSchema = new MongooseSchema22(
|
|
|
12515
12528
|
},
|
|
12516
12529
|
{ timestamps: true }
|
|
12517
12530
|
);
|
|
12518
|
-
var
|
|
12531
|
+
var schema15 = new MongooseSchema23(
|
|
12519
12532
|
{
|
|
12520
12533
|
active: { default: false, required: true, type: Boolean },
|
|
12521
12534
|
deletedAt: { default: null, required: false, type: Date },
|
|
@@ -12528,12 +12541,12 @@ var schema14 = new MongooseSchema22(
|
|
|
12528
12541
|
},
|
|
12529
12542
|
{ timestamps: true }
|
|
12530
12543
|
);
|
|
12531
|
-
var GameModel =
|
|
12544
|
+
var GameModel = mongoose23.models.Game || mongoose23.model("Game", schema15);
|
|
12532
12545
|
|
|
12533
12546
|
// src/mongoose/School.ts
|
|
12534
|
-
import
|
|
12535
|
-
var
|
|
12536
|
-
var campaignsSchema = new
|
|
12547
|
+
import mongoose24 from "mongoose";
|
|
12548
|
+
var MongooseSchema24 = mongoose24.Schema;
|
|
12549
|
+
var campaignsSchema = new MongooseSchema24(
|
|
12537
12550
|
{
|
|
12538
12551
|
endDate: { required: true, type: Date },
|
|
12539
12552
|
name: { required: true, type: String },
|
|
@@ -12541,7 +12554,7 @@ var campaignsSchema = new MongooseSchema23(
|
|
|
12541
12554
|
},
|
|
12542
12555
|
{ _id: false }
|
|
12543
12556
|
);
|
|
12544
|
-
var
|
|
12557
|
+
var schema16 = new MongooseSchema24(
|
|
12545
12558
|
{
|
|
12546
12559
|
// New schools are active by default
|
|
12547
12560
|
active: { default: true, required: true, type: Boolean },
|
|
@@ -12567,7 +12580,7 @@ var schema15 = new MongooseSchema23(
|
|
|
12567
12580
|
},
|
|
12568
12581
|
{ timestamps: true }
|
|
12569
12582
|
);
|
|
12570
|
-
var SchoolModel =
|
|
12583
|
+
var SchoolModel = mongoose24.models.School || mongoose24.model("School", schema16);
|
|
12571
12584
|
|
|
12572
12585
|
export {
|
|
12573
12586
|
EnumInviteStatus,
|
|
@@ -12605,6 +12618,7 @@ export {
|
|
|
12605
12618
|
VerificationTokenModel,
|
|
12606
12619
|
VendorModel,
|
|
12607
12620
|
VendorInfoModel,
|
|
12621
|
+
UnregisteredVendorModel,
|
|
12608
12622
|
EventModel,
|
|
12609
12623
|
PartnerModel,
|
|
12610
12624
|
PostModel,
|
|
@@ -12637,4 +12651,4 @@ react/cjs/react.development.js:
|
|
|
12637
12651
|
* LICENSE file in the root directory of this source tree.
|
|
12638
12652
|
*)
|
|
12639
12653
|
*/
|
|
12640
|
-
//# sourceMappingURL=chunk-
|
|
12654
|
+
//# sourceMappingURL=chunk-W5EVEI2Y.mjs.map
|