@sequenceholdings/orm 2.9.0 → 2.10.0

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/index.cjs CHANGED
@@ -7154,19 +7154,20 @@ var variableIrSchema = zod.z.object({
7154
7154
  defaultValue: variableDefaultIrSchema.optional()
7155
7155
  });
7156
7156
  var sqlColumnSchema = zod.z.object({ name: zod.z.string(), type: zod.z.enum(["text", "boolean", "integer", "bigint", "numeric", "double", "uuid", "date", "timestamptz", "jsonb"]), nullable: zod.z.boolean() });
7157
+ var sqlObjectIrSchema = zod.z.object({
7158
+ ref: zod.z.string(),
7159
+ table: zod.z.string(),
7160
+ columns: zod.z.array(sqlColumnSchema.extend({ type: zod.z.string() })).min(1),
7161
+ scan: zod.z.string().min(1),
7162
+ read: zod.z.array(zod.z.string()).min(1)
7163
+ }).strict();
7157
7164
  var compiledOperationSchema = zod.z.object({
7158
7165
  language: zod.z.literal("sql").optional(),
7159
7166
  /** Server-compiled object catalog and permission ceiling, never caller SQL. */
7160
7167
  sqlQuery: zod.z.object({
7161
7168
  catalog: zod.z.object({
7162
7169
  identity: zod.z.string(),
7163
- objects: zod.z.array(zod.z.object({
7164
- ref: zod.z.string(),
7165
- table: zod.z.string(),
7166
- columns: zod.z.array(sqlColumnSchema.extend({ type: zod.z.string() })).min(1),
7167
- scan: zod.z.string().min(1),
7168
- read: zod.z.array(zod.z.string()).min(1)
7169
- }).strict()).min(1).max(256)
7170
+ objects: zod.z.array(sqlObjectIrSchema).min(1).max(256)
7170
7171
  }).strict(),
7171
7172
  read: zod.z.array(zod.z.string()).min(1).max(256),
7172
7173
  maxRows: zod.z.number().int().min(1).max(1e4)
@@ -8836,6 +8837,7 @@ exports.rootIrSchema = rootIrSchema;
8836
8837
  exports.securityStatements = securityStatements;
8837
8838
  exports.selectionIrSchema = selectionIrSchema;
8838
8839
  exports.serializeNamespace = serializeNamespace;
8840
+ exports.sqlObjectIrSchema = sqlObjectIrSchema;
8839
8841
  exports.sqlTypeName = sqlTypeName;
8840
8842
  exports.stableJson = stableJson;
8841
8843
  exports.syncedBackingRevokeStatements = syncedBackingRevokeStatements;