@nexeraprotocol/nexera-id-schemas
Advanced tools
Comparing version 1.6.0 to 1.7.0
@@ -1099,7 +1099,10 @@ 'use strict'; | ||
var STRING_OPERATORS_LIST = ["eq", "neq", "contains", "startsWith", "endsWith"]; | ||
var INTEGER_OPERATORS_LIST = ["eq", "neq", "gt", "gte", "lt", "lte"]; | ||
var BOOLEAN_OPERATORS_LIST = ["eq", "neq"]; | ||
var STRING_OPERATORS_LIST = ["EQUAL_TO", "NOT_EQUAL_TO", "IN", "NOT_IN"]; | ||
var INTEGER_OPERATORS_LIST = ["EQUAL_TO", "NOT_EQUAL_TO", "GREATER_THAN", "GREATER_THAN_OR_EQUAL_TO", "LESS_THAN", "LESS_THAN_OR_EQUAL_TO"]; | ||
var BOOLEAN_OPERATORS_LIST = ["EQUAL_TO", "NOT_EQUAL_TO"]; | ||
var SUPPORTED_TYPES = ["string", "integer", "boolean"]; | ||
var SupportedType = zod.z["enum"](SUPPORTED_TYPES); | ||
// need to shift this type to use discriminated unions (type + availableOperators ) | ||
// also really should be referencing the operators from vc-schemas | ||
var schemaMap = { | ||
@@ -1106,0 +1109,0 @@ ID3: schema$4, |
@@ -1099,7 +1099,10 @@ 'use strict'; | ||
var STRING_OPERATORS_LIST = ["eq", "neq", "contains", "startsWith", "endsWith"]; | ||
var INTEGER_OPERATORS_LIST = ["eq", "neq", "gt", "gte", "lt", "lte"]; | ||
var BOOLEAN_OPERATORS_LIST = ["eq", "neq"]; | ||
var STRING_OPERATORS_LIST = ["EQUAL_TO", "NOT_EQUAL_TO", "IN", "NOT_IN"]; | ||
var INTEGER_OPERATORS_LIST = ["EQUAL_TO", "NOT_EQUAL_TO", "GREATER_THAN", "GREATER_THAN_OR_EQUAL_TO", "LESS_THAN", "LESS_THAN_OR_EQUAL_TO"]; | ||
var BOOLEAN_OPERATORS_LIST = ["EQUAL_TO", "NOT_EQUAL_TO"]; | ||
var SUPPORTED_TYPES = ["string", "integer", "boolean"]; | ||
var SupportedType = zod.z["enum"](SUPPORTED_TYPES); | ||
// need to shift this type to use discriminated unions (type + availableOperators ) | ||
// also really should be referencing the operators from vc-schemas | ||
var schemaMap = { | ||
@@ -1106,0 +1109,0 @@ ID3: schema$4, |
@@ -1095,7 +1095,10 @@ import { z } from 'zod'; | ||
var STRING_OPERATORS_LIST = ["eq", "neq", "contains", "startsWith", "endsWith"]; | ||
var INTEGER_OPERATORS_LIST = ["eq", "neq", "gt", "gte", "lt", "lte"]; | ||
var BOOLEAN_OPERATORS_LIST = ["eq", "neq"]; | ||
var STRING_OPERATORS_LIST = ["EQUAL_TO", "NOT_EQUAL_TO", "IN", "NOT_IN"]; | ||
var INTEGER_OPERATORS_LIST = ["EQUAL_TO", "NOT_EQUAL_TO", "GREATER_THAN", "GREATER_THAN_OR_EQUAL_TO", "LESS_THAN", "LESS_THAN_OR_EQUAL_TO"]; | ||
var BOOLEAN_OPERATORS_LIST = ["EQUAL_TO", "NOT_EQUAL_TO"]; | ||
var SUPPORTED_TYPES = ["string", "integer", "boolean"]; | ||
var SupportedType = z["enum"](SUPPORTED_TYPES); | ||
// need to shift this type to use discriminated unions (type + availableOperators ) | ||
// also really should be referencing the operators from vc-schemas | ||
var schemaMap = { | ||
@@ -1102,0 +1105,0 @@ ID3: schema$4, |
import { z } from "zod"; | ||
import type { CredentialType } from "./vc-schemas/index.js"; | ||
export declare const STRING_OPERATORS_LIST: readonly ["eq", "neq", "contains", "startsWith", "endsWith"]; | ||
export declare const INTEGER_OPERATORS_LIST: readonly ["eq", "neq", "gt", "gte", "lt", "lte"]; | ||
export declare const BOOLEAN_OPERATORS_LIST: readonly ["eq", "neq"]; | ||
export declare const STRING_OPERATORS_LIST: readonly ["EQUAL_TO", "NOT_EQUAL_TO", "IN", "NOT_IN"]; | ||
export declare const INTEGER_OPERATORS_LIST: readonly ["EQUAL_TO", "NOT_EQUAL_TO", "GREATER_THAN", "GREATER_THAN_OR_EQUAL_TO", "LESS_THAN", "LESS_THAN_OR_EQUAL_TO"]; | ||
export declare const BOOLEAN_OPERATORS_LIST: readonly ["EQUAL_TO", "NOT_EQUAL_TO"]; | ||
export declare const SUPPORTED_TYPES: readonly ["string", "integer", "boolean"]; | ||
export declare const SupportedType: z.ZodEnum<["string", "integer", "boolean"]>; | ||
export type SupportedType = z.infer<typeof SupportedType>; | ||
type Field = { | ||
export type Field = { | ||
fieldName: string; | ||
@@ -20,3 +20,2 @@ path: string; | ||
}) => Field[]; | ||
export {}; | ||
//# sourceMappingURL=frontend-utilities.d.ts.map |
{ | ||
"name": "@nexeraprotocol/nexera-id-schemas", | ||
"version": "1.6.0", | ||
"version": "1.7.0", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "dist/nexeraprotocol-nexera-id-schemas.cjs.js", |
{ | ||
"name": "@nexeraprotocol/nexera-id-schemas", | ||
"version": "1.6.0", | ||
"version": "1.7.0", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "dist/nexeraprotocol-nexera-id-schemas.cjs.js", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1651771
35106