@luminocity/lemonate-gateway 8.2.1 → 8.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/index.d.ts CHANGED
@@ -7,6 +7,7 @@ import { WebsocketProvider } from 'y-websocket';
7
7
  import * as awarenessProtocol from 'y-protocols/awareness';
8
8
  import { CollabDocument } from '@/collabstate/CollabDocument';
9
9
  import { ItemCopier } from '@/ItemCopier';
10
+ import { ExecutableExporter } from '@/ExecutableExporter';
10
11
  import { ScriptItem as ScriptItem$1, Script as Script$1 } from '@/repo/Script';
11
12
  import { ScriptField as ScriptField$1 } from '@/repo/ScriptField';
12
13
  import { TemplateEntry as TemplateEntry$1 } from '@/repo/TemplateEntry';
@@ -678,7 +679,7 @@ declare class JobManager {
678
679
  jobs: Map<string, JobEntry>;
679
680
  constructor(apiClient: any);
680
681
  getJobs(): JobEntry[];
681
- execute(type: string, elements: any[], parameters: any[], progressCallback?: Function | undefined): Promise<JobState>;
682
+ execute(type: string, elements: any[], parameters: any[], progressCallback: Function | undefined, requiredParameters: any): Promise<JobState>;
682
683
  }
683
684
 
684
685
  type PublishedVersion = {
@@ -1335,6 +1336,7 @@ declare class ApiClient extends EventEmitter {
1335
1336
  serializer: Serializer;
1336
1337
  collab: Collab;
1337
1338
  itemCopier: ItemCopier;
1339
+ executableExporter: ExecutableExporter;
1338
1340
  eventBus: typeof eventBus;
1339
1341
  api: AxiosInstance;
1340
1342
  ws: WebSocket | null;
@@ -1374,6 +1376,7 @@ declare class ApiClient extends EventEmitter {
1374
1376
  */
1375
1377
  websocketSend(data: string): void;
1376
1378
  getItemCopier(): ItemCopier;
1379
+ getExecutableExporter(): ExecutableExporter;
1377
1380
  getCollab(): Collab;
1378
1381
  getCollabUrl(): string;
1379
1382
  /**
@@ -2850,6 +2853,7 @@ declare class ApiClient extends EventEmitter {
2850
2853
  type: string;
2851
2854
  elements: any[];
2852
2855
  parameters: any[];
2856
+ requiredParameters: any;
2853
2857
  }): Promise<string>;
2854
2858
  /**
2855
2859
  * Get the list of manual job types.
@@ -12380,10 +12384,12 @@ declare function hasPermission(userInfo: any, perm: any, needsSuperadmin: boolea
12380
12384
 
12381
12385
  declare class TemplateFactory {
12382
12386
  private templates;
12387
+ private templatesByField;
12383
12388
  private static _instance;
12384
12389
  static get instance(): TemplateFactory;
12385
- addTemplates(fieldName: string, templates: TemplateEntry$1[]): void;
12386
- getTemplate(fieldName: string, templateName: string): TemplateEntry$1 | undefined;
12390
+ addTemplates(itemType: string, fieldName: string, templates: TemplateEntry$1[]): void;
12391
+ getTemplate(itemType: string, fieldName: string, templateName: string): TemplateEntry$1 | undefined;
12392
+ getTemplates(itemType: string, fieldName: string): TemplateEntry$1[];
12387
12393
  }
12388
12394
 
12389
12395
  declare class LinkableItemsCache {