@spellkave/world-author 0.0.0-bootstrap

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.
Files changed (57) hide show
  1. package/LICENSE +89 -0
  2. package/README.md +62 -0
  3. package/package.json +57 -0
  4. package/src/applyset-diff-types.ts +158 -0
  5. package/src/applyset.ts +82 -0
  6. package/src/authoring-harness.ts +487 -0
  7. package/src/browser.ts +114 -0
  8. package/src/compose.ts +699 -0
  9. package/src/corpus.generated.ts +279 -0
  10. package/src/corpus.ts +1180 -0
  11. package/src/damage.ts +75 -0
  12. package/src/diagnostics.ts +59 -0
  13. package/src/diff-manifest-core.ts +393 -0
  14. package/src/diff-manifest.ts +5 -0
  15. package/src/docs-index.ts +105 -0
  16. package/src/dsl.ts +10 -0
  17. package/src/evaluate.ts +100 -0
  18. package/src/explain-core.ts +219 -0
  19. package/src/explain.ts +43 -0
  20. package/src/filter-manifest-core.ts +122 -0
  21. package/src/filter-manifest.ts +41 -0
  22. package/src/grants-core.ts +38 -0
  23. package/src/grants.ts +10 -0
  24. package/src/included-manifest-metadata-core.ts +63 -0
  25. package/src/included-manifest-metadata.ts +21 -0
  26. package/src/index.ts +30 -0
  27. package/src/inspect.ts +35 -0
  28. package/src/inspection.ts +239 -0
  29. package/src/lint.ts +540 -0
  30. package/src/manifest-text.ts +21 -0
  31. package/src/manifest.ts +403 -0
  32. package/src/metadata.ts +137 -0
  33. package/src/npc-dm-authority-projection.ts +95 -0
  34. package/src/npc-dm-documents.ts +339 -0
  35. package/src/npc-dm-presentation.ts +17 -0
  36. package/src/npc-dm-srd.ts +51 -0
  37. package/src/npc-dm-types.ts +723 -0
  38. package/src/npc-kinds.ts +404 -0
  39. package/src/npc-quests.ts +319 -0
  40. package/src/observation-tokens.browser.ts +31 -0
  41. package/src/observation-tokens.ts +27 -0
  42. package/src/owner-instance-read.ts +765 -0
  43. package/src/patch.ts +47 -0
  44. package/src/ref-tags.ts +149 -0
  45. package/src/reference.ts +48 -0
  46. package/src/row-identity.ts +105 -0
  47. package/src/row-kinds-data.ts +35 -0
  48. package/src/row-kinds.ts +93 -0
  49. package/src/scenario-guidance.ts +180 -0
  50. package/src/scoped-instance-read.ts +187 -0
  51. package/src/service-only-audience.ts +14 -0
  52. package/src/session-predicates.ts +6 -0
  53. package/src/spell.ts +119 -0
  54. package/src/tag-prefix-families.ts +143 -0
  55. package/src/tooling.browser.ts +397 -0
  56. package/src/tooling.ts +38 -0
  57. package/src/validate.ts +255 -0
