@iamu-dev/iamu 0.3.0-beta.0 → 0.3.0-beta.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.
@@ -1,15 +1,16 @@
1
1
  /**
2
2
  * Options for `iamu set`. Every field is staging: where a walk starts,
3
3
  * what the world holds, which account a persona uses, which routes an
4
- * area owns. What a scenario is about (narrative, tension, human tests,
5
- * brief, background) is not settable here — that is authoring's.
4
+ * area owns, or project-wide testability & domain context. What a scenario
5
+ * is about (narrative, tension, human tests, brief, background) is not
6
+ * settable here — that is authoring's.
6
7
  *
7
8
  * Commander maps `--no-<flag>` to `false`, which clears the field.
8
9
  */
9
10
  export interface SetEntityOptions {
10
11
  /** Scenario start path, or `false` to clear. */
11
12
  entry?: string | false;
12
- /** Scenario default target URL, or `false` to clear. */
13
+ /** Scenario default target URL or testability target_url, or `false` to clear. */
13
14
  target?: string | false;
14
15
  /** Scenario `state.description`. */
15
16
  stateDescription?: string;
@@ -17,7 +18,7 @@ export interface SetEntityOptions {
17
18
  stateApproximation?: string;
18
19
  /** `false` clears scenario `state` (Commander defaults it to `true`). */
19
20
  state?: boolean;
20
- /** Persona access key, or `false` to clear. */
21
+ /** Persona access key or testability switching mechanism, or `false` to clear. */
21
22
  access?: string | false;
22
23
  /** Capability route prefixes, comma-separated; replaces `paths`, or `false` to clear. */
23
24
  paths?: string | false;
@@ -27,6 +28,32 @@ export interface SetEntityOptions {
27
28
  removePath?: string[];
28
29
  /** Capability visual grouping, or `false` to clear. */
29
30
  area?: string | false;
31
+ /** Outline primary capability, or `false` to clear. */
32
+ capability?: string | false;
33
+ /** Outline additional capabilities (comma-separated), or `false` to clear. */
34
+ additionalCapabilities?: string | false;
35
+ /** Dev startup command, or `false` to clear (testability). */
36
+ devCommand?: string | false;
37
+ /** Authentication strategy (dev_switcher, interactive, test_accounts, public), or `false` to clear (testability). */
38
+ authStrategy?: string | false;
39
+ /** Mock frameworks or test harnesses, comma-separated, or `false` to clear (testability). */
40
+ harnesses?: string | false;
41
+ /** Forbidden external endpoints, comma-separated, or `false` to clear (testability). */
42
+ untestableBoundaries?: string | false;
43
+ /** Domain name (context). */
44
+ domain?: string | false;
45
+ /** Industry category (context). */
46
+ industry?: string | false;
47
+ /** Jurisdiction / region (context). */
48
+ jurisdiction?: string | false;
49
+ /** Orientation notes (context). */
50
+ notes?: string | false;
51
+ /** Project description (context, alias for body narrative). */
52
+ description?: string | false;
53
+ /** Project name (context). */
54
+ name?: string | false;
55
+ /** Markdown body narrative (testability, context). */
56
+ body?: string;
30
57
  /** JSON patch file (or - for stdin) containing staging fields. */
31
58
  file?: string;
32
59
  json?: boolean;
@@ -43,4 +70,4 @@ export interface SetEntityOptions {
43
70
  * iamu set capability team-access --add-path /team
44
71
  * ```
45
72
  */
46
- export declare function setEntity(type: string, slug: string, opts: SetEntityOptions): Promise<void>;
73
+ export declare function setEntity(type: string, slug: string | undefined, opts: SetEntityOptions): Promise<void>;