@refrakt-md/storytelling 0.7.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/config.d.ts +3 -0
- package/dist/config.d.ts.map +1 -0
- package/dist/config.js +118 -0
- package/dist/config.js.map +1 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +159 -0
- package/dist/index.js.map +1 -0
- package/dist/schema/bond.d.ts +23 -0
- package/dist/schema/bond.d.ts.map +1 -0
- package/dist/schema/bond.js +10 -0
- package/dist/schema/bond.js.map +1 -0
- package/dist/schema/character.d.ts +27 -0
- package/dist/schema/character.d.ts.map +1 -0
- package/dist/schema/character.js +11 -0
- package/dist/schema/character.js.map +1 -0
- package/dist/schema/faction.d.ts +26 -0
- package/dist/schema/faction.d.ts.map +1 -0
- package/dist/schema/faction.js +11 -0
- package/dist/schema/faction.js.map +1 -0
- package/dist/schema/lore.d.ts +20 -0
- package/dist/schema/lore.d.ts.map +1 -0
- package/dist/schema/lore.js +9 -0
- package/dist/schema/lore.js.map +1 -0
- package/dist/schema/plot.d.ts +42 -0
- package/dist/schema/plot.d.ts.map +1 -0
- package/dist/schema/plot.js +19 -0
- package/dist/schema/plot.js.map +1 -0
- package/dist/schema/realm.d.ts +27 -0
- package/dist/schema/realm.d.ts.map +1 -0
- package/dist/schema/realm.js +11 -0
- package/dist/schema/realm.js.map +1 -0
- package/dist/schema/story-section.d.ts +14 -0
- package/dist/schema/story-section.d.ts.map +1 -0
- package/dist/schema/story-section.js +6 -0
- package/dist/schema/story-section.js.map +1 -0
- package/dist/schema/storyboard.d.ts +30 -0
- package/dist/schema/storyboard.d.ts.map +1 -0
- package/dist/schema/storyboard.js +10 -0
- package/dist/schema/storyboard.js.map +1 -0
- package/dist/tags/bond.d.ts +3 -0
- package/dist/tags/bond.d.ts.map +1 -0
- package/dist/tags/bond.js +71 -0
- package/dist/tags/bond.js.map +1 -0
- package/dist/tags/character.d.ts +4 -0
- package/dist/tags/character.d.ts.map +1 -0
- package/dist/tags/character.js +162 -0
- package/dist/tags/character.js.map +1 -0
- package/dist/tags/faction.d.ts +4 -0
- package/dist/tags/faction.d.ts.map +1 -0
- package/dist/tags/faction.js +148 -0
- package/dist/tags/faction.js.map +1 -0
- package/dist/tags/lore.d.ts +3 -0
- package/dist/tags/lore.d.ts.map +1 -0
- package/dist/tags/lore.js +61 -0
- package/dist/tags/lore.js.map +1 -0
- package/dist/tags/plot.d.ts +4 -0
- package/dist/tags/plot.d.ts.map +1 -0
- package/dist/tags/plot.js +189 -0
- package/dist/tags/plot.js.map +1 -0
- package/dist/tags/realm.d.ts +4 -0
- package/dist/tags/realm.d.ts.map +1 -0
- package/dist/tags/realm.js +160 -0
- package/dist/tags/realm.js.map +1 -0
- package/dist/tags/storyboard.d.ts +4 -0
- package/dist/tags/storyboard.d.ts.map +1 -0
- package/dist/tags/storyboard.js +100 -0
- package/dist/tags/storyboard.js.map +1 -0
- package/dist/types.d.ts +23 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +24 -0
- package/dist/types.js.map +1 -0
- package/package.json +30 -0
package/dist/config.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAExD,eAAO,MAAM,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,UAAU,CA0H7C,CAAC"}
|
package/dist/config.js
ADDED
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
export const config = {
|
|
2
|
+
Character: {
|
|
3
|
+
block: 'character',
|
|
4
|
+
contentWrapper: { tag: 'div', ref: 'content' },
|
|
5
|
+
modifiers: {
|
|
6
|
+
role: { source: 'meta', default: 'supporting' },
|
|
7
|
+
status: { source: 'meta', default: 'alive' },
|
|
8
|
+
aliases: { source: 'meta' },
|
|
9
|
+
tags: { source: 'meta' },
|
|
10
|
+
},
|
|
11
|
+
structure: {
|
|
12
|
+
badge: {
|
|
13
|
+
tag: 'div', before: true,
|
|
14
|
+
children: [
|
|
15
|
+
{ tag: 'span', ref: 'role-badge', metaText: 'role' },
|
|
16
|
+
{ tag: 'span', ref: 'status-badge', metaText: 'status', condition: 'status' },
|
|
17
|
+
],
|
|
18
|
+
},
|
|
19
|
+
},
|
|
20
|
+
},
|
|
21
|
+
CharacterSection: { block: 'character-section', parent: 'Character', autoLabel: { span: 'header' } },
|
|
22
|
+
Realm: {
|
|
23
|
+
block: 'realm',
|
|
24
|
+
contentWrapper: { tag: 'div', ref: 'content' },
|
|
25
|
+
modifiers: {
|
|
26
|
+
realmType: { source: 'meta', default: 'place' },
|
|
27
|
+
scale: { source: 'meta' },
|
|
28
|
+
tags: { source: 'meta' },
|
|
29
|
+
parent: { source: 'meta' },
|
|
30
|
+
},
|
|
31
|
+
structure: {
|
|
32
|
+
badge: {
|
|
33
|
+
tag: 'div', before: true,
|
|
34
|
+
children: [
|
|
35
|
+
{ tag: 'span', ref: 'type-badge', metaText: 'realmType' },
|
|
36
|
+
{ tag: 'span', ref: 'scale-badge', metaText: 'scale', condition: 'scale' },
|
|
37
|
+
],
|
|
38
|
+
},
|
|
39
|
+
},
|
|
40
|
+
},
|
|
41
|
+
RealmSection: { block: 'realm-section', parent: 'Realm', autoLabel: { span: 'header' } },
|
|
42
|
+
Lore: {
|
|
43
|
+
block: 'lore',
|
|
44
|
+
contentWrapper: { tag: 'div', ref: 'content' },
|
|
45
|
+
modifiers: {
|
|
46
|
+
category: { source: 'meta' },
|
|
47
|
+
spoiler: { source: 'meta', default: 'false' },
|
|
48
|
+
tags: { source: 'meta' },
|
|
49
|
+
},
|
|
50
|
+
structure: {
|
|
51
|
+
badge: {
|
|
52
|
+
tag: 'div', before: true,
|
|
53
|
+
conditionAny: ['category'],
|
|
54
|
+
children: [
|
|
55
|
+
{ tag: 'span', ref: 'category-badge', metaText: 'category', condition: 'category' },
|
|
56
|
+
],
|
|
57
|
+
},
|
|
58
|
+
},
|
|
59
|
+
},
|
|
60
|
+
Faction: {
|
|
61
|
+
block: 'faction',
|
|
62
|
+
contentWrapper: { tag: 'div', ref: 'content' },
|
|
63
|
+
modifiers: {
|
|
64
|
+
factionType: { source: 'meta' },
|
|
65
|
+
alignment: { source: 'meta' },
|
|
66
|
+
size: { source: 'meta' },
|
|
67
|
+
tags: { source: 'meta' },
|
|
68
|
+
},
|
|
69
|
+
structure: {
|
|
70
|
+
badge: {
|
|
71
|
+
tag: 'div', before: true,
|
|
72
|
+
conditionAny: ['factionType', 'alignment', 'size'],
|
|
73
|
+
children: [
|
|
74
|
+
{ tag: 'span', ref: 'type-badge', metaText: 'factionType', condition: 'factionType' },
|
|
75
|
+
{ tag: 'span', ref: 'alignment-badge', metaText: 'alignment', condition: 'alignment' },
|
|
76
|
+
{ tag: 'span', ref: 'size-badge', metaText: 'size', condition: 'size' },
|
|
77
|
+
],
|
|
78
|
+
},
|
|
79
|
+
},
|
|
80
|
+
},
|
|
81
|
+
FactionSection: { block: 'faction-section', parent: 'Faction', autoLabel: { span: 'header' } },
|
|
82
|
+
Plot: {
|
|
83
|
+
block: 'plot',
|
|
84
|
+
modifiers: {
|
|
85
|
+
plotType: { source: 'meta', default: 'arc' },
|
|
86
|
+
structure: { source: 'meta', default: 'linear' },
|
|
87
|
+
tags: { source: 'meta' },
|
|
88
|
+
},
|
|
89
|
+
},
|
|
90
|
+
Beat: {
|
|
91
|
+
block: 'beat',
|
|
92
|
+
parent: 'Plot',
|
|
93
|
+
modifiers: {
|
|
94
|
+
status: { source: 'meta', default: 'planned' },
|
|
95
|
+
id: { source: 'meta' },
|
|
96
|
+
track: { source: 'meta' },
|
|
97
|
+
follows: { source: 'meta' },
|
|
98
|
+
},
|
|
99
|
+
},
|
|
100
|
+
Bond: {
|
|
101
|
+
block: 'bond',
|
|
102
|
+
modifiers: {
|
|
103
|
+
bondType: { source: 'meta' },
|
|
104
|
+
status: { source: 'meta', default: 'active' },
|
|
105
|
+
bidirectional: { source: 'meta', default: 'true' },
|
|
106
|
+
},
|
|
107
|
+
},
|
|
108
|
+
Storyboard: {
|
|
109
|
+
block: 'storyboard',
|
|
110
|
+
modifiers: {
|
|
111
|
+
style: { source: 'meta', default: 'clean' },
|
|
112
|
+
columns: { source: 'meta', default: '3' },
|
|
113
|
+
},
|
|
114
|
+
styles: { columns: '--sb-columns' },
|
|
115
|
+
},
|
|
116
|
+
StoryboardPanel: { block: 'storyboard-panel', parent: 'Storyboard' },
|
|
117
|
+
};
|
|
118
|
+
//# sourceMappingURL=config.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"config.js","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,MAAM,GAA+B;IACjD,SAAS,EAAE;QACV,KAAK,EAAE,WAAW;QAClB,cAAc,EAAE,EAAE,GAAG,EAAE,KAAK,EAAE,GAAG,EAAE,SAAS,EAAE;QAC9C,SAAS,EAAE;YACV,IAAI,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,YAAY,EAAE;YAC/C,MAAM,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE;YAC5C,OAAO,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE;YAC3B,IAAI,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE;SACxB;QACD,SAAS,EAAE;YACV,KAAK,EAAE;gBACN,GAAG,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI;gBACxB,QAAQ,EAAE;oBACT,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,EAAE;oBACpD,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,cAAc,EAAE,QAAQ,EAAE,QAAQ,EAAE,SAAS,EAAE,QAAQ,EAAE;iBAC7E;aACD;SACD;KACD;IACD,gBA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|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAUrD,eAAO,MAAM,YAAY,EAAE,WAoJ1B,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
import { character, characterSection } from './tags/character.js';
|
|
2
|
+
import { realm, realmSection } from './tags/realm.js';
|
|
3
|
+
import { faction, factionSection } from './tags/faction.js';
|
|
4
|
+
import { lore } from './tags/lore.js';
|
|
5
|
+
import { plot, beat } from './tags/plot.js';
|
|
6
|
+
import { bond } from './tags/bond.js';
|
|
7
|
+
import { storyboard, storyboardPanel } from './tags/storyboard.js';
|
|
8
|
+
import { config } from './config.js';
|
|
9
|
+
export const storytelling = {
|
|
10
|
+
name: 'storytelling',
|
|
11
|
+
displayName: 'Storytelling',
|
|
12
|
+
version: '0.6.0',
|
|
13
|
+
runes: {
|
|
14
|
+
'character': {
|
|
15
|
+
transform: character,
|
|
16
|
+
aliases: ['npc', 'pc'],
|
|
17
|
+
description: 'Character profile with portrait, role, status, and sectioned details. Headings become sections.',
|
|
18
|
+
seoType: 'Person',
|
|
19
|
+
reinterprets: { heading: 'character detail section', paragraph: 'description', image: 'portrait', list: 'traits or inventory' },
|
|
20
|
+
fixture: `{% character name="Veshra" role="antagonist" status="alive" aliases="The Bone Witch" tags="magic-user" %}
|
|
21
|
+
## Backstory
|
|
22
|
+
|
|
23
|
+
Raised in the shadow of the Ashen Spire, Veshra discovered her gift for necromancy at a young age.
|
|
24
|
+
|
|
25
|
+
## Abilities
|
|
26
|
+
|
|
27
|
+
- Bone conjuration
|
|
28
|
+
- Spirit binding
|
|
29
|
+
- Plague whisper
|
|
30
|
+
{% /character %}`,
|
|
31
|
+
},
|
|
32
|
+
'character-section': {
|
|
33
|
+
transform: characterSection,
|
|
34
|
+
description: 'Individual section within a character profile',
|
|
35
|
+
},
|
|
36
|
+
'realm': {
|
|
37
|
+
transform: realm,
|
|
38
|
+
aliases: ['location', 'place'],
|
|
39
|
+
description: 'Location or realm description with scene image, scale, and sectioned details. Headings become sections.',
|
|
40
|
+
seoType: 'Place',
|
|
41
|
+
reinterprets: { heading: 'realm detail section', paragraph: 'description', image: 'scene image', list: 'features or inhabitants' },
|
|
42
|
+
fixture: `{% realm name="Rivendell" type="sanctuary" scale="settlement" parent="Eriador" %}
|
|
43
|
+

|
|
44
|
+
|
|
45
|
+
The Last Homely House East of the Sea.
|
|
46
|
+
|
|
47
|
+
## Geography
|
|
48
|
+
|
|
49
|
+
A hidden valley in the foothills of the Misty Mountains.
|
|
50
|
+
|
|
51
|
+
## Notable Features
|
|
52
|
+
|
|
53
|
+
- Hall of Fire
|
|
54
|
+
- Council chamber
|
|
55
|
+
- Extensive libraries
|
|
56
|
+
{% /realm %}`,
|
|
57
|
+
},
|
|
58
|
+
'realm-section': {
|
|
59
|
+
transform: realmSection,
|
|
60
|
+
description: 'Individual section within a realm description',
|
|
61
|
+
},
|
|
62
|
+
'faction': {
|
|
63
|
+
transform: faction,
|
|
64
|
+
aliases: ['guild', 'order'],
|
|
65
|
+
description: 'Faction or organization within a story world with alignment, size, and sectioned details.',
|
|
66
|
+
seoType: 'Organization',
|
|
67
|
+
reinterprets: { heading: 'faction detail section', paragraph: 'description', list: 'members or resources' },
|
|
68
|
+
fixture: `{% faction name="The Silver Order" type="knightly order" alignment="lawful" size="large" %}
|
|
69
|
+
A prestigious order of knights sworn to protect the realm.
|
|
70
|
+
|
|
71
|
+
## Ranks
|
|
72
|
+
|
|
73
|
+
- Initiate
|
|
74
|
+
- Knight
|
|
75
|
+
- Commander
|
|
76
|
+
- Grand Master
|
|
77
|
+
|
|
78
|
+
## Holdings
|
|
79
|
+
|
|
80
|
+
Their fortress overlooks the capital city from the northern cliffs.
|
|
81
|
+
{% /faction %}`,
|
|
82
|
+
},
|
|
83
|
+
'faction-section': {
|
|
84
|
+
transform: factionSection,
|
|
85
|
+
description: 'Individual section within a faction description',
|
|
86
|
+
},
|
|
87
|
+
'lore': {
|
|
88
|
+
transform: lore,
|
|
89
|
+
aliases: ['legend', 'myth'],
|
|
90
|
+
description: 'Lore entry for world-building details, legends, or historical records. Supports spoiler mode.',
|
|
91
|
+
seoType: 'Article',
|
|
92
|
+
reinterprets: { heading: 'lore title', paragraph: 'content', blockquote: 'in-world quote' },
|
|
93
|
+
fixture: `{% lore title="The Prophecy of the Chosen One" category="prophecy" spoiler=true %}
|
|
94
|
+
An ancient text found in the ruins of the First Temple.
|
|
95
|
+
|
|
96
|
+
> *When darkness covers the land and the last star fades,
|
|
97
|
+
> one shall rise from forgotten blood to forge the world anew.*
|
|
98
|
+
|
|
99
|
+
The prophecy has been interpreted differently by various factions throughout history.
|
|
100
|
+
{% /lore %}`,
|
|
101
|
+
},
|
|
102
|
+
'plot': {
|
|
103
|
+
transform: plot,
|
|
104
|
+
aliases: ['storyline', 'arc'],
|
|
105
|
+
description: 'Plot arc with sequential beats. Lists with [x]/[>]/[ ]/[-] markers become beat checkpoints.',
|
|
106
|
+
seoType: 'CreativeWork',
|
|
107
|
+
reinterprets: { heading: 'plot title', paragraph: 'summary', list: 'beat checkpoints (with status markers)' },
|
|
108
|
+
fixture: `{% plot title="The Quest for the Crown" type="quest" structure="linear" %}
|
|
109
|
+
The heroes must recover the lost crown before the solstice.
|
|
110
|
+
|
|
111
|
+
- [x] **Discovery** — Find the ancient map in the library
|
|
112
|
+
- [x] **Departure** — Leave the city under cover of darkness
|
|
113
|
+
- [>] **Trial** — Cross the Whispering Wastes
|
|
114
|
+
- [ ] **Confrontation** — Face the guardian of the vault
|
|
115
|
+
- [-] **Return** — Bring the crown back to the capital
|
|
116
|
+
{% /plot %}`,
|
|
117
|
+
},
|
|
118
|
+
'beat': {
|
|
119
|
+
transform: beat,
|
|
120
|
+
description: 'Individual plot beat within a plot arc',
|
|
121
|
+
},
|
|
122
|
+
'bond': {
|
|
123
|
+
transform: bond,
|
|
124
|
+
aliases: ['relationship'],
|
|
125
|
+
description: 'Relationship between two named entities with type, status, and directional indicator.',
|
|
126
|
+
reinterprets: { paragraph: 'relationship description' },
|
|
127
|
+
fixture: `{% bond from="Aragorn" to="Legolas" type="fellowship" status="active" %}
|
|
128
|
+
Forged during the Council of Elrond, their bond was tested through the
|
|
129
|
+
War of the Ring. Despite their different backgrounds, they developed
|
|
130
|
+
a deep mutual respect.
|
|
131
|
+
{% /bond %}`,
|
|
132
|
+
},
|
|
133
|
+
'storyboard': {
|
|
134
|
+
transform: storyboard,
|
|
135
|
+
aliases: ['comic'],
|
|
136
|
+
description: 'Comic/storyboard layout where images become panels and paragraphs become captions',
|
|
137
|
+
reinterprets: { image: 'panel visual', paragraph: 'caption/dialogue' },
|
|
138
|
+
fixture: `{% storyboard style="clean" columns="3" %}
|
|
139
|
+

|
|
140
|
+
The hero surveys the landscape from atop the hill.
|
|
141
|
+
|
|
142
|
+

|
|
143
|
+
A distant rumble echoes across the valley.
|
|
144
|
+
|
|
145
|
+

|
|
146
|
+
The journey begins.
|
|
147
|
+
{% /storyboard %}`,
|
|
148
|
+
},
|
|
149
|
+
'storyboard-panel': {
|
|
150
|
+
transform: storyboardPanel,
|
|
151
|
+
description: 'Individual panel within a storyboard',
|
|
152
|
+
},
|
|
153
|
+
},
|
|
154
|
+
theme: {
|
|
155
|
+
runes: config,
|
|
156
|
+
},
|
|
157
|
+
};
|
|
158
|
+
export default storytelling;
|
|
159
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAClE,OAAO,EAAE,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACtD,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,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YAAY,EAAE,EAAE,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,kBAAkB,EAAE;YACtE,OAAO,EAAE;;;;;;;;;kBASG;SACb;QACD,kBAAkB,EAAE;YAClB,SAAS,EAAE,eAAe;YAC1B,WAAW,EAAE,sCAAsC;SACpD;KACF;IACD,KAAK,EAAE;QACL,KAAK,EAAE,MAA4D;KACpE;CACF,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { ComponentType } from "@refrakt-md/types";
|
|
2
|
+
export declare class Bond {
|
|
3
|
+
from: string;
|
|
4
|
+
to: string;
|
|
5
|
+
bondType: string;
|
|
6
|
+
status: string;
|
|
7
|
+
bidirectional: string;
|
|
8
|
+
}
|
|
9
|
+
export interface BondComponent extends ComponentType<Bond> {
|
|
10
|
+
tag: 'div';
|
|
11
|
+
properties: {
|
|
12
|
+
from: 'span';
|
|
13
|
+
to: 'span';
|
|
14
|
+
bondType: 'meta';
|
|
15
|
+
status: 'meta';
|
|
16
|
+
bidirectional: 'meta';
|
|
17
|
+
};
|
|
18
|
+
refs: {
|
|
19
|
+
connector: 'div';
|
|
20
|
+
body: 'div';
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
//# sourceMappingURL=bond.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bond.d.ts","sourceRoot":"","sources":["../../src/schema/bond.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAElD,qBAAa,IAAI;IAChB,IAAI,EAAE,MAAM,CAAM;IAClB,EAAE,EAAE,MAAM,CAAM;IAChB,QAAQ,EAAE,MAAM,CAAM;IACtB,MAAM,EAAE,MAAM,CAAY;IAC1B,aAAa,EAAE,MAAM,CAAU;CAC/B;AAED,MAAM,WAAW,aAAc,SAAQ,aAAa,CAAC,IAAI,CAAC;IACzD,GAAG,EAAE,KAAK,CAAC;IACX,UAAU,EAAE;QACX,IAAI,EAAE,MAAM,CAAC;QACb,EAAE,EAAE,MAAM,CAAC;QACX,QAAQ,EAAE,MAAM,CAAC;QACjB,MAAM,EAAE,MAAM,CAAC;QACf,aAAa,EAAE,MAAM,CAAC;KACtB,CAAC;IACF,IAAI,EAAE;QACL,SAAS,EAAE,KAAK,CAAC;QACjB,IAAI,EAAE,KAAK,CAAC;KACZ,CAAA;CACD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bond.js","sourceRoot":"","sources":["../../src/schema/bond.ts"],"names":[],"mappings":"AAEA,MAAM,OAAO,IAAI;IAAjB;QACC,SAAI,GAAW,EAAE,CAAC;QAClB,OAAE,GAAW,EAAE,CAAC;QAChB,aAAQ,GAAW,EAAE,CAAC;QACtB,WAAM,GAAW,QAAQ,CAAC;QAC1B,kBAAa,GAAW,MAAM,CAAC;IAChC,CAAC;CAAA"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { ComponentType } from "@refrakt-md/types";
|
|
2
|
+
import { StorySection } from "./story-section.js";
|
|
3
|
+
export declare class Character {
|
|
4
|
+
name: string;
|
|
5
|
+
role: string;
|
|
6
|
+
status: string;
|
|
7
|
+
aliases: string;
|
|
8
|
+
tags: string;
|
|
9
|
+
section: StorySection[];
|
|
10
|
+
}
|
|
11
|
+
export interface CharacterComponent extends ComponentType<Character> {
|
|
12
|
+
tag: 'article';
|
|
13
|
+
properties: {
|
|
14
|
+
name: 'span';
|
|
15
|
+
role: 'meta';
|
|
16
|
+
status: 'meta';
|
|
17
|
+
aliases: 'meta';
|
|
18
|
+
tags: 'meta';
|
|
19
|
+
section: 'div';
|
|
20
|
+
};
|
|
21
|
+
refs: {
|
|
22
|
+
portrait: 'div';
|
|
23
|
+
sections: 'div';
|
|
24
|
+
body: 'div';
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
//# sourceMappingURL=character.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"character.d.ts","sourceRoot":"","sources":["../../src/schema/character.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAElD,qBAAa,SAAS;IACrB,IAAI,EAAE,MAAM,CAAM;IAClB,IAAI,EAAE,MAAM,CAAgB;IAC5B,MAAM,EAAE,MAAM,CAAW;IACzB,OAAO,EAAE,MAAM,CAAM;IACrB,IAAI,EAAE,MAAM,CAAM;IAClB,OAAO,EAAE,YAAY,EAAE,CAAM;CAC7B;AAED,MAAM,WAAW,kBAAmB,SAAQ,aAAa,CAAC,SAAS,CAAC;IACnE,GAAG,EAAE,SAAS,CAAC;IACf,UAAU,EAAE;QACX,IAAI,EAAE,MAAM,CAAC;QACb,IAAI,EAAE,MAAM,CAAC;QACb,MAAM,EAAE,MAAM,CAAC;QACf,OAAO,EAAE,MAAM,CAAC;QAChB,IAAI,EAAE,MAAM,CAAC;QACb,OAAO,EAAE,KAAK,CAAC;KACf,CAAC;IACF,IAAI,EAAE;QACL,QAAQ,EAAE,KAAK,CAAC;QAChB,QAAQ,EAAE,KAAK,CAAC;QAChB,IAAI,EAAE,KAAK,CAAC;KACZ,CAAA;CACD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"character.js","sourceRoot":"","sources":["../../src/schema/character.ts"],"names":[],"mappings":"AAGA,MAAM,OAAO,SAAS;IAAtB;QACC,SAAI,GAAW,EAAE,CAAC;QAClB,SAAI,GAAW,YAAY,CAAC;QAC5B,WAAM,GAAW,OAAO,CAAC;QACzB,YAAO,GAAW,EAAE,CAAC;QACrB,SAAI,GAAW,EAAE,CAAC;QAClB,YAAO,GAAmB,EAAE,CAAC;IAC9B,CAAC;CAAA"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { ComponentType } from "@refrakt-md/types";
|
|
2
|
+
import { StorySection } from "./story-section.js";
|
|
3
|
+
export declare class Faction {
|
|
4
|
+
name: string;
|
|
5
|
+
factionType: string;
|
|
6
|
+
alignment: string;
|
|
7
|
+
size: string;
|
|
8
|
+
tags: string;
|
|
9
|
+
section: StorySection[];
|
|
10
|
+
}
|
|
11
|
+
export interface FactionComponent extends ComponentType<Faction> {
|
|
12
|
+
tag: 'article';
|
|
13
|
+
properties: {
|
|
14
|
+
name: 'span';
|
|
15
|
+
factionType: 'meta';
|
|
16
|
+
alignment: 'meta';
|
|
17
|
+
size: 'meta';
|
|
18
|
+
tags: 'meta';
|
|
19
|
+
section: 'div';
|
|
20
|
+
};
|
|
21
|
+
refs: {
|
|
22
|
+
sections: 'div';
|
|
23
|
+
body: 'div';
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
//# sourceMappingURL=faction.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"faction.d.ts","sourceRoot":"","sources":["../../src/schema/faction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAElD,qBAAa,OAAO;IACnB,IAAI,EAAE,MAAM,CAAM;IAClB,WAAW,EAAE,MAAM,CAAM;IACzB,SAAS,EAAE,MAAM,CAAM;IACvB,IAAI,EAAE,MAAM,CAAM;IAClB,IAAI,EAAE,MAAM,CAAM;IAClB,OAAO,EAAE,YAAY,EAAE,CAAM;CAC7B;AAED,MAAM,WAAW,gBAAiB,SAAQ,aAAa,CAAC,OAAO,CAAC;IAC/D,GAAG,EAAE,SAAS,CAAC;IACf,UAAU,EAAE;QACX,IAAI,EAAE,MAAM,CAAC;QACb,WAAW,EAAE,MAAM,CAAC;QACpB,SAAS,EAAE,MAAM,CAAC;QAClB,IAAI,EAAE,MAAM,CAAC;QACb,IAAI,EAAE,MAAM,CAAC;QACb,OAAO,EAAE,KAAK,CAAC;KACf,CAAC;IACF,IAAI,EAAE;QACL,QAAQ,EAAE,KAAK,CAAC;QAChB,IAAI,EAAE,KAAK,CAAC;KACZ,CAAA;CACD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"faction.js","sourceRoot":"","sources":["../../src/schema/faction.ts"],"names":[],"mappings":"AAGA,MAAM,OAAO,OAAO;IAApB;QACC,SAAI,GAAW,EAAE,CAAC;QAClB,gBAAW,GAAW,EAAE,CAAC;QACzB,cAAS,GAAW,EAAE,CAAC;QACvB,SAAI,GAAW,EAAE,CAAC;QAClB,SAAI,GAAW,EAAE,CAAC;QAClB,YAAO,GAAmB,EAAE,CAAC;IAC9B,CAAC;CAAA"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ComponentType } from "@refrakt-md/types";
|
|
2
|
+
export declare class Lore {
|
|
3
|
+
title: string;
|
|
4
|
+
category: string;
|
|
5
|
+
spoiler: string;
|
|
6
|
+
tags: string;
|
|
7
|
+
}
|
|
8
|
+
export interface LoreComponent extends ComponentType<Lore> {
|
|
9
|
+
tag: 'article';
|
|
10
|
+
properties: {
|
|
11
|
+
title: 'span';
|
|
12
|
+
category: 'meta';
|
|
13
|
+
spoiler: 'meta';
|
|
14
|
+
tags: 'meta';
|
|
15
|
+
};
|
|
16
|
+
refs: {
|
|
17
|
+
body: 'div';
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=lore.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lore.d.ts","sourceRoot":"","sources":["../../src/schema/lore.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAElD,qBAAa,IAAI;IAChB,KAAK,EAAE,MAAM,CAAM;IACnB,QAAQ,EAAE,MAAM,CAAM;IACtB,OAAO,EAAE,MAAM,CAAW;IAC1B,IAAI,EAAE,MAAM,CAAM;CAClB;AAED,MAAM,WAAW,aAAc,SAAQ,aAAa,CAAC,IAAI,CAAC;IACzD,GAAG,EAAE,SAAS,CAAC;IACf,UAAU,EAAE;QACX,KAAK,EAAE,MAAM,CAAC;QACd,QAAQ,EAAE,MAAM,CAAC;QACjB,OAAO,EAAE,MAAM,CAAC;QAChB,IAAI,EAAE,MAAM,CAAC;KACb,CAAC;IACF,IAAI,EAAE;QACL,IAAI,EAAE,KAAK,CAAC;KACZ,CAAA;CACD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lore.js","sourceRoot":"","sources":["../../src/schema/lore.ts"],"names":[],"mappings":"AAEA,MAAM,OAAO,IAAI;IAAjB;QACC,UAAK,GAAW,EAAE,CAAC;QACnB,aAAQ,GAAW,EAAE,CAAC;QACtB,YAAO,GAAW,OAAO,CAAC;QAC1B,SAAI,GAAW,EAAE,CAAC;IACnB,CAAC;CAAA"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { ComponentType } from "@refrakt-md/types";
|
|
2
|
+
export declare class Beat {
|
|
3
|
+
label: string;
|
|
4
|
+
status: string;
|
|
5
|
+
id: string;
|
|
6
|
+
track: string;
|
|
7
|
+
follows: string;
|
|
8
|
+
}
|
|
9
|
+
export interface BeatComponent extends ComponentType<Beat> {
|
|
10
|
+
tag: 'li';
|
|
11
|
+
properties: {
|
|
12
|
+
label: 'span';
|
|
13
|
+
status: 'meta';
|
|
14
|
+
id: 'meta';
|
|
15
|
+
track: 'meta';
|
|
16
|
+
follows: 'meta';
|
|
17
|
+
};
|
|
18
|
+
refs: {
|
|
19
|
+
body: 'div';
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
export declare class Plot {
|
|
23
|
+
title: string;
|
|
24
|
+
plotType: string;
|
|
25
|
+
structure: string;
|
|
26
|
+
tags: string;
|
|
27
|
+
beat: Beat[];
|
|
28
|
+
}
|
|
29
|
+
export interface PlotComponent extends ComponentType<Plot> {
|
|
30
|
+
tag: 'section';
|
|
31
|
+
properties: {
|
|
32
|
+
title: 'span';
|
|
33
|
+
plotType: 'meta';
|
|
34
|
+
structure: 'meta';
|
|
35
|
+
tags: 'meta';
|
|
36
|
+
beat: 'li';
|
|
37
|
+
};
|
|
38
|
+
refs: {
|
|
39
|
+
beats: 'ol';
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
//# sourceMappingURL=plot.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"plot.d.ts","sourceRoot":"","sources":["../../src/schema/plot.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAElD,qBAAa,IAAI;IAChB,KAAK,EAAE,MAAM,CAAM;IACnB,MAAM,EAAE,MAAM,CAAa;IAC3B,EAAE,EAAE,MAAM,CAAM;IAChB,KAAK,EAAE,MAAM,CAAM;IACnB,OAAO,EAAE,MAAM,CAAM;CACrB;AAED,MAAM,WAAW,aAAc,SAAQ,aAAa,CAAC,IAAI,CAAC;IACzD,GAAG,EAAE,IAAI,CAAC;IACV,UAAU,EAAE;QACX,KAAK,EAAE,MAAM,CAAC;QACd,MAAM,EAAE,MAAM,CAAC;QACf,EAAE,EAAE,MAAM,CAAC;QACX,KAAK,EAAE,MAAM,CAAC;QACd,OAAO,EAAE,MAAM,CAAC;KAChB,CAAC;IACF,IAAI,EAAE;QACL,IAAI,EAAE,KAAK,CAAC;KACZ,CAAA;CACD;AAED,qBAAa,IAAI;IAChB,KAAK,EAAE,MAAM,CAAM;IACnB,QAAQ,EAAE,MAAM,CAAS;IACzB,SAAS,EAAE,MAAM,CAAY;IAC7B,IAAI,EAAE,MAAM,CAAM;IAClB,IAAI,EAAE,IAAI,EAAE,CAAM;CAClB;AAED,MAAM,WAAW,aAAc,SAAQ,aAAa,CAAC,IAAI,CAAC;IACzD,GAAG,EAAE,SAAS,CAAC;IACf,UAAU,EAAE;QACX,KAAK,EAAE,MAAM,CAAC;QACd,QAAQ,EAAE,MAAM,CAAC;QACjB,SAAS,EAAE,MAAM,CAAC;QAClB,IAAI,EAAE,MAAM,CAAC;QACb,IAAI,EAAE,IAAI,CAAC;KACX,CAAC;IACF,IAAI,EAAE;QACL,KAAK,EAAE,IAAI,CAAC;KACZ,CAAA;CACD"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export class Beat {
|
|
2
|
+
constructor() {
|
|
3
|
+
this.label = '';
|
|
4
|
+
this.status = 'planned';
|
|
5
|
+
this.id = '';
|
|
6
|
+
this.track = '';
|
|
7
|
+
this.follows = '';
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
export class Plot {
|
|
11
|
+
constructor() {
|
|
12
|
+
this.title = '';
|
|
13
|
+
this.plotType = 'arc';
|
|
14
|
+
this.structure = 'linear';
|
|
15
|
+
this.tags = '';
|
|
16
|
+
this.beat = [];
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=plot.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"plot.js","sourceRoot":"","sources":["../../src/schema/plot.ts"],"names":[],"mappings":"AAEA,MAAM,OAAO,IAAI;IAAjB;QACC,UAAK,GAAW,EAAE,CAAC;QACnB,WAAM,GAAW,SAAS,CAAC;QAC3B,OAAE,GAAW,EAAE,CAAC;QAChB,UAAK,GAAW,EAAE,CAAC;QACnB,YAAO,GAAW,EAAE,CAAC;IACtB,CAAC;CAAA;AAgBD,MAAM,OAAO,IAAI;IAAjB;QACC,UAAK,GAAW,EAAE,CAAC;QACnB,aAAQ,GAAW,KAAK,CAAC;QACzB,cAAS,GAAW,QAAQ,CAAC;QAC7B,SAAI,GAAW,EAAE,CAAC;QAClB,SAAI,GAAW,EAAE,CAAC;IACnB,CAAC;CAAA"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { ComponentType } from "@refrakt-md/types";
|
|
2
|
+
import { StorySection } from "./story-section.js";
|
|
3
|
+
export declare class Realm {
|
|
4
|
+
name: string;
|
|
5
|
+
realmType: string;
|
|
6
|
+
scale: string;
|
|
7
|
+
tags: string;
|
|
8
|
+
parent: string;
|
|
9
|
+
section: StorySection[];
|
|
10
|
+
}
|
|
11
|
+
export interface RealmComponent extends ComponentType<Realm> {
|
|
12
|
+
tag: 'article';
|
|
13
|
+
properties: {
|
|
14
|
+
name: 'span';
|
|
15
|
+
realmType: 'meta';
|
|
16
|
+
scale: 'meta';
|
|
17
|
+
tags: 'meta';
|
|
18
|
+
parent: 'meta';
|
|
19
|
+
section: 'div';
|
|
20
|
+
};
|
|
21
|
+
refs: {
|
|
22
|
+
scene: 'div';
|
|
23
|
+
sections: 'div';
|
|
24
|
+
body: 'div';
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
//# sourceMappingURL=realm.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"realm.d.ts","sourceRoot":"","sources":["../../src/schema/realm.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAElD,qBAAa,KAAK;IACjB,IAAI,EAAE,MAAM,CAAM;IAClB,SAAS,EAAE,MAAM,CAAW;IAC5B,KAAK,EAAE,MAAM,CAAM;IACnB,IAAI,EAAE,MAAM,CAAM;IAClB,MAAM,EAAE,MAAM,CAAM;IACpB,OAAO,EAAE,YAAY,EAAE,CAAM;CAC7B;AAED,MAAM,WAAW,cAAe,SAAQ,aAAa,CAAC,KAAK,CAAC;IAC3D,GAAG,EAAE,SAAS,CAAC;IACf,UAAU,EAAE;QACX,IAAI,EAAE,MAAM,CAAC;QACb,SAAS,EAAE,MAAM,CAAC;QAClB,KAAK,EAAE,MAAM,CAAC;QACd,IAAI,EAAE,MAAM,CAAC;QACb,MAAM,EAAE,MAAM,CAAC;QACf,OAAO,EAAE,KAAK,CAAC;KACf,CAAC;IACF,IAAI,EAAE;QACL,KAAK,EAAE,KAAK,CAAC;QACb,QAAQ,EAAE,KAAK,CAAC;QAChB,IAAI,EAAE,KAAK,CAAC;KACZ,CAAA;CACD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"realm.js","sourceRoot":"","sources":["../../src/schema/realm.ts"],"names":[],"mappings":"AAGA,MAAM,OAAO,KAAK;IAAlB;QACC,SAAI,GAAW,EAAE,CAAC;QAClB,cAAS,GAAW,OAAO,CAAC;QAC5B,UAAK,GAAW,EAAE,CAAC;QACnB,SAAI,GAAW,EAAE,CAAC;QAClB,WAAM,GAAW,EAAE,CAAC;QACpB,YAAO,GAAmB,EAAE,CAAC;IAC9B,CAAC;CAAA"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ComponentType } from "@refrakt-md/types";
|
|
2
|
+
export declare class StorySection {
|
|
3
|
+
name: string;
|
|
4
|
+
}
|
|
5
|
+
export interface StorySectionComponent extends ComponentType<StorySection> {
|
|
6
|
+
tag: 'div';
|
|
7
|
+
properties: {
|
|
8
|
+
name: 'span';
|
|
9
|
+
};
|
|
10
|
+
refs: {
|
|
11
|
+
body: 'div';
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=story-section.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"story-section.d.ts","sourceRoot":"","sources":["../../src/schema/story-section.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAElD,qBAAa,YAAY;IACxB,IAAI,EAAE,MAAM,CAAM;CAClB;AAED,MAAM,WAAW,qBAAsB,SAAQ,aAAa,CAAC,YAAY,CAAC;IACzE,GAAG,EAAE,KAAK,CAAC;IACX,UAAU,EAAE;QACX,IAAI,EAAE,MAAM,CAAC;KACb,CAAC;IACF,IAAI,EAAE;QACL,IAAI,EAAE,KAAK,CAAC;KACZ,CAAA;CACD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"story-section.js","sourceRoot":"","sources":["../../src/schema/story-section.ts"],"names":[],"mappings":"AAEA,MAAM,OAAO,YAAY;IAAzB;QACC,SAAI,GAAW,EAAE,CAAC;IACnB,CAAC;CAAA"}
|