@onlyworlds/sdk 1.4.1 → 2.0.0

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.mts CHANGED
@@ -72,92 +72,96 @@ interface WorldInput {
72
72
  }
73
73
  /**
74
74
  * Ability element type
75
+ * Fields organized by sections: Mechanics, World
75
76
  */
76
77
  interface Ability extends BaseElement {
77
78
  activation?: string;
78
- duration?: string;
79
- potency?: string;
80
- range?: string;
79
+ duration?: number;
80
+ potency?: number;
81
+ range?: number;
82
+ effects?: ElementIds<ElementType.Phenomenon>;
81
83
  challenges?: string;
84
+ talents?: ElementIds<ElementType.Trait>;
85
+ requisites?: ElementIds<ElementType.Construct>;
82
86
  prevalence?: string;
83
87
  tradition?: ElementId<ElementType.Construct>;
84
88
  source?: ElementId<ElementType.Phenomenon>;
85
89
  locus?: ElementId<ElementType.Location>;
86
- effects?: ElementIds<ElementType.Phenomenon>;
87
- talents?: ElementIds<ElementType.Trait>;
88
- requisites?: ElementIds<ElementType.Construct>;
89
90
  instruments?: ElementIds<ElementType.Object>;
90
91
  systems?: ElementIds<ElementType.Construct>;
91
92
  }
92
93
  /**
93
94
  * Object element type
95
+ * Fields organized by sections: Form, Function, World
94
96
  */
95
97
  interface Object$1 extends BaseElement {
96
98
  aesthetics?: string;
97
- weight?: string;
98
- amount?: string;
99
+ weight?: number;
100
+ amount?: number;
99
101
  parent_object?: ElementId<ElementType.Object>;
100
- utility?: string;
101
- origins?: string;
102
- location?: ElementId<ElementType.Location>;
103
- language?: ElementId<ElementType.Language>;
104
102
  materials?: ElementIds<ElementType.Construct>;
105
103
  technology?: ElementIds<ElementType.Construct>;
104
+ utility?: string;
106
105
  effects?: ElementIds<ElementType.Phenomenon>;
107
106
  abilities?: ElementIds<ElementType.Ability>;
108
107
  consumes?: ElementIds<ElementType.Construct>;
108
+ origins?: string;
109
+ location?: ElementId<ElementType.Location>;
110
+ language?: ElementId<ElementType.Language>;
109
111
  affinities?: ElementIds<ElementType.Trait>;
110
112
  }
111
113
  /**
112
114
  * Character element type
115
+ * Fields organized by sections: Constitution, Origins, World, Personality, Social, TTRPG
113
116
  */
114
117
  interface Character extends BaseElement {
115
118
  physicality?: string;
116
119
  mentality?: string;
117
- height?: string;
118
- weight?: string;
120
+ height?: number;
121
+ weight?: number;
122
+ species?: ElementIds<ElementType.Species>;
123
+ traits?: ElementIds<ElementType.Trait>;
124
+ abilities?: ElementIds<ElementType.Ability>;
119
125
  background?: string;
120
126
  motivations?: string;
121
- birth_date?: string;
127
+ birth_date?: number;
122
128
  birthplace?: ElementId<ElementType.Location>;
129
+ languages?: ElementIds<ElementType.Language>;
123
130
  reputation?: string;
124
131
  location?: ElementId<ElementType.Location>;
125
- charisma?: string;
126
- coercion?: string;
127
- competence?: string;
128
- compassion?: string;
129
- creativity?: string;
130
- courage?: string;
131
- level?: string;
132
- hit_points?: string;
133
- STR?: string;
134
- DEX?: string;
135
- CON?: string;
136
- INT?: string;
137
- WIS?: string;
138
- CHA?: string;
139
- species?: ElementIds<ElementType.Species>;
140
- traits?: ElementIds<ElementType.Trait>;
141
- abilities?: ElementIds<ElementType.Ability>;
142
- languages?: ElementIds<ElementType.Language>;
143
132
  objects?: ElementIds<ElementType.Object>;
144
133
  institutions?: ElementIds<ElementType.Institution>;
134
+ charisma?: number;
135
+ coercion?: number;
136
+ competence?: number;
137
+ compassion?: number;
138
+ creativity?: number;
139
+ courage?: number;
145
140
  family?: ElementIds<ElementType.Family>;
146
141
  friends?: ElementIds<ElementType.Character>;
147
142
  rivals?: ElementIds<ElementType.Character>;
143
+ level?: number;
144
+ hit_points?: number;
145
+ STR?: number;
146
+ DEX?: number;
147
+ CON?: number;
148
+ INT?: number;
149
+ WIS?: number;
150
+ CHA?: number;
148
151
  }
149
152
  /**
150
153
  * Collective element type
154
+ * Fields organized by sections: Formation, Dynamics, World
151
155
  */
152
156
  interface Collective extends BaseElement {
153
157
  composition?: string;
154
- count?: string;
155
- formation_date?: string;
158
+ count?: number;
159
+ formation_date?: number;
156
160
  operator?: ElementId<ElementType.Institution>;
161
+ equipment?: ElementIds<ElementType.Construct>;
157
162
  activity?: string;
158
163
  disposition?: string;
159
164
  state?: string;
160
- equipment?: ElementIds<ElementType.Construct>;
161
165
  abilities?: ElementIds<ElementType.Ability>;
162
166
  symbolism?: ElementIds<ElementType.Construct>;
163
167
  species?: ElementIds<ElementType.Species>;
@@ -167,14 +171,15 @@ interface Collective extends BaseElement {
167
171
  }
168
172
  /**
169
173
  * Construct element type
174
+ * Fields organized by sections: Nature, Involves
170
175
  */
171
176
  interface Construct extends BaseElement {
172
177
  rationale?: string;
173
178
  history?: string;
174
179
  status?: string;
175
180
  reach?: string;
176
- start_date?: string;
177
- end_date?: string;
181
+ start_date?: number;
182
+ end_date?: number;
178
183
  founder?: ElementId<ElementType.Character>;
179
184
  custodian?: ElementId<ElementType.Institution>;
180
185
  characters?: ElementIds<ElementType.Character>;
@@ -198,36 +203,38 @@ interface Construct extends BaseElement {
198
203
  }
199
204
  /**
200
205
  * Creature element type
206
+ * Fields organized by sections: Biology, Behaviour, World, TTRPG
201
207
  */
202
208
  interface Creature extends BaseElement {
203
209
  appearance?: string;
204
- weight?: string;
205
- height?: string;
210
+ weight?: number;
211
+ height?: number;
212
+ species?: ElementIds<ElementType.Species>;
206
213
  habits?: string;
207
214
  demeanor?: string;
208
- status?: string;
209
- birth_date?: string;
210
- location?: ElementId<ElementType.Location>;
211
- zone?: ElementId<ElementType.Zone>;
212
- challenge_rating?: string;
213
- hit_points?: string;
214
- armor_class?: string;
215
- speed?: string;
216
- species?: ElementIds<ElementType.Species>;
217
215
  traits?: ElementIds<ElementType.Trait>;
218
216
  abilities?: ElementIds<ElementType.Ability>;
219
217
  languages?: ElementIds<ElementType.Language>;
218
+ status?: string;
219
+ birth_date?: number;
220
+ location?: ElementId<ElementType.Location>;
221
+ zone?: ElementId<ElementType.Zone>;
222
+ challenge_rating?: number;
223
+ hit_points?: number;
224
+ armor_class?: number;
225
+ speed?: number;
220
226
  actions?: ElementIds<ElementType.Ability>;
221
227
  }
222
228
  /**
223
229
  * Event element type
230
+ * Fields organized by sections: Nature, Involves
224
231
  */
225
232
  interface Event extends BaseElement {
226
233
  history?: string;
227
234
  challenges?: string;
228
235
  consequences?: string;
229
- start_date?: string;
230
- end_date?: string;
236
+ start_date?: number;
237
+ end_date?: number;
231
238
  triggers?: ElementIds<ElementType.Event>;
232
239
  characters?: ElementIds<ElementType.Character>;
233
240
  objects?: ElementIds<ElementType.Object>;
@@ -248,16 +255,17 @@ interface Event extends BaseElement {
248
255
  }
249
256
  /**
250
257
  * Family element type
258
+ * Fields organized by sections: Identity, World
251
259
  */
252
260
  interface Family extends BaseElement {
253
261
  spirit?: string;
254
262
  history?: string;
255
- reputation?: string;
256
263
  traditions?: ElementIds<ElementType.Construct>;
257
264
  traits?: ElementIds<ElementType.Trait>;
258
265
  abilities?: ElementIds<ElementType.Ability>;
259
266
  languages?: ElementIds<ElementType.Language>;
260
267
  ancestors?: ElementIds<ElementType.Character>;
268
+ reputation?: string;
261
269
  estates?: ElementIds<ElementType.Location>;
262
270
  governs?: ElementIds<ElementType.Institution>;
263
271
  heirlooms?: ElementIds<ElementType.Object>;
@@ -265,21 +273,23 @@ interface Family extends BaseElement {
265
273
  }
266
274
  /**
267
275
  * Institution element type
276
+ * Fields organized by sections: Foundation, Claims, World
268
277
  */
269
278
  interface Institution extends BaseElement {
270
279
  doctrine?: string;
271
- founding_date?: string;
280
+ founding_date?: number;
272
281
  parent_institution?: ElementId<ElementType.Institution>;
273
- status?: string;
274
282
  zones?: ElementIds<ElementType.Zone>;
275
283
  objects?: ElementIds<ElementType.Object>;
276
284
  creatures?: ElementIds<ElementType.Creature>;
285
+ status?: string;
277
286
  allies?: ElementIds<ElementType.Institution>;
278
287
  adversaries?: ElementIds<ElementType.Institution>;
279
288
  constructs?: ElementIds<ElementType.Construct>;
280
289
  }
281
290
  /**
282
291
  * Language element type
292
+ * Fields organized by sections: Structure, World
283
293
  */
284
294
  interface Language extends BaseElement {
285
295
  phonology?: string;
@@ -293,14 +303,15 @@ interface Language extends BaseElement {
293
303
  }
294
304
  /**
295
305
  * Law element type
306
+ * Fields organized by sections: Code, World
296
307
  */
297
308
  interface Law extends BaseElement {
298
309
  declaration?: string;
299
310
  purpose?: string;
300
- date?: string;
311
+ date?: number;
301
312
  parent_law?: ElementId<ElementType.Law>;
302
- author?: ElementId<ElementType.Institution>;
303
313
  penalties?: ElementIds<ElementType.Construct>;
314
+ author?: ElementId<ElementType.Institution>;
304
315
  locations?: ElementIds<ElementType.Location>;
305
316
  zones?: ElementIds<ElementType.Zone>;
306
317
  prohibitions?: ElementIds<ElementType.Construct>;
@@ -309,25 +320,22 @@ interface Law extends BaseElement {
309
320
  }
310
321
  /**
311
322
  * Location element type
323
+ * Fields organized by sections: Setting, Politics, World, Production, Commerce, Construction, Defense
312
324
  */
313
325
  interface Location extends BaseElement {
314
326
  form?: string;
315
327
  function?: string;
316
- founding_date?: string;
328
+ founding_date?: number;
317
329
  parent_location?: ElementId<ElementType.Location>;
330
+ populations?: ElementIds<ElementType.Collective>;
318
331
  political_climate?: string;
319
332
  primary_power?: ElementId<ElementType.Institution>;
320
333
  governing_title?: ElementId<ElementType.Title>;
334
+ secondary_powers?: ElementIds<ElementType.Institution>;
321
335
  zone?: ElementId<ElementType.Zone>;
322
336
  rival?: ElementId<ElementType.Location>;
323
337
  partner?: ElementId<ElementType.Location>;
324
338
  customs?: string;
325
- infrastructure?: string;
326
- architecture?: string;
327
- defensibility?: string;
328
- elevation?: string;
329
- populations?: ElementIds<ElementType.Collective>;
330
- secondary_powers?: ElementIds<ElementType.Institution>;
331
339
  founders?: ElementIds<ElementType.Character>;
332
340
  cults?: ElementIds<ElementType.Construct>;
333
341
  delicacies?: ElementIds<ElementType.Species>;
@@ -335,38 +343,45 @@ interface Location extends BaseElement {
335
343
  extraction_goods?: ElementIds<ElementType.Construct>;
336
344
  industry_methods?: ElementIds<ElementType.Construct>;
337
345
  industry_goods?: ElementIds<ElementType.Construct>;
346
+ infrastructure?: string;
338
347
  extraction_markets?: ElementIds<ElementType.Location>;
339
348
  industry_markets?: ElementIds<ElementType.Location>;
340
349
  currencies?: ElementIds<ElementType.Construct>;
350
+ architecture?: string;
341
351
  buildings?: ElementIds<ElementType.Object>;
342
352
  building_methods?: ElementIds<ElementType.Construct>;
353
+ defensibility?: string;
354
+ elevation?: number;
343
355
  fighters?: ElementIds<ElementType.Construct>;
344
356
  defensive_objects?: ElementIds<ElementType.Object>;
345
357
  }
346
358
  /**
347
359
  * Phenomenon element type
360
+ * Fields organized by sections: Mechanics, World
348
361
  */
349
362
  interface Phenomenon extends BaseElement {
350
363
  expression?: string;
351
364
  effects?: string;
352
- duration?: string;
353
- mythology?: string;
354
- system?: ElementId<ElementType.Phenomenon>;
365
+ duration?: number;
355
366
  catalysts?: ElementIds<ElementType.Object>;
356
367
  empowerments?: ElementIds<ElementType.Ability>;
368
+ mythology?: string;
369
+ system?: ElementId<ElementType.Phenomenon>;
357
370
  triggers?: ElementIds<ElementType.Construct>;
358
371
  wielders?: ElementIds<ElementType.Character>;
359
372
  environments?: ElementIds<ElementType.Location>;
360
373
  }
361
374
  /**
362
375
  * Relation element type
376
+ * Fields organized by sections: Nature, Involves
363
377
  */
364
378
  interface Relation extends BaseElement {
365
379
  background?: string;
366
- start_date?: string;
367
- end_date?: string;
368
- intensity?: string;
380
+ start_date?: number;
381
+ end_date?: number;
382
+ intensity?: number;
369
383
  actor?: ElementId<ElementType.Character>;
384
+ events?: ElementIds<ElementType.Event>;
370
385
  characters?: ElementIds<ElementType.Character>;
371
386
  objects?: ElementIds<ElementType.Object>;
372
387
  locations?: ElementIds<ElementType.Location>;
@@ -382,60 +397,62 @@ interface Relation extends BaseElement {
382
397
  families?: ElementIds<ElementType.Family>;
383
398
  titles?: ElementIds<ElementType.Title>;
384
399
  constructs?: ElementIds<ElementType.Construct>;
385
- events?: ElementIds<ElementType.Event>;
386
400
  narratives?: ElementIds<ElementType.Narrative>;
387
401
  }
388
402
  /**
389
403
  * Species element type
404
+ * Fields organized by sections: Biology, Psychology, World
390
405
  */
391
406
  interface Species extends BaseElement {
392
407
  appearance?: string;
393
- life_span?: string;
394
- weight?: string;
408
+ life_span?: number;
409
+ weight?: number;
410
+ nourishment?: ElementIds<ElementType.Species>;
411
+ reproduction?: ElementIds<ElementType.Construct>;
412
+ adaptations?: ElementIds<ElementType.Ability>;
395
413
  instincts?: string;
396
414
  sociality?: string;
397
415
  temperament?: string;
398
416
  communication?: string;
399
- aggression?: string;
417
+ aggression?: number;
418
+ traits?: ElementIds<ElementType.Trait>;
400
419
  role?: string;
401
420
  parent_species?: ElementId<ElementType.Species>;
402
- nourishment?: ElementIds<ElementType.Species>;
403
- reproduction?: ElementIds<ElementType.Construct>;
404
- adaptations?: ElementIds<ElementType.Ability>;
405
- traits?: ElementIds<ElementType.Trait>;
406
421
  locations?: ElementIds<ElementType.Location>;
407
422
  zones?: ElementIds<ElementType.Zone>;
408
423
  affinities?: ElementIds<ElementType.Phenomenon>;
409
424
  }
410
425
  /**
411
426
  * Zone element type
427
+ * Fields organized by sections: Scope, World
412
428
  */
413
429
  interface Zone extends BaseElement {
414
430
  role?: string;
415
- start_date?: string;
416
- end_date?: string;
417
- context?: string;
431
+ start_date?: number;
432
+ end_date?: number;
418
433
  phenomena?: ElementIds<ElementType.Phenomenon>;
419
434
  linked_zones?: ElementIds<ElementType.Zone>;
435
+ context?: string;
420
436
  populations?: ElementIds<ElementType.Collective>;
421
437
  titles?: ElementIds<ElementType.Title>;
422
438
  principles?: ElementIds<ElementType.Construct>;
423
439
  }
424
440
  /**
425
441
  * Title element type
442
+ * Fields organized by sections: Mandate, World
426
443
  */
427
444
  interface Title extends BaseElement {
428
445
  authority?: string;
429
446
  eligibility?: string;
430
- grant_date?: string;
431
- revoke_date?: string;
447
+ grant_date?: number;
448
+ revoke_date?: number;
432
449
  issuer?: ElementId<ElementType.Institution>;
433
450
  body?: ElementId<ElementType.Institution>;
434
451
  superior_title?: ElementId<ElementType.Title>;
435
- status?: string;
436
- history?: string;
437
452
  holders?: ElementIds<ElementType.Character>;
438
453
  symbols?: ElementIds<ElementType.Object>;
454
+ status?: string;
455
+ history?: string;
439
456
  characters?: ElementIds<ElementType.Character>;
440
457
  institutions?: ElementIds<ElementType.Institution>;
441
458
  families?: ElementIds<ElementType.Family>;
@@ -452,6 +469,7 @@ interface Title extends BaseElement {
452
469
  }
453
470
  /**
454
471
  * Trait element type
472
+ * Fields organized by sections: Qualitative, Quantitative, World
455
473
  */
456
474
  interface Trait extends BaseElement {
457
475
  social_effects?: string;
@@ -459,25 +477,26 @@ interface Trait extends BaseElement {
459
477
  functional_effects?: string;
460
478
  personality_effects?: string;
461
479
  behaviour_effects?: string;
462
- charisma?: string;
463
- coercion?: string;
464
- competence?: string;
465
- compassion?: string;
466
- creativity?: string;
467
- courage?: string;
480
+ charisma?: number;
481
+ coercion?: number;
482
+ competence?: number;
483
+ compassion?: number;
484
+ creativity?: number;
485
+ courage?: number;
468
486
  significance?: string;
469
487
  anti_trait?: ElementId<ElementType.Trait>;
470
488
  empowered_abilities?: ElementIds<ElementType.Ability>;
471
489
  }
472
490
  /**
473
491
  * Narrative element type
492
+ * Fields organized by sections: Context, Involves
474
493
  */
475
494
  interface Narrative extends BaseElement {
476
495
  story?: string;
477
496
  consequences?: string;
478
- start_date?: string;
479
- end_date?: string;
480
- order?: string;
497
+ start_date?: number;
498
+ end_date?: number;
499
+ order?: number;
481
500
  parent_narrative?: ElementId<ElementType.Narrative>;
482
501
  protagonist?: ElementId<ElementType.Character>;
483
502
  antagonist?: ElementId<ElementType.Character>;
@@ -504,18 +523,20 @@ interface Narrative extends BaseElement {
504
523
  }
505
524
  /**
506
525
  * Map element type
526
+ * Fields organized by sections: Details
507
527
  */
508
528
  interface Map extends BaseElement {
509
529
  background_color?: string;
510
- hierarchy?: string;
511
- width?: string;
512
- height?: string;
513
- depth?: string;
530
+ hierarchy?: number;
531
+ width?: number;
532
+ height?: number;
533
+ depth?: number;
514
534
  parent_map?: ElementId<ElementType.Map>;
515
535
  location?: ElementId<ElementType.Location>;
516
536
  }
517
537
  /**
518
538
  * Marker element type
539
+ * Fields organized by sections: Details
519
540
  */
520
541
  interface Marker extends BaseElement {
521
542
  map?: ElementId<ElementType.Map>;
@@ -526,6 +547,7 @@ interface Marker extends BaseElement {
526
547
  }
527
548
  /**
528
549
  * Pin element type
550
+ * Fields organized by sections: Details
529
551
  */
530
552
  interface Pin extends BaseElement {
531
553
  map?: ElementId<ElementType.Map>;
@@ -835,6 +857,26 @@ declare const ELEMENT_LABELS: Record<ElementType, string>;
835
857
  * @returns The plural label string
836
858
  */
837
859
  declare function getElementLabel(elementType: ElementType): string;
860
+ /**
861
+ * Section metadata for OnlyWorlds elements
862
+ * Source: sectioned_schema.json
863
+ */
864
+ interface SectionInfo {
865
+ name: string;
866
+ order: number;
867
+ fields: string[];
868
+ }
869
+ /**
870
+ * Element section definitions - provides organized field groupings for each element type
871
+ * Enables UI components to display fields in logical sections with proper ordering
872
+ */
873
+ declare const ELEMENT_SECTIONS: Record<ElementType, SectionInfo[]>;
874
+ /**
875
+ * Get sections for an element type
876
+ * @param elementType The element type
877
+ * @returns Array of section information for the element type
878
+ */
879
+ declare function getElementSections(elementType: ElementType): SectionInfo[];
838
880
  /**
839
881
  * Current OnlyWorlds version
840
882
  * Synced with https://github.com/OnlyWorlds/OnlyWorlds/blob/main/VERSION
@@ -864,8 +906,6 @@ declare function getElementIcon(elementType: ElementType): string;
864
906
  * @returns Unicode symbol string
865
907
  */
866
908
  declare function getElementUnicodeIcon(elementType: ElementType): string;
867
- declare const ELEMENT_MATERIAL_ICONS: Record<ElementType, string>;
868
- declare const getElementMaterialIcon: typeof getElementIcon;
869
909
  /**
870
910
  * Field type definitions for OnlyWorlds elements
871
911
  */
@@ -888,17 +928,29 @@ declare const FIELD_SCHEMA: {
888
928
  readonly type: "text";
889
929
  };
890
930
  readonly duration: {
891
- readonly type: "text";
931
+ readonly type: "number";
892
932
  };
893
933
  readonly potency: {
894
- readonly type: "text";
934
+ readonly type: "number";
895
935
  };
896
936
  readonly range: {
897
- readonly type: "text";
937
+ readonly type: "number";
938
+ };
939
+ readonly effects: {
940
+ readonly type: "multi_link";
941
+ readonly target: "phenomenon";
898
942
  };
899
943
  readonly challenges: {
900
944
  readonly type: "text";
901
945
  };
946
+ readonly talents: {
947
+ readonly type: "multi_link";
948
+ readonly target: "trait";
949
+ };
950
+ readonly requisites: {
951
+ readonly type: "multi_link";
952
+ readonly target: "construct";
953
+ };
902
954
  readonly prevalence: {
903
955
  readonly type: "text";
904
956
  };
@@ -914,18 +966,6 @@ declare const FIELD_SCHEMA: {
914
966
  readonly type: "single_link";
915
967
  readonly target: "location";
916
968
  };
917
- readonly effects: {
918
- readonly type: "multi_link";
919
- readonly target: "phenomenon";
920
- };
921
- readonly talents: {
922
- readonly type: "multi_link";
923
- readonly target: "trait";
924
- };
925
- readonly requisites: {
926
- readonly type: "multi_link";
927
- readonly target: "construct";
928
- };
929
969
  readonly instruments: {
930
970
  readonly type: "multi_link";
931
971
  readonly target: "object";
@@ -943,10 +983,22 @@ declare const FIELD_SCHEMA: {
943
983
  readonly type: "text";
944
984
  };
945
985
  readonly height: {
946
- readonly type: "text";
986
+ readonly type: "number";
947
987
  };
948
988
  readonly weight: {
949
- readonly type: "text";
989
+ readonly type: "number";
990
+ };
991
+ readonly species: {
992
+ readonly type: "multi_link";
993
+ readonly target: "species";
994
+ };
995
+ readonly traits: {
996
+ readonly type: "multi_link";
997
+ readonly target: "trait";
998
+ };
999
+ readonly abilities: {
1000
+ readonly type: "multi_link";
1001
+ readonly target: "ability";
950
1002
  };
951
1003
  readonly background: {
952
1004
  readonly type: "text";
@@ -955,96 +1007,84 @@ declare const FIELD_SCHEMA: {
955
1007
  readonly type: "text";
956
1008
  };
957
1009
  readonly birth_date: {
958
- readonly type: "text";
1010
+ readonly type: "number";
1011
+ };
1012
+ readonly birthplace: {
1013
+ readonly type: "single_link";
1014
+ readonly target: "location";
1015
+ };
1016
+ readonly languages: {
1017
+ readonly type: "multi_link";
1018
+ readonly target: "language";
959
1019
  };
960
1020
  readonly reputation: {
961
1021
  readonly type: "text";
962
1022
  };
1023
+ readonly location: {
1024
+ readonly type: "single_link";
1025
+ readonly target: "location";
1026
+ };
1027
+ readonly objects: {
1028
+ readonly type: "multi_link";
1029
+ readonly target: "object";
1030
+ };
1031
+ readonly institutions: {
1032
+ readonly type: "multi_link";
1033
+ readonly target: "institution";
1034
+ };
963
1035
  readonly charisma: {
964
- readonly type: "text";
1036
+ readonly type: "number";
965
1037
  };
966
1038
  readonly coercion: {
967
- readonly type: "text";
1039
+ readonly type: "number";
968
1040
  };
969
1041
  readonly competence: {
970
- readonly type: "text";
1042
+ readonly type: "number";
971
1043
  };
972
1044
  readonly compassion: {
973
- readonly type: "text";
1045
+ readonly type: "number";
974
1046
  };
975
1047
  readonly creativity: {
976
- readonly type: "text";
1048
+ readonly type: "number";
977
1049
  };
978
1050
  readonly courage: {
979
- readonly type: "text";
1051
+ readonly type: "number";
1052
+ };
1053
+ readonly family: {
1054
+ readonly type: "multi_link";
1055
+ readonly target: "family";
1056
+ };
1057
+ readonly friends: {
1058
+ readonly type: "multi_link";
1059
+ readonly target: "character";
1060
+ };
1061
+ readonly rivals: {
1062
+ readonly type: "multi_link";
1063
+ readonly target: "character";
980
1064
  };
981
1065
  readonly level: {
982
- readonly type: "text";
1066
+ readonly type: "number";
983
1067
  };
984
1068
  readonly hit_points: {
985
- readonly type: "text";
1069
+ readonly type: "number";
986
1070
  };
987
1071
  readonly STR: {
988
- readonly type: "text";
1072
+ readonly type: "number";
989
1073
  };
990
1074
  readonly DEX: {
991
- readonly type: "text";
1075
+ readonly type: "number";
992
1076
  };
993
1077
  readonly CON: {
994
- readonly type: "text";
1078
+ readonly type: "number";
995
1079
  };
996
1080
  readonly INT: {
997
- readonly type: "text";
1081
+ readonly type: "number";
998
1082
  };
999
1083
  readonly WIS: {
1000
- readonly type: "text";
1084
+ readonly type: "number";
1001
1085
  };
1002
1086
  readonly CHA: {
1003
- readonly type: "text";
1004
- };
1005
- readonly birthplace: {
1006
- readonly type: "single_link";
1007
- readonly target: "location";
1008
- };
1009
- readonly location: {
1010
- readonly type: "single_link";
1011
- readonly target: "location";
1012
- };
1013
- readonly species: {
1014
- readonly type: "multi_link";
1015
- readonly target: "species";
1016
- };
1017
- readonly traits: {
1018
- readonly type: "multi_link";
1019
- readonly target: "trait";
1020
- };
1021
- readonly abilities: {
1022
- readonly type: "multi_link";
1023
- readonly target: "ability";
1024
- };
1025
- readonly languages: {
1026
- readonly type: "multi_link";
1027
- readonly target: "language";
1028
- };
1029
- readonly objects: {
1030
- readonly type: "multi_link";
1031
- readonly target: "object";
1032
- };
1033
- readonly institutions: {
1034
- readonly type: "multi_link";
1035
- readonly target: "institution";
1036
- };
1037
- readonly family: {
1038
- readonly type: "multi_link";
1039
- readonly target: "family";
1040
- };
1041
- readonly friends: {
1042
- readonly type: "multi_link";
1043
- readonly target: "character";
1044
- };
1045
- readonly rivals: {
1046
- readonly type: "multi_link";
1047
- readonly target: "character";
1087
+ readonly type: "number";
1048
1088
  };
1049
1089
  };
1050
1090
  readonly collective: {
@@ -1052,10 +1092,18 @@ declare const FIELD_SCHEMA: {
1052
1092
  readonly type: "text";
1053
1093
  };
1054
1094
  readonly count: {
1055
- readonly type: "text";
1095
+ readonly type: "number";
1056
1096
  };
1057
1097
  readonly formation_date: {
1058
- readonly type: "text";
1098
+ readonly type: "number";
1099
+ };
1100
+ readonly operator: {
1101
+ readonly type: "single_link";
1102
+ readonly target: "institution";
1103
+ };
1104
+ readonly equipment: {
1105
+ readonly type: "multi_link";
1106
+ readonly target: "construct";
1059
1107
  };
1060
1108
  readonly activity: {
1061
1109
  readonly type: "text";
@@ -1066,14 +1114,6 @@ declare const FIELD_SCHEMA: {
1066
1114
  readonly state: {
1067
1115
  readonly type: "text";
1068
1116
  };
1069
- readonly operator: {
1070
- readonly type: "single_link";
1071
- readonly target: "institution";
1072
- };
1073
- readonly equipment: {
1074
- readonly type: "multi_link";
1075
- readonly target: "construct";
1076
- };
1077
1117
  readonly abilities: {
1078
1118
  readonly type: "multi_link";
1079
1119
  readonly target: "ability";
@@ -1113,10 +1153,10 @@ declare const FIELD_SCHEMA: {
1113
1153
  readonly type: "text";
1114
1154
  };
1115
1155
  readonly start_date: {
1116
- readonly type: "text";
1156
+ readonly type: "number";
1117
1157
  };
1118
1158
  readonly end_date: {
1119
- readonly type: "text";
1159
+ readonly type: "number";
1120
1160
  };
1121
1161
  readonly founder: {
1122
1162
  readonly type: "single_link";
@@ -1204,10 +1244,14 @@ declare const FIELD_SCHEMA: {
1204
1244
  readonly type: "text";
1205
1245
  };
1206
1246
  readonly weight: {
1207
- readonly type: "text";
1247
+ readonly type: "number";
1208
1248
  };
1209
1249
  readonly height: {
1210
- readonly type: "text";
1250
+ readonly type: "number";
1251
+ };
1252
+ readonly species: {
1253
+ readonly type: "multi_link";
1254
+ readonly target: "species";
1211
1255
  };
1212
1256
  readonly habits: {
1213
1257
  readonly type: "text";
@@ -1215,23 +1259,23 @@ declare const FIELD_SCHEMA: {
1215
1259
  readonly demeanor: {
1216
1260
  readonly type: "text";
1217
1261
  };
1218
- readonly status: {
1219
- readonly type: "text";
1262
+ readonly traits: {
1263
+ readonly type: "multi_link";
1264
+ readonly target: "trait";
1220
1265
  };
1221
- readonly birth_date: {
1222
- readonly type: "text";
1266
+ readonly abilities: {
1267
+ readonly type: "multi_link";
1268
+ readonly target: "ability";
1223
1269
  };
1224
- readonly challenge_rating: {
1225
- readonly type: "text";
1270
+ readonly languages: {
1271
+ readonly type: "multi_link";
1272
+ readonly target: "language";
1226
1273
  };
1227
- readonly hit_points: {
1274
+ readonly status: {
1228
1275
  readonly type: "text";
1229
1276
  };
1230
- readonly armor_class: {
1231
- readonly type: "text";
1232
- };
1233
- readonly speed: {
1234
- readonly type: "text";
1277
+ readonly birth_date: {
1278
+ readonly type: "number";
1235
1279
  };
1236
1280
  readonly location: {
1237
1281
  readonly type: "single_link";
@@ -1241,21 +1285,17 @@ declare const FIELD_SCHEMA: {
1241
1285
  readonly type: "single_link";
1242
1286
  readonly target: "zone";
1243
1287
  };
1244
- readonly species: {
1245
- readonly type: "multi_link";
1246
- readonly target: "species";
1288
+ readonly challenge_rating: {
1289
+ readonly type: "number";
1247
1290
  };
1248
- readonly traits: {
1249
- readonly type: "multi_link";
1250
- readonly target: "trait";
1291
+ readonly hit_points: {
1292
+ readonly type: "number";
1251
1293
  };
1252
- readonly abilities: {
1253
- readonly type: "multi_link";
1254
- readonly target: "ability";
1294
+ readonly armor_class: {
1295
+ readonly type: "number";
1255
1296
  };
1256
- readonly languages: {
1257
- readonly type: "multi_link";
1258
- readonly target: "language";
1297
+ readonly speed: {
1298
+ readonly type: "number";
1259
1299
  };
1260
1300
  readonly actions: {
1261
1301
  readonly type: "multi_link";
@@ -1273,14 +1313,14 @@ declare const FIELD_SCHEMA: {
1273
1313
  readonly type: "text";
1274
1314
  };
1275
1315
  readonly start_date: {
1276
- readonly type: "text";
1316
+ readonly type: "number";
1277
1317
  };
1278
1318
  readonly end_date: {
1279
- readonly type: "text";
1319
+ readonly type: "number";
1280
1320
  };
1281
1321
  readonly triggers: {
1282
1322
  readonly type: "multi_link";
1283
- readonly target: "event";
1323
+ readonly target: "construct";
1284
1324
  };
1285
1325
  readonly characters: {
1286
1326
  readonly type: "multi_link";
@@ -1354,9 +1394,6 @@ declare const FIELD_SCHEMA: {
1354
1394
  readonly history: {
1355
1395
  readonly type: "text";
1356
1396
  };
1357
- readonly reputation: {
1358
- readonly type: "text";
1359
- };
1360
1397
  readonly traditions: {
1361
1398
  readonly type: "multi_link";
1362
1399
  readonly target: "construct";
@@ -1377,6 +1414,9 @@ declare const FIELD_SCHEMA: {
1377
1414
  readonly type: "multi_link";
1378
1415
  readonly target: "character";
1379
1416
  };
1417
+ readonly reputation: {
1418
+ readonly type: "text";
1419
+ };
1380
1420
  readonly estates: {
1381
1421
  readonly type: "multi_link";
1382
1422
  readonly target: "location";
@@ -1399,10 +1439,7 @@ declare const FIELD_SCHEMA: {
1399
1439
  readonly type: "text";
1400
1440
  };
1401
1441
  readonly founding_date: {
1402
- readonly type: "text";
1403
- };
1404
- readonly status: {
1405
- readonly type: "text";
1442
+ readonly type: "number";
1406
1443
  };
1407
1444
  readonly parent_institution: {
1408
1445
  readonly type: "single_link";
@@ -1420,6 +1457,9 @@ declare const FIELD_SCHEMA: {
1420
1457
  readonly type: "multi_link";
1421
1458
  readonly target: "creature";
1422
1459
  };
1460
+ readonly status: {
1461
+ readonly type: "text";
1462
+ };
1423
1463
  readonly allies: {
1424
1464
  readonly type: "multi_link";
1425
1465
  readonly target: "institution";
@@ -1446,13 +1486,13 @@ declare const FIELD_SCHEMA: {
1446
1486
  readonly writing: {
1447
1487
  readonly type: "text";
1448
1488
  };
1449
- readonly status: {
1450
- readonly type: "text";
1451
- };
1452
1489
  readonly classification: {
1453
1490
  readonly type: "single_link";
1454
1491
  readonly target: "construct";
1455
1492
  };
1493
+ readonly status: {
1494
+ readonly type: "text";
1495
+ };
1456
1496
  readonly spread: {
1457
1497
  readonly type: "multi_link";
1458
1498
  readonly target: "location";
@@ -1470,20 +1510,20 @@ declare const FIELD_SCHEMA: {
1470
1510
  readonly type: "text";
1471
1511
  };
1472
1512
  readonly date: {
1473
- readonly type: "text";
1513
+ readonly type: "number";
1474
1514
  };
1475
1515
  readonly parent_law: {
1476
1516
  readonly type: "single_link";
1477
1517
  readonly target: "law";
1478
1518
  };
1479
- readonly author: {
1480
- readonly type: "single_link";
1481
- readonly target: "institution";
1482
- };
1483
1519
  readonly penalties: {
1484
1520
  readonly type: "multi_link";
1485
1521
  readonly target: "construct";
1486
1522
  };
1523
+ readonly author: {
1524
+ readonly type: "single_link";
1525
+ readonly target: "institution";
1526
+ };
1487
1527
  readonly locations: {
1488
1528
  readonly type: "multi_link";
1489
1529
  readonly target: "location";
@@ -1513,30 +1553,19 @@ declare const FIELD_SCHEMA: {
1513
1553
  readonly type: "text";
1514
1554
  };
1515
1555
  readonly founding_date: {
1516
- readonly type: "text";
1517
- };
1518
- readonly political_climate: {
1519
- readonly type: "text";
1520
- };
1521
- readonly customs: {
1522
- readonly type: "text";
1523
- };
1524
- readonly infrastructure: {
1525
- readonly type: "text";
1526
- };
1527
- readonly architecture: {
1528
- readonly type: "text";
1529
- };
1530
- readonly defensibility: {
1531
- readonly type: "text";
1532
- };
1533
- readonly elevation: {
1534
- readonly type: "text";
1556
+ readonly type: "number";
1535
1557
  };
1536
1558
  readonly parent_location: {
1537
1559
  readonly type: "single_link";
1538
1560
  readonly target: "location";
1539
1561
  };
1562
+ readonly populations: {
1563
+ readonly type: "multi_link";
1564
+ readonly target: "collective";
1565
+ };
1566
+ readonly political_climate: {
1567
+ readonly type: "text";
1568
+ };
1540
1569
  readonly primary_power: {
1541
1570
  readonly type: "single_link";
1542
1571
  readonly target: "institution";
@@ -1545,6 +1574,10 @@ declare const FIELD_SCHEMA: {
1545
1574
  readonly type: "single_link";
1546
1575
  readonly target: "title";
1547
1576
  };
1577
+ readonly secondary_powers: {
1578
+ readonly type: "multi_link";
1579
+ readonly target: "institution";
1580
+ };
1548
1581
  readonly zone: {
1549
1582
  readonly type: "single_link";
1550
1583
  readonly target: "zone";
@@ -1557,13 +1590,8 @@ declare const FIELD_SCHEMA: {
1557
1590
  readonly type: "single_link";
1558
1591
  readonly target: "location";
1559
1592
  };
1560
- readonly populations: {
1561
- readonly type: "multi_link";
1562
- readonly target: "collective";
1563
- };
1564
- readonly secondary_powers: {
1565
- readonly type: "multi_link";
1566
- readonly target: "institution";
1593
+ readonly customs: {
1594
+ readonly type: "text";
1567
1595
  };
1568
1596
  readonly founders: {
1569
1597
  readonly type: "multi_link";
@@ -1593,6 +1621,9 @@ declare const FIELD_SCHEMA: {
1593
1621
  readonly type: "multi_link";
1594
1622
  readonly target: "construct";
1595
1623
  };
1624
+ readonly infrastructure: {
1625
+ readonly type: "text";
1626
+ };
1596
1627
  readonly extraction_markets: {
1597
1628
  readonly type: "multi_link";
1598
1629
  readonly target: "location";
@@ -1605,6 +1636,9 @@ declare const FIELD_SCHEMA: {
1605
1636
  readonly type: "multi_link";
1606
1637
  readonly target: "construct";
1607
1638
  };
1639
+ readonly architecture: {
1640
+ readonly type: "text";
1641
+ };
1608
1642
  readonly buildings: {
1609
1643
  readonly type: "multi_link";
1610
1644
  readonly target: "object";
@@ -1613,6 +1647,12 @@ declare const FIELD_SCHEMA: {
1613
1647
  readonly type: "multi_link";
1614
1648
  readonly target: "construct";
1615
1649
  };
1650
+ readonly defensibility: {
1651
+ readonly type: "text";
1652
+ };
1653
+ readonly elevation: {
1654
+ readonly type: "number";
1655
+ };
1616
1656
  readonly fighters: {
1617
1657
  readonly type: "multi_link";
1618
1658
  readonly target: "construct";
@@ -1627,16 +1667,16 @@ declare const FIELD_SCHEMA: {
1627
1667
  readonly type: "text";
1628
1668
  };
1629
1669
  readonly hierarchy: {
1630
- readonly type: "text";
1670
+ readonly type: "number";
1631
1671
  };
1632
1672
  readonly width: {
1633
- readonly type: "text";
1673
+ readonly type: "number";
1634
1674
  };
1635
1675
  readonly height: {
1636
- readonly type: "text";
1676
+ readonly type: "number";
1637
1677
  };
1638
1678
  readonly depth: {
1639
- readonly type: "text";
1679
+ readonly type: "number";
1640
1680
  };
1641
1681
  readonly parent_map: {
1642
1682
  readonly type: "single_link";
@@ -1648,6 +1688,14 @@ declare const FIELD_SCHEMA: {
1648
1688
  };
1649
1689
  };
1650
1690
  readonly marker: {
1691
+ readonly map: {
1692
+ readonly type: "single_link";
1693
+ readonly target: "map";
1694
+ };
1695
+ readonly zone: {
1696
+ readonly type: "single_link";
1697
+ readonly target: "zone";
1698
+ };
1651
1699
  readonly x: {
1652
1700
  readonly type: "integer";
1653
1701
  };
@@ -1657,14 +1705,6 @@ declare const FIELD_SCHEMA: {
1657
1705
  readonly z: {
1658
1706
  readonly type: "integer";
1659
1707
  };
1660
- readonly map: {
1661
- readonly type: "single_link";
1662
- readonly target: "map";
1663
- };
1664
- readonly zone: {
1665
- readonly type: "single_link";
1666
- readonly target: "zone";
1667
- };
1668
1708
  };
1669
1709
  readonly narrative: {
1670
1710
  readonly story: {
@@ -1674,13 +1714,13 @@ declare const FIELD_SCHEMA: {
1674
1714
  readonly type: "text";
1675
1715
  };
1676
1716
  readonly start_date: {
1677
- readonly type: "text";
1717
+ readonly type: "number";
1678
1718
  };
1679
1719
  readonly end_date: {
1680
- readonly type: "text";
1720
+ readonly type: "number";
1681
1721
  };
1682
1722
  readonly order: {
1683
- readonly type: "text";
1723
+ readonly type: "number";
1684
1724
  };
1685
1725
  readonly parent_narrative: {
1686
1726
  readonly type: "single_link";
@@ -1780,29 +1820,15 @@ declare const FIELD_SCHEMA: {
1780
1820
  readonly type: "text";
1781
1821
  };
1782
1822
  readonly weight: {
1783
- readonly type: "text";
1823
+ readonly type: "number";
1784
1824
  };
1785
1825
  readonly amount: {
1786
- readonly type: "text";
1787
- };
1788
- readonly utility: {
1789
- readonly type: "text";
1790
- };
1791
- readonly origins: {
1792
- readonly type: "text";
1826
+ readonly type: "number";
1793
1827
  };
1794
1828
  readonly parent_object: {
1795
1829
  readonly type: "single_link";
1796
1830
  readonly target: "object";
1797
1831
  };
1798
- readonly location: {
1799
- readonly type: "single_link";
1800
- readonly target: "location";
1801
- };
1802
- readonly language: {
1803
- readonly type: "single_link";
1804
- readonly target: "language";
1805
- };
1806
1832
  readonly materials: {
1807
1833
  readonly type: "multi_link";
1808
1834
  readonly target: "construct";
@@ -1811,6 +1837,9 @@ declare const FIELD_SCHEMA: {
1811
1837
  readonly type: "multi_link";
1812
1838
  readonly target: "construct";
1813
1839
  };
1840
+ readonly utility: {
1841
+ readonly type: "text";
1842
+ };
1814
1843
  readonly effects: {
1815
1844
  readonly type: "multi_link";
1816
1845
  readonly target: "phenomenon";
@@ -1823,6 +1852,17 @@ declare const FIELD_SCHEMA: {
1823
1852
  readonly type: "multi_link";
1824
1853
  readonly target: "construct";
1825
1854
  };
1855
+ readonly origins: {
1856
+ readonly type: "text";
1857
+ };
1858
+ readonly location: {
1859
+ readonly type: "single_link";
1860
+ readonly target: "location";
1861
+ };
1862
+ readonly language: {
1863
+ readonly type: "single_link";
1864
+ readonly target: "language";
1865
+ };
1826
1866
  readonly affinities: {
1827
1867
  readonly type: "multi_link";
1828
1868
  readonly target: "trait";
@@ -1836,14 +1876,7 @@ declare const FIELD_SCHEMA: {
1836
1876
  readonly type: "text";
1837
1877
  };
1838
1878
  readonly duration: {
1839
- readonly type: "text";
1840
- };
1841
- readonly mythology: {
1842
- readonly type: "text";
1843
- };
1844
- readonly system: {
1845
- readonly type: "single_link";
1846
- readonly target: "phenomenon";
1879
+ readonly type: "number";
1847
1880
  };
1848
1881
  readonly catalysts: {
1849
1882
  readonly type: "multi_link";
@@ -1853,6 +1886,13 @@ declare const FIELD_SCHEMA: {
1853
1886
  readonly type: "multi_link";
1854
1887
  readonly target: "ability";
1855
1888
  };
1889
+ readonly mythology: {
1890
+ readonly type: "text";
1891
+ };
1892
+ readonly system: {
1893
+ readonly type: "single_link";
1894
+ readonly target: "phenomenon";
1895
+ };
1856
1896
  readonly triggers: {
1857
1897
  readonly type: "multi_link";
1858
1898
  readonly target: "construct";
@@ -1867,9 +1907,17 @@ declare const FIELD_SCHEMA: {
1867
1907
  };
1868
1908
  };
1869
1909
  readonly pin: {
1910
+ readonly map: {
1911
+ readonly type: "single_link";
1912
+ readonly target: "map";
1913
+ };
1870
1914
  readonly element_type: {
1871
1915
  readonly type: "text";
1872
1916
  };
1917
+ readonly element_id: {
1918
+ readonly type: "single_link";
1919
+ readonly target: "any";
1920
+ };
1873
1921
  readonly x: {
1874
1922
  readonly type: "integer";
1875
1923
  };
@@ -1879,32 +1927,28 @@ declare const FIELD_SCHEMA: {
1879
1927
  readonly z: {
1880
1928
  readonly type: "integer";
1881
1929
  };
1882
- readonly map: {
1883
- readonly type: "single_link";
1884
- readonly target: "map";
1885
- };
1886
- readonly element_id: {
1887
- readonly type: "single_link";
1888
- readonly target: "any";
1889
- };
1890
1930
  };
1891
1931
  readonly relation: {
1892
1932
  readonly background: {
1893
1933
  readonly type: "text";
1894
1934
  };
1895
1935
  readonly start_date: {
1896
- readonly type: "text";
1936
+ readonly type: "number";
1897
1937
  };
1898
1938
  readonly end_date: {
1899
- readonly type: "text";
1939
+ readonly type: "number";
1900
1940
  };
1901
1941
  readonly intensity: {
1902
- readonly type: "text";
1942
+ readonly type: "number";
1903
1943
  };
1904
1944
  readonly actor: {
1905
1945
  readonly type: "single_link";
1906
1946
  readonly target: "character";
1907
1947
  };
1948
+ readonly events: {
1949
+ readonly type: "multi_link";
1950
+ readonly target: "event";
1951
+ };
1908
1952
  readonly characters: {
1909
1953
  readonly type: "multi_link";
1910
1954
  readonly target: "character";
@@ -1957,6 +2001,10 @@ declare const FIELD_SCHEMA: {
1957
2001
  readonly type: "multi_link";
1958
2002
  readonly target: "family";
1959
2003
  };
2004
+ readonly relations: {
2005
+ readonly type: "multi_link";
2006
+ readonly target: "relation";
2007
+ };
1960
2008
  readonly titles: {
1961
2009
  readonly type: "multi_link";
1962
2010
  readonly target: "title";
@@ -1965,10 +2013,6 @@ declare const FIELD_SCHEMA: {
1965
2013
  readonly type: "multi_link";
1966
2014
  readonly target: "construct";
1967
2015
  };
1968
- readonly events: {
1969
- readonly type: "multi_link";
1970
- readonly target: "event";
1971
- };
1972
2016
  readonly narratives: {
1973
2017
  readonly type: "multi_link";
1974
2018
  readonly target: "narrative";
@@ -1979,10 +2023,22 @@ declare const FIELD_SCHEMA: {
1979
2023
  readonly type: "text";
1980
2024
  };
1981
2025
  readonly life_span: {
1982
- readonly type: "text";
2026
+ readonly type: "number";
1983
2027
  };
1984
2028
  readonly weight: {
1985
- readonly type: "text";
2029
+ readonly type: "number";
2030
+ };
2031
+ readonly nourishment: {
2032
+ readonly type: "multi_link";
2033
+ readonly target: "species";
2034
+ };
2035
+ readonly reproduction: {
2036
+ readonly type: "multi_link";
2037
+ readonly target: "construct";
2038
+ };
2039
+ readonly adaptations: {
2040
+ readonly type: "multi_link";
2041
+ readonly target: "ability";
1986
2042
  };
1987
2043
  readonly instincts: {
1988
2044
  readonly type: "text";
@@ -1997,7 +2053,11 @@ declare const FIELD_SCHEMA: {
1997
2053
  readonly type: "text";
1998
2054
  };
1999
2055
  readonly aggression: {
2000
- readonly type: "text";
2056
+ readonly type: "number";
2057
+ };
2058
+ readonly traits: {
2059
+ readonly type: "multi_link";
2060
+ readonly target: "trait";
2001
2061
  };
2002
2062
  readonly role: {
2003
2063
  readonly type: "text";
@@ -2006,22 +2066,6 @@ declare const FIELD_SCHEMA: {
2006
2066
  readonly type: "single_link";
2007
2067
  readonly target: "species";
2008
2068
  };
2009
- readonly nourishment: {
2010
- readonly type: "multi_link";
2011
- readonly target: "species";
2012
- };
2013
- readonly reproduction: {
2014
- readonly type: "multi_link";
2015
- readonly target: "construct";
2016
- };
2017
- readonly adaptations: {
2018
- readonly type: "multi_link";
2019
- readonly target: "ability";
2020
- };
2021
- readonly traits: {
2022
- readonly type: "multi_link";
2023
- readonly target: "trait";
2024
- };
2025
2069
  readonly locations: {
2026
2070
  readonly type: "multi_link";
2027
2071
  readonly target: "location";
@@ -2043,16 +2087,10 @@ declare const FIELD_SCHEMA: {
2043
2087
  readonly type: "text";
2044
2088
  };
2045
2089
  readonly grant_date: {
2046
- readonly type: "text";
2090
+ readonly type: "number";
2047
2091
  };
2048
2092
  readonly revoke_date: {
2049
- readonly type: "text";
2050
- };
2051
- readonly status: {
2052
- readonly type: "text";
2053
- };
2054
- readonly history: {
2055
- readonly type: "text";
2093
+ readonly type: "number";
2056
2094
  };
2057
2095
  readonly issuer: {
2058
2096
  readonly type: "single_link";
@@ -2074,6 +2112,12 @@ declare const FIELD_SCHEMA: {
2074
2112
  readonly type: "multi_link";
2075
2113
  readonly target: "object";
2076
2114
  };
2115
+ readonly status: {
2116
+ readonly type: "text";
2117
+ };
2118
+ readonly history: {
2119
+ readonly type: "text";
2120
+ };
2077
2121
  readonly characters: {
2078
2122
  readonly type: "multi_link";
2079
2123
  readonly target: "character";
@@ -2144,22 +2188,22 @@ declare const FIELD_SCHEMA: {
2144
2188
  readonly type: "text";
2145
2189
  };
2146
2190
  readonly charisma: {
2147
- readonly type: "text";
2191
+ readonly type: "number";
2148
2192
  };
2149
2193
  readonly coercion: {
2150
- readonly type: "text";
2194
+ readonly type: "number";
2151
2195
  };
2152
2196
  readonly competence: {
2153
- readonly type: "text";
2197
+ readonly type: "number";
2154
2198
  };
2155
2199
  readonly compassion: {
2156
- readonly type: "text";
2200
+ readonly type: "number";
2157
2201
  };
2158
2202
  readonly creativity: {
2159
- readonly type: "text";
2203
+ readonly type: "number";
2160
2204
  };
2161
2205
  readonly courage: {
2162
- readonly type: "text";
2206
+ readonly type: "number";
2163
2207
  };
2164
2208
  readonly significance: {
2165
2209
  readonly type: "text";
@@ -2178,13 +2222,10 @@ declare const FIELD_SCHEMA: {
2178
2222
  readonly type: "text";
2179
2223
  };
2180
2224
  readonly start_date: {
2181
- readonly type: "text";
2225
+ readonly type: "number";
2182
2226
  };
2183
2227
  readonly end_date: {
2184
- readonly type: "text";
2185
- };
2186
- readonly context: {
2187
- readonly type: "text";
2228
+ readonly type: "number";
2188
2229
  };
2189
2230
  readonly phenomena: {
2190
2231
  readonly type: "multi_link";
@@ -2194,6 +2235,9 @@ declare const FIELD_SCHEMA: {
2194
2235
  readonly type: "multi_link";
2195
2236
  readonly target: "zone";
2196
2237
  };
2238
+ readonly context: {
2239
+ readonly type: "text";
2240
+ };
2197
2241
  readonly populations: {
2198
2242
  readonly type: "multi_link";
2199
2243
  readonly target: "collective";
@@ -2208,20 +2252,6 @@ declare const FIELD_SCHEMA: {
2208
2252
  };
2209
2253
  };
2210
2254
  };
2211
- /**
2212
- * Legacy FIELD_MAPPINGS export for backward compatibility
2213
- * @deprecated Use FIELD_SCHEMA instead for comprehensive field metadata
2214
- */
2215
- declare const FIELD_MAPPINGS: {
2216
- [k: string]: {
2217
- [k: string]: any;
2218
- };
2219
- };
2220
- /**
2221
- * Type for the field mappings - enables type-safe access to relationship metadata
2222
- * @deprecated Use FIELD_SCHEMA instead
2223
- */
2224
- type FieldMappingsType = typeof FIELD_MAPPINGS;
2225
2255
  /**
2226
2256
  * Creates a typed element ID from a string
2227
2257
  * @param id The string ID to brand
@@ -2320,4 +2350,4 @@ declare class OnlyWorldsClient {
2320
2350
  static prepareInput<T extends Record<string, any>>(data: T): any;
2321
2351
  }
2322
2352
 
2323
- export { type Ability, type AbilityInput, type AnyElementId, type ApiResponse, type BaseElement, type Character, type CharacterInput, type Collective, type CollectiveInput, type Construct, type ConstructInput, type Creature, type CreatureInput, ELEMENT_ICONS, ELEMENT_LABELS, ELEMENT_MATERIAL_ICONS, ELEMENT_UNICODE_ICONS, type ElementId, type ElementIds, ElementType, type Event, type EventInput, FIELD_MAPPINGS, FIELD_SCHEMA, type Family, type FamilyInput, type FieldInfo, type FieldMappingsType, type FieldType, type Institution, type InstitutionInput, type Language, type LanguageInput, type Law, type LawInput, type ListOptions, type Location, type LocationInput, type Map, type MapInput, type Marker, type MarkerInput, type Narrative, type NarrativeInput, ONLYWORLDS_VERSION, type Object$1 as Object, type ObjectInput, OnlyWorldsClient, type OnlyWorldsConfig, type Phenomenon, type PhenomenonInput, type Pin, type PinInput, type Relation, type RelationInput, type Species, type SpeciesInput, type Title, type TitleInput, type Trait, type TraitInput, type World, type WorldInput, type Zone, type ZoneInput, createAnyElementId, createElementId, createElementIds, getElementIcon, getElementLabel, getElementMaterialIcon, getElementUnicodeIcon };
2353
+ export { type Ability, type AbilityInput, type AnyElementId, type ApiResponse, type BaseElement, type Character, type CharacterInput, type Collective, type CollectiveInput, type Construct, type ConstructInput, type Creature, type CreatureInput, ELEMENT_ICONS, ELEMENT_LABELS, ELEMENT_SECTIONS, ELEMENT_UNICODE_ICONS, type ElementId, type ElementIds, ElementType, type Event, type EventInput, FIELD_SCHEMA, type Family, type FamilyInput, type FieldInfo, type FieldType, type Institution, type InstitutionInput, type Language, type LanguageInput, type Law, type LawInput, type ListOptions, type Location, type LocationInput, type Map, type MapInput, type Marker, type MarkerInput, type Narrative, type NarrativeInput, ONLYWORLDS_VERSION, type Object$1 as Object, type ObjectInput, OnlyWorldsClient, type OnlyWorldsConfig, type Phenomenon, type PhenomenonInput, type Pin, type PinInput, type Relation, type RelationInput, type SectionInfo, type Species, type SpeciesInput, type Title, type TitleInput, type Trait, type TraitInput, type World, type WorldInput, type Zone, type ZoneInput, createAnyElementId, createElementId, createElementIds, getElementIcon, getElementLabel, getElementSections, getElementUnicodeIcon };