@aldb2b/common 1.0.1039 → 1.0.1042
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/build/entities/models/companies/entities/companies/custom-fields.schema.d.ts +1 -1
- package/build/entities/models/companies/entities/companies/custom-fields.schema.js +2 -2
- package/build/entities/models/companies/entities/companies/custom-fields.schema.js.map +1 -1
- package/build/entities/models/events/entities/eventProfile/company-profile-item.entity.js +1 -1
- package/build/enums/profile-item-custom-type.enum.d.ts +1 -0
- package/build/enums/profile-item-custom-type.enum.js +1 -0
- package/build/enums/profile-item-custom-type.enum.js.map +1 -1
- package/build/tsconfig.tsbuildinfo +1 -1
- package/build/types/custom-field.interface.d.ts +1 -1
- package/package.json +1 -1
|
@@ -63,7 +63,7 @@ export declare class CustomField {
|
|
|
63
63
|
updatedAt?: Date;
|
|
64
64
|
}
|
|
65
65
|
export declare class CustomTypePossibleValue {
|
|
66
|
-
identifier:
|
|
66
|
+
identifier: string;
|
|
67
67
|
value: string;
|
|
68
68
|
}
|
|
69
69
|
export type CustomTypePossibleValueModel = CustomModel<CustomTypePossibleValue>;
|
|
@@ -13,7 +13,7 @@ exports.CustomTypePossibleValue = CustomTypePossibleValue;
|
|
|
13
13
|
const getCustomFieldSchema = () => {
|
|
14
14
|
const PossibleValueSchema = new mongoose_1.Schema({
|
|
15
15
|
identifier: {
|
|
16
|
-
type:
|
|
16
|
+
type: String,
|
|
17
17
|
required: true,
|
|
18
18
|
},
|
|
19
19
|
value: {
|
|
@@ -32,7 +32,7 @@ const getCustomFieldSchema = () => {
|
|
|
32
32
|
enum: Object.values(profile_item_custom_type_enum_1.ProfileItemCustomType),
|
|
33
33
|
},
|
|
34
34
|
customTypePossibleValues: { type: [PossibleValueSchema], default: [], required: true },
|
|
35
|
-
value: { type:
|
|
35
|
+
value: { type: mongoose_1.Schema.Types.Mixed },
|
|
36
36
|
createdAt: { type: Date, required: true, default: Date.now },
|
|
37
37
|
updatedAt: { type: Date, required: true, default: Date.now },
|
|
38
38
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"custom-fields.schema.js","sourceRoot":"","sources":["../../../../../../src/entities/models/companies/entities/companies/custom-fields.schema.ts"],"names":[],"mappings":";;;AACA,uCAAiC;AACjC,sGAAyF;AAGzF,MAAM,QAAQ,GAAG,iBAAM,CAAC,KAAK,CAAC,QAAQ,CAAA;AAEtC,MAAa,WAAW;CASvB;AATD,kCASC;AAED,MAAa,uBAAuB;CAGnC;AAHD,0DAGC;AAGM,MAAM,oBAAoB,GAAG,GAGlC,EAAE;IACF,MAAM,mBAAmB,GAAG,IAAI,iBAAM,CAIlC;QACE,UAAU,EAAE;YACV,IAAI,EAAE,MAAM;YACZ,QAAQ,EAAE,IAAI;SACf;QACD,KAAK,EAAE;YACL,IAAI,EAAE,MAAM;YACZ,IAAI,EAAE,IAAI;YACV,QAAQ,EAAE,IAAI;SACf;KACF,EACD,EAAE,GAAG,EAAE,KAAK,EAAE,CACjB,CAAA;IAED,MAAM,iBAAiB,GAAG,IAAI,iBAAM,CAAgC;QAClE,aAAa,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;QACjC,IAAI,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE;QAClC,KAAK,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE;QACvB,UAAU,EAAE;YACV,IAAI,EAAE,MAAM;YACZ,IAAI,EAAE,IAAI;YACV,IAAI,EAAE,MAAM,CAAC,MAAM,CAAC,qDAAqB,CAAC;SAC3C;QACD,wBAAwB,EAAE,EAAE,IAAI,EAAE,CAAC,mBAAmB,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE;QACtF,KAAK,EAAE,EAAE,IAAI,EAAE,
|
|
1
|
+
{"version":3,"file":"custom-fields.schema.js","sourceRoot":"","sources":["../../../../../../src/entities/models/companies/entities/companies/custom-fields.schema.ts"],"names":[],"mappings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AC,CAAA;IAEF,OAAO,iBAAiB,CAAA;AAC1B,CAAC,CAAA;AAtCY,QAAA,oBAAoB,wBAsChC"}
|
|
@@ -6,6 +6,7 @@ var ProfileItemCustomType;
|
|
|
6
6
|
ProfileItemCustomType["TEXT"] = "text";
|
|
7
7
|
ProfileItemCustomType["BOOLEAN"] = "boolean";
|
|
8
8
|
ProfileItemCustomType["NUMBER"] = "number";
|
|
9
|
+
ProfileItemCustomType["DATE"] = "date";
|
|
9
10
|
ProfileItemCustomType["CHECK_BOXS"] = "checkBox";
|
|
10
11
|
ProfileItemCustomType["RADIO_BUTTONS"] = "radioButton";
|
|
11
12
|
})(ProfileItemCustomType || (exports.ProfileItemCustomType = ProfileItemCustomType = {}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"profile-item-custom-type.enum.js","sourceRoot":"","sources":["../../src/enums/profile-item-custom-type.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,qBAOX;AAPD,WAAY,qBAAqB;IAC/B,sCAAa,CAAA;IACb,4CAAmB,CAAA;IACnB,0CAAiB,CAAA;IACjB,gDAAuB,CAAA;IACvB,sDAA6B,CAAA;
|
|
1
|
+
{"version":3,"file":"profile-item-custom-type.enum.js","sourceRoot":"","sources":["../../src/enums/profile-item-custom-type.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,qBAOX;AAPD,WAAY,qBAAqB;IAC/B,sCAAa,CAAA;IACb,4CAAmB,CAAA;IACnB,0CAAiB,CAAA;IACjB,sCAAa,CAAA;IACb,gDAAuB,CAAA;IACvB,sDAA6B,CAAA;AAC/B,CAAC,EAPW,qBAAqB,qCAArB,qBAAqB,QAOhC"}
|