@fedify/fedify 0.11.0-dev.258 → 0.11.0-dev.260

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fedify/fedify",
3
- "version": "0.11.0-dev.258+4a46b617",
3
+ "version": "0.11.0-dev.260+31b0b19c",
4
4
  "description": "An ActivityPub server framework",
5
5
  "keywords": [
6
6
  "ActivityPub",
@@ -1 +1 @@
1
- {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../src/codegen/schema.ts"],"names":[],"mappings":"AAOA;;GAEG;AACH,MAAM,MAAM,OAAO,GACf,WAAW,MAAM,EAAE,GACnB,UAAU,MAAM,EAAE,GAClB,UAAU,MAAM,EAAE,CAAC;AAEvB;;GAEG;AACH,MAAM,WAAW,UAAU;IACzB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,GAAG,EAAE,OAAO,CAAC;IAEb;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB;;;;;;OAMG;IACH,MAAM,EAAE,OAAO,CAAC;IAEhB;;;OAGG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,UAAU,EAAE,cAAc,EAAE,CAAC;IAE7B;;;OAGG;IACH,cAAc,EAAE,OAAO,CAAC;CACzB;AAED,MAAM,WAAW,kBAAkB;IACjC;;;OAGG;IACH,YAAY,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;IAEZ;;;OAGG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB;;;OAGG;IACH,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,MAAM,oBAAoB,GAAG;IACjC;;;OAGG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC;IAEhB;;OAEG;IACH,KAAK,EAAE,CAAC,OAAO,CAAC,GAAG,CAAC,OAAO,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;CAC5C,GAAG;IACF;;;OAGG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MAAM,CAAC;IAEnB;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAE3B;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;CAC9B,GACC,kBAAkB,GAAG,oBAAoB,GAAG;IAC5C;;;;OAIG;IACH,UAAU,EAAE,IAAI,CAAC;CAClB,CAAC;AAEJ;;;GAGG;AACH,MAAM,MAAM,OAAO,GAAG,GAAG,GAAG,eAAe,GAAG,CAAC,GAAG,GAAG,eAAe,CAAC,EAAE,CAAC;AAExE,KAAK,GAAG,GAAG,iBAAiB,GAAG,kBAAkB,CAAC;AAClD,KAAK,eAAe,GAAG,MAAM,CAAC,MAAM,EAAE,cAAc,CAAC,CAAC;AACtD,KAAK,cAAc,GAAG,GAAG,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,GAAG,KAAK,CAAC,CAAC;AAExD;;GAEG;AACH,qBAAa,WAAY,SAAQ,KAAK;IACpC;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IAEtB;;;;OAIG;gBACS,IAAI,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM;CAI3C;AAgCD;;;;;;GAMG;AACH,wBAAsB,eAAe,CACnC,GAAG,EAAE,MAAM,GACV,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC,CA4BrC"}
@@ -7148,10 +7148,10 @@ export declare class OrderedCollectionPage extends CollectionPage {
7148
7148
  current?: CollectionPage | URL | null;
7149
7149
  first?: CollectionPage | URL | null;
7150
7150
  last?: CollectionPage | URL | null;
7151
- items?: (Object | Link | URL)[];
7152
7151
  partOf?: Collection | URL | null;
7153
7152
  next?: CollectionPage | URL | null;
7154
7153
  prev?: CollectionPage | URL | null;
7154
+ items?: (Object | Link | URL)[];
7155
7155
  startIndex?: number | null;
7156
7156
  }, { documentLoader, contextLoader, }?: {
7157
7157
  documentLoader?: DocumentLoader;
@@ -7213,15 +7213,29 @@ export declare class OrderedCollectionPage extends CollectionPage {
7213
7213
  current?: CollectionPage | URL | null;
7214
7214
  first?: CollectionPage | URL | null;
7215
7215
  last?: CollectionPage | URL | null;
7216
- items?: (Object | Link | URL)[];
7217
7216
  partOf?: Collection | URL | null;
7218
7217
  next?: CollectionPage | URL | null;
7219
7218
  prev?: CollectionPage | URL | null;
7219
+ items?: (Object | Link | URL)[];
7220
7220
  startIndex?: number | null;
7221
7221
  }, options?: {
7222
7222
  documentLoader?: DocumentLoader;
7223
7223
  contextLoader?: DocumentLoader;
7224
7224
  }): OrderedCollectionPage;
7225
+ /**
7226
+ * Similar to
7227
+ * {@link OrderedCollectionPage.getItems},
7228
+ * but returns their `@id`s instead of the objects themselves.
7229
+ */
7230
+ get itemIds(): URL[];
7231
+ /** Identifies the items contained in a collection. The items might be ordered
7232
+ * or unordered.
7233
+ */
7234
+ getItems(options?: {
7235
+ documentLoader?: DocumentLoader;
7236
+ contextLoader?: DocumentLoader;
7237
+ suppressError?: boolean;
7238
+ }): AsyncIterable<Object | Link>;
7225
7239
  /** A non-negative integer value identifying the relative position within
7226
7240
  * the logical view of a strictly ordered collection.
7227
7241
  */