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 +6 -6
- package/dist/mod.d.ts +6 -6
- package/package.json +1 -1
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):
|
|
250
|
-
declare function createPartitionKeyZodSchema<S extends Record<string, FieldConfig<keyof TypeMap>>>(schema: S):
|
|
251
|
-
declare function createClusteringKeyZodSchema<S extends Record<string, FieldConfig<keyof TypeMap>>>(schema: S):
|
|
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:
|
|
261
|
-
partitionKey:
|
|
262
|
-
clusteringKey:
|
|
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):
|
|
250
|
-
declare function createPartitionKeyZodSchema<S extends Record<string, FieldConfig<keyof TypeMap>>>(schema: S):
|
|
251
|
-
declare function createClusteringKeyZodSchema<S extends Record<string, FieldConfig<keyof TypeMap>>>(schema: S):
|
|
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:
|
|
261
|
-
partitionKey:
|
|
262
|
-
clusteringKey:
|
|
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;
|