@narrative.io/data-collaboration-sdk-ts 0.0.63 → 0.0.65

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.
@@ -38,10 +38,10 @@ export const NqlQueryInputObj = z.object({
38
38
  * @constant {z.ZodEnum} NqlPreSelectExpressionObj
39
39
  */
40
40
  export const NqlPreSelectExpressionObj = z.enum(['EXPLAIN']).describe('Expression that occurs before the SELECT statement.').optional();
41
- export const NqlDatabaseObject = z.enum(['narrative']);
41
+ export const NqlDatabaseObject = z.string().refine(x => x.toLowerCase() === 'narrative');
42
42
  export const NqlTableObject = z.object({
43
43
  database: NqlDatabaseObject,
44
- table: z.enum(['rosetta_stone'])
44
+ table: z.string().refine(x => x.toLowerCase() === 'rosetta_stone')
45
45
  });
46
46
  export const NqlFieldObj = z.object({
47
47
  field: z.string().trim(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@narrative.io/data-collaboration-sdk-ts",
3
- "version": "0.0.63",
3
+ "version": "0.0.65",
4
4
  "main": "build/index.js",
5
5
  "repository": "github:narrative-io/data-collaboration-sdk-ts",
6
6
  "source": "src/index.ts",