@diagonal-hq/cli 0.12.3 → 0.12.5
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/README.md +4 -3
- package/dist/cli.mjs +1742 -1707
- package/dist/index.d.ts +3 -3
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -251,7 +251,7 @@ export type PageAuthorizer =
|
|
|
251
251
|
permissions?: readonly string[];
|
|
252
252
|
};
|
|
253
253
|
|
|
254
|
-
export type PageDefinition = {
|
|
254
|
+
export type PageDefinition = UidOption & {
|
|
255
255
|
/**
|
|
256
256
|
* The page's identity, unique in the workspace: a camelCase name of at most
|
|
257
257
|
* 64 letters and digits that starts with a lowercase letter, such as
|
|
@@ -363,11 +363,11 @@ export type WorkflowEventTrigger = {
|
|
|
363
363
|
|
|
364
364
|
export type ManualTrigger = { type: 'manual' };
|
|
365
365
|
|
|
366
|
-
type ConfigBase = { title: string; description?: string | null };
|
|
366
|
+
type ConfigBase = UidOption & { title: string; description?: string | null };
|
|
367
367
|
|
|
368
368
|
/**
|
|
369
369
|
* The `export const config` of a `workflows/<name>.ts` file. The build reads it as static data and
|
|
370
|
-
* never runs it. A background trigger (recordEvent, recordSchedule, scheduled, workflowEvent)
|
|
370
|
+
* never runs it. `diagonal check` writes a missing `uid`. A background trigger (recordEvent, recordSchedule, scheduled, workflowEvent)
|
|
371
371
|
* needs `runAs`. A request workflow runs as the caller (`'session'`) by default.
|
|
372
372
|
*/
|
|
373
373
|
export type WorkflowConfig =
|