imean-cassandra-orm 1.2.2 → 1.2.4

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/mod.d.cts CHANGED
@@ -246,9 +246,9 @@ type InferStaticFields<M extends Model<any>> = M extends Model<infer S> ? InferF
246
246
  type Simplify<T> = T extends infer U ? {
247
247
  [K in keyof U]: U[K];
248
248
  } : never;
249
- declare function createZodSchema<S extends Record<string, FieldConfig<keyof TypeMap>>>(schema: S): z.ZodType<any>;
250
- declare function createPartitionKeyZodSchema<S extends Record<string, FieldConfig<keyof TypeMap>>>(schema: S): z.ZodType<any>;
251
- declare function createClusteringKeyZodSchema<S extends Record<string, FieldConfig<keyof TypeMap>>>(schema: S): z.ZodType<any>;
249
+ declare function createZodSchema<S extends Record<string, FieldConfig<keyof TypeMap>>>(schema: S): any;
250
+ declare function createPartitionKeyZodSchema<S extends Record<string, FieldConfig<keyof TypeMap>>>(schema: S): any;
251
+ declare function createClusteringKeyZodSchema<S extends Record<string, FieldConfig<keyof TypeMap>>>(schema: S): any;
252
252
 
253
253
  declare class Model<S extends Record<string, FieldConfig<keyof TypeMap>>, P = InferFieldsByFlag<S, "partitionKey">, C = InferFieldsByFlag<S, "clusteringKey">, NP = InferNonPartitionFields<S>, A = InferFields<S>> {
254
254
  private client;
@@ -257,9 +257,9 @@ declare class Model<S extends Record<string, FieldConfig<keyof TypeMap>>, P = In
257
257
  private partitionKeys;
258
258
  private clusteringKeys;
259
259
  readonly zodSchemas: {
260
- entity: z.ZodType<any>;
261
- partitionKey: z.ZodType<any>;
262
- clusteringKey: z.ZodType<any>;
260
+ entity: any;
261
+ partitionKey: any;
262
+ clusteringKey: any;
263
263
  };
264
264
  constructor(client: Client$1, schema: S, tableName: string);
265
265
  getTableSchema(): string;
package/dist/mod.d.ts CHANGED
@@ -246,9 +246,9 @@ type InferStaticFields<M extends Model<any>> = M extends Model<infer S> ? InferF
246
246
  type Simplify<T> = T extends infer U ? {
247
247
  [K in keyof U]: U[K];
248
248
  } : never;
249
- declare function createZodSchema<S extends Record<string, FieldConfig<keyof TypeMap>>>(schema: S): z.ZodType<any>;
250
- declare function createPartitionKeyZodSchema<S extends Record<string, FieldConfig<keyof TypeMap>>>(schema: S): z.ZodType<any>;
251
- declare function createClusteringKeyZodSchema<S extends Record<string, FieldConfig<keyof TypeMap>>>(schema: S): z.ZodType<any>;
249
+ declare function createZodSchema<S extends Record<string, FieldConfig<keyof TypeMap>>>(schema: S): any;
250
+ declare function createPartitionKeyZodSchema<S extends Record<string, FieldConfig<keyof TypeMap>>>(schema: S): any;
251
+ declare function createClusteringKeyZodSchema<S extends Record<string, FieldConfig<keyof TypeMap>>>(schema: S): any;
252
252
 
253
253
  declare class Model<S extends Record<string, FieldConfig<keyof TypeMap>>, P = InferFieldsByFlag<S, "partitionKey">, C = InferFieldsByFlag<S, "clusteringKey">, NP = InferNonPartitionFields<S>, A = InferFields<S>> {
254
254
  private client;
@@ -257,9 +257,9 @@ declare class Model<S extends Record<string, FieldConfig<keyof TypeMap>>, P = In
257
257
  private partitionKeys;
258
258
  private clusteringKeys;
259
259
  readonly zodSchemas: {
260
- entity: z.ZodType<any>;
261
- partitionKey: z.ZodType<any>;
262
- clusteringKey: z.ZodType<any>;
260
+ entity: any;
261
+ partitionKey: any;
262
+ clusteringKey: any;
263
263
  };
264
264
  constructor(client: Client$1, schema: S, tableName: string);
265
265
  getTableSchema(): string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "imean-cassandra-orm",
3
- "version": "1.2.2",
3
+ "version": "1.2.4",
4
4
  "description": "cassandra orm",
5
5
  "keywords": [
6
6
  "cassandra",