@openframe-org/criteria-set-protocol 1.4.4 → 1.4.5

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.
@@ -130,19 +130,12 @@ type AbstractCertificationDefinition<Type extends CertificationDefinitionType, R
130
130
  name: string;
131
131
  description?: string;
132
132
  };
133
- export type NumberBasedCertificationDefinitionRules = ({
133
+ export type NumberBasedCertificationDefinitionRules = {
134
134
  minimum?: number;
135
- exclusiveMinimum?: never;
136
- } | {
137
- minimum?: never;
138
135
  exclusiveMinimum?: number;
139
- }) & ({
140
136
  maximum?: number;
141
- exclusiveMaximum?: never;
142
- } | {
143
- maximum?: never;
144
137
  exclusiveMaximum?: number;
145
- });
138
+ };
146
139
  export type PercentageBasedCertificationDefinitionRules = NumberBasedCertificationDefinitionRules;
147
140
  export type NumberBasedCertificationDefinition = AbstractCertificationDefinition<'number', NumberBasedCertificationDefinitionRules>;
148
141
  export type PercentageBasedCertificationDefinition = AbstractCertificationDefinition<'percentage', PercentageBasedCertificationDefinitionRules>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openframe-org/criteria-set-protocol",
3
- "version": "1.4.4",
3
+ "version": "1.4.5",
4
4
  "description": "A protocol and tools for defining and working with criteria sets",
5
5
  "private": false,
6
6
  "author": "Andrés Angulo <aa@openframe.org>",