@wisemen/nestjs-custom-fields 4.1.0 → 4.2.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/custom-field-choice.d.ts +1 -1
- package/dist/custom-field-definition.d.ts +6 -6
- package/dist/custom-field-rules.d.ts +2 -2
- package/dist/custom-field-type-contract.d.ts +1 -1
- package/dist/custom-field-type-contract.js +1 -1
- package/dist/custom-field-type-contract.js.map +1 -1
- package/dist/custom-field-types/boolean/boolean.definition-validation.d.ts +1 -1
- package/dist/custom-field-types/boolean/boolean.dto.d.ts +1 -1
- package/dist/custom-field-types/boolean/boolean.rules.d.ts +2 -2
- package/dist/custom-field-types/boolean/boolean.value.d.ts +2 -2
- package/dist/custom-field-types/boolean/index.d.ts +6 -6
- package/dist/custom-field-types/boolean/index.js +6 -6
- package/dist/custom-field-types/boolean/index.js.map +1 -1
- package/dist/custom-field-types/date/date.custom-field-value.validator.d.ts +1 -1
- package/dist/custom-field-types/date/date.definition-validation.d.ts +1 -1
- package/dist/custom-field-types/date/date.dto.d.ts +1 -1
- package/dist/custom-field-types/date/date.rules.d.ts +2 -2
- package/dist/custom-field-types/date/date.value.d.ts +2 -2
- package/dist/custom-field-types/date/index.d.ts +6 -6
- package/dist/custom-field-types/date/index.js +6 -6
- package/dist/custom-field-types/date/index.js.map +1 -1
- package/dist/custom-field-types/index.d.ts +10 -10
- package/dist/custom-field-types/index.js +10 -10
- package/dist/custom-field-types/index.js.map +1 -1
- package/dist/custom-field-types/monetary/index.d.ts +6 -6
- package/dist/custom-field-types/monetary/index.js +6 -6
- package/dist/custom-field-types/monetary/index.js.map +1 -1
- package/dist/custom-field-types/monetary/monetary.custom-field-value.validator.d.ts +2 -2
- package/dist/custom-field-types/monetary/monetary.custom-field-value.validator.js.map +1 -1
- package/dist/custom-field-types/monetary/monetary.definition-validation.d.ts +1 -1
- package/dist/custom-field-types/monetary/monetary.dto.d.ts +2 -2
- package/dist/custom-field-types/monetary/monetary.dto.js.map +1 -1
- package/dist/custom-field-types/monetary/monetary.rules.d.ts +2 -2
- package/dist/custom-field-types/monetary/monetary.value.d.ts +2 -2
- package/dist/custom-field-types/multi-select/index.d.ts +6 -6
- package/dist/custom-field-types/multi-select/index.js +6 -6
- package/dist/custom-field-types/multi-select/index.js.map +1 -1
- package/dist/custom-field-types/multi-select/multi-select.custom-field-value.validator.d.ts +1 -1
- package/dist/custom-field-types/multi-select/multi-select.definition-validation.d.ts +1 -1
- package/dist/custom-field-types/multi-select/multi-select.dto.d.ts +1 -1
- package/dist/custom-field-types/multi-select/multi-select.rules.d.ts +2 -2
- package/dist/custom-field-types/multi-select/multi-select.value.d.ts +2 -2
- package/dist/custom-field-types/number/index.d.ts +6 -6
- package/dist/custom-field-types/number/index.js +6 -6
- package/dist/custom-field-types/number/index.js.map +1 -1
- package/dist/custom-field-types/number/number.custom-field-value.validator.d.ts +1 -1
- package/dist/custom-field-types/number/number.definition-validation.d.ts +1 -1
- package/dist/custom-field-types/number/number.dto.d.ts +1 -1
- package/dist/custom-field-types/number/number.rules.d.ts +2 -2
- package/dist/custom-field-types/number/number.value.d.ts +2 -2
- package/dist/custom-field-types/reference/index.d.ts +7 -7
- package/dist/custom-field-types/reference/index.js +7 -7
- package/dist/custom-field-types/reference/index.js.map +1 -1
- package/dist/custom-field-types/reference/reference.contract.d.ts +1 -1
- package/dist/custom-field-types/reference/reference.custom-field-definition.factory.unit.test.js +1 -1
- package/dist/custom-field-types/reference/reference.custom-field-definition.factory.unit.test.js.map +1 -1
- package/dist/custom-field-types/reference/reference.custom-field-value.validator.d.ts +1 -1
- package/dist/custom-field-types/reference/reference.custom-field-value.validator.js +1 -1
- package/dist/custom-field-types/reference/reference.custom-field-value.validator.js.map +1 -1
- package/dist/custom-field-types/reference/reference.custom-field-value.validator.unit.test.js +1 -1
- package/dist/custom-field-types/reference/reference.custom-field-value.validator.unit.test.js.map +1 -1
- package/dist/custom-field-types/reference/reference.definition-validation.d.ts +1 -1
- package/dist/custom-field-types/reference/reference.definition-validation.js +1 -1
- package/dist/custom-field-types/reference/reference.definition-validation.js.map +1 -1
- package/dist/custom-field-types/reference/reference.dto.d.ts +1 -1
- package/dist/custom-field-types/reference/reference.rules.d.ts +2 -2
- package/dist/custom-field-types/reference/reference.value.d.ts +2 -2
- package/dist/custom-field-types/single-select/index.d.ts +6 -6
- package/dist/custom-field-types/single-select/index.js +6 -6
- package/dist/custom-field-types/single-select/index.js.map +1 -1
- package/dist/custom-field-types/single-select/single-select.custom-field-value.validator.d.ts +1 -1
- package/dist/custom-field-types/single-select/single-select.definition-validation.d.ts +1 -1
- package/dist/custom-field-types/single-select/single-select.dto.d.ts +1 -1
- package/dist/custom-field-types/single-select/single-select.rules.d.ts +2 -2
- package/dist/custom-field-types/single-select/single-select.value.d.ts +2 -2
- package/dist/custom-field-types/text/index.d.ts +6 -6
- package/dist/custom-field-types/text/index.js +6 -6
- package/dist/custom-field-types/text/index.js.map +1 -1
- package/dist/custom-field-types/text/text.custom-field-definition.factory.unit.test.js.map +1 -1
- package/dist/custom-field-types/text/text.custom-field-value.validator.d.ts +1 -1
- package/dist/custom-field-types/text/text.definition-validation.d.ts +1 -1
- package/dist/custom-field-types/text/text.definition-validation.js +3 -3
- package/dist/custom-field-types/text/text.definition-validation.js.map +1 -1
- package/dist/custom-field-types/text/text.dto.d.ts +1 -1
- package/dist/custom-field-types/text/text.dto.js.map +1 -1
- package/dist/custom-field-types/text/text.rules.d.ts +2 -2
- package/dist/custom-field-types/text/text.value.d.ts +2 -2
- package/dist/custom-field-types/text-array/index.d.ts +6 -6
- package/dist/custom-field-types/text-array/index.js +6 -6
- package/dist/custom-field-types/text-array/index.js.map +1 -1
- package/dist/custom-field-types/text-array/text-array.custom-field-definition.factory.unit.test.js.map +1 -1
- package/dist/custom-field-types/text-array/text-array.custom-field-value.validator.d.ts +1 -1
- package/dist/custom-field-types/text-array/text-array.custom-field-value.validator.js.map +1 -1
- package/dist/custom-field-types/text-array/text-array.custom-field-value.validator.unit.test.js.map +1 -1
- package/dist/custom-field-types/text-array/text-array.definition-validation.d.ts +1 -1
- package/dist/custom-field-types/text-array/text-array.definition-validation.js +3 -3
- package/dist/custom-field-types/text-array/text-array.definition-validation.js.map +1 -1
- package/dist/custom-field-types/text-array/text-array.dto.d.ts +1 -1
- package/dist/custom-field-types/text-array/text-array.dto.js.map +1 -1
- package/dist/custom-field-types/text-array/text-array.rules.d.ts +2 -2
- package/dist/custom-field-types/text-array/text-array.value.d.ts +2 -2
- package/dist/custom-field-types/timestamp/index.d.ts +6 -6
- package/dist/custom-field-types/timestamp/index.js +6 -6
- package/dist/custom-field-types/timestamp/index.js.map +1 -1
- package/dist/custom-field-types/timestamp/timestamp.custom-field-definition.factory.unit.test.js.map +1 -1
- package/dist/custom-field-types/timestamp/timestamp.custom-field-value.validator.d.ts +1 -1
- package/dist/custom-field-types/timestamp/timestamp.custom-field-value.validator.js.map +1 -1
- package/dist/custom-field-types/timestamp/timestamp.custom-field-value.validator.unit.test.js.map +1 -1
- package/dist/custom-field-types/timestamp/timestamp.definition-validation.d.ts +1 -1
- package/dist/custom-field-types/timestamp/timestamp.definition-validation.js +3 -3
- package/dist/custom-field-types/timestamp/timestamp.definition-validation.js.map +1 -1
- package/dist/custom-field-types/timestamp/timestamp.dto.d.ts +1 -1
- package/dist/custom-field-types/timestamp/timestamp.dto.js.map +1 -1
- package/dist/custom-field-types/timestamp/timestamp.rules.d.ts +2 -2
- package/dist/custom-field-types/timestamp/timestamp.value.d.ts +2 -2
- package/dist/custom-field-value.d.ts +3 -3
- package/dist/dto/base-custom-field-value.dto.d.ts +3 -3
- package/dist/dto/base-custom-field-value.dto.js.map +1 -1
- package/dist/dto/custom-field-value.dto.d.ts +1 -1
- package/dist/dto/custom-field-value.dto.js +1 -1
- package/dist/dto/custom-field-value.dto.js.map +1 -1
- package/dist/enum/custom-field-type.enum.d.ts +2 -2
- package/dist/enum/custom-field-type.enum.js.map +1 -1
- package/dist/factory/custom-field-definition.factory.d.ts +5 -5
- package/dist/factory/custom-field-definition.factory.js.map +1 -1
- package/dist/factory/custom-field-value.factory.d.ts +2 -1
- package/dist/factory/custom-field-value.factory.js +11 -4
- package/dist/factory/custom-field-value.factory.js.map +1 -1
- package/dist/factory/custom-field-value.factory.unit.test.js +12 -0
- package/dist/factory/custom-field-value.factory.unit.test.js.map +1 -1
- package/dist/index.d.ts +21 -21
- package/dist/index.js +19 -19
- package/dist/index.js.map +1 -1
- package/dist/repositories/custom-field-definitions.repository.integration.test.js +1 -1
- package/dist/repositories/custom-field-definitions.repository.integration.test.js.map +1 -1
- package/dist/repositories/index.d.ts +2 -2
- package/dist/repositories/index.js +2 -2
- package/dist/repositories/index.js.map +1 -1
- package/dist/responses/custom-field-definition.response.d.ts +2 -2
- package/dist/responses/custom-field-definition.response.js +4 -3
- package/dist/responses/custom-field-definition.response.js.map +1 -1
- package/dist/tests/test-setup.d.ts +1 -1
- package/dist/tests/test-setup.js +1 -1
- package/dist/tests/test-setup.js.map +1 -1
- package/dist/typeorm/custom-field-choice.column.js +2 -2
- package/dist/typeorm/custom-field-choice.column.js.map +1 -1
- package/dist/typeorm/custom-field-definition.entity.d.ts +6 -6
- package/dist/typeorm/custom-field-definition.entity.js +5 -5
- package/dist/typeorm/custom-field-definition.entity.js.map +1 -1
- package/dist/typeorm/custom-field-value.column.d.ts +2 -2
- package/dist/typeorm/custom-field-value.column.js +2 -2
- package/dist/typeorm/custom-field-value.column.js.map +1 -1
- package/dist/validators/custom-field-value.validator.d.ts +2 -2
- package/dist/validators/custom-field-value.validator.js +1 -1
- package/dist/validators/custom-field-value.validator.js.map +1 -1
- package/dist/validators/custom-field-value.validator.unit.test.js.map +1 -1
- package/package.json +8 -8
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { CustomFieldChoice } from '#src/custom-field-choice.js';
|
|
2
|
-
import { CustomFieldDefinitionUuid } from '#src/custom-field-definition.uuid.js';
|
|
3
|
-
import { CustomFieldRules, CustomFieldRulesByType } from '#src/custom-field-rules.js';
|
|
4
|
-
import { CustomFieldChoicesModeByType, CustomFieldRulesModeByType } from '#src/custom-field-type-contract.js';
|
|
5
|
-
import { CustomFieldType } from '#src/enum/custom-field-type.enum.js';
|
|
6
|
-
import { LocalizedString } from '@wisemen/localized-string';
|
|
1
|
+
import type { CustomFieldChoice } from '#src/custom-field-choice.js';
|
|
2
|
+
import type { CustomFieldDefinitionUuid } from '#src/custom-field-definition.uuid.js';
|
|
3
|
+
import type { CustomFieldRules, CustomFieldRulesByType } from '#src/custom-field-rules.js';
|
|
4
|
+
import type { CustomFieldChoicesModeByType, CustomFieldRulesModeByType } from '#src/custom-field-type-contract.js';
|
|
5
|
+
import type { CustomFieldType } from '#src/enum/custom-field-type.enum.js';
|
|
6
|
+
import type { LocalizedString } from '@wisemen/localized-string';
|
|
7
7
|
export interface CustomFieldView {
|
|
8
8
|
key: string;
|
|
9
9
|
order: number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { CustomFieldType } from '
|
|
2
|
-
import type { CustomFieldRuleConfigByType } from '
|
|
1
|
+
import type { CustomFieldType } from '#src/enum/custom-field-type.enum.js';
|
|
2
|
+
import type { CustomFieldRuleConfigByType } from '#src/custom-field-type-contract.js';
|
|
3
3
|
import type { BooleanCustomFieldRules as BooleanCustomFieldRulesModel } from '#src/custom-field-types/boolean/boolean.rules.js';
|
|
4
4
|
import type { DateCustomFieldRules as DateCustomFieldRulesModel } from '#src/custom-field-types/date/date.rules.js';
|
|
5
5
|
import type { MonetaryCustomFieldRules as MonetaryCustomFieldRulesModel } from '#src/custom-field-types/monetary/monetary.rules.js';
|
|
@@ -8,7 +8,7 @@ import type { SingleSelectCustomFieldTypeContract } from '#src/custom-field-type
|
|
|
8
8
|
import type { TextArrayCustomFieldTypeContract } from '#src/custom-field-types/text-array/text-array.contract.js';
|
|
9
9
|
import type { TextCustomFieldTypeContract } from '#src/custom-field-types/text/text.contract.js';
|
|
10
10
|
import type { TimestampCustomFieldTypeContract } from '#src/custom-field-types/timestamp/timestamp.contract.js';
|
|
11
|
-
import { CustomFieldType } from '
|
|
11
|
+
import { CustomFieldType } from '#src/enum/custom-field-type.enum.js';
|
|
12
12
|
type Satisfies<T extends U, U> = T;
|
|
13
13
|
export type CustomFieldRulesMode = 'required' | 'optional' | 'none';
|
|
14
14
|
export type CustomFieldChoicesMode = 'required' | 'none';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { CustomFieldType } from '
|
|
1
|
+
import { CustomFieldType } from '#src/enum/custom-field-type.enum.js';
|
|
2
2
|
//# sourceMappingURL=custom-field-type-contract.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"custom-field-type-contract.js","sourceRoot":"","sources":["../lib/custom-field-type-contract.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,eAAe,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"custom-field-type-contract.js","sourceRoot":"","sources":["../lib/custom-field-type-contract.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,eAAe,EAAE,MAAM,qCAAqC,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ResolvedCustomFieldDefinitionFields } from '#src/custom-field-definition.js';
|
|
2
|
-
import { CustomFieldType } from '#src/enum/custom-field-type.enum.js';
|
|
2
|
+
import type { CustomFieldType } from '#src/enum/custom-field-type.enum.js';
|
|
3
3
|
type BooleanCustomFieldDefinition = Extract<ResolvedCustomFieldDefinitionFields, {
|
|
4
4
|
type: CustomFieldType.BOOLEAN;
|
|
5
5
|
}>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BaseCustomFieldValueDto } from '#src/dto/base-custom-field-value.dto.js';
|
|
2
2
|
import { CustomFieldType } from '#src/enum/custom-field-type.enum.js';
|
|
3
|
-
import { BooleanCustomFieldValue } from '#src/custom-field-types/boolean/boolean.value.js';
|
|
3
|
+
import type { BooleanCustomFieldValue } from '#src/custom-field-types/boolean/boolean.value.js';
|
|
4
4
|
export declare class BooleanCustomFieldValueDto extends BaseCustomFieldValueDto {
|
|
5
5
|
type: CustomFieldType.BOOLEAN;
|
|
6
6
|
value: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { CustomFieldType } from '#src/enum/custom-field-type.enum.js';
|
|
2
|
-
import type { BooleanCustomFieldTypeContract } from '
|
|
1
|
+
import type { CustomFieldType } from '#src/enum/custom-field-type.enum.js';
|
|
2
|
+
import type { BooleanCustomFieldTypeContract } from '#src/custom-field-types/boolean/boolean.contract.js';
|
|
3
3
|
export type BooleanCustomFieldRules = {
|
|
4
4
|
type: CustomFieldType.BOOLEAN;
|
|
5
5
|
} & BooleanCustomFieldTypeContract['rules'];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { BaseCustomFieldValue } from '#src/custom-field-value.js';
|
|
2
|
-
import { CustomFieldType } from '#src/enum/custom-field-type.enum.js';
|
|
3
|
-
import type { BooleanCustomFieldTypeContract } from '
|
|
2
|
+
import type { CustomFieldType } from '#src/enum/custom-field-type.enum.js';
|
|
3
|
+
import type { BooleanCustomFieldTypeContract } from '#src/custom-field-types/boolean/boolean.contract.js';
|
|
4
4
|
export type BooleanCustomFieldValue = BaseCustomFieldValue<CustomFieldType.BOOLEAN, BooleanCustomFieldTypeContract['value']>;
|
|
5
5
|
export type BooleanCustomFieldColumnValue = BaseCustomFieldValue<CustomFieldType.BOOLEAN, BooleanCustomFieldTypeContract['columnValue']>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export * from '
|
|
2
|
-
export * from '
|
|
3
|
-
export * from '
|
|
4
|
-
export * from '
|
|
5
|
-
export * from '
|
|
6
|
-
export * from '
|
|
1
|
+
export * from '#src/custom-field-types/boolean/boolean.contract.js';
|
|
2
|
+
export * from '#src/custom-field-types/boolean/boolean.definition-validation.js';
|
|
3
|
+
export * from '#src/custom-field-types/boolean/boolean.dto.js';
|
|
4
|
+
export * from '#src/custom-field-types/boolean/boolean.rules.js';
|
|
5
|
+
export * from '#src/custom-field-types/boolean/boolean.custom-field-value.validator.js';
|
|
6
|
+
export * from '#src/custom-field-types/boolean/boolean.value.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export * from '
|
|
2
|
-
export * from '
|
|
3
|
-
export * from '
|
|
4
|
-
export * from '
|
|
5
|
-
export * from '
|
|
6
|
-
export * from '
|
|
1
|
+
export * from '#src/custom-field-types/boolean/boolean.contract.js';
|
|
2
|
+
export * from '#src/custom-field-types/boolean/boolean.definition-validation.js';
|
|
3
|
+
export * from '#src/custom-field-types/boolean/boolean.dto.js';
|
|
4
|
+
export * from '#src/custom-field-types/boolean/boolean.rules.js';
|
|
5
|
+
export * from '#src/custom-field-types/boolean/boolean.custom-field-value.validator.js';
|
|
6
|
+
export * from '#src/custom-field-types/boolean/boolean.value.js';
|
|
7
7
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../lib/custom-field-types/boolean/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../lib/custom-field-types/boolean/index.ts"],"names":[],"mappings":"AAAA,cAAc,qDAAqD,CAAA;AACnE,cAAc,kEAAkE,CAAA;AAChF,cAAc,gDAAgD,CAAA;AAC9D,cAAc,kDAAkD,CAAA;AAChE,cAAc,yEAAyE,CAAA;AACvF,cAAc,kDAAkD,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { PlainDate } from '@wisemen/datewise';
|
|
2
2
|
import type { CustomFieldDefinitionFieldsByType } from '#src/custom-field-definition.js';
|
|
3
|
-
import { CustomFieldType } from '#src/enum/custom-field-type.enum.js';
|
|
3
|
+
import type { CustomFieldType } from '#src/enum/custom-field-type.enum.js';
|
|
4
4
|
type DateCustomFieldDefinition = CustomFieldDefinitionFieldsByType<CustomFieldType.DATE>;
|
|
5
5
|
export declare function validateDateCustomFieldValue(definition: DateCustomFieldDefinition, value: PlainDate): void;
|
|
6
6
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ResolvedCustomFieldDefinitionFields } from '#src/custom-field-definition.js';
|
|
2
|
-
import { CustomFieldType } from '#src/enum/custom-field-type.enum.js';
|
|
2
|
+
import type { CustomFieldType } from '#src/enum/custom-field-type.enum.js';
|
|
3
3
|
type DateCustomFieldDefinition = Extract<ResolvedCustomFieldDefinitionFields, {
|
|
4
4
|
type: CustomFieldType.DATE;
|
|
5
5
|
}>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BaseCustomFieldValueDto } from '#src/dto/base-custom-field-value.dto.js';
|
|
2
2
|
import { CustomFieldType } from '#src/enum/custom-field-type.enum.js';
|
|
3
|
-
import { DateCustomFieldValue } from '#src/custom-field-types/date/date.value.js';
|
|
3
|
+
import type { DateCustomFieldValue } from '#src/custom-field-types/date/date.value.js';
|
|
4
4
|
export declare class DateCustomFieldValueDto extends BaseCustomFieldValueDto {
|
|
5
5
|
type: CustomFieldType.DATE;
|
|
6
6
|
value: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { CustomFieldType } from '#src/enum/custom-field-type.enum.js';
|
|
2
|
-
import type { DateCustomFieldTypeContract } from '
|
|
1
|
+
import type { CustomFieldType } from '#src/enum/custom-field-type.enum.js';
|
|
2
|
+
import type { DateCustomFieldTypeContract } from '#src/custom-field-types/date/date.contract.js';
|
|
3
3
|
export type DateCustomFieldRules = {
|
|
4
4
|
type: CustomFieldType.DATE;
|
|
5
5
|
} & DateCustomFieldTypeContract['rules'];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { BaseCustomFieldValue } from '#src/custom-field-value.js';
|
|
2
|
-
import { CustomFieldType } from '#src/enum/custom-field-type.enum.js';
|
|
3
|
-
import type { DateCustomFieldTypeContract } from '
|
|
2
|
+
import type { CustomFieldType } from '#src/enum/custom-field-type.enum.js';
|
|
3
|
+
import type { DateCustomFieldTypeContract } from '#src/custom-field-types/date/date.contract.js';
|
|
4
4
|
export type DateCustomFieldValue = BaseCustomFieldValue<CustomFieldType.DATE, DateCustomFieldTypeContract['value']>;
|
|
5
5
|
export type DateCustomFieldColumnValue = BaseCustomFieldValue<CustomFieldType.DATE, DateCustomFieldTypeContract['columnValue']>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export * from '
|
|
2
|
-
export * from '
|
|
3
|
-
export * from '
|
|
4
|
-
export * from '
|
|
5
|
-
export * from '
|
|
6
|
-
export * from '
|
|
1
|
+
export * from '#src/custom-field-types/date/date.contract.js';
|
|
2
|
+
export * from '#src/custom-field-types/date/date.definition-validation.js';
|
|
3
|
+
export * from '#src/custom-field-types/date/date.dto.js';
|
|
4
|
+
export * from '#src/custom-field-types/date/date.rules.js';
|
|
5
|
+
export * from '#src/custom-field-types/date/date.custom-field-value.validator.js';
|
|
6
|
+
export * from '#src/custom-field-types/date/date.value.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export * from '
|
|
2
|
-
export * from '
|
|
3
|
-
export * from '
|
|
4
|
-
export * from '
|
|
5
|
-
export * from '
|
|
6
|
-
export * from '
|
|
1
|
+
export * from '#src/custom-field-types/date/date.contract.js';
|
|
2
|
+
export * from '#src/custom-field-types/date/date.definition-validation.js';
|
|
3
|
+
export * from '#src/custom-field-types/date/date.dto.js';
|
|
4
|
+
export * from '#src/custom-field-types/date/date.rules.js';
|
|
5
|
+
export * from '#src/custom-field-types/date/date.custom-field-value.validator.js';
|
|
6
|
+
export * from '#src/custom-field-types/date/date.value.js';
|
|
7
7
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../lib/custom-field-types/date/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../lib/custom-field-types/date/index.ts"],"names":[],"mappings":"AAAA,cAAc,+CAA+C,CAAA;AAC7D,cAAc,4DAA4D,CAAA;AAC1E,cAAc,0CAA0C,CAAA;AACxD,cAAc,4CAA4C,CAAA;AAC1D,cAAc,mEAAmE,CAAA;AACjF,cAAc,4CAA4C,CAAA"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export * from '
|
|
2
|
-
export * from '
|
|
3
|
-
export * from '
|
|
4
|
-
export * from '
|
|
5
|
-
export * from '
|
|
6
|
-
export * from '
|
|
7
|
-
export * from '
|
|
8
|
-
export * from '
|
|
9
|
-
export * from '
|
|
10
|
-
export * from '
|
|
1
|
+
export * from '#src/custom-field-types/boolean/index.js';
|
|
2
|
+
export * from '#src/custom-field-types/date/index.js';
|
|
3
|
+
export * from '#src/custom-field-types/monetary/index.js';
|
|
4
|
+
export * from '#src/custom-field-types/multi-select/index.js';
|
|
5
|
+
export * from '#src/custom-field-types/number/index.js';
|
|
6
|
+
export * from '#src/custom-field-types/reference/index.js';
|
|
7
|
+
export * from '#src/custom-field-types/single-select/index.js';
|
|
8
|
+
export * from '#src/custom-field-types/text-array/index.js';
|
|
9
|
+
export * from '#src/custom-field-types/text/index.js';
|
|
10
|
+
export * from '#src/custom-field-types/timestamp/index.js';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export * from '
|
|
2
|
-
export * from '
|
|
3
|
-
export * from '
|
|
4
|
-
export * from '
|
|
5
|
-
export * from '
|
|
6
|
-
export * from '
|
|
7
|
-
export * from '
|
|
8
|
-
export * from '
|
|
9
|
-
export * from '
|
|
10
|
-
export * from '
|
|
1
|
+
export * from '#src/custom-field-types/boolean/index.js';
|
|
2
|
+
export * from '#src/custom-field-types/date/index.js';
|
|
3
|
+
export * from '#src/custom-field-types/monetary/index.js';
|
|
4
|
+
export * from '#src/custom-field-types/multi-select/index.js';
|
|
5
|
+
export * from '#src/custom-field-types/number/index.js';
|
|
6
|
+
export * from '#src/custom-field-types/reference/index.js';
|
|
7
|
+
export * from '#src/custom-field-types/single-select/index.js';
|
|
8
|
+
export * from '#src/custom-field-types/text-array/index.js';
|
|
9
|
+
export * from '#src/custom-field-types/text/index.js';
|
|
10
|
+
export * from '#src/custom-field-types/timestamp/index.js';
|
|
11
11
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../lib/custom-field-types/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../lib/custom-field-types/index.ts"],"names":[],"mappings":"AAAA,cAAc,0CAA0C,CAAA;AACxD,cAAc,uCAAuC,CAAA;AACrD,cAAc,2CAA2C,CAAA;AACzD,cAAc,+CAA+C,CAAA;AAC7D,cAAc,yCAAyC,CAAA;AACvD,cAAc,4CAA4C,CAAA;AAC1D,cAAc,gDAAgD,CAAA;AAC9D,cAAc,6CAA6C,CAAA;AAC3D,cAAc,uCAAuC,CAAA;AACrD,cAAc,4CAA4C,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export * from '
|
|
2
|
-
export * from '
|
|
3
|
-
export * from '
|
|
4
|
-
export * from '
|
|
5
|
-
export * from '
|
|
6
|
-
export * from '
|
|
1
|
+
export * from '#src/custom-field-types/monetary/monetary.contract.js';
|
|
2
|
+
export * from '#src/custom-field-types/monetary/monetary.definition-validation.js';
|
|
3
|
+
export * from '#src/custom-field-types/monetary/monetary.dto.js';
|
|
4
|
+
export * from '#src/custom-field-types/monetary/monetary.rules.js';
|
|
5
|
+
export * from '#src/custom-field-types/monetary/monetary.custom-field-value.validator.js';
|
|
6
|
+
export * from '#src/custom-field-types/monetary/monetary.value.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export * from '
|
|
2
|
-
export * from '
|
|
3
|
-
export * from '
|
|
4
|
-
export * from '
|
|
5
|
-
export * from '
|
|
6
|
-
export * from '
|
|
1
|
+
export * from '#src/custom-field-types/monetary/monetary.contract.js';
|
|
2
|
+
export * from '#src/custom-field-types/monetary/monetary.definition-validation.js';
|
|
3
|
+
export * from '#src/custom-field-types/monetary/monetary.dto.js';
|
|
4
|
+
export * from '#src/custom-field-types/monetary/monetary.rules.js';
|
|
5
|
+
export * from '#src/custom-field-types/monetary/monetary.custom-field-value.validator.js';
|
|
6
|
+
export * from '#src/custom-field-types/monetary/monetary.value.js';
|
|
7
7
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../lib/custom-field-types/monetary/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../lib/custom-field-types/monetary/index.ts"],"names":[],"mappings":"AAAA,cAAc,uDAAuD,CAAA;AACrE,cAAc,oEAAoE,CAAA;AAClF,cAAc,kDAAkD,CAAA;AAChE,cAAc,oDAAoD,CAAA;AAClE,cAAc,2EAA2E,CAAA;AACzF,cAAc,oDAAoD,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Currency, Monetary } from '@wisemen/monetary';
|
|
1
|
+
import { type Currency, Monetary } from '@wisemen/monetary';
|
|
2
2
|
import type { CustomFieldDefinitionFieldsByType } from '#src/custom-field-definition.js';
|
|
3
|
-
import { CustomFieldType } from '#src/enum/custom-field-type.enum.js';
|
|
3
|
+
import type { CustomFieldType } from '#src/enum/custom-field-type.enum.js';
|
|
4
4
|
type MonetaryCustomFieldDefinition = CustomFieldDefinitionFieldsByType<CustomFieldType.MONETARY>;
|
|
5
5
|
export declare function validateMonetaryCustomFieldValue(definition: MonetaryCustomFieldDefinition, value: Monetary<Currency>): void;
|
|
6
6
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"monetary.custom-field-value.validator.js","sourceRoot":"","sources":["../../../lib/custom-field-types/monetary/monetary.custom-field-value.validator.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"monetary.custom-field-value.validator.js","sourceRoot":"","sources":["../../../lib/custom-field-types/monetary/monetary.custom-field-value.validator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,QAAQ,EAAE,MAAM,mBAAmB,CAAA;AAE3D,OAAO,EAAE,+BAA+B,EAAE,MAAM,wDAAwD,CAAA;AAKxG,MAAM,UAAU,gCAAgC,CAC9C,UAAyC,EACzC,KAAyB;IAEzB,MAAM,KAAK,GAAG,UAAU,CAAC,KAAK,CAAA;IAE9B,IAAI,KAAK,KAAK,IAAI,EAAE,CAAC;QACnB,MAAM,IAAI,+BAA+B,CAAC,oDAAoD,CAAC,CAAA;IACjG,CAAC;IAED,IAAI,KAAK,CAAC,UAAU,KAAK,SAAS,IAAI,CAAC,KAAK,CAAC,UAAU,CAAC,QAAQ,CAAC,KAAK,CAAC,QAAQ,CAAC,EAAE,CAAC;QACjF,MAAM,IAAI,+BAA+B,CAAC,0DAA0D,CAAC,CAAA;IACvG,CAAC;IAED,IAAI,KAAK,CAAC,SAAS,KAAK,KAAK,CAAC,SAAS,EAAE,CAAC;QACxC,MAAM,IAAI,+BAA+B,CAAC,2EAA2E,CAAC,CAAA;IACxH,CAAC;IAED,IAAI,KAAK,CAAC,GAAG,KAAK,SAAS,EAAE,CAAC;QAC5B,MAAM,GAAG,GAAG,IAAI,QAAQ,CAAC,KAAK,CAAC,GAAG,EAAE,KAAK,CAAC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC,CAAA;QAEpE,IAAI,KAAK,CAAC,UAAU,CAAC,GAAG,CAAC,EAAE,CAAC;YAC1B,MAAM,IAAI,+BAA+B,CAAC,uDAAuD,CAAC,CAAA;QACpG,CAAC;IACH,CAAC;IAED,IAAI,KAAK,CAAC,GAAG,KAAK,SAAS,EAAE,CAAC;QAC5B,MAAM,GAAG,GAAG,IAAI,QAAQ,CAAC,KAAK,CAAC,GAAG,EAAE,KAAK,CAAC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC,CAAA;QAEpE,IAAI,KAAK,CAAC,UAAU,CAAC,GAAG,CAAC,EAAE,CAAC;YAC1B,MAAM,IAAI,+BAA+B,CAAC,yDAAyD,CAAC,CAAA;QACtG,CAAC;IACH,CAAC;AACH,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ResolvedCustomFieldDefinitionFields } from '#src/custom-field-definition.js';
|
|
2
|
-
import { CustomFieldType } from '#src/enum/custom-field-type.enum.js';
|
|
2
|
+
import type { CustomFieldType } from '#src/enum/custom-field-type.enum.js';
|
|
3
3
|
type MonetaryCustomFieldDefinition = Extract<ResolvedCustomFieldDefinitionFields, {
|
|
4
4
|
type: CustomFieldType.MONETARY;
|
|
5
5
|
}>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Currency, MonetaryDto } from '@wisemen/monetary';
|
|
1
|
+
import { type Currency, MonetaryDto } from '@wisemen/monetary';
|
|
2
2
|
import { BaseCustomFieldValueDto } from '#src/dto/base-custom-field-value.dto.js';
|
|
3
3
|
import { CustomFieldType } from '#src/enum/custom-field-type.enum.js';
|
|
4
|
-
import { MonetaryCustomFieldValue } from '#src/custom-field-types/monetary/monetary.value.js';
|
|
4
|
+
import type { MonetaryCustomFieldValue } from '#src/custom-field-types/monetary/monetary.value.js';
|
|
5
5
|
export declare class MonetaryCustomFieldValueDto extends BaseCustomFieldValueDto {
|
|
6
6
|
type: CustomFieldType.MONETARY;
|
|
7
7
|
value: MonetaryDto<Currency>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"monetary.dto.js","sourceRoot":"","sources":["../../../lib/custom-field-types/monetary/monetary.dto.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAA;AAC7C,OAAO,
|
|
1
|
+
{"version":3,"file":"monetary.dto.js","sourceRoot":"","sources":["../../../lib/custom-field-types/monetary/monetary.dto.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAA;AAC7C,OAAO,EAAiB,UAAU,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAA;AAC1E,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAA;AACxC,OAAO,EAAE,uBAAuB,EAAE,yBAAyB,EAAE,MAAM,yCAAyC,CAAA;AAC5G,OAAO,EAAE,eAAe,EAAE,MAAM,qCAAqC,CAAA;AAGrE,MAAM,OAAO,2BAA4B,SAAQ,uBAAuB;IAOtE,KAAK,CAAuB;IAE5B,KAAK;QACH,OAAO,IAAI,CAAC,kBAAkB,CAAC,eAAe,CAAC,QAAQ,EAAE,IAAI,CAAC,KAAK,CAAC,KAAK,EAAE,CAAC,CAAA;IAC9E,CAAC;IAED,MAAM,CAAC,IAAI,CAAC,gBAA0C;QACpD,OAAO,yBAAyB,CAC9B,IAAI,2BAA2B,EAAE,EACjC,eAAe,CAAC,QAAQ,EACxB,gBAAgB,CAAC,cAAc,EAC/B,WAAW,CAAC,IAAI,CAAC,gBAAgB,CAAC,KAAK,CAAC,CACzC,CAAA;IACH,CAAC;CACF;AAlBS;IAFP,WAAW,CAAC,EAAE,IAAI,EAAE,CAAC,eAAe,CAAC,QAAQ,CAAC,EAAE,CAAC;IACjD,MAAM,CAAC,CAAC,eAAe,CAAC,QAAQ,CAAC,CAAC;;yDACG;AAItC;IAFC,WAAW,CAAC,EAAE,IAAI,EAAE,WAAW,EAAE,CAAC;IAClC,UAAU,EAAE;8BACN,WAAW;0DAAU"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { CustomFieldType } from '#src/enum/custom-field-type.enum.js';
|
|
2
|
-
import type { MonetaryCustomFieldTypeContract } from '
|
|
1
|
+
import type { CustomFieldType } from '#src/enum/custom-field-type.enum.js';
|
|
2
|
+
import type { MonetaryCustomFieldTypeContract } from '#src/custom-field-types/monetary/monetary.contract.js';
|
|
3
3
|
export type MonetaryCustomFieldRules = {
|
|
4
4
|
type: CustomFieldType.MONETARY;
|
|
5
5
|
} & MonetaryCustomFieldTypeContract['rules'];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { BaseCustomFieldValue } from '#src/custom-field-value.js';
|
|
2
|
-
import { CustomFieldType } from '#src/enum/custom-field-type.enum.js';
|
|
3
|
-
import type { MonetaryCustomFieldTypeContract } from '
|
|
2
|
+
import type { CustomFieldType } from '#src/enum/custom-field-type.enum.js';
|
|
3
|
+
import type { MonetaryCustomFieldTypeContract } from '#src/custom-field-types/monetary/monetary.contract.js';
|
|
4
4
|
export type MonetaryCustomFieldValue = BaseCustomFieldValue<CustomFieldType.MONETARY, MonetaryCustomFieldTypeContract['value']>;
|
|
5
5
|
export type MonetaryCustomFieldColumnValue = BaseCustomFieldValue<CustomFieldType.MONETARY, MonetaryCustomFieldTypeContract['columnValue']>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export * from '
|
|
2
|
-
export * from '
|
|
3
|
-
export * from '
|
|
4
|
-
export * from '
|
|
5
|
-
export * from '
|
|
6
|
-
export * from '
|
|
1
|
+
export * from '#src/custom-field-types/multi-select/multi-select.contract.js';
|
|
2
|
+
export * from '#src/custom-field-types/multi-select/multi-select.definition-validation.js';
|
|
3
|
+
export * from '#src/custom-field-types/multi-select/multi-select.dto.js';
|
|
4
|
+
export * from '#src/custom-field-types/multi-select/multi-select.rules.js';
|
|
5
|
+
export * from '#src/custom-field-types/multi-select/multi-select.custom-field-value.validator.js';
|
|
6
|
+
export * from '#src/custom-field-types/multi-select/multi-select.value.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export * from '
|
|
2
|
-
export * from '
|
|
3
|
-
export * from '
|
|
4
|
-
export * from '
|
|
5
|
-
export * from '
|
|
6
|
-
export * from '
|
|
1
|
+
export * from '#src/custom-field-types/multi-select/multi-select.contract.js';
|
|
2
|
+
export * from '#src/custom-field-types/multi-select/multi-select.definition-validation.js';
|
|
3
|
+
export * from '#src/custom-field-types/multi-select/multi-select.dto.js';
|
|
4
|
+
export * from '#src/custom-field-types/multi-select/multi-select.rules.js';
|
|
5
|
+
export * from '#src/custom-field-types/multi-select/multi-select.custom-field-value.validator.js';
|
|
6
|
+
export * from '#src/custom-field-types/multi-select/multi-select.value.js';
|
|
7
7
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../lib/custom-field-types/multi-select/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../lib/custom-field-types/multi-select/index.ts"],"names":[],"mappings":"AAAA,cAAc,+DAA+D,CAAA;AAC7E,cAAc,4EAA4E,CAAA;AAC1F,cAAc,0DAA0D,CAAA;AACxE,cAAc,4DAA4D,CAAA;AAC1E,cAAc,mFAAmF,CAAA;AACjG,cAAc,4DAA4D,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { CustomFieldDefinitionFieldsByType } from '#src/custom-field-definition.js';
|
|
2
|
-
import { CustomFieldType } from '#src/enum/custom-field-type.enum.js';
|
|
2
|
+
import type { CustomFieldType } from '#src/enum/custom-field-type.enum.js';
|
|
3
3
|
type MultiSelectCustomFieldDefinition = CustomFieldDefinitionFieldsByType<CustomFieldType.MULTI_SELECT>;
|
|
4
4
|
export declare function validateMultiSelectCustomFieldValue(definition: MultiSelectCustomFieldDefinition, value: string[]): void;
|
|
5
5
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ResolvedCustomFieldDefinitionFields } from '#src/custom-field-definition.js';
|
|
2
|
-
import { CustomFieldType } from '#src/enum/custom-field-type.enum.js';
|
|
2
|
+
import type { CustomFieldType } from '#src/enum/custom-field-type.enum.js';
|
|
3
3
|
type MultiSelectCustomFieldDefinition = Extract<ResolvedCustomFieldDefinitionFields, {
|
|
4
4
|
type: CustomFieldType.MULTI_SELECT;
|
|
5
5
|
}>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BaseCustomFieldValueDto } from '#src/dto/base-custom-field-value.dto.js';
|
|
2
2
|
import { CustomFieldType } from '#src/enum/custom-field-type.enum.js';
|
|
3
|
-
import { MultiSelectCustomFieldValue } from '#src/custom-field-types/multi-select/multi-select.value.js';
|
|
3
|
+
import type { MultiSelectCustomFieldValue } from '#src/custom-field-types/multi-select/multi-select.value.js';
|
|
4
4
|
export declare class MultiSelectCustomFieldValueDto extends BaseCustomFieldValueDto {
|
|
5
5
|
type: CustomFieldType.MULTI_SELECT;
|
|
6
6
|
value: string[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { CustomFieldType } from '#src/enum/custom-field-type.enum.js';
|
|
2
|
-
import type { MultiSelectCustomFieldTypeContract } from '
|
|
1
|
+
import type { CustomFieldType } from '#src/enum/custom-field-type.enum.js';
|
|
2
|
+
import type { MultiSelectCustomFieldTypeContract } from '#src/custom-field-types/multi-select/multi-select.contract.js';
|
|
3
3
|
export type MultiSelectCustomFieldRules = {
|
|
4
4
|
type: CustomFieldType.MULTI_SELECT;
|
|
5
5
|
} & MultiSelectCustomFieldTypeContract['rules'];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { BaseCustomFieldValue } from '#src/custom-field-value.js';
|
|
2
|
-
import { CustomFieldType } from '#src/enum/custom-field-type.enum.js';
|
|
3
|
-
import type { MultiSelectCustomFieldTypeContract } from '
|
|
2
|
+
import type { CustomFieldType } from '#src/enum/custom-field-type.enum.js';
|
|
3
|
+
import type { MultiSelectCustomFieldTypeContract } from '#src/custom-field-types/multi-select/multi-select.contract.js';
|
|
4
4
|
export type MultiSelectCustomFieldValue = BaseCustomFieldValue<CustomFieldType.MULTI_SELECT, MultiSelectCustomFieldTypeContract['value']>;
|
|
5
5
|
export type MultiSelectCustomFieldColumnValue = BaseCustomFieldValue<CustomFieldType.MULTI_SELECT, MultiSelectCustomFieldTypeContract['columnValue']>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export * from '
|
|
2
|
-
export * from '
|
|
3
|
-
export * from '
|
|
4
|
-
export * from '
|
|
5
|
-
export * from '
|
|
6
|
-
export * from '
|
|
1
|
+
export * from '#src/custom-field-types/number/number.contract.js';
|
|
2
|
+
export * from '#src/custom-field-types/number/number.definition-validation.js';
|
|
3
|
+
export * from '#src/custom-field-types/number/number.dto.js';
|
|
4
|
+
export * from '#src/custom-field-types/number/number.rules.js';
|
|
5
|
+
export * from '#src/custom-field-types/number/number.custom-field-value.validator.js';
|
|
6
|
+
export * from '#src/custom-field-types/number/number.value.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export * from '
|
|
2
|
-
export * from '
|
|
3
|
-
export * from '
|
|
4
|
-
export * from '
|
|
5
|
-
export * from '
|
|
6
|
-
export * from '
|
|
1
|
+
export * from '#src/custom-field-types/number/number.contract.js';
|
|
2
|
+
export * from '#src/custom-field-types/number/number.definition-validation.js';
|
|
3
|
+
export * from '#src/custom-field-types/number/number.dto.js';
|
|
4
|
+
export * from '#src/custom-field-types/number/number.rules.js';
|
|
5
|
+
export * from '#src/custom-field-types/number/number.custom-field-value.validator.js';
|
|
6
|
+
export * from '#src/custom-field-types/number/number.value.js';
|
|
7
7
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../lib/custom-field-types/number/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../lib/custom-field-types/number/index.ts"],"names":[],"mappings":"AAAA,cAAc,mDAAmD,CAAA;AACjE,cAAc,gEAAgE,CAAA;AAC9E,cAAc,8CAA8C,CAAA;AAC5D,cAAc,gDAAgD,CAAA;AAC9D,cAAc,uEAAuE,CAAA;AACrF,cAAc,gDAAgD,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { CustomFieldDefinitionFieldsByType } from '#src/custom-field-definition.js';
|
|
2
|
-
import { CustomFieldType } from '#src/enum/custom-field-type.enum.js';
|
|
2
|
+
import type { CustomFieldType } from '#src/enum/custom-field-type.enum.js';
|
|
3
3
|
type NumberCustomFieldDefinition = CustomFieldDefinitionFieldsByType<CustomFieldType.NUMBER>;
|
|
4
4
|
export declare function validateNumberCustomFieldValue(definition: NumberCustomFieldDefinition, value: number): void;
|
|
5
5
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ResolvedCustomFieldDefinitionFields } from '#src/custom-field-definition.js';
|
|
2
|
-
import { CustomFieldType } from '#src/enum/custom-field-type.enum.js';
|
|
2
|
+
import type { CustomFieldType } from '#src/enum/custom-field-type.enum.js';
|
|
3
3
|
type NumberCustomFieldDefinition = Extract<ResolvedCustomFieldDefinitionFields, {
|
|
4
4
|
type: CustomFieldType.NUMBER;
|
|
5
5
|
}>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BaseCustomFieldValueDto } from '#src/dto/base-custom-field-value.dto.js';
|
|
2
2
|
import { CustomFieldType } from '#src/enum/custom-field-type.enum.js';
|
|
3
|
-
import { NumberCustomFieldValue } from '#src/custom-field-types/number/number.value.js';
|
|
3
|
+
import type { NumberCustomFieldValue } from '#src/custom-field-types/number/number.value.js';
|
|
4
4
|
export declare class NumberCustomFieldValueDto extends BaseCustomFieldValueDto {
|
|
5
5
|
type: CustomFieldType.NUMBER;
|
|
6
6
|
value: number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { CustomFieldType } from '#src/enum/custom-field-type.enum.js';
|
|
2
|
-
import type { NumberCustomFieldTypeContract } from '
|
|
1
|
+
import type { CustomFieldType } from '#src/enum/custom-field-type.enum.js';
|
|
2
|
+
import type { NumberCustomFieldTypeContract } from '#src/custom-field-types/number/number.contract.js';
|
|
3
3
|
export type NumberCustomFieldRules = {
|
|
4
4
|
type: CustomFieldType.NUMBER;
|
|
5
5
|
} & NumberCustomFieldTypeContract['rules'];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { BaseCustomFieldValue } from '#src/custom-field-value.js';
|
|
2
|
-
import { CustomFieldType } from '#src/enum/custom-field-type.enum.js';
|
|
3
|
-
import type { NumberCustomFieldTypeContract } from '
|
|
2
|
+
import type { CustomFieldType } from '#src/enum/custom-field-type.enum.js';
|
|
3
|
+
import type { NumberCustomFieldTypeContract } from '#src/custom-field-types/number/number.contract.js';
|
|
4
4
|
export type NumberCustomFieldValue = BaseCustomFieldValue<CustomFieldType.NUMBER, NumberCustomFieldTypeContract['value']>;
|
|
5
5
|
export type NumberCustomFieldColumnValue = BaseCustomFieldValue<CustomFieldType.NUMBER, NumberCustomFieldTypeContract['columnValue']>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export * from '
|
|
2
|
-
export * from '
|
|
3
|
-
export * from '
|
|
4
|
-
export * from '
|
|
5
|
-
export * from '
|
|
6
|
-
export * from '
|
|
7
|
-
export * from '
|
|
1
|
+
export * from '#src/custom-field-types/reference/reference.contract.js';
|
|
2
|
+
export * from '#src/custom-field-types/reference/reference.definition-validation.js';
|
|
3
|
+
export * from '#src/custom-field-types/reference/reference.dto.js';
|
|
4
|
+
export * from '#src/custom-field-types/reference/reference.format.js';
|
|
5
|
+
export * from '#src/custom-field-types/reference/reference.rules.js';
|
|
6
|
+
export * from '#src/custom-field-types/reference/reference.custom-field-value.validator.js';
|
|
7
|
+
export * from '#src/custom-field-types/reference/reference.value.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export * from '
|
|
2
|
-
export * from '
|
|
3
|
-
export * from '
|
|
4
|
-
export * from '
|
|
5
|
-
export * from '
|
|
6
|
-
export * from '
|
|
7
|
-
export * from '
|
|
1
|
+
export * from '#src/custom-field-types/reference/reference.contract.js';
|
|
2
|
+
export * from '#src/custom-field-types/reference/reference.definition-validation.js';
|
|
3
|
+
export * from '#src/custom-field-types/reference/reference.dto.js';
|
|
4
|
+
export * from '#src/custom-field-types/reference/reference.format.js';
|
|
5
|
+
export * from '#src/custom-field-types/reference/reference.rules.js';
|
|
6
|
+
export * from '#src/custom-field-types/reference/reference.custom-field-value.validator.js';
|
|
7
|
+
export * from '#src/custom-field-types/reference/reference.value.js';
|
|
8
8
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../lib/custom-field-types/reference/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../lib/custom-field-types/reference/index.ts"],"names":[],"mappings":"AAAA,cAAc,yDAAyD,CAAA;AACvE,cAAc,sEAAsE,CAAA;AACpF,cAAc,oDAAoD,CAAA;AAClE,cAAc,uDAAuD,CAAA;AACrE,cAAc,sDAAsD,CAAA;AACpE,cAAc,6EAA6E,CAAA;AAC3F,cAAc,sDAAsD,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { DefineContract } from '#src/custom-field-type-contract.js';
|
|
2
|
-
import type { ReferenceCustomFieldFormat } from '
|
|
2
|
+
import type { ReferenceCustomFieldFormat } from '#src/custom-field-types/reference/reference.format.js';
|
|
3
3
|
export type ReferenceCustomFieldTypeContract = DefineContract<{
|
|
4
4
|
value: string;
|
|
5
5
|
columnValue: string;
|