@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/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 =
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@diagonal-hq/cli",
3
- "version": "0.12.3",
3
+ "version": "0.12.5",
4
4
  "description": "The diagonal CLI and the configuration helpers for file-based Diagonal workspaces.",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "repository": {