@ronin/compiler 0.12.1 → 0.12.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/dist/index.d.ts +2 -1
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  import { z } from 'zod';
2
2
 
3
3
  declare const QueryTypeEnum: z.ZodEnum<["get", "set", "add", "remove", "count"]>;
4
+ declare const ModelQueryTypeEnum: z.ZodEnum<["create", "alter", "drop"]>;
4
5
  declare const ExpressionSchema: z.ZodObject<{
5
6
  __RONIN_EXPRESSION: z.ZodString;
6
7
  }, "strip", z.ZodTypeAny, {
@@ -15406,7 +15407,7 @@ type QueryInstructionType = z.infer<typeof InstructionSchema>;
15406
15407
  */
15407
15408
  type CombinedInstructions = z.infer<typeof InstructionsSchema>;
15408
15409
  type Query = z.infer<typeof QuerySchema>;
15409
- type QueryType = z.infer<typeof QueryTypeEnum>;
15410
+ type QueryType = z.infer<typeof QueryTypeEnum> | z.infer<typeof ModelQueryTypeEnum>;
15410
15411
  type QuerySchemaType = z.infer<typeof QuerySchemaSchema>;
15411
15412
  interface Statement {
15412
15413
  statement: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ronin/compiler",
3
- "version": "0.12.1",
3
+ "version": "0.12.2",
4
4
  "type": "module",
5
5
  "description": "Compiles RONIN queries to SQL statements.",
6
6
  "publishConfig": {