@@ -0,0 +1,723 @@
1
+ // embedded-manifest: {"category":"production_schema_constructor","rationale":"Compile-time interfaces describe the strict opt-in DM carrier data validated by shared Rust; they contain no authored world instances or grants.","signatures":["schema_shape"]}
2
+ /** Carrier data types. Shared Rust schemas perform authoritative admission. */
3
+ export interface DmDutySource {
4
+ schema_version: number;
5
+ bundle_id: string;
6
+ body_key: string;
7
+ quest_prerequisites: DmDutyQuestPrerequisite[];
8
+ quest_board: DmDutyQuestBoard;
9
+ layer_topology: DmDutyLayerTopology;
10
+ routes: DmDutyRoutes;
11
+ vessels: DmDutyVessels;
12
+ persona: DmDutyPersona;
13
+ creation: DmDutyCreation<DmDutyJobKit>;
14
+ advancement: DmDutyAdvancement;
15
+ dialog: DmDutyDialog;
16
+ companions: DmDutyCompanions;
17
+ watches: DmDutyWatches;
18
+ srd: DmSrdTables;
19
+ }
20
+ export interface DmDutyDocument {
21
+ schema_version: number;
22
+ bundle_id: string;
23
+ body_key: string;
24
+ quest_prerequisites: DmDutyQuestPrerequisite[];
25
+ quest_board: DmDutyQuestBoard;
26
+ layer_topology: DmDutyLayerTopology;
27
+ catalog_namespace: string;
28
+ catalog_content_hash: string;
29
+ catalog_publication_id: string;
30
+ presentation_content_hash: string;
31
+ routes: DmDutyRoutes;
32
+ vessels: DmDutyVessels;
33
+ persona: DmDutyPersona;
34
+ creation: DmDutyCreation<DmDutyRuntimeKit>;
35
+ advancement: DmDutyAdvancement;
36
+ dialog: DmDutyDialog;
37
+ companions: DmDutyCompanions;
38
+ watches: DmDutyWatches;
39
+ srd: DmSrdTables;
40
+ content_hash: string;
41
+ publication_id: string;
42
+ }
43
+ export interface DmDutyQuestBoard {
44
+ quest_refs: string[];
45
+ }
46
+ export interface DmDutyLayerTopology {
47
+ ordered_ids: string[];
48
+ companion_offer_id: string;
49
+ quest_board_id: string;
50
+ companion_yields_to: string[];
51
+ }
52
+ export interface DmDutyQuestPrerequisite {
53
+ quest_ref: string;
54
+ requires_rewarded_quests: string[];
55
+ }
56
+ export interface DmDutyRoutes {
57
+ region_binding_id: string;
58
+ creation_binding_id: string;
59
+ advancement_binding_id: string;
60
+ graph_author_binding_id: string;
61
+ bundle_author_binding_id: string;
62
+ }
63
+ export interface DmDutyVessels {
64
+ candidate_key: string;
65
+ candidate_blueprint_id: string;
66
+ creation_station_node_id: string;
67
+ rest_node_id: string;
68
+ hero_resolution: string;
69
+ party_companion_keys: string[];
70
+ }
71
+ export interface DmDutyPersona {
72
+ slug: string;
73
+ tag: string;
74
+ niche_id: string;
75
+ applied_level_state_id: string;
76
+ }
77
+ export interface DmDutyCreation<K> {
78
+ open_seat_action_id: string;
79
+ open_action_id: string;
80
+ finish_action_id: string;
81
+ induct_action_id: string;
82
+ identify: DmDutyIdentify;
83
+ text: DmDutyTextActions;
84
+ pending: DmDutyPending;
85
+ kit_granted_state_id: string;
86
+ kit_granted_value: number;
87
+ wizard: DmDutyWizard;
88
+ guide: DmDutyGuide;
89
+ sheet_sets: DmDutySheetSet[];
90
+ classes: DmDutyClass[];
91
+ species: DmDutyOrigin[];
92
+ backgrounds: DmDutyOrigin[];
93
+ training: DmDutyTraining;
94
+ kits: K[];
95
+ starter_kit: DmDutyStarterKit;
96
+ input_field_keys: { name: string; appearance: string; backstory: string };
97
+ presentation_vocabulary: DmDutyCreationPresentationVocabulary;
98
+ observation_vocabulary: DmDutyObservationVocabulary;
99
+ limits: DmDutyLimits;
100
+ }
101
+ export interface DmDutyIdentify {
102
+ class_action_id: string;
103
+ species_action_id: string;
104
+ background_action_id: string;
105
+ }
106
+ export interface DmDutyTextActions {
107
+ name_action_id: string;
108
+ appearance_action_id: string;
109
+ backstory_action_id: string;
110
+ }
111
+ export interface DmDutyPending {
112
+ scores: DmDutyPendingField;
113
+ name: DmDutyPendingField;
114
+ appearance: DmDutyPendingField;
115
+ backstory: DmDutyPendingField;
116
+ }
117
+ export interface DmDutyPendingField {
118
+ condition_id: string;
119
+ open_action_id: string;
120
+ close_action_id: string;
121
+ }
122
+ export interface DmDutyAbilityState {
123
+ ability: string;
124
+ aliases: string[];
125
+ state_id: string;
126
+ }
127
+ /** The order of the creation questions (`ledger/designs/guided-dialogue-tree.md`). */
128
+ export interface DmDutyGuide {
129
+ steps: DmDutyGuideStep[];
130
+ }
131
+ export interface DmDutyGuideStep {
132
+ id: string;
133
+ title: string;
134
+ source?: string;
135
+ options?: { id: string; label: string; description?: string; ref?: string }[];
136
+ pick?: { min: number; max: number };
137
+ input?: string;
138
+ show_when?: { answered: string } | { unanswered: string };
139
+ depends_on?: string[];
140
+ reopen?: boolean;
141
+ paged?: boolean;
142
+ announce_remaining?: boolean;
143
+ listed?: boolean;
144
+ }
145
+ export interface DmDutyWizard {
146
+ confirm_token: string;
147
+ discard_action_id: string;
148
+ back_action_id: string;
149
+ forward_action_id: string;
150
+ enter_name_action_id: string;
151
+ describe_appearance_action_id: string;
152
+ describe_backstory_action_id: string;
153
+ set_scores_action_id: string;
154
+ adopt_scores_action_id: string;
155
+ adopt_name_action_id: string;
156
+ adopt_appearance_action_id: string;
157
+ adopt_backstory_action_id: string;
158
+ phase_state_id: string;
159
+ phase_actions: DmDutyValueAction[];
160
+ }
161
+ export interface DmDutyValueAction {
162
+ value: number;
163
+ action_id: string;
164
+ }
165
+ export interface DmDutySheetSet {
166
+ state_id: string;
167
+ set_action_id: string;
168
+ clear_action_id: string;
169
+ }
170
+ export interface DmDutyClass {
171
+ slug: string;
172
+ identity_tag: string;
173
+ entity_definition_id: string;
174
+ pick_token: string;
175
+ advance_action_id: string;
176
+ sheet_action_id: string;
177
+ advancement_tags: DmDutyAdvancementTag[];
178
+ catalog: DmDutyClassCatalog;
179
+ }
180
+ export interface DmDutyAdvancementTag {
181
+ level: number;
182
+ tag: string;
183
+ missing_capability_definitions: string[];
184
+ }
185
+ export interface DmDutyClassCatalog {
186
+ classSlug: string;
187
+ skills: DmDutySkills;
188
+ choiceGroups: DmDutyChoiceGroup[];
189
+ cantripsKnown: number;
190
+ cantripOptions: DmDutySpellOption[];
191
+ preparedCount: number;
192
+ preparedOptions: DmDutySpellOption[];
193
+ kit: DmDutyKitMenu;
194
+ equipmentChoices: DmDutyEquipmentMenu[];
195
+ }
196
+ export interface DmDutySkills {
197
+ chooseN: number;
198
+ skillNames: string[];
199
+ skillCapabilityIds: string[];
200
+ sourceText: string;
201
+ }
202
+ export interface DmDutyChoiceGroup {
203
+ choiceGroup: string;
204
+ chooseN: number;
205
+ memberCapabilityIds: string[];
206
+ /** The definition each member grants, parallel to `memberCapabilityIds` (optional before sk-jay0.1.76.19.20). */
207
+ memberGrantRefs?: string[];
208
+ recommended: string | null;
209
+ rechoose: string;
210
+ }
211
+ export interface DmDutySpellOption {
212
+ slug: string;
213
+ capabilityId: string;
214
+ definitionRef: string | null;
215
+ displayName: string;
216
+ }
217
+ export interface DmDutyKitMenu {
218
+ options: DmDutyKitOption[];
219
+ sourceText: string;
220
+ }
221
+ export interface DmDutyKitOption {
222
+ letter: string;
223
+ description: string;
224
+ }
225
+ export interface DmDutyEquipmentMenu {
226
+ letter: string;
227
+ sourceText: string;
228
+ usesToolProficiency: boolean;
229
+ options: DmDutyEquipmentOption[];
230
+ }
231
+ export interface DmDutyEquipmentOption {
232
+ entityDefId: string;
233
+ displayName: string;
234
+ proficiencyCapabilityId: string | null;
235
+ }
236
+ export interface DmDutyOrigin {
237
+ slug: string;
238
+ identity_tag: string;
239
+ pick_token: string;
240
+ definition_ref: string;
241
+ }
242
+ export interface DmDutyTraining {
243
+ skill: DmDutyTrainingKind;
244
+ choice_member: DmDutyTrainingKind;
245
+ cantrip: DmDutyTrainingKind;
246
+ prepared_spell: DmDutyTrainingKind;
247
+ proficiency: DmDutyTrainingKind;
248
+ origin_feat: DmDutyTrainingKind;
249
+ }
250
+ export interface DmDutyTrainingKind {
251
+ action_id: string | null;
252
+ members: DmDutyTrainingMember[];
253
+ }
254
+ export interface DmDutyTrainingMember {
255
+ capability_id: string;
256
+ feature_tag: string;
257
+ availability: string;
258
+ }
259
+ export interface DmDutyKitChoice {
260
+ source_text: string;
261
+ entity_definition_id: string;
262
+ }
263
+ export interface DmDutyRuntimeKit {
264
+ class_slug: string;
265
+ letter: string;
266
+ choices: DmDutyKitChoice[];
267
+ action_id: string;
268
+ }
269
+ export interface DmDutyJobKit {
270
+ class_slug: string;
271
+ letter: string;
272
+ choices: DmDutyKitChoice[];
273
+ action_id: string;
274
+ items: DmDutyKitItem[];
275
+ }
276
+ export interface DmDutyKitItem {
277
+ entity_definition_id: string;
278
+ count: number;
279
+ parent_index: number | null;
280
+ slot_id: string | null;
281
+ }
282
+ export interface DmDutyStarterKit {
283
+ bundle_id: string;
284
+ weapon_definition_id: string;
285
+ weapon_slot_id: string;
286
+ field_kit_definition_id: string;
287
+ torch_definition_id: string;
288
+ rations_definition_id: string;
289
+ }
290
+ export interface DmDutyObservationVocabulary {
291
+ class_tag_prefix: string;
292
+ menu_tokens: DmDutyMenuTokens;
293
+ speech_trace_kind_id: string;
294
+ drafting_condition_id: string;
295
+ level_state_id: string;
296
+ hp_state_id: string;
297
+ xp_state_id: string;
298
+ appearance_state_id: string;
299
+ backstory_state_id: string;
300
+ ability_states: DmDutyAbilityState[];
301
+ speed_state_id: string;
302
+ }
303
+ /** Observed candidate speech syntax, never executable authority. */
304
+ export interface DmDutyMenuTokens {
305
+ namespace_prefix: string;
306
+ array_adopt_token: string;
307
+ class_prefix: string;
308
+ species_prefix: string;
309
+ background_prefix: string;
310
+ skill_prefix: string;
311
+ choice_prefix: string;
312
+ cantrip_prefix: string;
313
+ prepared_prefix: string;
314
+ kit_prefix: string;
315
+ parsed_scores_prefix: string;
316
+ parsed_name_prefix: string;
317
+ parsed_appearance_prefix: string;
318
+ parsed_backstory_prefix: string;
319
+ codecs: {
320
+ slug: "ascii-lowercase-hyphen/v1";
321
+ reference: "js-dot-plus/v1";
322
+ choice: "base64url-utf8-lossy/v1";
323
+ kit: "ascii-uppercase-one/v1";
324
+ adopted_text: "lowercase-hex-utf8-fatal/v1";
325
+ };
326
+ score_digits: number;
327
+ score_ability_order: string[];
328
+ }
329
+ export interface DmDutyLimits {
330
+ point_buy_min: number;
331
+ point_buy_max: number;
332
+ point_buy_budget: number;
333
+ max_name_chars: number;
334
+ max_appearance_chars: number;
335
+ max_backstory_chars: number;
336
+ }
337
+ export interface DmDutyAdvancement {
338
+ max_level: number;
339
+ enroll_action_id: string;
340
+ offer_action_id: string;
341
+ apply_action_id: string;
342
+ draft_open_action_id: string;
343
+ draft_close_action_id: string;
344
+ accepted_state_id: string;
345
+ pending_hp_state_id: string;
346
+ accept_action_id: string;
347
+ decline_action_id: string;
348
+ steady_action_id: string;
349
+ daring_action_id: string;
350
+ confirm_action_id: string;
351
+ discard_action_id: string;
352
+ ask_action_id: string;
353
+ phase_condition_id: string;
354
+ telepathy_action_id: string;
355
+ teleport_action_id: string;
356
+ return_action_id: string;
357
+ limbo_node_id: string;
358
+ return_node_id: string;
359
+ draft_opener_policy: string;
360
+ }
361
+ export interface DmDutyDialog {
362
+ say_action_id: string;
363
+ speech_action_id: string;
364
+ open_state_id: string;
365
+ prompt_state_id: string;
366
+ ask_menu_actions: DmDutyValueAction[];
367
+ open_actions: DmDutyValueAction[];
368
+ prompt_actions: DmDutyValueAction[];
369
+ choice_actions: DmDutyValueAction[];
370
+ runtime_prompt_selector: number;
371
+ slot_count: number;
372
+ }
373
+ export interface DmDutyCompanions {
374
+ offer: DmDutyCompanionOffer;
375
+ rogue: DmDutyRogue;
376
+ level_sync_keys: string[];
377
+ }
378
+ export interface DmDutyCompanionOffer {
379
+ accept_slot: number;
380
+ decline_slot: number;
381
+ open_count: number;
382
+ minimum_level: number;
383
+ agreement_state_id: string;
384
+ accept_action_id: string;
385
+ decline_action_id: string;
386
+ reopen_action_id: string;
387
+ reopen_terms: string[];
388
+ }
389
+ export interface DmDutyRogue {
390
+ entity_key: string;
391
+ blueprint_id: string;
392
+ spawn_node_id: string;
393
+ agreement_state_id: string;
394
+ spawned_state_id: string;
395
+ join_action_id: string;
396
+ initial_level: number;
397
+ resume_level: number;
398
+ hp_at_resume_level: number;
399
+ }
400
+ export interface DmDutyWatches {
401
+ initiative: DmDutyInitiative;
402
+ kill_xp: DmDutyKillXp;
403
+ quest_xp: DmDutyQuestXp;
404
+ bond: DmDutyBond;
405
+ threshold: DmDutyThreshold;
406
+ quest_loot_enabled: boolean;
407
+ labels: DmDutyWatchLabels;
408
+ }
409
+ export interface DmDutyInitiative {
410
+ mode: string;
411
+ binding_id: string;
412
+ call_action_id: string;
413
+ session_definition_id: string;
414
+ trigger_capability_ids: string[];
415
+ party_tag_id: string;
416
+ hostile_tag_id: string;
417
+ hostile_actor_keys: string[];
418
+ }
419
+ export interface DmDutyKillXp {
420
+ dead_condition_id: string;
421
+ dead_condition_suffix: string;
422
+ xp_value_state_id: string;
423
+ xp_state_id: string;
424
+ spend_action_id: string;
425
+ award_action_id: string;
426
+ }
427
+ export interface DmDutyQuestXp {
428
+ quest_refs: string[];
429
+ recipient_policy: string;
430
+ }
431
+ export interface DmDutyBond {
432
+ companion_key: string;
433
+ stone_definition_id: string;
434
+ carried_state_id: string;
435
+ recorded_state_id: string;
436
+ companion_bonded_state_id: string;
437
+ bond_condition_id: string;
438
+ record_action_id: string;
439
+ mark_action_id: string;
440
+ }
441
+ export interface DmDutyThreshold {
442
+ hero_policy: string;
443
+ }
444
+ export interface DmDutyWatchLabels {
445
+ log_prefix: string;
446
+ initiative_handle: string;
447
+ kill_xp_handle: string;
448
+ quest_xp_handle: string;
449
+ bond_handle: string;
450
+ threshold_handle: string;
451
+ }
452
+ export interface DmSrdTables {
453
+ classes: DmSrdClass[];
454
+ species: DmSrdSpecies[];
455
+ backgrounds: DmSrdBackground[];
456
+ skills: DmSrdSkill[];
457
+ xp_thresholds: Record<string, number>;
458
+ point_costs: Record<string, number>;
459
+ caster_profiles: DmSrdCasterProfile[];
460
+ caster_payloads: Record<string, DmSrdCasterPayload>;
461
+ spell_slot_grants: DmSrdSlotGrant[];
462
+ }
463
+ export interface DmSrdClass {
464
+ slug: string;
465
+ displayName: string;
466
+ primaryAbilityText: string;
467
+ skillProficienciesText: string;
468
+ startingEquipmentText: string;
469
+ hitDieSize: number;
470
+ level1HpBase: number;
471
+ fixedHpPerLevelBase: number;
472
+ unarmoredDefenseExtraAbility: string | null;
473
+ standardArray: Record<string, number>;
474
+ sourcePk: string;
475
+ }
476
+ export interface DmSrdSpecies {
477
+ slug: string;
478
+ displayName: string;
479
+ speedCells: number;
480
+ }
481
+ export interface DmSrdBackground {
482
+ slug: string;
483
+ displayName: string;
484
+ skillCapabilityIds: string[];
485
+ featEntityId: string;
486
+ }
487
+ export interface DmSrdSkill {
488
+ slug: string;
489
+ displayName: string;
490
+ }
491
+ export interface DmSrdCasterProfile {
492
+ classSlug: string;
493
+ classDisplayName: string;
494
+ ability: string;
495
+ abilityAnchor: string;
496
+ featureSlug: string;
497
+ featureAnchor: string;
498
+ ritualCasting: boolean;
499
+ classSourcePk: string;
500
+ }
501
+ export interface DmSrdCasterPayload {
502
+ class: string;
503
+ ability: string;
504
+ feature: string;
505
+ ritual_casting: boolean;
506
+ prepared_spells_by_level: Record<string, number>;
507
+ cantrips_known_by_level?: Record<string, number> | null;
508
+ }
509
+ export interface DmSrdSlotGrant {
510
+ classSlug: string;
511
+ level: number;
512
+ slotLevel: number;
513
+ count: number;
514
+ }
515
+ export interface DmPresentationContent {
516
+ schema_version: number;
517
+ voice: DmPresentationVoice;
518
+ creation: DmPresentationCreation;
519
+ level_up: DmPresentationLevelUp;
520
+ companion_offer: DmPresentationCompanionOffer;
521
+ quest_board: { lines: Record<string, DmPresentationQuestLines> };
522
+ telepathic_invitation: string;
523
+ }
524
+ export interface DmPresentationQuestLines {
525
+ greeting: string;
526
+ accept: string;
527
+ decline: string;
528
+ complete?: string;
529
+ }
530
+ export interface DmPresentationVoice {
531
+ display_name: string;
532
+ persona_name: string;
533
+ persona_slug: string;
534
+ possessive: string;
535
+ referral_name: string;
536
+ return_place_name: string;
537
+ }
538
+ export interface DmPresentationLevelUp {
539
+ class_flavour: DmPresentationTemplate;
540
+ offer_with_class_flavour: DmPresentationTemplate;
541
+ explanation: string;
542
+ direction: string;
543
+ offer: string;
544
+ acknowledgement: string;
545
+ closing: string;
546
+ }
547
+ export interface DmPresentationLabel {
548
+ rule: string;
549
+ summary: string;
550
+ }
551
+ export interface DmPresentationSpeech {
552
+ rule: string;
553
+ summary: string;
554
+ line: string;
555
+ }
556
+ export interface DmPresentationCompanionOffer {
557
+ offer: DmPresentationSpeech;
558
+ accepted: DmPresentationSpeech;
559
+ declined: DmPresentationSpeech;
560
+ agreement_accept: DmPresentationLabel;
561
+ agreement_decline: DmPresentationLabel;
562
+ agreement_reopen: DmPresentationLabel;
563
+ open_answers: DmPresentationLabel;
564
+ close_answers: DmPresentationLabel;
565
+ react_abstain: DmPresentationLabel;
566
+ agreement_unavailable: DmPresentationLabel;
567
+ apply_pending: DmPresentationLabel;
568
+ idle: DmPresentationLabel;
569
+ }
570
+ export interface DmPresentationCreation {
571
+ welcome: string;
572
+ class_acknowledgement: DmPresentationTemplate;
573
+ species_acknowledgement: DmPresentationTemplate;
574
+ background_acknowledgement: DmPresentationTemplate;
575
+ confirm_rejection: DmPresentationTemplate;
576
+ class_array_proposal: DmPresentationTemplate;
577
+ ability_drafting_paths_offer: string;
578
+ slot_menu_offer: DmPresentationTemplate;
579
+ name_contract_offer: string;
580
+ scores_adopt_acknowledgement: DmPresentationTemplate;
581
+ closing: string;
582
+ name_readback: DmPresentationTemplate;
583
+ name_unparseable: string;
584
+ appearance_readback: DmPresentationTemplate;
585
+ appearance_unparseable: string;
586
+ backstory_readback: DmPresentationTemplate;
587
+ backstory_unparseable: string;
588
+ parse_readback: DmPresentationTemplate;
589
+ parse_unparseable: string;
590
+ parse_unaffordable: DmPresentationTemplate;
591
+ progress_ready: string;
592
+ progress_missing: DmPresentationTemplate;
593
+ }
594
+ export interface DmLocatorReferenceLocators {
595
+ schema_version: number;
596
+ ruleset_bundle_id: string;
597
+ creation_sheet_action_prefix: string;
598
+ spell_definition_prefix: string;
599
+ spell_capability_prefix: string;
600
+ cantrip_capability_suffix: string;
601
+ prepared_spell_capability_suffix: string;
602
+ feature_tag_prefix: string;
603
+ metadata_attachments_table: string;
604
+ capability_definitions_table: string;
605
+ entity_definitions_table: string;
606
+ entity_definition_tag_table: string;
607
+ advancement_grant_namespace: string;
608
+ advancement_choice_namespace: string;
609
+ advancement_grant_target_kind: string;
610
+ spellcasting_profile_namespace: string;
611
+ spell_slot_grant_namespace: string;
612
+ equipment_proficiency_namespace: string;
613
+ equipment_proficiency_target_kind: string;
614
+ spell_list_tags: DmLocatorSpellListTag[];
615
+ spell_level_tag_prefix: string;
616
+ spell_level_tags: DmLocatorSpellLevelTag[];
617
+ equipment_category_tags: DmLocatorEquipmentCategoryTags;
618
+ equipment_category_phrases: DmLocatorEquipmentCategoryPhrases;
619
+ }
620
+ export interface DmLocatorSpellListTag {
621
+ class_slug: string;
622
+ tag: string;
623
+ }
624
+ export interface DmLocatorSpellLevelTag {
625
+ level: number;
626
+ tag: string;
627
+ }
628
+ export interface DmLocatorEquipmentCategoryTags {
629
+ instrument: string;
630
+ artisan: string;
631
+ }
632
+ export interface DmLocatorEquipmentCategoryPhrases {
633
+ instrument: string;
634
+ artisan: string;
635
+ }
636
+ export interface DmBinding {
637
+ binding_id: string;
638
+ role_id: string;
639
+ extent_kind_ref: string;
640
+ extent_ref: string;
641
+ description: string;
642
+ }
643
+ export interface DmSightGrant {
644
+ capability_id: string;
645
+ extent_kind_ref: string;
646
+ extent_ref: string;
647
+ elevation_class: string;
648
+ }
649
+ export interface DmPrincipalPlan {
650
+ schema_version: number;
651
+ bundleId: string;
652
+ bodyKey: string;
653
+ bindings: DmBinding[];
654
+ retiredBindings: DmBinding[];
655
+ sightGrants: DmSightGrant[];
656
+ fictionCapabilities: string[];
657
+ seatCapability: string;
658
+ roleCapabilities: Record<string, string[]>;
659
+ }
660
+ export interface DmReads {
661
+ reader_role_id: string;
662
+ reader_binding_id: string;
663
+ catalog_read_capability_id: string;
664
+ duty_read_capability_id: string;
665
+ presentation_read_capability_id: string;
666
+ }
667
+ export type DmPresentationTemplate = (
668
+ | { kind: "text"; text: string }
669
+ | { kind: "value"; name: string }
670
+ )[];
671
+
672
+ export interface DmDutyCreationMenuLabels {
673
+ class: string;
674
+ background: string;
675
+ species: string;
676
+ skill: string;
677
+ cantrip: string;
678
+ prepared_spell: string;
679
+ starting_kit: string;
680
+ name: string;
681
+ ability_scores: string;
682
+ confirmation: string;
683
+ }
684
+ export interface DmDutyCreationPresentationTemplates {
685
+ count_kind: string;
686
+ kit_option: string;
687
+ equipment_page: string;
688
+ equipment_more: string;
689
+ adopt_name: string;
690
+ adopt_array: string;
691
+ confirm: string;
692
+ remaining_one: string;
693
+ remaining_many: string;
694
+ answer_option: string;
695
+ }
696
+ export interface DmDutyCreationMissingPhrases {
697
+ class: string;
698
+ background: string;
699
+ species: string;
700
+ name: string;
701
+ skills: string;
702
+ kit: string;
703
+ }
704
+ export interface DmDutyCreationListVocabulary {
705
+ empty: string;
706
+ pair_separator: string;
707
+ separator: string;
708
+ last_separator: string;
709
+ }
710
+ export interface DmDutyCreationTextFieldAliases {
711
+ name: string[];
712
+ appearance: string[];
713
+ backstory: string[];
714
+ }
715
+ export interface DmDutyCreationPresentationVocabulary {
716
+ menu_labels: DmDutyCreationMenuLabels;
717
+ templates: DmDutyCreationPresentationTemplates;
718
+ missing_phrases: DmDutyCreationMissingPhrases;
719
+ list: DmDutyCreationListVocabulary;
720
+ spoken_confirm_aliases: string[];
721
+ spoken_discard_aliases: string[];
722
+ text_field_aliases: DmDutyCreationTextFieldAliases;
723
+ }