@openframe-org/criteria-set-protocol 1.4.1 → 1.4.2
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.
|
@@ -129,7 +129,7 @@ type AbstractCertificateDefinition<Type extends CertificateDefinitionType, Rules
|
|
|
129
129
|
name: string;
|
|
130
130
|
description?: string;
|
|
131
131
|
};
|
|
132
|
-
type NumberBasedCertificateDefinitionRules = ({
|
|
132
|
+
export type NumberBasedCertificateDefinitionRules = ({
|
|
133
133
|
minimum?: number;
|
|
134
134
|
exclusiveMinimum?: never;
|
|
135
135
|
} | {
|
|
@@ -142,7 +142,8 @@ type NumberBasedCertificateDefinitionRules = ({
|
|
|
142
142
|
maximum?: never;
|
|
143
143
|
exclusiveMaximum?: number;
|
|
144
144
|
});
|
|
145
|
+
export type PercentageBasedCertificateDefinitionRules = NumberBasedCertificateDefinitionRules;
|
|
145
146
|
export type NumberBasedCertificateDefinition = AbstractCertificateDefinition<'number', NumberBasedCertificateDefinitionRules>;
|
|
146
|
-
export type PercentageBasedCertificateDefinition = AbstractCertificateDefinition<'percentage',
|
|
147
|
+
export type PercentageBasedCertificateDefinition = AbstractCertificateDefinition<'percentage', PercentageBasedCertificateDefinitionRules>;
|
|
147
148
|
export type CertificateDefinition = NumberBasedCertificateDefinition | PercentageBasedCertificateDefinition;
|
|
148
149
|
export {};
|
package/package.json
CHANGED