@factorialco/gat 3.4.0 → 3.4.2
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 +2 -1
- package/dist/index.js +3 -1
- package/dist/template.d.ts +3 -3
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Workflow } from "./workflow";
|
|
2
2
|
import { type ConcurrencyGroup, type StepsJobOptions, type UsesJobOptions, type Matrix, type Service } from "./job";
|
|
3
3
|
import { type RunStep, type UseStep, type BaseStep } from "./step";
|
|
4
|
-
|
|
4
|
+
import { compileTemplates } from "./template";
|
|
5
|
+
export { Workflow, RunStep, UseStep, BaseStep, ConcurrencyGroup, StepsJobOptions, UsesJobOptions, Matrix, Service, compileTemplates, };
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Workflow = void 0;
|
|
3
|
+
exports.compileTemplates = exports.Workflow = void 0;
|
|
4
4
|
const workflow_1 = require("./workflow");
|
|
5
5
|
Object.defineProperty(exports, "Workflow", { enumerable: true, get: function () { return workflow_1.Workflow; } });
|
|
6
|
+
const template_1 = require("./template");
|
|
7
|
+
Object.defineProperty(exports, "compileTemplates", { enumerable: true, get: function () { return template_1.compileTemplates; } });
|
package/dist/template.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Workflow } from "./workflow";
|
|
2
|
-
interface CompileOptions {
|
|
3
|
-
templates: Record<string,
|
|
2
|
+
interface CompileOptions<T extends Workflow> {
|
|
3
|
+
templates: Record<string, T>;
|
|
4
4
|
lockFilePath: string;
|
|
5
5
|
writeLockFile: boolean;
|
|
6
6
|
}
|
|
7
|
-
export declare const compileTemplates: (options: CompileOptions) => Promise<(string | void)[]>;
|
|
7
|
+
export declare const compileTemplates: <T extends Workflow>(options: CompileOptions<T>) => Promise<(string | void)[]>;
|
|
8
8
|
export {};
|