@lightdash/common 0.1380.2 → 0.1381.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,4 @@
1
+ import { type CreateProject } from '../index';
1
2
  import { type Explore, type ExploreError } from './explore';
2
3
  import { type DashboardFilterRule } from './filter';
3
4
  import { type MetricQuery } from './metricQuery';
@@ -29,7 +30,7 @@ export declare enum SchedulerFormat {
29
30
  GSHEETS = "gsheets"
30
31
  }
31
32
  export type SchedulerLog = {
32
- task: 'handleScheduledDelivery' | 'sendEmailNotification' | 'sendSlackNotification' | 'uploadGsheets' | 'downloadCsv' | 'uploadGsheetFromQuery' | 'compileProject' | 'testAndCompileProject' | 'validateProject' | 'sqlRunner' | 'sqlRunnerPivotQuery' | 'semanticLayer' | 'indexCatalog';
33
+ task: 'handleScheduledDelivery' | 'sendEmailNotification' | 'sendSlackNotification' | 'uploadGsheets' | 'downloadCsv' | 'uploadGsheetFromQuery' | 'createProjectWithCompile' | 'compileProject' | 'testAndCompileProject' | 'validateProject' | 'sqlRunner' | 'sqlRunnerPivotQuery' | 'semanticLayer' | 'indexCatalog';
33
34
  schedulerUuid?: string;
34
35
  jobId: string;
35
36
  jobGroup?: string;
@@ -244,6 +245,14 @@ export type ApiCsvUrlResponse = {
244
245
  truncated: boolean;
245
246
  };
246
247
  };
248
+ export type SchedulerCreateProjectWithCompilePayload = {
249
+ createdByUserUuid: string;
250
+ organizationUuid: string;
251
+ requestMethod: string;
252
+ isPreview: boolean;
253
+ data: CreateProject;
254
+ jobUuid: string;
255
+ };
247
256
  export type CompileProjectPayload = {
248
257
  createdByUserUuid: string;
249
258
  organizationUuid: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lightdash/common",
3
- "version": "0.1380.2",
3
+ "version": "0.1381.0",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [