optolith-database-schema 0.35.0 → 0.36.1

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/CHANGELOG.md CHANGED
@@ -2,6 +2,24 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [commit-and-tag-version](https://github.com/absolute-version/commit-and-tag-version) for commit guidelines.
4
4
 
5
+ ## [0.36.1](https://github.com/elyukai/optolith-database-schema/compare/v0.36.0...v0.36.1) (2026-03-13)
6
+
7
+
8
+ ### Features
9
+
10
+ * cost map style ([127cc6c](https://github.com/elyukai/optolith-database-schema/commit/127cc6cc48ea1c77ab4e31eb424ddc92c2cb248e))
11
+
12
+ ## [0.36.0](https://github.com/elyukai/optolith-database-schema/compare/v0.35.0...v0.36.0) (2026-03-13)
13
+
14
+
15
+ ### ⚠ BREAKING CHANGES
16
+
17
+ * style for time units
18
+
19
+ ### Features
20
+
21
+ * style for time units ([5f5785d](https://github.com/elyukai/optolith-database-schema/commit/5f5785db79da544267d48f5787d5142517c30f1f))
22
+
5
23
  ## [0.35.0](https://github.com/elyukai/optolith-database-schema/compare/v0.34.17...v0.35.0) (2026-03-13)
6
24
 
7
25
 
package/gen/types.d.ts CHANGED
@@ -325,6 +325,7 @@ export type EnumMap = {
325
325
  MagicalSignCost: MagicalSignCost
326
326
  MagicalTraditionPrerequisiteRestriction: MagicalTraditionPrerequisiteRestriction
327
327
  MagicCommonProfessionConstraint: MagicCommonProfessionConstraint
328
+ MapStyle: MapStyle
328
329
  MathOperation: MathOperation<unknown>
329
330
  MaximumIndefiniteCurseDuration: MaximumIndefiniteCurseDuration
330
331
  MaximumIndefiniteDominationRitualDuration: MaximumIndefiniteDominationRitualDuration
@@ -1896,63 +1897,72 @@ export interface Locale {
1896
1897
  " (you cannot use a modification on this ceremony’s cost)": string
1897
1898
  " (you cannot use a modification on this ceremony’s range)": string
1898
1899
  " (cannot modify)": string
1900
+ ".input {$value :number} .input {$style :string} {{{$value} act}}": string & { __params: { "value": number; "style": string } }
1899
1901
  "{$value} act": string & { __params: { "value": StringableTranslationParameter } }
1900
1902
  "act": string
1901
- ".input {$value :number} {{{$value} actions}}": string & { __params: { "value": number } }
1903
+ ".input {$value :number} .input {$style :string} {{{$value} actions}}": string & { __params: { "value": number; "style": string } }
1902
1904
  "{$value} actions": string & { __params: { "value": StringableTranslationParameter } }
1903
1905
  "actions": string
1906
+ ".input {$value :number} .input {$style :string} {{{$value} s}}": string & { __params: { "value": number; "style": string } }
1904
1907
  "{$value} s": string & { __params: { "value": StringableTranslationParameter } }
1905
1908
  "s": string
1906
- ".input {$value :number} {{{$value} seconds}}": string & { __params: { "value": number } }
1909
+ ".input {$value :number} .input {$style :string} {{{$value} seconds}}": string & { __params: { "value": number; "style": string } }
1907
1910
  "{$value} seconds": string & { __params: { "value": StringableTranslationParameter } }
1908
1911
  "seconds": string
1912
+ ".input {$value :number} .input {$style :string} {{{$value} min}}": string & { __params: { "value": number; "style": string } }
1909
1913
  "{$value} min": string & { __params: { "value": StringableTranslationParameter } }
1910
1914
  "min": string
1911
- ".input {$value :number} {{{$value} minutes}}": string & { __params: { "value": number } }
1915
+ ".input {$value :number} .input {$style :string} {{{$value} minutes}}": string & { __params: { "value": number; "style": string } }
1912
1916
  "{$value} minutes": string & { __params: { "value": StringableTranslationParameter } }
1913
1917
  "minutes": string
1918
+ ".input {$value :number} .input {$style :string} {{{$value} h}}": string & { __params: { "value": number; "style": string } }
1914
1919
  "{$value} h": string & { __params: { "value": StringableTranslationParameter } }
1915
1920
  "h": string
1916
- ".input {$value :number} {{{$value} hours}}": string & { __params: { "value": number } }
1921
+ ".input {$value :number} .input {$style :string} {{{$value} hours}}": string & { __params: { "value": number; "style": string } }
1917
1922
  "{$value} hours": string & { __params: { "value": StringableTranslationParameter } }
1918
1923
  "hours": string
1924
+ ".input {$value :number} .input {$style :string} {{{$value} d}}": string & { __params: { "value": number; "style": string } }
1919
1925
  "{$value} d": string & { __params: { "value": StringableTranslationParameter } }
1920
1926
  "d": string
1921
- ".input {$value :number} {{{$value} days}}": string & { __params: { "value": number } }
1927
+ ".input {$value :number} .input {$style :string} {{{$value} days}}": string & { __params: { "value": number; "style": string } }
1922
1928
  "{$value} days": string & { __params: { "value": StringableTranslationParameter } }
1923
1929
  "days": string
1924
- ".input {$value :number} {{{$value} wks.}}": string & { __params: { "value": number } }
1930
+ ".input {$value :number} .input {$style :string} {{{$value} wks.}}": string & { __params: { "value": number; "style": string } }
1925
1931
  "{$value} wks.": string & { __params: { "value": StringableTranslationParameter } }
1926
1932
  "wks.": string
1927
- ".input {$value :number} {{{$value} weeks}}": string & { __params: { "value": number } }
1933
+ ".input {$value :number} .input {$style :string} {{{$value} weeks}}": string & { __params: { "value": number; "style": string } }
1928
1934
  "{$value} weeks": string & { __params: { "value": StringableTranslationParameter } }
1929
1935
  "weeks": string
1930
- ".input {$value :number} {{{$value} mos.}}": string & { __params: { "value": number } }
1936
+ ".input {$value :number} .input {$style :string} {{{$value} mos.}}": string & { __params: { "value": number; "style": string } }
1931
1937
  "{$value} mos.": string & { __params: { "value": StringableTranslationParameter } }
1932
1938
  "mos.": string
1933
- ".input {$value :number} {{{$value} months}}": string & { __params: { "value": number } }
1939
+ ".input {$value :number} .input {$style :string} {{{$value} months}}": string & { __params: { "value": number; "style": string } }
1934
1940
  "{$value} months": string & { __params: { "value": StringableTranslationParameter } }
1935
1941
  "months": string
1936
- ".input {$value :number} {{{$value} yrs.}}": string & { __params: { "value": number } }
1942
+ ".input {$value :number} .input {$style :string} {{{$value} yrs.}}": string & { __params: { "value": number; "style": string } }
1937
1943
  "{$value} yrs.": string & { __params: { "value": StringableTranslationParameter } }
1938
1944
  "yrs.": string
1939
- ".input {$value :number} {{{$value} years}}": string & { __params: { "value": number } }
1945
+ ".input {$value :number} .input {$style :string} {{{$value} years}}": string & { __params: { "value": number; "style": string } }
1940
1946
  "{$value} years": string & { __params: { "value": StringableTranslationParameter } }
1941
1947
  "years": string
1948
+ ".input {$value :number} .input {$style :string} {{{$value} cent.}}": string & { __params: { "value": number; "style": string } }
1942
1949
  "{$value} cent.": string & { __params: { "value": StringableTranslationParameter } }
1943
1950
  "cent.": string
1944
- ".input {$value :number} {{{$value} centuries}}": string & { __params: { "value": number } }
1951
+ ".input {$value :number} .input {$style :string} {{{$value} centuries}}": string & { __params: { "value": number; "style": string } }
1945
1952
  "{$value} centuries": string & { __params: { "value": StringableTranslationParameter } }
1946
1953
  "centuries": string
1954
+ ".input {$value :number} .input {$style :string} {{{$value} SA}}": string & { __params: { "value": number; "style": string } }
1947
1955
  "{$value} SA": string & { __params: { "value": StringableTranslationParameter } }
1948
- ".input {$value :number} {{{$value} seduction actions}}": string & { __params: { "value": number } }
1956
+ ".input {$value :number} .input {$style :string} {{{$value} seduction actions}}": string & { __params: { "value": number; "style": string } }
1949
1957
  "{$value} seduction actions": string & { __params: { "value": StringableTranslationParameter } }
1958
+ ".input {$value :number} .input {$style :string} {{{$value} rnds}}": string & { __params: { "value": number; "style": string } }
1950
1959
  "{$value} rnds": string & { __params: { "value": StringableTranslationParameter } }
1951
- ".input {$value :number} {{{$value} rounds}}": string & { __params: { "value": number } }
1960
+ ".input {$value :number} .input {$style :string} {{{$value} rounds}}": string & { __params: { "value": number; "style": string } }
1952
1961
  "{$value} rounds": string & { __params: { "value": StringableTranslationParameter } }
1962
+ ".input {$value :number} .input {$style :string} {{{$value} CR}}": string & { __params: { "value": number; "style": string } }
1953
1963
  "{$value} CR": string & { __params: { "value": StringableTranslationParameter } }
1954
1964
  "CR": string
1955
- ".input {$value :number} {{{$value} combat rounds}}": string & { __params: { "value": number } }
1965
+ ".input {$value :number} .input {$style :string} {{{$value} combat rounds}}": string & { __params: { "value": number; "style": string } }
1956
1966
  "{$value} combat rounds": string & { __params: { "value": StringableTranslationParameter } }
1957
1967
  "combat rounds": string
1958
1968
  "{$value} AE": string & { __params: { "value": StringableTranslationParameter } }
@@ -5830,6 +5840,11 @@ export interface OneTimeCostMap {
5830
5840
  */
5831
5841
  options: OneTimeCostMapOption[]
5832
5842
 
5843
+ /**
5844
+ * The style of the generated string. It may either be displayed in a compressed way (e.g. `1/2/3 AE for a small/medium/large object`) or in a verbose way (e.g. `1 AE for a small object, 2 AE for a medium object, 3 AE for a large object`). The default is `compressed`.
5845
+ */
5846
+ style?: MapStyle
5847
+
5833
5848
  /**
5834
5849
  * All translations for the entry, identified by IETF language tag (BCP47).
5835
5850
  */
@@ -5886,6 +5901,17 @@ export interface OneTimeCostMapOptionTranslation {
5886
5901
  label_standalone?: ResponsiveTextOptional
5887
5902
  }
5888
5903
 
5904
+ /**
5905
+ * The style of the generated string. It may either be displayed in a compressed way (e.g. `1/2/3 AE for a small/medium/large object`) or in a verbose way (e.g. `1 AE for a small object, 2 AE for a medium object, 3 AE for a large object`).
5906
+ */
5907
+ export type MapStyle =
5908
+ | {
5909
+ kind: "Compressed"
5910
+ }
5911
+ | {
5912
+ kind: "Verbose"
5913
+ }
5914
+
5889
5915
  export interface Range {
5890
5916
  /**
5891
5917
  * The range value.
@@ -149,6 +149,10 @@ export declare const Ceremony: DB.Entity<"Ceremony", {
149
149
  }>, []>>, false>;
150
150
  }>, false>;
151
151
  }>, []>>>, true>;
152
+ style: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"MapStyle", {
153
+ Compressed: DB.EnumCase<null>;
154
+ Verbose: DB.EnumCase<null>;
155
+ }, []>>, false>;
152
156
  translations: DB.MemberDecl<DB.NestedEntityMap<"OneTimeCostMapTranslation", {
153
157
  list_prepend: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextOptional", DB.Object<{
154
158
  full: DB.MemberDecl<DB.String, true>;
@@ -149,6 +149,10 @@ export declare const LiturgicalChant: DB.Entity<"LiturgicalChant", {
149
149
  }>, []>>, false>;
150
150
  }>, false>;
151
151
  }>, []>>>, true>;
152
+ style: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"MapStyle", {
153
+ Compressed: DB.EnumCase<null>;
154
+ Verbose: DB.EnumCase<null>;
155
+ }, []>>, false>;
152
156
  translations: DB.MemberDecl<DB.NestedEntityMap<"OneTimeCostMapTranslation", {
153
157
  list_prepend: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextOptional", DB.Object<{
154
158
  full: DB.MemberDecl<DB.String, true>;
@@ -925,63 +925,72 @@ export declare const Locale: DB.Entity<"Locale", {
925
925
  " (you cannot use a modification on this ceremony\u2019s cost)": null;
926
926
  " (you cannot use a modification on this ceremony\u2019s range)": null;
927
927
  " (cannot modify)": null;
928
+ ".input {$value :number} .input {$style :string} {{{$value} act}}": null;
928
929
  "{$value} act": null;
929
930
  act: null;
930
- ".input {$value :number} {{{$value} actions}}": null;
931
+ ".input {$value :number} .input {$style :string} {{{$value} actions}}": null;
931
932
  "{$value} actions": null;
932
933
  actions: null;
934
+ ".input {$value :number} .input {$style :string} {{{$value} s}}": null;
933
935
  "{$value} s": null;
934
936
  s: null;
935
- ".input {$value :number} {{{$value} seconds}}": null;
937
+ ".input {$value :number} .input {$style :string} {{{$value} seconds}}": null;
936
938
  "{$value} seconds": null;
937
939
  seconds: null;
940
+ ".input {$value :number} .input {$style :string} {{{$value} min}}": null;
938
941
  "{$value} min": null;
939
942
  min: null;
940
- ".input {$value :number} {{{$value} minutes}}": null;
943
+ ".input {$value :number} .input {$style :string} {{{$value} minutes}}": null;
941
944
  "{$value} minutes": null;
942
945
  minutes: null;
946
+ ".input {$value :number} .input {$style :string} {{{$value} h}}": null;
943
947
  "{$value} h": null;
944
948
  h: null;
945
- ".input {$value :number} {{{$value} hours}}": null;
949
+ ".input {$value :number} .input {$style :string} {{{$value} hours}}": null;
946
950
  "{$value} hours": null;
947
951
  hours: null;
952
+ ".input {$value :number} .input {$style :string} {{{$value} d}}": null;
948
953
  "{$value} d": null;
949
954
  d: null;
950
- ".input {$value :number} {{{$value} days}}": null;
955
+ ".input {$value :number} .input {$style :string} {{{$value} days}}": null;
951
956
  "{$value} days": null;
952
957
  days: null;
953
- ".input {$value :number} {{{$value} wks.}}": null;
958
+ ".input {$value :number} .input {$style :string} {{{$value} wks.}}": null;
954
959
  "{$value} wks.": null;
955
960
  "wks.": null;
956
- ".input {$value :number} {{{$value} weeks}}": null;
961
+ ".input {$value :number} .input {$style :string} {{{$value} weeks}}": null;
957
962
  "{$value} weeks": null;
958
963
  weeks: null;
959
- ".input {$value :number} {{{$value} mos.}}": null;
964
+ ".input {$value :number} .input {$style :string} {{{$value} mos.}}": null;
960
965
  "{$value} mos.": null;
961
966
  "mos.": null;
962
- ".input {$value :number} {{{$value} months}}": null;
967
+ ".input {$value :number} .input {$style :string} {{{$value} months}}": null;
963
968
  "{$value} months": null;
964
969
  months: null;
965
- ".input {$value :number} {{{$value} yrs.}}": null;
970
+ ".input {$value :number} .input {$style :string} {{{$value} yrs.}}": null;
966
971
  "{$value} yrs.": null;
967
972
  "yrs.": null;
968
- ".input {$value :number} {{{$value} years}}": null;
973
+ ".input {$value :number} .input {$style :string} {{{$value} years}}": null;
969
974
  "{$value} years": null;
970
975
  years: null;
976
+ ".input {$value :number} .input {$style :string} {{{$value} cent.}}": null;
971
977
  "{$value} cent.": null;
972
978
  "cent.": null;
973
- ".input {$value :number} {{{$value} centuries}}": null;
979
+ ".input {$value :number} .input {$style :string} {{{$value} centuries}}": null;
974
980
  "{$value} centuries": null;
975
981
  centuries: null;
982
+ ".input {$value :number} .input {$style :string} {{{$value} SA}}": null;
976
983
  "{$value} SA": null;
977
- ".input {$value :number} {{{$value} seduction actions}}": null;
984
+ ".input {$value :number} .input {$style :string} {{{$value} seduction actions}}": null;
978
985
  "{$value} seduction actions": null;
986
+ ".input {$value :number} .input {$style :string} {{{$value} rnds}}": null;
979
987
  "{$value} rnds": null;
980
- ".input {$value :number} {{{$value} rounds}}": null;
988
+ ".input {$value :number} .input {$style :string} {{{$value} rounds}}": null;
981
989
  "{$value} rounds": null;
990
+ ".input {$value :number} .input {$style :string} {{{$value} CR}}": null;
982
991
  "{$value} CR": null;
983
992
  CR: null;
984
- ".input {$value :number} {{{$value} combat rounds}}": null;
993
+ ".input {$value :number} .input {$style :string} {{{$value} combat rounds}}": null;
985
994
  "{$value} combat rounds": null;
986
995
  "combat rounds": null;
987
996
  "{$value} AE": null;
@@ -949,63 +949,72 @@ export const Locale = DB.Entity(import.meta.url, {
949
949
  " (you cannot use a modification on this ceremony’s cost)": null,
950
950
  " (you cannot use a modification on this ceremony’s range)": null,
951
951
  " (cannot modify)": null,
952
+ ".input {$value :number} .input {$style :string} {{{$value} act}}": null,
952
953
  "{$value} act": null,
953
954
  "act": null,
954
- ".input {$value :number} {{{$value} actions}}": null,
955
+ ".input {$value :number} .input {$style :string} {{{$value} actions}}": null,
955
956
  "{$value} actions": null,
956
957
  "actions": null,
958
+ ".input {$value :number} .input {$style :string} {{{$value} s}}": null,
957
959
  "{$value} s": null,
958
960
  "s": null,
959
- ".input {$value :number} {{{$value} seconds}}": null,
961
+ ".input {$value :number} .input {$style :string} {{{$value} seconds}}": null,
960
962
  "{$value} seconds": null,
961
963
  "seconds": null,
964
+ ".input {$value :number} .input {$style :string} {{{$value} min}}": null,
962
965
  "{$value} min": null,
963
966
  "min": null,
964
- ".input {$value :number} {{{$value} minutes}}": null,
967
+ ".input {$value :number} .input {$style :string} {{{$value} minutes}}": null,
965
968
  "{$value} minutes": null,
966
969
  "minutes": null,
970
+ ".input {$value :number} .input {$style :string} {{{$value} h}}": null,
967
971
  "{$value} h": null,
968
972
  "h": null,
969
- ".input {$value :number} {{{$value} hours}}": null,
973
+ ".input {$value :number} .input {$style :string} {{{$value} hours}}": null,
970
974
  "{$value} hours": null,
971
975
  "hours": null,
976
+ ".input {$value :number} .input {$style :string} {{{$value} d}}": null,
972
977
  "{$value} d": null,
973
978
  "d": null,
974
- ".input {$value :number} {{{$value} days}}": null,
979
+ ".input {$value :number} .input {$style :string} {{{$value} days}}": null,
975
980
  "{$value} days": null,
976
981
  "days": null,
977
- ".input {$value :number} {{{$value} wks.}}": null,
982
+ ".input {$value :number} .input {$style :string} {{{$value} wks.}}": null,
978
983
  "{$value} wks.": null,
979
984
  "wks.": null,
980
- ".input {$value :number} {{{$value} weeks}}": null,
985
+ ".input {$value :number} .input {$style :string} {{{$value} weeks}}": null,
981
986
  "{$value} weeks": null,
982
987
  "weeks": null,
983
- ".input {$value :number} {{{$value} mos.}}": null,
988
+ ".input {$value :number} .input {$style :string} {{{$value} mos.}}": null,
984
989
  "{$value} mos.": null,
985
990
  "mos.": null,
986
- ".input {$value :number} {{{$value} months}}": null,
991
+ ".input {$value :number} .input {$style :string} {{{$value} months}}": null,
987
992
  "{$value} months": null,
988
993
  "months": null,
989
- ".input {$value :number} {{{$value} yrs.}}": null,
994
+ ".input {$value :number} .input {$style :string} {{{$value} yrs.}}": null,
990
995
  "{$value} yrs.": null,
991
996
  "yrs.": null,
992
- ".input {$value :number} {{{$value} years}}": null,
997
+ ".input {$value :number} .input {$style :string} {{{$value} years}}": null,
993
998
  "{$value} years": null,
994
999
  "years": null,
1000
+ ".input {$value :number} .input {$style :string} {{{$value} cent.}}": null,
995
1001
  "{$value} cent.": null,
996
1002
  "cent.": null,
997
- ".input {$value :number} {{{$value} centuries}}": null,
1003
+ ".input {$value :number} .input {$style :string} {{{$value} centuries}}": null,
998
1004
  "{$value} centuries": null,
999
1005
  "centuries": null,
1006
+ ".input {$value :number} .input {$style :string} {{{$value} SA}}": null,
1000
1007
  "{$value} SA": null,
1001
- ".input {$value :number} {{{$value} seduction actions}}": null,
1008
+ ".input {$value :number} .input {$style :string} {{{$value} seduction actions}}": null,
1002
1009
  "{$value} seduction actions": null,
1010
+ ".input {$value :number} .input {$style :string} {{{$value} rnds}}": null,
1003
1011
  "{$value} rnds": null,
1004
- ".input {$value :number} {{{$value} rounds}}": null,
1012
+ ".input {$value :number} .input {$style :string} {{{$value} rounds}}": null,
1005
1013
  "{$value} rounds": null,
1014
+ ".input {$value :number} .input {$style :string} {{{$value} CR}}": null,
1006
1015
  "{$value} CR": null,
1007
1016
  "CR": null,
1008
- ".input {$value :number} {{{$value} combat rounds}}": null,
1017
+ ".input {$value :number} .input {$style :string} {{{$value} combat rounds}}": null,
1009
1018
  "{$value} combat rounds": null,
1010
1019
  "combat rounds": null,
1011
1020
  "{$value} AE": null,
@@ -149,6 +149,10 @@ export declare const Ritual: DB.Entity<"Ritual", {
149
149
  }>, []>>, false>;
150
150
  }>, false>;
151
151
  }>, []>>>, true>;
152
+ style: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"MapStyle", {
153
+ Compressed: DB.EnumCase<null>;
154
+ Verbose: DB.EnumCase<null>;
155
+ }, []>>, false>;
152
156
  translations: DB.MemberDecl<DB.NestedEntityMap<"OneTimeCostMapTranslation", {
153
157
  list_prepend: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextOptional", DB.Object<{
154
158
  full: DB.MemberDecl<DB.String, true>;
@@ -149,6 +149,10 @@ export declare const Spell: DB.Entity<"Spell", {
149
149
  }>, []>>, false>;
150
150
  }>, false>;
151
151
  }>, []>>>, true>;
152
+ style: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"MapStyle", {
153
+ Compressed: DB.EnumCase<null>;
154
+ Verbose: DB.EnumCase<null>;
155
+ }, []>>, false>;
152
156
  translations: DB.MemberDecl<DB.NestedEntityMap<"OneTimeCostMapTranslation", {
153
157
  list_prepend: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextOptional", DB.Object<{
154
158
  full: DB.MemberDecl<DB.String, true>;
@@ -140,6 +140,10 @@ export declare const OneTimePerformanceParameters: DB.TypeAlias<"OneTimePerforma
140
140
  }>, []>>, false>;
141
141
  }>, false>;
142
142
  }>, []>>>, true>;
143
+ style: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"MapStyle", {
144
+ Compressed: DB.EnumCase<null>;
145
+ Verbose: DB.EnumCase<null>;
146
+ }, []>>, false>;
143
147
  translations: DB.MemberDecl<DB.NestedEntityMap<"OneTimeCostMapTranslation", {
144
148
  list_prepend: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextOptional", DB.Object<{
145
149
  full: DB.MemberDecl<DB.String, true>;
@@ -442,6 +446,10 @@ export declare const FastPerformanceParameters: DB.Enum<"FastPerformanceParamete
442
446
  }>, []>>, false>;
443
447
  }>, false>;
444
448
  }>, []>>>, true>;
449
+ style: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"MapStyle", {
450
+ Compressed: DB.EnumCase<null>;
451
+ Verbose: DB.EnumCase<null>;
452
+ }, []>>, false>;
445
453
  translations: DB.MemberDecl<DB.NestedEntityMap<"OneTimeCostMapTranslation", {
446
454
  list_prepend: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextOptional", DB.Object<{
447
455
  full: DB.MemberDecl<DB.String, true>;
@@ -893,6 +901,10 @@ export declare const SlowPerformanceParameters: DB.Enum<"SlowPerformanceParamete
893
901
  }>, []>>, false>;
894
902
  }>, false>;
895
903
  }>, []>>>, true>;
904
+ style: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"MapStyle", {
905
+ Compressed: DB.EnumCase<null>;
906
+ Verbose: DB.EnumCase<null>;
907
+ }, []>>, false>;
896
908
  translations: DB.MemberDecl<DB.NestedEntityMap<"OneTimeCostMapTranslation", {
897
909
  list_prepend: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextOptional", DB.Object<{
898
910
  full: DB.MemberDecl<DB.String, true>;
@@ -135,6 +135,10 @@ export declare const OneTimeCost: DB.Enum<"OneTimeCost", {
135
135
  }>, []>>, false>;
136
136
  }>, false>;
137
137
  }>, []>>>, true>;
138
+ style: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"MapStyle", {
139
+ Compressed: DB.EnumCase<null>;
140
+ Verbose: DB.EnumCase<null>;
141
+ }, []>>, false>;
138
142
  translations: DB.MemberDecl<DB.NestedEntityMap<"OneTimeCostMapTranslation", {
139
143
  list_prepend: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextOptional", DB.Object<{
140
144
  full: DB.MemberDecl<DB.String, true>;
@@ -183,6 +187,10 @@ export declare const OneTimeCostMap: DB.TypeAlias<"OneTimeCostMap", DB.Object<{
183
187
  }>, []>>, false>;
184
188
  }>, false>;
185
189
  }>, []>>>, true>;
190
+ style: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"MapStyle", {
191
+ Compressed: DB.EnumCase<null>;
192
+ Verbose: DB.EnumCase<null>;
193
+ }, []>>, false>;
186
194
  translations: DB.MemberDecl<DB.NestedEntityMap<"OneTimeCostMapTranslation", {
187
195
  list_prepend: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextOptional", DB.Object<{
188
196
  full: DB.MemberDecl<DB.String, true>;
@@ -198,6 +206,10 @@ export declare const OneTimeCostMap: DB.TypeAlias<"OneTimeCostMap", DB.Object<{
198
206
  }>, []>>, false>;
199
207
  }>, false>;
200
208
  }>, []>;
209
+ export declare const MapStyle: DB.Enum<"MapStyle", {
210
+ Compressed: DB.EnumCase<null>;
211
+ Verbose: DB.EnumCase<null>;
212
+ }, []>;
201
213
  export declare const SustainedCost: DB.Enum<"SustainedCost", {
202
214
  Modifiable: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"ModifiableSustainedCost", DB.Object<{
203
215
  initial_modification_level: DB.MemberDecl<DB.ReferenceIdentifier, true>;
@@ -123,6 +123,10 @@ This will generate the exact same string as seen above – given it is set for a
123
123
  minItems: 2,
124
124
  }),
125
125
  }),
126
+ style: DB.Optional({
127
+ comment: "The style of the generated string. It may either be displayed in a compressed way (e.g. `1/2/3 AE for a small/medium/large object`) or in a verbose way (e.g. `1 AE for a small object, 2 AE for a medium object, 3 AE for a large object`). The default is `compressed`.",
128
+ type: DB.IncludeIdentifier(MapStyle),
129
+ }),
126
130
  translations: NestedTranslationMap(DB.Optional, "OneTimeCostMap", DB.Object({
127
131
  list_prepend: DB.Optional({
128
132
  comment: "Place a string between the `for` and the grouped map option labels.",
@@ -162,6 +166,14 @@ const OneTimeCostMapOption = DB.TypeAlias(import.meta.url, {
162
166
  })),
163
167
  }),
164
168
  });
169
+ export const MapStyle = DB.Enum(import.meta.url, {
170
+ name: "MapStyle",
171
+ comment: "The style of the generated string. It may either be displayed in a compressed way (e.g. `1/2/3 AE for a small/medium/large object`) or in a verbose way (e.g. `1 AE for a small object, 2 AE for a medium object, 3 AE for a large object`).",
172
+ values: () => ({
173
+ Compressed: DB.EnumCase({ type: null }),
174
+ Verbose: DB.EnumCase({ type: null }),
175
+ }),
176
+ });
165
177
  export const SustainedCost = DB.Enum(import.meta.url, {
166
178
  name: "SustainedCost",
167
179
  values: () => ({
@@ -28,6 +28,10 @@ export declare const GeodeRitual: DB.Entity<"GeodeRitual", {
28
28
  }>, []>>, false>;
29
29
  }>, false>;
30
30
  }>, []>>>, true>;
31
+ style: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"MapStyle", {
32
+ Compressed: DB.EnumCase<null>;
33
+ Verbose: DB.EnumCase<null>;
34
+ }, []>>, false>;
31
35
  translations: DB.MemberDecl<DB.NestedEntityMap<"OneTimeCostMapTranslation", {
32
36
  list_prepend: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextOptional", DB.Object<{
33
37
  full: DB.MemberDecl<DB.String, true>;
@@ -148,6 +148,10 @@ export declare const ZibiljaRitual: DB.Entity<"ZibiljaRitual", {
148
148
  }>, []>>, false>;
149
149
  }>, false>;
150
150
  }>, []>>>, true>;
151
+ style: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"MapStyle", {
152
+ Compressed: DB.EnumCase<null>;
153
+ Verbose: DB.EnumCase<null>;
154
+ }, []>>, false>;
151
155
  translations: DB.MemberDecl<DB.NestedEntityMap<"OneTimeCostMapTranslation", {
152
156
  list_prepend: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextOptional", DB.Object<{
153
157
  full: DB.MemberDecl<DB.String, true>;
@@ -47,6 +47,10 @@ export declare const MagicalSign: DB.Entity<"MagicalSign", {
47
47
  }>, []>>, false>;
48
48
  }>, false>;
49
49
  }>, []>>>, true>;
50
+ style: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"MapStyle", {
51
+ Compressed: DB.EnumCase<null>;
52
+ Verbose: DB.EnumCase<null>;
53
+ }, []>>, false>;
50
54
  translations: DB.MemberDecl<DB.NestedEntityMap<"OneTimeCostMapTranslation", {
51
55
  list_prepend: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextOptional", DB.Object<{
52
56
  full: DB.MemberDecl<DB.String, true>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "optolith-database-schema",
3
- "version": "0.35.0",
3
+ "version": "0.36.1",
4
4
  "description": "Definitions and utilities for the flat-file database of Optolith, a character creation tool for the Pen and Paper RPG “The Dark Eye 5”, and its external integrations into other software.",
5
5
  "keywords": [
6
6
  "tde",