@malloydata/malloy-interfaces 0.0.299 → 0.0.301

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/types.d.ts CHANGED
@@ -129,7 +129,8 @@ export type CompileModelResponse = {
129
129
  };
130
130
  export type CompileQueryRequest = {
131
131
  model_url: string;
132
- query: Query;
132
+ query?: Query;
133
+ query_malloy?: string;
133
134
  default_row_limit?: number;
134
135
  exclude_references?: boolean;
135
136
  compiler_needs?: CompilerNeeds;
@@ -513,7 +514,8 @@ export type RunIndexQueryResponse = {
513
514
  };
514
515
  export type RunQueryRequest = {
515
516
  model_url: string;
516
- query: Query;
517
+ query?: Query;
518
+ query_malloy?: string;
517
519
  default_row_limit?: number;
518
520
  exclude_references?: boolean;
519
521
  compiler_needs?: CompilerNeeds;
package/dist/types.js CHANGED
@@ -255,7 +255,12 @@ exports.MALLOY_INTERFACE_TYPES = {
255
255
  },
256
256
  'query': {
257
257
  'type': 'Query',
258
- 'optional': false,
258
+ 'optional': true,
259
+ 'array': false,
260
+ },
261
+ 'query_malloy': {
262
+ 'type': 'string',
263
+ 'optional': true,
259
264
  'array': false,
260
265
  },
261
266
  'default_row_limit': {
@@ -1354,7 +1359,12 @@ exports.MALLOY_INTERFACE_TYPES = {
1354
1359
  },
1355
1360
  'query': {
1356
1361
  'type': 'Query',
1357
- 'optional': false,
1362
+ 'optional': true,
1363
+ 'array': false,
1364
+ },
1365
+ 'query_malloy': {
1366
+ 'type': 'string',
1367
+ 'optional': true,
1358
1368
  'array': false,
1359
1369
  },
1360
1370
  'default_row_limit': {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@malloydata/malloy-interfaces",
3
- "version": "0.0.299",
3
+ "version": "0.0.301",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -714,7 +714,8 @@ struct CompileSourceResponse {
714
714
  struct RunQueryRequest {
715
715
  // Main parameters
716
716
  1: required string model_url,
717
- 2: required Query query,
717
+ 2: optional Query query,
718
+ 5: optional string query_malloy,
718
719
 
719
720
  // Options
720
721
  3: optional i32 default_row_limit,
@@ -738,7 +739,8 @@ struct RunQueryResponse {
738
739
  struct CompileQueryRequest {
739
740
  // Main parameters
740
741
  1: required string model_url,
741
- 2: required Query query,
742
+ 2: optional Query query,
743
+ 5: optional string query_malloy,
742
744
 
743
745
  // Options
744
746
  3: optional i32 default_row_limit,