@sprig-and-prose/sprig-universe 0.4.3 → 0.4.5

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.
@@ -67,14 +67,16 @@ anthology AnthologyWithRelationships in CanonicalUniverse {
67
67
  A chapter can still be nested under an aliased book.
68
68
  }
69
69
 
70
- owns {
71
- ExternalOtherChapter,
72
- ExternalBook,
73
- }
70
+ relationships {
71
+ owns {
72
+ ExternalOtherChapter,
73
+ ExternalBook,
74
+ }
74
75
 
75
- singleton {
76
- ExternalAnthology
77
- ExternalSeries
76
+ singleton {
77
+ ExternalAnthology
78
+ ExternalSeries
79
+ }
78
80
  }
79
81
  }
80
82
 
@@ -104,21 +106,21 @@ anthology AnthologyWithRelationships in CanonicalUniverse {
104
106
  }
105
107
 
106
108
  reference NamedReference1 {
107
- url { 'https://github.com/owner/repository/tree/main' }
109
+ url { 'https://github.com/owner/repository/tree/main/references/reference1.md' }
108
110
  describe {
109
111
  References can have describe blocks.
110
112
  }
111
113
  }
112
114
 
113
115
  reference NamedReference2 {
114
- url { 'https://github.com/owner/repository/tree/main' }
116
+ url { 'https://github.com/owner/repository/tree/main/references/reference2.md' }
115
117
  describe {
116
118
  References can have describe blocks.
117
119
  }
118
120
  }
119
121
 
120
122
  reference NamedReferenceInRepository in InternalRepository {
121
- url { 'https://github.com/owner/repository/tree/main' }
123
+ paths { 'path/to/file1.md' 'path/to/file2.md' }
122
124
  }
123
125
 
124
126
  concept ConceptWithDirectReference {
@@ -142,6 +144,10 @@ anthology AnthologyWithRelationships in CanonicalUniverse {
142
144
  }
143
145
  }
144
146
 
147
+ reference GlobalReference {
148
+ url { 'https://github.com/owner/repository/tree/main' }
149
+ }
150
+
145
151
  anthology ExternalAnthology in CanonicalUniverse {
146
152
  aliases {
147
153
  bookAlias { book }
@@ -150,18 +156,41 @@ anthology ExternalAnthology in CanonicalUniverse {
150
156
 
151
157
  bookAlias BookAlias {
152
158
  chapterAlias NestedChapterAlias { }
159
+
160
+ ordering {
161
+ NestedChapterAlias
162
+ ExternalChapterAlias
163
+ }
153
164
  }
154
165
 
155
166
  chapterAlias ExternalChapterAlias in BookAlias { }
167
+
168
+ references { GlobalReference }
169
+ }
170
+
171
+ series ExternalSeries in ExternalAnthology {
172
+ references { GlobalReference }
173
+
174
+ reference { url { 'http://localhost:6336/external-series.md' } }
156
175
  }
157
176
 
158
- series ExternalSeries in ExternalAnthology { }
177
+ book ExternalBook in ExternalSeries {
178
+ references { GlobalReference }
159
179
 
160
- book ExternalBook in ExternalSeries { }
180
+ reference { url { 'http://localhost:6336/external-book.md' } }
181
+ }
182
+
183
+ chapter ExternalChapter in ExternalBook {
184
+ references { GlobalReference }
161
185
 
162
- chapter ExternalChapter in ExternalBook { }
186
+ reference { url { 'http://localhost:6336/external-chapter.md' } }
187
+ }
163
188
 
164
- concept ExternalConcept in ExternalChapter { }
189
+ concept ExternalConcept in ExternalChapter {
190
+ references { GlobalReference }
191
+
192
+ reference { url { 'http://localhost:6336/external-concept.md' } }
193
+ }
165
194
 
166
195
  repository ExternalRepository in CanonicalUniverse {
167
196
  title { GitHub }