@fedify/vocab-tools 2.5.0-dev.2664 → 2.5.0-dev.2710

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/mod.d.cts CHANGED
@@ -180,7 +180,7 @@ type PropertySchemaTyping = {
180
180
  * The schema of a property. It is used to generate property accessors of
181
181
  * a class.
182
182
  */
183
- type PropertySchema = PropertySchemaBase & PropertySchemaTyping & {
183
+ type PropertySchema = (PropertySchemaBase & PropertySchemaTyping & {
184
184
  /**
185
185
  * Marks the property that it can have only one value. Turning on this
186
186
  * flag will generate only singular property accessors, so `pluralName`
@@ -202,14 +202,14 @@ type PropertySchema = PropertySchemaBase & PropertySchemaTyping & {
202
202
  * The container type of the property values. It can be unspecified.
203
203
  */
204
204
  container?: "graph" | "list";
205
- } | PropertySchemaBase & PropertySchemaTyping & {
205
+ }) | (PropertySchemaBase & PropertySchemaTyping & {
206
206
  /**
207
207
  * Marks the property that it can have only one value. Turning on this
208
208
  * flag will generate only singular property accessors, so `pluralName`
209
209
  * and `singularAccessor` should not be specified.
210
210
  */
211
211
  functional: true;
212
- };
212
+ });
213
213
  /**
214
214
  * A JSON-LD context, which is placed in the `@context` property of a JSON-LD
215
215
  * document.
package/dist/mod.d.ts CHANGED
@@ -180,7 +180,7 @@ type PropertySchemaTyping = {
180
180
  * The schema of a property. It is used to generate property accessors of
181
181
  * a class.
182
182
  */
183
- type PropertySchema = PropertySchemaBase & PropertySchemaTyping & {
183
+ type PropertySchema = (PropertySchemaBase & PropertySchemaTyping & {
184
184
  /**
185
185
  * Marks the property that it can have only one value. Turning on this
186
186
  * flag will generate only singular property accessors, so `pluralName`
@@ -202,14 +202,14 @@ type PropertySchema = PropertySchemaBase & PropertySchemaTyping & {
202
202
  * The container type of the property values. It can be unspecified.
203
203
  */
204
204
  container?: "graph" | "list";
205
- } | PropertySchemaBase & PropertySchemaTyping & {
205
+ }) | (PropertySchemaBase & PropertySchemaTyping & {
206
206
  /**
207
207
  * Marks the property that it can have only one value. Turning on this
208
208
  * flag will generate only singular property accessors, so `pluralName`
209
209
  * and `singularAccessor` should not be specified.
210
210
  */
211
211
  functional: true;
212
- };
212
+ });
213
213
  /**
214
214
  * A JSON-LD context, which is placed in the `@context` property of a JSON-LD
215
215
  * document.