@fedify/vocab 2.2.0-dev.610 → 2.2.0-dev.622
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/deno.json +1 -1
- package/dist/mod.cjs +3873 -5608
- package/dist/mod.d.cts +383 -384
- package/dist/mod.d.ts +383 -384
- package/dist/mod.js +1117 -2853
- package/dist-tests/{actor.test.js → actor.test.mjs} +315 -557
- package/dist-tests/{deno-BNhf1Xyn.js → deno-Dy6NaPCo.mjs} +66 -145
- package/dist-tests/{lookup.test.js → lookup.test.mjs} +29 -48
- package/dist-tests/type-Cf-vxmre.mjs +9 -0
- package/dist-tests/type.test.mjs +16 -0
- package/dist-tests/{utils-BSWXlrig.js → utils-CE8Dk5hm.mjs} +3 -7
- package/dist-tests/{vocab-C_RGw_Hf.js → vocab-ZNOT6nzY.mjs} +1118 -2801
- package/dist-tests/{vocab.test.js → vocab.test.mjs} +100 -158
- package/package.json +6 -6
- package/dist-tests/type-CNuABalk.js +0 -13
- package/dist-tests/type.test.js +0 -24
package/dist/mod.d.cts
CHANGED
|
@@ -2,7 +2,6 @@ import { DocumentLoader, DocumentLoader as DocumentLoader$1, GetUserAgentOptions
|
|
|
2
2
|
import { Span, TracerProvider } from "@opentelemetry/api";
|
|
3
3
|
|
|
4
4
|
//#region src/vocab.d.ts
|
|
5
|
-
|
|
6
5
|
/** Describes an object of any kind. The Object type serves as the base type for
|
|
7
6
|
* most of the other kinds of objects defined in the Activity Vocabulary,
|
|
8
7
|
* including other Core types such as {@link Activity},
|
|
@@ -878,7 +877,7 @@ declare class Emoji extends Object$1 {
|
|
|
878
877
|
/**
|
|
879
878
|
* The type URI of {@link Emoji}: `http://joinmastodon.org/ns#Emoji`.
|
|
880
879
|
*/
|
|
881
|
-
static get typeId(): URL;
|
|
880
|
+
static override get typeId(): URL;
|
|
882
881
|
/**
|
|
883
882
|
* Constructs a new instance of Emoji with the given values.
|
|
884
883
|
* @param values The values to initialize the instance with.
|
|
@@ -950,7 +949,7 @@ declare class Emoji extends Object$1 {
|
|
|
950
949
|
* @param options The options to use for cloning.
|
|
951
950
|
* @returns The cloned instance.
|
|
952
951
|
*/
|
|
953
|
-
clone(values?: {
|
|
952
|
+
override clone(values?: {
|
|
954
953
|
id?: URL | null;
|
|
955
954
|
attachments?: (Object$1 | Link | PropertyValue | URL)[];
|
|
956
955
|
attribution?: Application | Group | Organization | Person | Service | URL | null;
|
|
@@ -1019,12 +1018,12 @@ declare class Emoji extends Object$1 {
|
|
|
1019
1018
|
when `format` is set to `'expand'`.
|
|
1020
1019
|
* @returns The JSON-LD representation of this object.
|
|
1021
1020
|
*/
|
|
1022
|
-
toJsonLd(options?: {
|
|
1021
|
+
override toJsonLd(options?: {
|
|
1023
1022
|
format?: "compact" | "expand";
|
|
1024
1023
|
contextLoader?: DocumentLoader$1;
|
|
1025
1024
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
|
1026
1025
|
}): Promise<unknown>;
|
|
1027
|
-
protected isCompactable(): boolean;
|
|
1026
|
+
protected override isCompactable(): boolean;
|
|
1028
1027
|
/**
|
|
1029
1028
|
* Converts a JSON-LD structure to an object of this type.
|
|
1030
1029
|
* @param json The JSON-LD structure to convert.
|
|
@@ -1036,7 +1035,7 @@ declare class Emoji extends Object$1 {
|
|
|
1036
1035
|
* @returns The object of this type.
|
|
1037
1036
|
* @throws {TypeError} If the given `json` is invalid.
|
|
1038
1037
|
*/
|
|
1039
|
-
static fromJsonLd(json: unknown, options?: {
|
|
1038
|
+
static override fromJsonLd(json: unknown, options?: {
|
|
1040
1039
|
documentLoader?: DocumentLoader$1;
|
|
1041
1040
|
contextLoader?: DocumentLoader$1;
|
|
1042
1041
|
tracerProvider?: TracerProvider;
|
|
@@ -1048,7 +1047,7 @@ declare class Emoji extends Object$1 {
|
|
|
1048
1047
|
tracerProvider?: TracerProvider;
|
|
1049
1048
|
baseUrl?: URL;
|
|
1050
1049
|
}): Promise<Emoji>;
|
|
1051
|
-
protected _getCustomInspectProxy(): Record<string, unknown>;
|
|
1050
|
+
protected override _getCustomInspectProxy(): Record<string, unknown>;
|
|
1052
1051
|
}
|
|
1053
1052
|
/** `ChatMessage`s are the messages sent in 1-on-1 chats. They are similar to
|
|
1054
1053
|
* {@link Note}s, but the addressing is done by having a single AP actor in
|
|
@@ -1061,7 +1060,7 @@ declare class ChatMessage extends Object$1 {
|
|
|
1061
1060
|
/**
|
|
1062
1061
|
* The type URI of {@link ChatMessage}: `http://litepub.social/ns#ChatMessage`.
|
|
1063
1062
|
*/
|
|
1064
|
-
static get typeId(): URL;
|
|
1063
|
+
static override get typeId(): URL;
|
|
1065
1064
|
/**
|
|
1066
1065
|
* Constructs a new instance of ChatMessage with the given values.
|
|
1067
1066
|
* @param values The values to initialize the instance with.
|
|
@@ -1134,7 +1133,7 @@ declare class ChatMessage extends Object$1 {
|
|
|
1134
1133
|
* @param options The options to use for cloning.
|
|
1135
1134
|
* @returns The cloned instance.
|
|
1136
1135
|
*/
|
|
1137
|
-
clone(values?: {
|
|
1136
|
+
override clone(values?: {
|
|
1138
1137
|
id?: URL | null;
|
|
1139
1138
|
attachments?: (Object$1 | Link | PropertyValue | URL)[];
|
|
1140
1139
|
attribution?: Application | Group | Organization | Person | Service | URL | null;
|
|
@@ -1216,12 +1215,12 @@ declare class ChatMessage extends Object$1 {
|
|
|
1216
1215
|
when `format` is set to `'expand'`.
|
|
1217
1216
|
* @returns The JSON-LD representation of this object.
|
|
1218
1217
|
*/
|
|
1219
|
-
toJsonLd(options?: {
|
|
1218
|
+
override toJsonLd(options?: {
|
|
1220
1219
|
format?: "compact" | "expand";
|
|
1221
1220
|
contextLoader?: DocumentLoader$1;
|
|
1222
1221
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
|
1223
1222
|
}): Promise<unknown>;
|
|
1224
|
-
protected isCompactable(): boolean;
|
|
1223
|
+
protected override isCompactable(): boolean;
|
|
1225
1224
|
/**
|
|
1226
1225
|
* Converts a JSON-LD structure to an object of this type.
|
|
1227
1226
|
* @param json The JSON-LD structure to convert.
|
|
@@ -1233,7 +1232,7 @@ declare class ChatMessage extends Object$1 {
|
|
|
1233
1232
|
* @returns The object of this type.
|
|
1234
1233
|
* @throws {TypeError} If the given `json` is invalid.
|
|
1235
1234
|
*/
|
|
1236
|
-
static fromJsonLd(json: unknown, options?: {
|
|
1235
|
+
static override fromJsonLd(json: unknown, options?: {
|
|
1237
1236
|
documentLoader?: DocumentLoader$1;
|
|
1238
1237
|
contextLoader?: DocumentLoader$1;
|
|
1239
1238
|
tracerProvider?: TracerProvider;
|
|
@@ -1245,7 +1244,7 @@ declare class ChatMessage extends Object$1 {
|
|
|
1245
1244
|
tracerProvider?: TracerProvider;
|
|
1246
1245
|
baseUrl?: URL;
|
|
1247
1246
|
}): Promise<ChatMessage>;
|
|
1248
|
-
protected _getCustomInspectProxy(): Record<string, unknown>;
|
|
1247
|
+
protected override _getCustomInspectProxy(): Record<string, unknown>;
|
|
1249
1248
|
}
|
|
1250
1249
|
/** An Activity is a subtype of {@link Object} that describes some form of action
|
|
1251
1250
|
* that may happen, is currently happening, or has already happened.
|
|
@@ -1258,7 +1257,7 @@ declare class Activity extends Object$1 {
|
|
|
1258
1257
|
/**
|
|
1259
1258
|
* The type URI of {@link Activity}: `https://www.w3.org/ns/activitystreams#Activity`.
|
|
1260
1259
|
*/
|
|
1261
|
-
static get typeId(): URL;
|
|
1260
|
+
static override get typeId(): URL;
|
|
1262
1261
|
/**
|
|
1263
1262
|
* Constructs a new instance of Activity with the given values.
|
|
1264
1263
|
* @param values The values to initialize the instance with.
|
|
@@ -1342,7 +1341,7 @@ declare class Activity extends Object$1 {
|
|
|
1342
1341
|
* @param options The options to use for cloning.
|
|
1343
1342
|
* @returns The cloned instance.
|
|
1344
1343
|
*/
|
|
1345
|
-
clone(values?: {
|
|
1344
|
+
override clone(values?: {
|
|
1346
1345
|
id?: URL | null;
|
|
1347
1346
|
attachments?: (Object$1 | Link | PropertyValue | URL)[];
|
|
1348
1347
|
attribution?: Application | Group | Organization | Person | Service | URL | null;
|
|
@@ -1633,12 +1632,12 @@ declare class Activity extends Object$1 {
|
|
|
1633
1632
|
when `format` is set to `'expand'`.
|
|
1634
1633
|
* @returns The JSON-LD representation of this object.
|
|
1635
1634
|
*/
|
|
1636
|
-
toJsonLd(options?: {
|
|
1635
|
+
override toJsonLd(options?: {
|
|
1637
1636
|
format?: "compact" | "expand";
|
|
1638
1637
|
contextLoader?: DocumentLoader$1;
|
|
1639
1638
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
|
1640
1639
|
}): Promise<unknown>;
|
|
1641
|
-
protected isCompactable(): boolean;
|
|
1640
|
+
protected override isCompactable(): boolean;
|
|
1642
1641
|
/**
|
|
1643
1642
|
* Converts a JSON-LD structure to an object of this type.
|
|
1644
1643
|
* @param json The JSON-LD structure to convert.
|
|
@@ -1650,7 +1649,7 @@ declare class Activity extends Object$1 {
|
|
|
1650
1649
|
* @returns The object of this type.
|
|
1651
1650
|
* @throws {TypeError} If the given `json` is invalid.
|
|
1652
1651
|
*/
|
|
1653
|
-
static fromJsonLd(json: unknown, options?: {
|
|
1652
|
+
static override fromJsonLd(json: unknown, options?: {
|
|
1654
1653
|
documentLoader?: DocumentLoader$1;
|
|
1655
1654
|
contextLoader?: DocumentLoader$1;
|
|
1656
1655
|
tracerProvider?: TracerProvider;
|
|
@@ -1662,7 +1661,7 @@ declare class Activity extends Object$1 {
|
|
|
1662
1661
|
tracerProvider?: TracerProvider;
|
|
1663
1662
|
baseUrl?: URL;
|
|
1664
1663
|
}): Promise<Activity>;
|
|
1665
|
-
protected _getCustomInspectProxy(): Record<string, unknown>;
|
|
1664
|
+
protected override _getCustomInspectProxy(): Record<string, unknown>;
|
|
1666
1665
|
}
|
|
1667
1666
|
/** Represents an emoji reaction. See also [FEP-c0e0](https://w3id.org/fep/c0e0).
|
|
1668
1667
|
*/
|
|
@@ -1670,7 +1669,7 @@ declare class EmojiReact extends Activity {
|
|
|
1670
1669
|
/**
|
|
1671
1670
|
* The type URI of {@link EmojiReact}: `http://litepub.social/ns#EmojiReact`.
|
|
1672
1671
|
*/
|
|
1673
|
-
static get typeId(): URL;
|
|
1672
|
+
static override get typeId(): URL;
|
|
1674
1673
|
/**
|
|
1675
1674
|
* Constructs a new instance of EmojiReact with the given values.
|
|
1676
1675
|
* @param values The values to initialize the instance with.
|
|
@@ -1754,7 +1753,7 @@ declare class EmojiReact extends Activity {
|
|
|
1754
1753
|
* @param options The options to use for cloning.
|
|
1755
1754
|
* @returns The cloned instance.
|
|
1756
1755
|
*/
|
|
1757
|
-
clone(values?: {
|
|
1756
|
+
override clone(values?: {
|
|
1758
1757
|
id?: URL | null;
|
|
1759
1758
|
attachments?: (Object$1 | Link | PropertyValue | URL)[];
|
|
1760
1759
|
attribution?: Application | Group | Organization | Person | Service | URL | null;
|
|
@@ -1835,12 +1834,12 @@ declare class EmojiReact extends Activity {
|
|
|
1835
1834
|
when `format` is set to `'expand'`.
|
|
1836
1835
|
* @returns The JSON-LD representation of this object.
|
|
1837
1836
|
*/
|
|
1838
|
-
toJsonLd(options?: {
|
|
1837
|
+
override toJsonLd(options?: {
|
|
1839
1838
|
format?: "compact" | "expand";
|
|
1840
1839
|
contextLoader?: DocumentLoader$1;
|
|
1841
1840
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
|
1842
1841
|
}): Promise<unknown>;
|
|
1843
|
-
protected isCompactable(): boolean;
|
|
1842
|
+
protected override isCompactable(): boolean;
|
|
1844
1843
|
/**
|
|
1845
1844
|
* Converts a JSON-LD structure to an object of this type.
|
|
1846
1845
|
* @param json The JSON-LD structure to convert.
|
|
@@ -1852,7 +1851,7 @@ declare class EmojiReact extends Activity {
|
|
|
1852
1851
|
* @returns The object of this type.
|
|
1853
1852
|
* @throws {TypeError} If the given `json` is invalid.
|
|
1854
1853
|
*/
|
|
1855
|
-
static fromJsonLd(json: unknown, options?: {
|
|
1854
|
+
static override fromJsonLd(json: unknown, options?: {
|
|
1856
1855
|
documentLoader?: DocumentLoader$1;
|
|
1857
1856
|
contextLoader?: DocumentLoader$1;
|
|
1858
1857
|
tracerProvider?: TracerProvider;
|
|
@@ -1864,7 +1863,7 @@ declare class EmojiReact extends Activity {
|
|
|
1864
1863
|
tracerProvider?: TracerProvider;
|
|
1865
1864
|
baseUrl?: URL;
|
|
1866
1865
|
}): Promise<EmojiReact>;
|
|
1867
|
-
protected _getCustomInspectProxy(): Record<string, unknown>;
|
|
1866
|
+
protected override _getCustomInspectProxy(): Record<string, unknown>;
|
|
1868
1867
|
}
|
|
1869
1868
|
/** A pair of property name and value.
|
|
1870
1869
|
*/
|
|
@@ -1975,7 +1974,7 @@ declare class AnnounceAuthorization extends Object$1 {
|
|
|
1975
1974
|
/**
|
|
1976
1975
|
* The type URI of {@link AnnounceAuthorization}: `https://gotosocial.org/ns#AnnounceAuthorization`.
|
|
1977
1976
|
*/
|
|
1978
|
-
static get typeId(): URL;
|
|
1977
|
+
static override get typeId(): URL;
|
|
1979
1978
|
/**
|
|
1980
1979
|
* Constructs a new instance of AnnounceAuthorization with the given values.
|
|
1981
1980
|
* @param values The values to initialize the instance with.
|
|
@@ -2049,7 +2048,7 @@ declare class AnnounceAuthorization extends Object$1 {
|
|
|
2049
2048
|
* @param options The options to use for cloning.
|
|
2050
2049
|
* @returns The cloned instance.
|
|
2051
2050
|
*/
|
|
2052
|
-
clone(values?: {
|
|
2051
|
+
override clone(values?: {
|
|
2053
2052
|
id?: URL | null;
|
|
2054
2053
|
attachments?: (Object$1 | Link | PropertyValue | URL)[];
|
|
2055
2054
|
attribution?: Application | Group | Organization | Person | Service | URL | null;
|
|
@@ -2151,12 +2150,12 @@ declare class AnnounceAuthorization extends Object$1 {
|
|
|
2151
2150
|
when `format` is set to `'expand'`.
|
|
2152
2151
|
* @returns The JSON-LD representation of this object.
|
|
2153
2152
|
*/
|
|
2154
|
-
toJsonLd(options?: {
|
|
2153
|
+
override toJsonLd(options?: {
|
|
2155
2154
|
format?: "compact" | "expand";
|
|
2156
2155
|
contextLoader?: DocumentLoader$1;
|
|
2157
2156
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
|
2158
2157
|
}): Promise<unknown>;
|
|
2159
|
-
protected isCompactable(): boolean;
|
|
2158
|
+
protected override isCompactable(): boolean;
|
|
2160
2159
|
/**
|
|
2161
2160
|
* Converts a JSON-LD structure to an object of this type.
|
|
2162
2161
|
* @param json The JSON-LD structure to convert.
|
|
@@ -2168,7 +2167,7 @@ declare class AnnounceAuthorization extends Object$1 {
|
|
|
2168
2167
|
* @returns The object of this type.
|
|
2169
2168
|
* @throws {TypeError} If the given `json` is invalid.
|
|
2170
2169
|
*/
|
|
2171
|
-
static fromJsonLd(json: unknown, options?: {
|
|
2170
|
+
static override fromJsonLd(json: unknown, options?: {
|
|
2172
2171
|
documentLoader?: DocumentLoader$1;
|
|
2173
2172
|
contextLoader?: DocumentLoader$1;
|
|
2174
2173
|
tracerProvider?: TracerProvider;
|
|
@@ -2180,7 +2179,7 @@ declare class AnnounceAuthorization extends Object$1 {
|
|
|
2180
2179
|
tracerProvider?: TracerProvider;
|
|
2181
2180
|
baseUrl?: URL;
|
|
2182
2181
|
}): Promise<AnnounceAuthorization>;
|
|
2183
|
-
protected _getCustomInspectProxy(): Record<string, unknown>;
|
|
2182
|
+
protected override _getCustomInspectProxy(): Record<string, unknown>;
|
|
2184
2183
|
}
|
|
2185
2184
|
/** A request to announce (boost) a post that requires approval from
|
|
2186
2185
|
* the post author.
|
|
@@ -2198,7 +2197,7 @@ declare class AnnounceRequest extends Activity {
|
|
|
2198
2197
|
/**
|
|
2199
2198
|
* The type URI of {@link AnnounceRequest}: `https://gotosocial.org/ns#AnnounceRequest`.
|
|
2200
2199
|
*/
|
|
2201
|
-
static get typeId(): URL;
|
|
2200
|
+
static override get typeId(): URL;
|
|
2202
2201
|
/**
|
|
2203
2202
|
* Constructs a new instance of AnnounceRequest with the given values.
|
|
2204
2203
|
* @param values The values to initialize the instance with.
|
|
@@ -2282,7 +2281,7 @@ declare class AnnounceRequest extends Activity {
|
|
|
2282
2281
|
* @param options The options to use for cloning.
|
|
2283
2282
|
* @returns The cloned instance.
|
|
2284
2283
|
*/
|
|
2285
|
-
clone(values?: {
|
|
2284
|
+
override clone(values?: {
|
|
2286
2285
|
id?: URL | null;
|
|
2287
2286
|
attachments?: (Object$1 | Link | PropertyValue | URL)[];
|
|
2288
2287
|
attribution?: Application | Group | Organization | Person | Service | URL | null;
|
|
@@ -2363,12 +2362,12 @@ declare class AnnounceRequest extends Activity {
|
|
|
2363
2362
|
when `format` is set to `'expand'`.
|
|
2364
2363
|
* @returns The JSON-LD representation of this object.
|
|
2365
2364
|
*/
|
|
2366
|
-
toJsonLd(options?: {
|
|
2365
|
+
override toJsonLd(options?: {
|
|
2367
2366
|
format?: "compact" | "expand";
|
|
2368
2367
|
contextLoader?: DocumentLoader$1;
|
|
2369
2368
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
|
2370
2369
|
}): Promise<unknown>;
|
|
2371
|
-
protected isCompactable(): boolean;
|
|
2370
|
+
protected override isCompactable(): boolean;
|
|
2372
2371
|
/**
|
|
2373
2372
|
* Converts a JSON-LD structure to an object of this type.
|
|
2374
2373
|
* @param json The JSON-LD structure to convert.
|
|
@@ -2380,7 +2379,7 @@ declare class AnnounceRequest extends Activity {
|
|
|
2380
2379
|
* @returns The object of this type.
|
|
2381
2380
|
* @throws {TypeError} If the given `json` is invalid.
|
|
2382
2381
|
*/
|
|
2383
|
-
static fromJsonLd(json: unknown, options?: {
|
|
2382
|
+
static override fromJsonLd(json: unknown, options?: {
|
|
2384
2383
|
documentLoader?: DocumentLoader$1;
|
|
2385
2384
|
contextLoader?: DocumentLoader$1;
|
|
2386
2385
|
tracerProvider?: TracerProvider;
|
|
@@ -2392,7 +2391,7 @@ declare class AnnounceRequest extends Activity {
|
|
|
2392
2391
|
tracerProvider?: TracerProvider;
|
|
2393
2392
|
baseUrl?: URL;
|
|
2394
2393
|
}): Promise<AnnounceRequest>;
|
|
2395
|
-
protected _getCustomInspectProxy(): Record<string, unknown>;
|
|
2394
|
+
protected override _getCustomInspectProxy(): Record<string, unknown>;
|
|
2396
2395
|
}
|
|
2397
2396
|
/** Represents an interaction policy attached to a post, specifying who can
|
|
2398
2397
|
* like, reply to, or announce it. Each sub-policy ({@link InteractionRule})
|
|
@@ -2648,7 +2647,7 @@ declare class LikeAuthorization extends Object$1 {
|
|
|
2648
2647
|
/**
|
|
2649
2648
|
* The type URI of {@link LikeAuthorization}: `https://gotosocial.org/ns#LikeApproval`.
|
|
2650
2649
|
*/
|
|
2651
|
-
static get typeId(): URL;
|
|
2650
|
+
static override get typeId(): URL;
|
|
2652
2651
|
/**
|
|
2653
2652
|
* Constructs a new instance of LikeAuthorization with the given values.
|
|
2654
2653
|
* @param values The values to initialize the instance with.
|
|
@@ -2722,7 +2721,7 @@ declare class LikeAuthorization extends Object$1 {
|
|
|
2722
2721
|
* @param options The options to use for cloning.
|
|
2723
2722
|
* @returns The cloned instance.
|
|
2724
2723
|
*/
|
|
2725
|
-
clone(values?: {
|
|
2724
|
+
override clone(values?: {
|
|
2726
2725
|
id?: URL | null;
|
|
2727
2726
|
attachments?: (Object$1 | Link | PropertyValue | URL)[];
|
|
2728
2727
|
attribution?: Application | Group | Organization | Person | Service | URL | null;
|
|
@@ -2824,12 +2823,12 @@ declare class LikeAuthorization extends Object$1 {
|
|
|
2824
2823
|
when `format` is set to `'expand'`.
|
|
2825
2824
|
* @returns The JSON-LD representation of this object.
|
|
2826
2825
|
*/
|
|
2827
|
-
toJsonLd(options?: {
|
|
2826
|
+
override toJsonLd(options?: {
|
|
2828
2827
|
format?: "compact" | "expand";
|
|
2829
2828
|
contextLoader?: DocumentLoader$1;
|
|
2830
2829
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
|
2831
2830
|
}): Promise<unknown>;
|
|
2832
|
-
protected isCompactable(): boolean;
|
|
2831
|
+
protected override isCompactable(): boolean;
|
|
2833
2832
|
/**
|
|
2834
2833
|
* Converts a JSON-LD structure to an object of this type.
|
|
2835
2834
|
* @param json The JSON-LD structure to convert.
|
|
@@ -2841,7 +2840,7 @@ declare class LikeAuthorization extends Object$1 {
|
|
|
2841
2840
|
* @returns The object of this type.
|
|
2842
2841
|
* @throws {TypeError} If the given `json` is invalid.
|
|
2843
2842
|
*/
|
|
2844
|
-
static fromJsonLd(json: unknown, options?: {
|
|
2843
|
+
static override fromJsonLd(json: unknown, options?: {
|
|
2845
2844
|
documentLoader?: DocumentLoader$1;
|
|
2846
2845
|
contextLoader?: DocumentLoader$1;
|
|
2847
2846
|
tracerProvider?: TracerProvider;
|
|
@@ -2853,7 +2852,7 @@ declare class LikeAuthorization extends Object$1 {
|
|
|
2853
2852
|
tracerProvider?: TracerProvider;
|
|
2854
2853
|
baseUrl?: URL;
|
|
2855
2854
|
}): Promise<LikeAuthorization>;
|
|
2856
|
-
protected _getCustomInspectProxy(): Record<string, unknown>;
|
|
2855
|
+
protected override _getCustomInspectProxy(): Record<string, unknown>;
|
|
2857
2856
|
}
|
|
2858
2857
|
/** A request to like a post that requires approval from the post author.
|
|
2859
2858
|
*
|
|
@@ -2870,7 +2869,7 @@ declare class LikeRequest extends Activity {
|
|
|
2870
2869
|
/**
|
|
2871
2870
|
* The type URI of {@link LikeRequest}: `https://gotosocial.org/ns#LikeRequest`.
|
|
2872
2871
|
*/
|
|
2873
|
-
static get typeId(): URL;
|
|
2872
|
+
static override get typeId(): URL;
|
|
2874
2873
|
/**
|
|
2875
2874
|
* Constructs a new instance of LikeRequest with the given values.
|
|
2876
2875
|
* @param values The values to initialize the instance with.
|
|
@@ -2954,7 +2953,7 @@ declare class LikeRequest extends Activity {
|
|
|
2954
2953
|
* @param options The options to use for cloning.
|
|
2955
2954
|
* @returns The cloned instance.
|
|
2956
2955
|
*/
|
|
2957
|
-
clone(values?: {
|
|
2956
|
+
override clone(values?: {
|
|
2958
2957
|
id?: URL | null;
|
|
2959
2958
|
attachments?: (Object$1 | Link | PropertyValue | URL)[];
|
|
2960
2959
|
attribution?: Application | Group | Organization | Person | Service | URL | null;
|
|
@@ -3035,12 +3034,12 @@ declare class LikeRequest extends Activity {
|
|
|
3035
3034
|
when `format` is set to `'expand'`.
|
|
3036
3035
|
* @returns The JSON-LD representation of this object.
|
|
3037
3036
|
*/
|
|
3038
|
-
toJsonLd(options?: {
|
|
3037
|
+
override toJsonLd(options?: {
|
|
3039
3038
|
format?: "compact" | "expand";
|
|
3040
3039
|
contextLoader?: DocumentLoader$1;
|
|
3041
3040
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
|
3042
3041
|
}): Promise<unknown>;
|
|
3043
|
-
protected isCompactable(): boolean;
|
|
3042
|
+
protected override isCompactable(): boolean;
|
|
3044
3043
|
/**
|
|
3045
3044
|
* Converts a JSON-LD structure to an object of this type.
|
|
3046
3045
|
* @param json The JSON-LD structure to convert.
|
|
@@ -3052,7 +3051,7 @@ declare class LikeRequest extends Activity {
|
|
|
3052
3051
|
* @returns The object of this type.
|
|
3053
3052
|
* @throws {TypeError} If the given `json` is invalid.
|
|
3054
3053
|
*/
|
|
3055
|
-
static fromJsonLd(json: unknown, options?: {
|
|
3054
|
+
static override fromJsonLd(json: unknown, options?: {
|
|
3056
3055
|
documentLoader?: DocumentLoader$1;
|
|
3057
3056
|
contextLoader?: DocumentLoader$1;
|
|
3058
3057
|
tracerProvider?: TracerProvider;
|
|
@@ -3064,7 +3063,7 @@ declare class LikeRequest extends Activity {
|
|
|
3064
3063
|
tracerProvider?: TracerProvider;
|
|
3065
3064
|
baseUrl?: URL;
|
|
3066
3065
|
}): Promise<LikeRequest>;
|
|
3067
|
-
protected _getCustomInspectProxy(): Record<string, unknown>;
|
|
3066
|
+
protected override _getCustomInspectProxy(): Record<string, unknown>;
|
|
3068
3067
|
}
|
|
3069
3068
|
/** Proves that a reply interaction has been approved by the post author.
|
|
3070
3069
|
*
|
|
@@ -3080,7 +3079,7 @@ declare class ReplyAuthorization extends Object$1 {
|
|
|
3080
3079
|
/**
|
|
3081
3080
|
* The type URI of {@link ReplyAuthorization}: `https://gotosocial.org/ns#ReplyAuthorization`.
|
|
3082
3081
|
*/
|
|
3083
|
-
static get typeId(): URL;
|
|
3082
|
+
static override get typeId(): URL;
|
|
3084
3083
|
/**
|
|
3085
3084
|
* Constructs a new instance of ReplyAuthorization with the given values.
|
|
3086
3085
|
* @param values The values to initialize the instance with.
|
|
@@ -3154,7 +3153,7 @@ declare class ReplyAuthorization extends Object$1 {
|
|
|
3154
3153
|
* @param options The options to use for cloning.
|
|
3155
3154
|
* @returns The cloned instance.
|
|
3156
3155
|
*/
|
|
3157
|
-
clone(values?: {
|
|
3156
|
+
override clone(values?: {
|
|
3158
3157
|
id?: URL | null;
|
|
3159
3158
|
attachments?: (Object$1 | Link | PropertyValue | URL)[];
|
|
3160
3159
|
attribution?: Application | Group | Organization | Person | Service | URL | null;
|
|
@@ -3256,12 +3255,12 @@ declare class ReplyAuthorization extends Object$1 {
|
|
|
3256
3255
|
when `format` is set to `'expand'`.
|
|
3257
3256
|
* @returns The JSON-LD representation of this object.
|
|
3258
3257
|
*/
|
|
3259
|
-
toJsonLd(options?: {
|
|
3258
|
+
override toJsonLd(options?: {
|
|
3260
3259
|
format?: "compact" | "expand";
|
|
3261
3260
|
contextLoader?: DocumentLoader$1;
|
|
3262
3261
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
|
3263
3262
|
}): Promise<unknown>;
|
|
3264
|
-
protected isCompactable(): boolean;
|
|
3263
|
+
protected override isCompactable(): boolean;
|
|
3265
3264
|
/**
|
|
3266
3265
|
* Converts a JSON-LD structure to an object of this type.
|
|
3267
3266
|
* @param json The JSON-LD structure to convert.
|
|
@@ -3273,7 +3272,7 @@ declare class ReplyAuthorization extends Object$1 {
|
|
|
3273
3272
|
* @returns The object of this type.
|
|
3274
3273
|
* @throws {TypeError} If the given `json` is invalid.
|
|
3275
3274
|
*/
|
|
3276
|
-
static fromJsonLd(json: unknown, options?: {
|
|
3275
|
+
static override fromJsonLd(json: unknown, options?: {
|
|
3277
3276
|
documentLoader?: DocumentLoader$1;
|
|
3278
3277
|
contextLoader?: DocumentLoader$1;
|
|
3279
3278
|
tracerProvider?: TracerProvider;
|
|
@@ -3285,7 +3284,7 @@ declare class ReplyAuthorization extends Object$1 {
|
|
|
3285
3284
|
tracerProvider?: TracerProvider;
|
|
3286
3285
|
baseUrl?: URL;
|
|
3287
3286
|
}): Promise<ReplyAuthorization>;
|
|
3288
|
-
protected _getCustomInspectProxy(): Record<string, unknown>;
|
|
3287
|
+
protected override _getCustomInspectProxy(): Record<string, unknown>;
|
|
3289
3288
|
}
|
|
3290
3289
|
/** A request to reply to a post that requires approval from the post author.
|
|
3291
3290
|
*
|
|
@@ -3302,7 +3301,7 @@ declare class ReplyRequest extends Activity {
|
|
|
3302
3301
|
/**
|
|
3303
3302
|
* The type URI of {@link ReplyRequest}: `https://gotosocial.org/ns#ReplyRequest`.
|
|
3304
3303
|
*/
|
|
3305
|
-
static get typeId(): URL;
|
|
3304
|
+
static override get typeId(): URL;
|
|
3306
3305
|
/**
|
|
3307
3306
|
* Constructs a new instance of ReplyRequest with the given values.
|
|
3308
3307
|
* @param values The values to initialize the instance with.
|
|
@@ -3386,7 +3385,7 @@ declare class ReplyRequest extends Activity {
|
|
|
3386
3385
|
* @param options The options to use for cloning.
|
|
3387
3386
|
* @returns The cloned instance.
|
|
3388
3387
|
*/
|
|
3389
|
-
clone(values?: {
|
|
3388
|
+
override clone(values?: {
|
|
3390
3389
|
id?: URL | null;
|
|
3391
3390
|
attachments?: (Object$1 | Link | PropertyValue | URL)[];
|
|
3392
3391
|
attribution?: Application | Group | Organization | Person | Service | URL | null;
|
|
@@ -3467,12 +3466,12 @@ declare class ReplyRequest extends Activity {
|
|
|
3467
3466
|
when `format` is set to `'expand'`.
|
|
3468
3467
|
* @returns The JSON-LD representation of this object.
|
|
3469
3468
|
*/
|
|
3470
|
-
toJsonLd(options?: {
|
|
3469
|
+
override toJsonLd(options?: {
|
|
3471
3470
|
format?: "compact" | "expand";
|
|
3472
3471
|
contextLoader?: DocumentLoader$1;
|
|
3473
3472
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
|
3474
3473
|
}): Promise<unknown>;
|
|
3475
|
-
protected isCompactable(): boolean;
|
|
3474
|
+
protected override isCompactable(): boolean;
|
|
3476
3475
|
/**
|
|
3477
3476
|
* Converts a JSON-LD structure to an object of this type.
|
|
3478
3477
|
* @param json The JSON-LD structure to convert.
|
|
@@ -3484,7 +3483,7 @@ declare class ReplyRequest extends Activity {
|
|
|
3484
3483
|
* @returns The object of this type.
|
|
3485
3484
|
* @throws {TypeError} If the given `json` is invalid.
|
|
3486
3485
|
*/
|
|
3487
|
-
static fromJsonLd(json: unknown, options?: {
|
|
3486
|
+
static override fromJsonLd(json: unknown, options?: {
|
|
3488
3487
|
documentLoader?: DocumentLoader$1;
|
|
3489
3488
|
contextLoader?: DocumentLoader$1;
|
|
3490
3489
|
tracerProvider?: TracerProvider;
|
|
@@ -3496,7 +3495,7 @@ declare class ReplyRequest extends Activity {
|
|
|
3496
3495
|
tracerProvider?: TracerProvider;
|
|
3497
3496
|
baseUrl?: URL;
|
|
3498
3497
|
}): Promise<ReplyRequest>;
|
|
3499
|
-
protected _getCustomInspectProxy(): Record<string, unknown>;
|
|
3498
|
+
protected override _getCustomInspectProxy(): Record<string, unknown>;
|
|
3500
3499
|
}
|
|
3501
3500
|
/** Means of communicating or interacting with the DID subject or associated
|
|
3502
3501
|
* entities via one or more service endpoints. Examples include discovery
|
|
@@ -3603,7 +3602,7 @@ declare class Export extends DidService {
|
|
|
3603
3602
|
/**
|
|
3604
3603
|
* The type URI of {@link Export}: `https://w3id.org/fep/9091#Export`.
|
|
3605
3604
|
*/
|
|
3606
|
-
static get typeId(): URL;
|
|
3605
|
+
static override get typeId(): URL;
|
|
3607
3606
|
/**
|
|
3608
3607
|
* Constructs a new instance of Export with the given values.
|
|
3609
3608
|
* @param values The values to initialize the instance with.
|
|
@@ -3624,7 +3623,7 @@ declare class Export extends DidService {
|
|
|
3624
3623
|
* @param options The options to use for cloning.
|
|
3625
3624
|
* @returns The cloned instance.
|
|
3626
3625
|
*/
|
|
3627
|
-
clone(values?: {
|
|
3626
|
+
override clone(values?: {
|
|
3628
3627
|
id?: URL | null;
|
|
3629
3628
|
endpoint?: URL | null;
|
|
3630
3629
|
endpoints?: (URL)[];
|
|
@@ -3642,12 +3641,12 @@ declare class Export extends DidService {
|
|
|
3642
3641
|
when `format` is set to `'expand'`.
|
|
3643
3642
|
* @returns The JSON-LD representation of this object.
|
|
3644
3643
|
*/
|
|
3645
|
-
toJsonLd(options?: {
|
|
3644
|
+
override toJsonLd(options?: {
|
|
3646
3645
|
format?: "compact" | "expand";
|
|
3647
3646
|
contextLoader?: DocumentLoader$1;
|
|
3648
3647
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
|
3649
3648
|
}): Promise<unknown>;
|
|
3650
|
-
protected isCompactable(): boolean;
|
|
3649
|
+
protected override isCompactable(): boolean;
|
|
3651
3650
|
/**
|
|
3652
3651
|
* Converts a JSON-LD structure to an object of this type.
|
|
3653
3652
|
* @param json The JSON-LD structure to convert.
|
|
@@ -3659,7 +3658,7 @@ declare class Export extends DidService {
|
|
|
3659
3658
|
* @returns The object of this type.
|
|
3660
3659
|
* @throws {TypeError} If the given `json` is invalid.
|
|
3661
3660
|
*/
|
|
3662
|
-
static fromJsonLd(json: unknown, options?: {
|
|
3661
|
+
static override fromJsonLd(json: unknown, options?: {
|
|
3663
3662
|
documentLoader?: DocumentLoader$1;
|
|
3664
3663
|
contextLoader?: DocumentLoader$1;
|
|
3665
3664
|
tracerProvider?: TracerProvider;
|
|
@@ -3671,7 +3670,7 @@ declare class Export extends DidService {
|
|
|
3671
3670
|
tracerProvider?: TracerProvider;
|
|
3672
3671
|
baseUrl?: URL;
|
|
3673
3672
|
}): Promise<Export>;
|
|
3674
|
-
protected _getCustomInspectProxy(): Record<string, unknown>;
|
|
3673
|
+
protected override _getCustomInspectProxy(): Record<string, unknown>;
|
|
3675
3674
|
}
|
|
3676
3675
|
/** A proof that can be added to any activity or object, allowing recipients to
|
|
3677
3676
|
* verify the identity of the actor and the integrity of the data.
|
|
@@ -4030,7 +4029,7 @@ declare class Accept extends Activity {
|
|
|
4030
4029
|
/**
|
|
4031
4030
|
* The type URI of {@link Accept}: `https://www.w3.org/ns/activitystreams#Accept`.
|
|
4032
4031
|
*/
|
|
4033
|
-
static get typeId(): URL;
|
|
4032
|
+
static override get typeId(): URL;
|
|
4034
4033
|
/**
|
|
4035
4034
|
* Constructs a new instance of Accept with the given values.
|
|
4036
4035
|
* @param values The values to initialize the instance with.
|
|
@@ -4114,7 +4113,7 @@ declare class Accept extends Activity {
|
|
|
4114
4113
|
* @param options The options to use for cloning.
|
|
4115
4114
|
* @returns The cloned instance.
|
|
4116
4115
|
*/
|
|
4117
|
-
clone(values?: {
|
|
4116
|
+
override clone(values?: {
|
|
4118
4117
|
id?: URL | null;
|
|
4119
4118
|
attachments?: (Object$1 | Link | PropertyValue | URL)[];
|
|
4120
4119
|
attribution?: Application | Group | Organization | Person | Service | URL | null;
|
|
@@ -4195,12 +4194,12 @@ declare class Accept extends Activity {
|
|
|
4195
4194
|
when `format` is set to `'expand'`.
|
|
4196
4195
|
* @returns The JSON-LD representation of this object.
|
|
4197
4196
|
*/
|
|
4198
|
-
toJsonLd(options?: {
|
|
4197
|
+
override toJsonLd(options?: {
|
|
4199
4198
|
format?: "compact" | "expand";
|
|
4200
4199
|
contextLoader?: DocumentLoader$1;
|
|
4201
4200
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
|
4202
4201
|
}): Promise<unknown>;
|
|
4203
|
-
protected isCompactable(): boolean;
|
|
4202
|
+
protected override isCompactable(): boolean;
|
|
4204
4203
|
/**
|
|
4205
4204
|
* Converts a JSON-LD structure to an object of this type.
|
|
4206
4205
|
* @param json The JSON-LD structure to convert.
|
|
@@ -4212,7 +4211,7 @@ declare class Accept extends Activity {
|
|
|
4212
4211
|
* @returns The object of this type.
|
|
4213
4212
|
* @throws {TypeError} If the given `json` is invalid.
|
|
4214
4213
|
*/
|
|
4215
|
-
static fromJsonLd(json: unknown, options?: {
|
|
4214
|
+
static override fromJsonLd(json: unknown, options?: {
|
|
4216
4215
|
documentLoader?: DocumentLoader$1;
|
|
4217
4216
|
contextLoader?: DocumentLoader$1;
|
|
4218
4217
|
tracerProvider?: TracerProvider;
|
|
@@ -4224,7 +4223,7 @@ declare class Accept extends Activity {
|
|
|
4224
4223
|
tracerProvider?: TracerProvider;
|
|
4225
4224
|
baseUrl?: URL;
|
|
4226
4225
|
}): Promise<Accept>;
|
|
4227
|
-
protected _getCustomInspectProxy(): Record<string, unknown>;
|
|
4226
|
+
protected override _getCustomInspectProxy(): Record<string, unknown>;
|
|
4228
4227
|
}
|
|
4229
4228
|
/** Indicates that the `actor` has added the `object` to the `target`.
|
|
4230
4229
|
* If the `target` property is not explicitly specified, the target would need
|
|
@@ -4235,7 +4234,7 @@ declare class Add extends Activity {
|
|
|
4235
4234
|
/**
|
|
4236
4235
|
* The type URI of {@link Add}: `https://www.w3.org/ns/activitystreams#Add`.
|
|
4237
4236
|
*/
|
|
4238
|
-
static get typeId(): URL;
|
|
4237
|
+
static override get typeId(): URL;
|
|
4239
4238
|
/**
|
|
4240
4239
|
* Constructs a new instance of Add with the given values.
|
|
4241
4240
|
* @param values The values to initialize the instance with.
|
|
@@ -4319,7 +4318,7 @@ declare class Add extends Activity {
|
|
|
4319
4318
|
* @param options The options to use for cloning.
|
|
4320
4319
|
* @returns The cloned instance.
|
|
4321
4320
|
*/
|
|
4322
|
-
clone(values?: {
|
|
4321
|
+
override clone(values?: {
|
|
4323
4322
|
id?: URL | null;
|
|
4324
4323
|
attachments?: (Object$1 | Link | PropertyValue | URL)[];
|
|
4325
4324
|
attribution?: Application | Group | Organization | Person | Service | URL | null;
|
|
@@ -4400,12 +4399,12 @@ declare class Add extends Activity {
|
|
|
4400
4399
|
when `format` is set to `'expand'`.
|
|
4401
4400
|
* @returns The JSON-LD representation of this object.
|
|
4402
4401
|
*/
|
|
4403
|
-
toJsonLd(options?: {
|
|
4402
|
+
override toJsonLd(options?: {
|
|
4404
4403
|
format?: "compact" | "expand";
|
|
4405
4404
|
contextLoader?: DocumentLoader$1;
|
|
4406
4405
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
|
4407
4406
|
}): Promise<unknown>;
|
|
4408
|
-
protected isCompactable(): boolean;
|
|
4407
|
+
protected override isCompactable(): boolean;
|
|
4409
4408
|
/**
|
|
4410
4409
|
* Converts a JSON-LD structure to an object of this type.
|
|
4411
4410
|
* @param json The JSON-LD structure to convert.
|
|
@@ -4417,7 +4416,7 @@ declare class Add extends Activity {
|
|
|
4417
4416
|
* @returns The object of this type.
|
|
4418
4417
|
* @throws {TypeError} If the given `json` is invalid.
|
|
4419
4418
|
*/
|
|
4420
|
-
static fromJsonLd(json: unknown, options?: {
|
|
4419
|
+
static override fromJsonLd(json: unknown, options?: {
|
|
4421
4420
|
documentLoader?: DocumentLoader$1;
|
|
4422
4421
|
contextLoader?: DocumentLoader$1;
|
|
4423
4422
|
tracerProvider?: TracerProvider;
|
|
@@ -4429,7 +4428,7 @@ declare class Add extends Activity {
|
|
|
4429
4428
|
tracerProvider?: TracerProvider;
|
|
4430
4429
|
baseUrl?: URL;
|
|
4431
4430
|
}): Promise<Add>;
|
|
4432
|
-
protected _getCustomInspectProxy(): Record<string, unknown>;
|
|
4431
|
+
protected override _getCustomInspectProxy(): Record<string, unknown>;
|
|
4433
4432
|
}
|
|
4434
4433
|
/** Indicates that the `actor` is calling the `target`'s attention the `object`.
|
|
4435
4434
|
*
|
|
@@ -4439,7 +4438,7 @@ declare class Announce extends Activity {
|
|
|
4439
4438
|
/**
|
|
4440
4439
|
* The type URI of {@link Announce}: `https://www.w3.org/ns/activitystreams#Announce`.
|
|
4441
4440
|
*/
|
|
4442
|
-
static get typeId(): URL;
|
|
4441
|
+
static override get typeId(): URL;
|
|
4443
4442
|
/**
|
|
4444
4443
|
* Constructs a new instance of Announce with the given values.
|
|
4445
4444
|
* @param values The values to initialize the instance with.
|
|
@@ -4523,7 +4522,7 @@ declare class Announce extends Activity {
|
|
|
4523
4522
|
* @param options The options to use for cloning.
|
|
4524
4523
|
* @returns The cloned instance.
|
|
4525
4524
|
*/
|
|
4526
|
-
clone(values?: {
|
|
4525
|
+
override clone(values?: {
|
|
4527
4526
|
id?: URL | null;
|
|
4528
4527
|
attachments?: (Object$1 | Link | PropertyValue | URL)[];
|
|
4529
4528
|
attribution?: Application | Group | Organization | Person | Service | URL | null;
|
|
@@ -4604,12 +4603,12 @@ declare class Announce extends Activity {
|
|
|
4604
4603
|
when `format` is set to `'expand'`.
|
|
4605
4604
|
* @returns The JSON-LD representation of this object.
|
|
4606
4605
|
*/
|
|
4607
|
-
toJsonLd(options?: {
|
|
4606
|
+
override toJsonLd(options?: {
|
|
4608
4607
|
format?: "compact" | "expand";
|
|
4609
4608
|
contextLoader?: DocumentLoader$1;
|
|
4610
4609
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
|
4611
4610
|
}): Promise<unknown>;
|
|
4612
|
-
protected isCompactable(): boolean;
|
|
4611
|
+
protected override isCompactable(): boolean;
|
|
4613
4612
|
/**
|
|
4614
4613
|
* Converts a JSON-LD structure to an object of this type.
|
|
4615
4614
|
* @param json The JSON-LD structure to convert.
|
|
@@ -4621,7 +4620,7 @@ declare class Announce extends Activity {
|
|
|
4621
4620
|
* @returns The object of this type.
|
|
4622
4621
|
* @throws {TypeError} If the given `json` is invalid.
|
|
4623
4622
|
*/
|
|
4624
|
-
static fromJsonLd(json: unknown, options?: {
|
|
4623
|
+
static override fromJsonLd(json: unknown, options?: {
|
|
4625
4624
|
documentLoader?: DocumentLoader$1;
|
|
4626
4625
|
contextLoader?: DocumentLoader$1;
|
|
4627
4626
|
tracerProvider?: TracerProvider;
|
|
@@ -4633,7 +4632,7 @@ declare class Announce extends Activity {
|
|
|
4633
4632
|
tracerProvider?: TracerProvider;
|
|
4634
4633
|
baseUrl?: URL;
|
|
4635
4634
|
}): Promise<Announce>;
|
|
4636
|
-
protected _getCustomInspectProxy(): Record<string, unknown>;
|
|
4635
|
+
protected override _getCustomInspectProxy(): Record<string, unknown>;
|
|
4637
4636
|
}
|
|
4638
4637
|
/** Describes a software application.
|
|
4639
4638
|
*/
|
|
@@ -4642,7 +4641,7 @@ declare class Application extends Object$1 {
|
|
|
4642
4641
|
/**
|
|
4643
4642
|
* The type URI of {@link Application}: `https://www.w3.org/ns/activitystreams#Application`.
|
|
4644
4643
|
*/
|
|
4645
|
-
static get typeId(): URL;
|
|
4644
|
+
static override get typeId(): URL;
|
|
4646
4645
|
/**
|
|
4647
4646
|
* Constructs a new instance of Application with the given values.
|
|
4648
4647
|
* @param values The values to initialize the instance with.
|
|
@@ -4741,7 +4740,7 @@ declare class Application extends Object$1 {
|
|
|
4741
4740
|
* @param options The options to use for cloning.
|
|
4742
4741
|
* @returns The cloned instance.
|
|
4743
4742
|
*/
|
|
4744
|
-
clone(values?: {
|
|
4743
|
+
override clone(values?: {
|
|
4745
4744
|
id?: URL | null;
|
|
4746
4745
|
attachments?: (Object$1 | Link | PropertyValue | URL)[];
|
|
4747
4746
|
attribution?: Application | Group | Organization | Person | Service | URL | null;
|
|
@@ -5200,12 +5199,12 @@ declare class Application extends Object$1 {
|
|
|
5200
5199
|
when `format` is set to `'expand'`.
|
|
5201
5200
|
* @returns The JSON-LD representation of this object.
|
|
5202
5201
|
*/
|
|
5203
|
-
toJsonLd(options?: {
|
|
5202
|
+
override toJsonLd(options?: {
|
|
5204
5203
|
format?: "compact" | "expand";
|
|
5205
5204
|
contextLoader?: DocumentLoader$1;
|
|
5206
5205
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
|
5207
5206
|
}): Promise<unknown>;
|
|
5208
|
-
protected isCompactable(): boolean;
|
|
5207
|
+
protected override isCompactable(): boolean;
|
|
5209
5208
|
/**
|
|
5210
5209
|
* Converts a JSON-LD structure to an object of this type.
|
|
5211
5210
|
* @param json The JSON-LD structure to convert.
|
|
@@ -5217,7 +5216,7 @@ declare class Application extends Object$1 {
|
|
|
5217
5216
|
* @returns The object of this type.
|
|
5218
5217
|
* @throws {TypeError} If the given `json` is invalid.
|
|
5219
5218
|
*/
|
|
5220
|
-
static fromJsonLd(json: unknown, options?: {
|
|
5219
|
+
static override fromJsonLd(json: unknown, options?: {
|
|
5221
5220
|
documentLoader?: DocumentLoader$1;
|
|
5222
5221
|
contextLoader?: DocumentLoader$1;
|
|
5223
5222
|
tracerProvider?: TracerProvider;
|
|
@@ -5229,7 +5228,7 @@ declare class Application extends Object$1 {
|
|
|
5229
5228
|
tracerProvider?: TracerProvider;
|
|
5230
5229
|
baseUrl?: URL;
|
|
5231
5230
|
}): Promise<Application>;
|
|
5232
|
-
protected _getCustomInspectProxy(): Record<string, unknown>;
|
|
5231
|
+
protected override _getCustomInspectProxy(): Record<string, unknown>;
|
|
5233
5232
|
}
|
|
5234
5233
|
/** Instances of `IntransitiveActivity` are a subtype of {@link Activity}
|
|
5235
5234
|
* representing intransitive actions. The `object` property is therefore
|
|
@@ -5239,7 +5238,7 @@ declare class IntransitiveActivity extends Activity {
|
|
|
5239
5238
|
/**
|
|
5240
5239
|
* The type URI of {@link IntransitiveActivity}: `https://www.w3.org/ns/activitystreams#IntransitiveActivity`.
|
|
5241
5240
|
*/
|
|
5242
|
-
static get typeId(): URL;
|
|
5241
|
+
static override get typeId(): URL;
|
|
5243
5242
|
/**
|
|
5244
5243
|
* Constructs a new instance of IntransitiveActivity with the given values.
|
|
5245
5244
|
* @param values The values to initialize the instance with.
|
|
@@ -5323,7 +5322,7 @@ declare class IntransitiveActivity extends Activity {
|
|
|
5323
5322
|
* @param options The options to use for cloning.
|
|
5324
5323
|
* @returns The cloned instance.
|
|
5325
5324
|
*/
|
|
5326
|
-
clone(values?: {
|
|
5325
|
+
override clone(values?: {
|
|
5327
5326
|
id?: URL | null;
|
|
5328
5327
|
attachments?: (Object$1 | Link | PropertyValue | URL)[];
|
|
5329
5328
|
attribution?: Application | Group | Organization | Person | Service | URL | null;
|
|
@@ -5404,12 +5403,12 @@ declare class IntransitiveActivity extends Activity {
|
|
|
5404
5403
|
when `format` is set to `'expand'`.
|
|
5405
5404
|
* @returns The JSON-LD representation of this object.
|
|
5406
5405
|
*/
|
|
5407
|
-
toJsonLd(options?: {
|
|
5406
|
+
override toJsonLd(options?: {
|
|
5408
5407
|
format?: "compact" | "expand";
|
|
5409
5408
|
contextLoader?: DocumentLoader$1;
|
|
5410
5409
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
|
5411
5410
|
}): Promise<unknown>;
|
|
5412
|
-
protected isCompactable(): boolean;
|
|
5411
|
+
protected override isCompactable(): boolean;
|
|
5413
5412
|
/**
|
|
5414
5413
|
* Converts a JSON-LD structure to an object of this type.
|
|
5415
5414
|
* @param json The JSON-LD structure to convert.
|
|
@@ -5421,7 +5420,7 @@ declare class IntransitiveActivity extends Activity {
|
|
|
5421
5420
|
* @returns The object of this type.
|
|
5422
5421
|
* @throws {TypeError} If the given `json` is invalid.
|
|
5423
5422
|
*/
|
|
5424
|
-
static fromJsonLd(json: unknown, options?: {
|
|
5423
|
+
static override fromJsonLd(json: unknown, options?: {
|
|
5425
5424
|
documentLoader?: DocumentLoader$1;
|
|
5426
5425
|
contextLoader?: DocumentLoader$1;
|
|
5427
5426
|
tracerProvider?: TracerProvider;
|
|
@@ -5433,7 +5432,7 @@ declare class IntransitiveActivity extends Activity {
|
|
|
5433
5432
|
tracerProvider?: TracerProvider;
|
|
5434
5433
|
baseUrl?: URL;
|
|
5435
5434
|
}): Promise<IntransitiveActivity>;
|
|
5436
|
-
protected _getCustomInspectProxy(): Record<string, unknown>;
|
|
5435
|
+
protected override _getCustomInspectProxy(): Record<string, unknown>;
|
|
5437
5436
|
}
|
|
5438
5437
|
/** An `IntransitiveActivity` that indicates that the `actor` has arrived at the `location`.
|
|
5439
5438
|
* The `origin` can be used to identify the context from which the `actor` originated.
|
|
@@ -5443,7 +5442,7 @@ declare class Arrive extends IntransitiveActivity {
|
|
|
5443
5442
|
/**
|
|
5444
5443
|
* The type URI of {@link Arrive}: `https://www.w3.org/ns/activitystreams#Arrive`.
|
|
5445
5444
|
*/
|
|
5446
|
-
static get typeId(): URL;
|
|
5445
|
+
static override get typeId(): URL;
|
|
5447
5446
|
/**
|
|
5448
5447
|
* Constructs a new instance of Arrive with the given values.
|
|
5449
5448
|
* @param values The values to initialize the instance with.
|
|
@@ -5527,7 +5526,7 @@ declare class Arrive extends IntransitiveActivity {
|
|
|
5527
5526
|
* @param options The options to use for cloning.
|
|
5528
5527
|
* @returns The cloned instance.
|
|
5529
5528
|
*/
|
|
5530
|
-
clone(values?: {
|
|
5529
|
+
override clone(values?: {
|
|
5531
5530
|
id?: URL | null;
|
|
5532
5531
|
attachments?: (Object$1 | Link | PropertyValue | URL)[];
|
|
5533
5532
|
attribution?: Application | Group | Organization | Person | Service | URL | null;
|
|
@@ -5608,12 +5607,12 @@ declare class Arrive extends IntransitiveActivity {
|
|
|
5608
5607
|
when `format` is set to `'expand'`.
|
|
5609
5608
|
* @returns The JSON-LD representation of this object.
|
|
5610
5609
|
*/
|
|
5611
|
-
toJsonLd(options?: {
|
|
5610
|
+
override toJsonLd(options?: {
|
|
5612
5611
|
format?: "compact" | "expand";
|
|
5613
5612
|
contextLoader?: DocumentLoader$1;
|
|
5614
5613
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
|
5615
5614
|
}): Promise<unknown>;
|
|
5616
|
-
protected isCompactable(): boolean;
|
|
5615
|
+
protected override isCompactable(): boolean;
|
|
5617
5616
|
/**
|
|
5618
5617
|
* Converts a JSON-LD structure to an object of this type.
|
|
5619
5618
|
* @param json The JSON-LD structure to convert.
|
|
@@ -5625,7 +5624,7 @@ declare class Arrive extends IntransitiveActivity {
|
|
|
5625
5624
|
* @returns The object of this type.
|
|
5626
5625
|
* @throws {TypeError} If the given `json` is invalid.
|
|
5627
5626
|
*/
|
|
5628
|
-
static fromJsonLd(json: unknown, options?: {
|
|
5627
|
+
static override fromJsonLd(json: unknown, options?: {
|
|
5629
5628
|
documentLoader?: DocumentLoader$1;
|
|
5630
5629
|
contextLoader?: DocumentLoader$1;
|
|
5631
5630
|
tracerProvider?: TracerProvider;
|
|
@@ -5637,7 +5636,7 @@ declare class Arrive extends IntransitiveActivity {
|
|
|
5637
5636
|
tracerProvider?: TracerProvider;
|
|
5638
5637
|
baseUrl?: URL;
|
|
5639
5638
|
}): Promise<Arrive>;
|
|
5640
|
-
protected _getCustomInspectProxy(): Record<string, unknown>;
|
|
5639
|
+
protected override _getCustomInspectProxy(): Record<string, unknown>;
|
|
5641
5640
|
}
|
|
5642
5641
|
/** Represents any kind of multi-paragraph written work.
|
|
5643
5642
|
*/
|
|
@@ -5646,7 +5645,7 @@ declare class Article extends Object$1 {
|
|
|
5646
5645
|
/**
|
|
5647
5646
|
* The type URI of {@link Article}: `https://www.w3.org/ns/activitystreams#Article`.
|
|
5648
5647
|
*/
|
|
5649
|
-
static get typeId(): URL;
|
|
5648
|
+
static override get typeId(): URL;
|
|
5650
5649
|
/**
|
|
5651
5650
|
* Constructs a new instance of Article with the given values.
|
|
5652
5651
|
* @param values The values to initialize the instance with.
|
|
@@ -5719,7 +5718,7 @@ declare class Article extends Object$1 {
|
|
|
5719
5718
|
* @param options The options to use for cloning.
|
|
5720
5719
|
* @returns The cloned instance.
|
|
5721
5720
|
*/
|
|
5722
|
-
clone(values?: {
|
|
5721
|
+
override clone(values?: {
|
|
5723
5722
|
id?: URL | null;
|
|
5724
5723
|
attachments?: (Object$1 | Link | PropertyValue | URL)[];
|
|
5725
5724
|
attribution?: Application | Group | Organization | Person | Service | URL | null;
|
|
@@ -5801,12 +5800,12 @@ declare class Article extends Object$1 {
|
|
|
5801
5800
|
when `format` is set to `'expand'`.
|
|
5802
5801
|
* @returns The JSON-LD representation of this object.
|
|
5803
5802
|
*/
|
|
5804
|
-
toJsonLd(options?: {
|
|
5803
|
+
override toJsonLd(options?: {
|
|
5805
5804
|
format?: "compact" | "expand";
|
|
5806
5805
|
contextLoader?: DocumentLoader$1;
|
|
5807
5806
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
|
5808
5807
|
}): Promise<unknown>;
|
|
5809
|
-
protected isCompactable(): boolean;
|
|
5808
|
+
protected override isCompactable(): boolean;
|
|
5810
5809
|
/**
|
|
5811
5810
|
* Converts a JSON-LD structure to an object of this type.
|
|
5812
5811
|
* @param json The JSON-LD structure to convert.
|
|
@@ -5818,7 +5817,7 @@ declare class Article extends Object$1 {
|
|
|
5818
5817
|
* @returns The object of this type.
|
|
5819
5818
|
* @throws {TypeError} If the given `json` is invalid.
|
|
5820
5819
|
*/
|
|
5821
|
-
static fromJsonLd(json: unknown, options?: {
|
|
5820
|
+
static override fromJsonLd(json: unknown, options?: {
|
|
5822
5821
|
documentLoader?: DocumentLoader$1;
|
|
5823
5822
|
contextLoader?: DocumentLoader$1;
|
|
5824
5823
|
tracerProvider?: TracerProvider;
|
|
@@ -5830,7 +5829,7 @@ declare class Article extends Object$1 {
|
|
|
5830
5829
|
tracerProvider?: TracerProvider;
|
|
5831
5830
|
baseUrl?: URL;
|
|
5832
5831
|
}): Promise<Article>;
|
|
5833
|
-
protected _getCustomInspectProxy(): Record<string, unknown>;
|
|
5832
|
+
protected override _getCustomInspectProxy(): Record<string, unknown>;
|
|
5834
5833
|
}
|
|
5835
5834
|
/** Represents a document of any kind.
|
|
5836
5835
|
*/
|
|
@@ -5839,7 +5838,7 @@ declare class Document extends Object$1 {
|
|
|
5839
5838
|
/**
|
|
5840
5839
|
* The type URI of {@link Document}: `https://www.w3.org/ns/activitystreams#Document`.
|
|
5841
5840
|
*/
|
|
5842
|
-
static get typeId(): URL;
|
|
5841
|
+
static override get typeId(): URL;
|
|
5843
5842
|
/**
|
|
5844
5843
|
* Constructs a new instance of Document with the given values.
|
|
5845
5844
|
* @param values The values to initialize the instance with.
|
|
@@ -5913,7 +5912,7 @@ declare class Document extends Object$1 {
|
|
|
5913
5912
|
* @param options The options to use for cloning.
|
|
5914
5913
|
* @returns The cloned instance.
|
|
5915
5914
|
*/
|
|
5916
|
-
clone(values?: {
|
|
5915
|
+
override clone(values?: {
|
|
5917
5916
|
id?: URL | null;
|
|
5918
5917
|
attachments?: (Object$1 | Link | PropertyValue | URL)[];
|
|
5919
5918
|
attribution?: Application | Group | Organization | Person | Service | URL | null;
|
|
@@ -5992,12 +5991,12 @@ declare class Document extends Object$1 {
|
|
|
5992
5991
|
when `format` is set to `'expand'`.
|
|
5993
5992
|
* @returns The JSON-LD representation of this object.
|
|
5994
5993
|
*/
|
|
5995
|
-
toJsonLd(options?: {
|
|
5994
|
+
override toJsonLd(options?: {
|
|
5996
5995
|
format?: "compact" | "expand";
|
|
5997
5996
|
contextLoader?: DocumentLoader$1;
|
|
5998
5997
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
|
5999
5998
|
}): Promise<unknown>;
|
|
6000
|
-
protected isCompactable(): boolean;
|
|
5999
|
+
protected override isCompactable(): boolean;
|
|
6001
6000
|
/**
|
|
6002
6001
|
* Converts a JSON-LD structure to an object of this type.
|
|
6003
6002
|
* @param json The JSON-LD structure to convert.
|
|
@@ -6009,7 +6008,7 @@ declare class Document extends Object$1 {
|
|
|
6009
6008
|
* @returns The object of this type.
|
|
6010
6009
|
* @throws {TypeError} If the given `json` is invalid.
|
|
6011
6010
|
*/
|
|
6012
|
-
static fromJsonLd(json: unknown, options?: {
|
|
6011
|
+
static override fromJsonLd(json: unknown, options?: {
|
|
6013
6012
|
documentLoader?: DocumentLoader$1;
|
|
6014
6013
|
contextLoader?: DocumentLoader$1;
|
|
6015
6014
|
tracerProvider?: TracerProvider;
|
|
@@ -6021,7 +6020,7 @@ declare class Document extends Object$1 {
|
|
|
6021
6020
|
tracerProvider?: TracerProvider;
|
|
6022
6021
|
baseUrl?: URL;
|
|
6023
6022
|
}): Promise<Document>;
|
|
6024
|
-
protected _getCustomInspectProxy(): Record<string, unknown>;
|
|
6023
|
+
protected override _getCustomInspectProxy(): Record<string, unknown>;
|
|
6025
6024
|
}
|
|
6026
6025
|
/** Represents an audio document of any kind.
|
|
6027
6026
|
*/
|
|
@@ -6029,7 +6028,7 @@ declare class Audio extends Document {
|
|
|
6029
6028
|
/**
|
|
6030
6029
|
* The type URI of {@link Audio}: `https://www.w3.org/ns/activitystreams#Audio`.
|
|
6031
6030
|
*/
|
|
6032
|
-
static get typeId(): URL;
|
|
6031
|
+
static override get typeId(): URL;
|
|
6033
6032
|
/**
|
|
6034
6033
|
* Constructs a new instance of Audio with the given values.
|
|
6035
6034
|
* @param values The values to initialize the instance with.
|
|
@@ -6103,7 +6102,7 @@ declare class Audio extends Document {
|
|
|
6103
6102
|
* @param options The options to use for cloning.
|
|
6104
6103
|
* @returns The cloned instance.
|
|
6105
6104
|
*/
|
|
6106
|
-
clone(values?: {
|
|
6105
|
+
override clone(values?: {
|
|
6107
6106
|
id?: URL | null;
|
|
6108
6107
|
attachments?: (Object$1 | Link | PropertyValue | URL)[];
|
|
6109
6108
|
attribution?: Application | Group | Organization | Person | Service | URL | null;
|
|
@@ -6174,12 +6173,12 @@ declare class Audio extends Document {
|
|
|
6174
6173
|
when `format` is set to `'expand'`.
|
|
6175
6174
|
* @returns The JSON-LD representation of this object.
|
|
6176
6175
|
*/
|
|
6177
|
-
toJsonLd(options?: {
|
|
6176
|
+
override toJsonLd(options?: {
|
|
6178
6177
|
format?: "compact" | "expand";
|
|
6179
6178
|
contextLoader?: DocumentLoader$1;
|
|
6180
6179
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
|
6181
6180
|
}): Promise<unknown>;
|
|
6182
|
-
protected isCompactable(): boolean;
|
|
6181
|
+
protected override isCompactable(): boolean;
|
|
6183
6182
|
/**
|
|
6184
6183
|
* Converts a JSON-LD structure to an object of this type.
|
|
6185
6184
|
* @param json The JSON-LD structure to convert.
|
|
@@ -6191,7 +6190,7 @@ declare class Audio extends Document {
|
|
|
6191
6190
|
* @returns The object of this type.
|
|
6192
6191
|
* @throws {TypeError} If the given `json` is invalid.
|
|
6193
6192
|
*/
|
|
6194
|
-
static fromJsonLd(json: unknown, options?: {
|
|
6193
|
+
static override fromJsonLd(json: unknown, options?: {
|
|
6195
6194
|
documentLoader?: DocumentLoader$1;
|
|
6196
6195
|
contextLoader?: DocumentLoader$1;
|
|
6197
6196
|
tracerProvider?: TracerProvider;
|
|
@@ -6203,7 +6202,7 @@ declare class Audio extends Document {
|
|
|
6203
6202
|
tracerProvider?: TracerProvider;
|
|
6204
6203
|
baseUrl?: URL;
|
|
6205
6204
|
}): Promise<Audio>;
|
|
6206
|
-
protected _getCustomInspectProxy(): Record<string, unknown>;
|
|
6205
|
+
protected override _getCustomInspectProxy(): Record<string, unknown>;
|
|
6207
6206
|
}
|
|
6208
6207
|
/** Indicates that the `actor` is ignoring the `object`. The `target` and
|
|
6209
6208
|
* `origin` typically have no defined meaning.
|
|
@@ -6212,7 +6211,7 @@ declare class Ignore extends Activity {
|
|
|
6212
6211
|
/**
|
|
6213
6212
|
* The type URI of {@link Ignore}: `https://www.w3.org/ns/activitystreams#Ignore`.
|
|
6214
6213
|
*/
|
|
6215
|
-
static get typeId(): URL;
|
|
6214
|
+
static override get typeId(): URL;
|
|
6216
6215
|
/**
|
|
6217
6216
|
* Constructs a new instance of Ignore with the given values.
|
|
6218
6217
|
* @param values The values to initialize the instance with.
|
|
@@ -6296,7 +6295,7 @@ declare class Ignore extends Activity {
|
|
|
6296
6295
|
* @param options The options to use for cloning.
|
|
6297
6296
|
* @returns The cloned instance.
|
|
6298
6297
|
*/
|
|
6299
|
-
clone(values?: {
|
|
6298
|
+
override clone(values?: {
|
|
6300
6299
|
id?: URL | null;
|
|
6301
6300
|
attachments?: (Object$1 | Link | PropertyValue | URL)[];
|
|
6302
6301
|
attribution?: Application | Group | Organization | Person | Service | URL | null;
|
|
@@ -6377,12 +6376,12 @@ declare class Ignore extends Activity {
|
|
|
6377
6376
|
when `format` is set to `'expand'`.
|
|
6378
6377
|
* @returns The JSON-LD representation of this object.
|
|
6379
6378
|
*/
|
|
6380
|
-
toJsonLd(options?: {
|
|
6379
|
+
override toJsonLd(options?: {
|
|
6381
6380
|
format?: "compact" | "expand";
|
|
6382
6381
|
contextLoader?: DocumentLoader$1;
|
|
6383
6382
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
|
6384
6383
|
}): Promise<unknown>;
|
|
6385
|
-
protected isCompactable(): boolean;
|
|
6384
|
+
protected override isCompactable(): boolean;
|
|
6386
6385
|
/**
|
|
6387
6386
|
* Converts a JSON-LD structure to an object of this type.
|
|
6388
6387
|
* @param json The JSON-LD structure to convert.
|
|
@@ -6394,7 +6393,7 @@ declare class Ignore extends Activity {
|
|
|
6394
6393
|
* @returns The object of this type.
|
|
6395
6394
|
* @throws {TypeError} If the given `json` is invalid.
|
|
6396
6395
|
*/
|
|
6397
|
-
static fromJsonLd(json: unknown, options?: {
|
|
6396
|
+
static override fromJsonLd(json: unknown, options?: {
|
|
6398
6397
|
documentLoader?: DocumentLoader$1;
|
|
6399
6398
|
contextLoader?: DocumentLoader$1;
|
|
6400
6399
|
tracerProvider?: TracerProvider;
|
|
@@ -6406,7 +6405,7 @@ declare class Ignore extends Activity {
|
|
|
6406
6405
|
tracerProvider?: TracerProvider;
|
|
6407
6406
|
baseUrl?: URL;
|
|
6408
6407
|
}): Promise<Ignore>;
|
|
6409
|
-
protected _getCustomInspectProxy(): Record<string, unknown>;
|
|
6408
|
+
protected override _getCustomInspectProxy(): Record<string, unknown>;
|
|
6410
6409
|
}
|
|
6411
6410
|
/** Indicates that the `actor` is blocking the `object`. Blocking is a stronger
|
|
6412
6411
|
* form of {@link Ignore}. The typical use is to support social systems that
|
|
@@ -6417,7 +6416,7 @@ declare class Block extends Ignore {
|
|
|
6417
6416
|
/**
|
|
6418
6417
|
* The type URI of {@link Block}: `https://www.w3.org/ns/activitystreams#Block`.
|
|
6419
6418
|
*/
|
|
6420
|
-
static get typeId(): URL;
|
|
6419
|
+
static override get typeId(): URL;
|
|
6421
6420
|
/**
|
|
6422
6421
|
* Constructs a new instance of Block with the given values.
|
|
6423
6422
|
* @param values The values to initialize the instance with.
|
|
@@ -6501,7 +6500,7 @@ declare class Block extends Ignore {
|
|
|
6501
6500
|
* @param options The options to use for cloning.
|
|
6502
6501
|
* @returns The cloned instance.
|
|
6503
6502
|
*/
|
|
6504
|
-
clone(values?: {
|
|
6503
|
+
override clone(values?: {
|
|
6505
6504
|
id?: URL | null;
|
|
6506
6505
|
attachments?: (Object$1 | Link | PropertyValue | URL)[];
|
|
6507
6506
|
attribution?: Application | Group | Organization | Person | Service | URL | null;
|
|
@@ -6582,12 +6581,12 @@ declare class Block extends Ignore {
|
|
|
6582
6581
|
when `format` is set to `'expand'`.
|
|
6583
6582
|
* @returns The JSON-LD representation of this object.
|
|
6584
6583
|
*/
|
|
6585
|
-
toJsonLd(options?: {
|
|
6584
|
+
override toJsonLd(options?: {
|
|
6586
6585
|
format?: "compact" | "expand";
|
|
6587
6586
|
contextLoader?: DocumentLoader$1;
|
|
6588
6587
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
|
6589
6588
|
}): Promise<unknown>;
|
|
6590
|
-
protected isCompactable(): boolean;
|
|
6589
|
+
protected override isCompactable(): boolean;
|
|
6591
6590
|
/**
|
|
6592
6591
|
* Converts a JSON-LD structure to an object of this type.
|
|
6593
6592
|
* @param json The JSON-LD structure to convert.
|
|
@@ -6599,7 +6598,7 @@ declare class Block extends Ignore {
|
|
|
6599
6598
|
* @returns The object of this type.
|
|
6600
6599
|
* @throws {TypeError} If the given `json` is invalid.
|
|
6601
6600
|
*/
|
|
6602
|
-
static fromJsonLd(json: unknown, options?: {
|
|
6601
|
+
static override fromJsonLd(json: unknown, options?: {
|
|
6603
6602
|
documentLoader?: DocumentLoader$1;
|
|
6604
6603
|
contextLoader?: DocumentLoader$1;
|
|
6605
6604
|
tracerProvider?: TracerProvider;
|
|
@@ -6611,7 +6610,7 @@ declare class Block extends Ignore {
|
|
|
6611
6610
|
tracerProvider?: TracerProvider;
|
|
6612
6611
|
baseUrl?: URL;
|
|
6613
6612
|
}): Promise<Block>;
|
|
6614
|
-
protected _getCustomInspectProxy(): Record<string, unknown>;
|
|
6613
|
+
protected override _getCustomInspectProxy(): Record<string, unknown>;
|
|
6615
6614
|
}
|
|
6616
6615
|
/** A `Collection` is a subtype of {@link Object} that represents ordered or
|
|
6617
6616
|
* unordered sets of {@link Object} or {@link Link} instances.
|
|
@@ -6624,7 +6623,7 @@ declare class Collection extends Object$1 {
|
|
|
6624
6623
|
/**
|
|
6625
6624
|
* The type URI of {@link Collection}: `https://www.w3.org/ns/activitystreams#Collection`.
|
|
6626
6625
|
*/
|
|
6627
|
-
static get typeId(): URL;
|
|
6626
|
+
static override get typeId(): URL;
|
|
6628
6627
|
/**
|
|
6629
6628
|
* Constructs a new instance of Collection with the given values.
|
|
6630
6629
|
* @param values The values to initialize the instance with.
|
|
@@ -6709,7 +6708,7 @@ declare class Collection extends Object$1 {
|
|
|
6709
6708
|
* @param options The options to use for cloning.
|
|
6710
6709
|
* @returns The cloned instance.
|
|
6711
6710
|
*/
|
|
6712
|
-
clone(values?: {
|
|
6711
|
+
override clone(values?: {
|
|
6713
6712
|
id?: URL | null;
|
|
6714
6713
|
attachments?: (Object$1 | Link | PropertyValue | URL)[];
|
|
6715
6714
|
attribution?: Application | Group | Organization | Person | Service | URL | null;
|
|
@@ -6980,12 +6979,12 @@ declare class Collection extends Object$1 {
|
|
|
6980
6979
|
when `format` is set to `'expand'`.
|
|
6981
6980
|
* @returns The JSON-LD representation of this object.
|
|
6982
6981
|
*/
|
|
6983
|
-
toJsonLd(options?: {
|
|
6982
|
+
override toJsonLd(options?: {
|
|
6984
6983
|
format?: "compact" | "expand";
|
|
6985
6984
|
contextLoader?: DocumentLoader$1;
|
|
6986
6985
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
|
6987
6986
|
}): Promise<unknown>;
|
|
6988
|
-
protected isCompactable(): boolean;
|
|
6987
|
+
protected override isCompactable(): boolean;
|
|
6989
6988
|
/**
|
|
6990
6989
|
* Converts a JSON-LD structure to an object of this type.
|
|
6991
6990
|
* @param json The JSON-LD structure to convert.
|
|
@@ -6997,7 +6996,7 @@ declare class Collection extends Object$1 {
|
|
|
6997
6996
|
* @returns The object of this type.
|
|
6998
6997
|
* @throws {TypeError} If the given `json` is invalid.
|
|
6999
6998
|
*/
|
|
7000
|
-
static fromJsonLd(json: unknown, options?: {
|
|
6999
|
+
static override fromJsonLd(json: unknown, options?: {
|
|
7001
7000
|
documentLoader?: DocumentLoader$1;
|
|
7002
7001
|
contextLoader?: DocumentLoader$1;
|
|
7003
7002
|
tracerProvider?: TracerProvider;
|
|
@@ -7009,7 +7008,7 @@ declare class Collection extends Object$1 {
|
|
|
7009
7008
|
tracerProvider?: TracerProvider;
|
|
7010
7009
|
baseUrl?: URL;
|
|
7011
7010
|
}): Promise<Collection>;
|
|
7012
|
-
protected _getCustomInspectProxy(): Record<string, unknown>;
|
|
7011
|
+
protected override _getCustomInspectProxy(): Record<string, unknown>;
|
|
7013
7012
|
}
|
|
7014
7013
|
/** Used to represent distinct subsets of items from a `Collection`.
|
|
7015
7014
|
* Refer to the Activity Streams 2.0 Core for a complete description of
|
|
@@ -7020,7 +7019,7 @@ declare class CollectionPage extends Collection {
|
|
|
7020
7019
|
/**
|
|
7021
7020
|
* The type URI of {@link CollectionPage}: `https://www.w3.org/ns/activitystreams#CollectionPage`.
|
|
7022
7021
|
*/
|
|
7023
|
-
static get typeId(): URL;
|
|
7022
|
+
static override get typeId(): URL;
|
|
7024
7023
|
/**
|
|
7025
7024
|
* Constructs a new instance of CollectionPage with the given values.
|
|
7026
7025
|
* @param values The values to initialize the instance with.
|
|
@@ -7108,7 +7107,7 @@ declare class CollectionPage extends Collection {
|
|
|
7108
7107
|
* @param options The options to use for cloning.
|
|
7109
7108
|
* @returns The cloned instance.
|
|
7110
7109
|
*/
|
|
7111
|
-
clone(values?: {
|
|
7110
|
+
override clone(values?: {
|
|
7112
7111
|
id?: URL | null;
|
|
7113
7112
|
attachments?: (Object$1 | Link | PropertyValue | URL)[];
|
|
7114
7113
|
attribution?: Application | Group | Organization | Person | Service | URL | null;
|
|
@@ -7239,12 +7238,12 @@ declare class CollectionPage extends Collection {
|
|
|
7239
7238
|
when `format` is set to `'expand'`.
|
|
7240
7239
|
* @returns The JSON-LD representation of this object.
|
|
7241
7240
|
*/
|
|
7242
|
-
toJsonLd(options?: {
|
|
7241
|
+
override toJsonLd(options?: {
|
|
7243
7242
|
format?: "compact" | "expand";
|
|
7244
7243
|
contextLoader?: DocumentLoader$1;
|
|
7245
7244
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
|
7246
7245
|
}): Promise<unknown>;
|
|
7247
|
-
protected isCompactable(): boolean;
|
|
7246
|
+
protected override isCompactable(): boolean;
|
|
7248
7247
|
/**
|
|
7249
7248
|
* Converts a JSON-LD structure to an object of this type.
|
|
7250
7249
|
* @param json The JSON-LD structure to convert.
|
|
@@ -7256,7 +7255,7 @@ declare class CollectionPage extends Collection {
|
|
|
7256
7255
|
* @returns The object of this type.
|
|
7257
7256
|
* @throws {TypeError} If the given `json` is invalid.
|
|
7258
7257
|
*/
|
|
7259
|
-
static fromJsonLd(json: unknown, options?: {
|
|
7258
|
+
static override fromJsonLd(json: unknown, options?: {
|
|
7260
7259
|
documentLoader?: DocumentLoader$1;
|
|
7261
7260
|
contextLoader?: DocumentLoader$1;
|
|
7262
7261
|
tracerProvider?: TracerProvider;
|
|
@@ -7268,7 +7267,7 @@ declare class CollectionPage extends Collection {
|
|
|
7268
7267
|
tracerProvider?: TracerProvider;
|
|
7269
7268
|
baseUrl?: URL;
|
|
7270
7269
|
}): Promise<CollectionPage>;
|
|
7271
|
-
protected _getCustomInspectProxy(): Record<string, unknown>;
|
|
7270
|
+
protected override _getCustomInspectProxy(): Record<string, unknown>;
|
|
7272
7271
|
}
|
|
7273
7272
|
/** Indicates that the `actor` has created the `object`.
|
|
7274
7273
|
*/
|
|
@@ -7276,7 +7275,7 @@ declare class Create extends Activity {
|
|
|
7276
7275
|
/**
|
|
7277
7276
|
* The type URI of {@link Create}: `https://www.w3.org/ns/activitystreams#Create`.
|
|
7278
7277
|
*/
|
|
7279
|
-
static get typeId(): URL;
|
|
7278
|
+
static override get typeId(): URL;
|
|
7280
7279
|
/**
|
|
7281
7280
|
* Constructs a new instance of Create with the given values.
|
|
7282
7281
|
* @param values The values to initialize the instance with.
|
|
@@ -7360,7 +7359,7 @@ declare class Create extends Activity {
|
|
|
7360
7359
|
* @param options The options to use for cloning.
|
|
7361
7360
|
* @returns The cloned instance.
|
|
7362
7361
|
*/
|
|
7363
|
-
clone(values?: {
|
|
7362
|
+
override clone(values?: {
|
|
7364
7363
|
id?: URL | null;
|
|
7365
7364
|
attachments?: (Object$1 | Link | PropertyValue | URL)[];
|
|
7366
7365
|
attribution?: Application | Group | Organization | Person | Service | URL | null;
|
|
@@ -7441,12 +7440,12 @@ declare class Create extends Activity {
|
|
|
7441
7440
|
when `format` is set to `'expand'`.
|
|
7442
7441
|
* @returns The JSON-LD representation of this object.
|
|
7443
7442
|
*/
|
|
7444
|
-
toJsonLd(options?: {
|
|
7443
|
+
override toJsonLd(options?: {
|
|
7445
7444
|
format?: "compact" | "expand";
|
|
7446
7445
|
contextLoader?: DocumentLoader$1;
|
|
7447
7446
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
|
7448
7447
|
}): Promise<unknown>;
|
|
7449
|
-
protected isCompactable(): boolean;
|
|
7448
|
+
protected override isCompactable(): boolean;
|
|
7450
7449
|
/**
|
|
7451
7450
|
* Converts a JSON-LD structure to an object of this type.
|
|
7452
7451
|
* @param json The JSON-LD structure to convert.
|
|
@@ -7458,7 +7457,7 @@ declare class Create extends Activity {
|
|
|
7458
7457
|
* @returns The object of this type.
|
|
7459
7458
|
* @throws {TypeError} If the given `json` is invalid.
|
|
7460
7459
|
*/
|
|
7461
|
-
static fromJsonLd(json: unknown, options?: {
|
|
7460
|
+
static override fromJsonLd(json: unknown, options?: {
|
|
7462
7461
|
documentLoader?: DocumentLoader$1;
|
|
7463
7462
|
contextLoader?: DocumentLoader$1;
|
|
7464
7463
|
tracerProvider?: TracerProvider;
|
|
@@ -7470,7 +7469,7 @@ declare class Create extends Activity {
|
|
|
7470
7469
|
tracerProvider?: TracerProvider;
|
|
7471
7470
|
baseUrl?: URL;
|
|
7472
7471
|
}): Promise<Create>;
|
|
7473
|
-
protected _getCustomInspectProxy(): Record<string, unknown>;
|
|
7472
|
+
protected override _getCustomInspectProxy(): Record<string, unknown>;
|
|
7474
7473
|
}
|
|
7475
7474
|
/** Indicates that the `actor` has deleted the `object`. If specified,
|
|
7476
7475
|
* the `origin` indicates the context from which the `object` was deleted.
|
|
@@ -7479,7 +7478,7 @@ declare class Delete extends Activity {
|
|
|
7479
7478
|
/**
|
|
7480
7479
|
* The type URI of {@link Delete}: `https://www.w3.org/ns/activitystreams#Delete`.
|
|
7481
7480
|
*/
|
|
7482
|
-
static get typeId(): URL;
|
|
7481
|
+
static override get typeId(): URL;
|
|
7483
7482
|
/**
|
|
7484
7483
|
* Constructs a new instance of Delete with the given values.
|
|
7485
7484
|
* @param values The values to initialize the instance with.
|
|
@@ -7563,7 +7562,7 @@ declare class Delete extends Activity {
|
|
|
7563
7562
|
* @param options The options to use for cloning.
|
|
7564
7563
|
* @returns The cloned instance.
|
|
7565
7564
|
*/
|
|
7566
|
-
clone(values?: {
|
|
7565
|
+
override clone(values?: {
|
|
7567
7566
|
id?: URL | null;
|
|
7568
7567
|
attachments?: (Object$1 | Link | PropertyValue | URL)[];
|
|
7569
7568
|
attribution?: Application | Group | Organization | Person | Service | URL | null;
|
|
@@ -7644,12 +7643,12 @@ declare class Delete extends Activity {
|
|
|
7644
7643
|
when `format` is set to `'expand'`.
|
|
7645
7644
|
* @returns The JSON-LD representation of this object.
|
|
7646
7645
|
*/
|
|
7647
|
-
toJsonLd(options?: {
|
|
7646
|
+
override toJsonLd(options?: {
|
|
7648
7647
|
format?: "compact" | "expand";
|
|
7649
7648
|
contextLoader?: DocumentLoader$1;
|
|
7650
7649
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
|
7651
7650
|
}): Promise<unknown>;
|
|
7652
|
-
protected isCompactable(): boolean;
|
|
7651
|
+
protected override isCompactable(): boolean;
|
|
7653
7652
|
/**
|
|
7654
7653
|
* Converts a JSON-LD structure to an object of this type.
|
|
7655
7654
|
* @param json The JSON-LD structure to convert.
|
|
@@ -7661,7 +7660,7 @@ declare class Delete extends Activity {
|
|
|
7661
7660
|
* @returns The object of this type.
|
|
7662
7661
|
* @throws {TypeError} If the given `json` is invalid.
|
|
7663
7662
|
*/
|
|
7664
|
-
static fromJsonLd(json: unknown, options?: {
|
|
7663
|
+
static override fromJsonLd(json: unknown, options?: {
|
|
7665
7664
|
documentLoader?: DocumentLoader$1;
|
|
7666
7665
|
contextLoader?: DocumentLoader$1;
|
|
7667
7666
|
tracerProvider?: TracerProvider;
|
|
@@ -7673,7 +7672,7 @@ declare class Delete extends Activity {
|
|
|
7673
7672
|
tracerProvider?: TracerProvider;
|
|
7674
7673
|
baseUrl?: URL;
|
|
7675
7674
|
}): Promise<Delete>;
|
|
7676
|
-
protected _getCustomInspectProxy(): Record<string, unknown>;
|
|
7675
|
+
protected override _getCustomInspectProxy(): Record<string, unknown>;
|
|
7677
7676
|
}
|
|
7678
7677
|
/** Indicates that the `actor` dislikes the `object`.
|
|
7679
7678
|
*/
|
|
@@ -7681,7 +7680,7 @@ declare class Dislike extends Activity {
|
|
|
7681
7680
|
/**
|
|
7682
7681
|
* The type URI of {@link Dislike}: `https://www.w3.org/ns/activitystreams#Dislike`.
|
|
7683
7682
|
*/
|
|
7684
|
-
static get typeId(): URL;
|
|
7683
|
+
static override get typeId(): URL;
|
|
7685
7684
|
/**
|
|
7686
7685
|
* Constructs a new instance of Dislike with the given values.
|
|
7687
7686
|
* @param values The values to initialize the instance with.
|
|
@@ -7765,7 +7764,7 @@ declare class Dislike extends Activity {
|
|
|
7765
7764
|
* @param options The options to use for cloning.
|
|
7766
7765
|
* @returns The cloned instance.
|
|
7767
7766
|
*/
|
|
7768
|
-
clone(values?: {
|
|
7767
|
+
override clone(values?: {
|
|
7769
7768
|
id?: URL | null;
|
|
7770
7769
|
attachments?: (Object$1 | Link | PropertyValue | URL)[];
|
|
7771
7770
|
attribution?: Application | Group | Organization | Person | Service | URL | null;
|
|
@@ -7846,12 +7845,12 @@ declare class Dislike extends Activity {
|
|
|
7846
7845
|
when `format` is set to `'expand'`.
|
|
7847
7846
|
* @returns The JSON-LD representation of this object.
|
|
7848
7847
|
*/
|
|
7849
|
-
toJsonLd(options?: {
|
|
7848
|
+
override toJsonLd(options?: {
|
|
7850
7849
|
format?: "compact" | "expand";
|
|
7851
7850
|
contextLoader?: DocumentLoader$1;
|
|
7852
7851
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
|
7853
7852
|
}): Promise<unknown>;
|
|
7854
|
-
protected isCompactable(): boolean;
|
|
7853
|
+
protected override isCompactable(): boolean;
|
|
7855
7854
|
/**
|
|
7856
7855
|
* Converts a JSON-LD structure to an object of this type.
|
|
7857
7856
|
* @param json The JSON-LD structure to convert.
|
|
@@ -7863,7 +7862,7 @@ declare class Dislike extends Activity {
|
|
|
7863
7862
|
* @returns The object of this type.
|
|
7864
7863
|
* @throws {TypeError} If the given `json` is invalid.
|
|
7865
7864
|
*/
|
|
7866
|
-
static fromJsonLd(json: unknown, options?: {
|
|
7865
|
+
static override fromJsonLd(json: unknown, options?: {
|
|
7867
7866
|
documentLoader?: DocumentLoader$1;
|
|
7868
7867
|
contextLoader?: DocumentLoader$1;
|
|
7869
7868
|
tracerProvider?: TracerProvider;
|
|
@@ -7875,7 +7874,7 @@ declare class Dislike extends Activity {
|
|
|
7875
7874
|
tracerProvider?: TracerProvider;
|
|
7876
7875
|
baseUrl?: URL;
|
|
7877
7876
|
}): Promise<Dislike>;
|
|
7878
|
-
protected _getCustomInspectProxy(): Record<string, unknown>;
|
|
7877
|
+
protected override _getCustomInspectProxy(): Record<string, unknown>;
|
|
7879
7878
|
}
|
|
7880
7879
|
/** Contents of {@link Actor}'s `endpoints`.
|
|
7881
7880
|
*/
|
|
@@ -8020,7 +8019,7 @@ declare class Event extends Object$1 {
|
|
|
8020
8019
|
/**
|
|
8021
8020
|
* The type URI of {@link Event}: `https://www.w3.org/ns/activitystreams#Event`.
|
|
8022
8021
|
*/
|
|
8023
|
-
static get typeId(): URL;
|
|
8022
|
+
static override get typeId(): URL;
|
|
8024
8023
|
/**
|
|
8025
8024
|
* Constructs a new instance of Event with the given values.
|
|
8026
8025
|
* @param values The values to initialize the instance with.
|
|
@@ -8092,7 +8091,7 @@ declare class Event extends Object$1 {
|
|
|
8092
8091
|
* @param options The options to use for cloning.
|
|
8093
8092
|
* @returns The cloned instance.
|
|
8094
8093
|
*/
|
|
8095
|
-
clone(values?: {
|
|
8094
|
+
override clone(values?: {
|
|
8096
8095
|
id?: URL | null;
|
|
8097
8096
|
attachments?: (Object$1 | Link | PropertyValue | URL)[];
|
|
8098
8097
|
attribution?: Application | Group | Organization | Person | Service | URL | null;
|
|
@@ -8161,12 +8160,12 @@ declare class Event extends Object$1 {
|
|
|
8161
8160
|
when `format` is set to `'expand'`.
|
|
8162
8161
|
* @returns The JSON-LD representation of this object.
|
|
8163
8162
|
*/
|
|
8164
|
-
toJsonLd(options?: {
|
|
8163
|
+
override toJsonLd(options?: {
|
|
8165
8164
|
format?: "compact" | "expand";
|
|
8166
8165
|
contextLoader?: DocumentLoader$1;
|
|
8167
8166
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
|
8168
8167
|
}): Promise<unknown>;
|
|
8169
|
-
protected isCompactable(): boolean;
|
|
8168
|
+
protected override isCompactable(): boolean;
|
|
8170
8169
|
/**
|
|
8171
8170
|
* Converts a JSON-LD structure to an object of this type.
|
|
8172
8171
|
* @param json The JSON-LD structure to convert.
|
|
@@ -8178,7 +8177,7 @@ declare class Event extends Object$1 {
|
|
|
8178
8177
|
* @returns The object of this type.
|
|
8179
8178
|
* @throws {TypeError} If the given `json` is invalid.
|
|
8180
8179
|
*/
|
|
8181
|
-
static fromJsonLd(json: unknown, options?: {
|
|
8180
|
+
static override fromJsonLd(json: unknown, options?: {
|
|
8182
8181
|
documentLoader?: DocumentLoader$1;
|
|
8183
8182
|
contextLoader?: DocumentLoader$1;
|
|
8184
8183
|
tracerProvider?: TracerProvider;
|
|
@@ -8190,7 +8189,7 @@ declare class Event extends Object$1 {
|
|
|
8190
8189
|
tracerProvider?: TracerProvider;
|
|
8191
8190
|
baseUrl?: URL;
|
|
8192
8191
|
}): Promise<Event>;
|
|
8193
|
-
protected _getCustomInspectProxy(): Record<string, unknown>;
|
|
8192
|
+
protected override _getCustomInspectProxy(): Record<string, unknown>;
|
|
8194
8193
|
}
|
|
8195
8194
|
/** Indicates that the `actor` is "flagging" the `object`. Flagging is defined
|
|
8196
8195
|
* in the sense common to many social platforms as reporting content as being
|
|
@@ -8200,7 +8199,7 @@ declare class Flag extends Activity {
|
|
|
8200
8199
|
/**
|
|
8201
8200
|
* The type URI of {@link Flag}: `https://www.w3.org/ns/activitystreams#Flag`.
|
|
8202
8201
|
*/
|
|
8203
|
-
static get typeId(): URL;
|
|
8202
|
+
static override get typeId(): URL;
|
|
8204
8203
|
/**
|
|
8205
8204
|
* Constructs a new instance of Flag with the given values.
|
|
8206
8205
|
* @param values The values to initialize the instance with.
|
|
@@ -8284,7 +8283,7 @@ declare class Flag extends Activity {
|
|
|
8284
8283
|
* @param options The options to use for cloning.
|
|
8285
8284
|
* @returns The cloned instance.
|
|
8286
8285
|
*/
|
|
8287
|
-
clone(values?: {
|
|
8286
|
+
override clone(values?: {
|
|
8288
8287
|
id?: URL | null;
|
|
8289
8288
|
attachments?: (Object$1 | Link | PropertyValue | URL)[];
|
|
8290
8289
|
attribution?: Application | Group | Organization | Person | Service | URL | null;
|
|
@@ -8365,12 +8364,12 @@ declare class Flag extends Activity {
|
|
|
8365
8364
|
when `format` is set to `'expand'`.
|
|
8366
8365
|
* @returns The JSON-LD representation of this object.
|
|
8367
8366
|
*/
|
|
8368
|
-
toJsonLd(options?: {
|
|
8367
|
+
override toJsonLd(options?: {
|
|
8369
8368
|
format?: "compact" | "expand";
|
|
8370
8369
|
contextLoader?: DocumentLoader$1;
|
|
8371
8370
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
|
8372
8371
|
}): Promise<unknown>;
|
|
8373
|
-
protected isCompactable(): boolean;
|
|
8372
|
+
protected override isCompactable(): boolean;
|
|
8374
8373
|
/**
|
|
8375
8374
|
* Converts a JSON-LD structure to an object of this type.
|
|
8376
8375
|
* @param json The JSON-LD structure to convert.
|
|
@@ -8382,7 +8381,7 @@ declare class Flag extends Activity {
|
|
|
8382
8381
|
* @returns The object of this type.
|
|
8383
8382
|
* @throws {TypeError} If the given `json` is invalid.
|
|
8384
8383
|
*/
|
|
8385
|
-
static fromJsonLd(json: unknown, options?: {
|
|
8384
|
+
static override fromJsonLd(json: unknown, options?: {
|
|
8386
8385
|
documentLoader?: DocumentLoader$1;
|
|
8387
8386
|
contextLoader?: DocumentLoader$1;
|
|
8388
8387
|
tracerProvider?: TracerProvider;
|
|
@@ -8394,7 +8393,7 @@ declare class Flag extends Activity {
|
|
|
8394
8393
|
tracerProvider?: TracerProvider;
|
|
8395
8394
|
baseUrl?: URL;
|
|
8396
8395
|
}): Promise<Flag>;
|
|
8397
|
-
protected _getCustomInspectProxy(): Record<string, unknown>;
|
|
8396
|
+
protected override _getCustomInspectProxy(): Record<string, unknown>;
|
|
8398
8397
|
}
|
|
8399
8398
|
/** Indicates that the `actor` is "following" the `object`. Following is defined
|
|
8400
8399
|
* in the sense typically used within Social systems in which the actor is
|
|
@@ -8405,7 +8404,7 @@ declare class Follow extends Activity {
|
|
|
8405
8404
|
/**
|
|
8406
8405
|
* The type URI of {@link Follow}: `https://www.w3.org/ns/activitystreams#Follow`.
|
|
8407
8406
|
*/
|
|
8408
|
-
static get typeId(): URL;
|
|
8407
|
+
static override get typeId(): URL;
|
|
8409
8408
|
/**
|
|
8410
8409
|
* Constructs a new instance of Follow with the given values.
|
|
8411
8410
|
* @param values The values to initialize the instance with.
|
|
@@ -8489,7 +8488,7 @@ declare class Follow extends Activity {
|
|
|
8489
8488
|
* @param options The options to use for cloning.
|
|
8490
8489
|
* @returns The cloned instance.
|
|
8491
8490
|
*/
|
|
8492
|
-
clone(values?: {
|
|
8491
|
+
override clone(values?: {
|
|
8493
8492
|
id?: URL | null;
|
|
8494
8493
|
attachments?: (Object$1 | Link | PropertyValue | URL)[];
|
|
8495
8494
|
attribution?: Application | Group | Organization | Person | Service | URL | null;
|
|
@@ -8570,12 +8569,12 @@ declare class Follow extends Activity {
|
|
|
8570
8569
|
when `format` is set to `'expand'`.
|
|
8571
8570
|
* @returns The JSON-LD representation of this object.
|
|
8572
8571
|
*/
|
|
8573
|
-
toJsonLd(options?: {
|
|
8572
|
+
override toJsonLd(options?: {
|
|
8574
8573
|
format?: "compact" | "expand";
|
|
8575
8574
|
contextLoader?: DocumentLoader$1;
|
|
8576
8575
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
|
8577
8576
|
}): Promise<unknown>;
|
|
8578
|
-
protected isCompactable(): boolean;
|
|
8577
|
+
protected override isCompactable(): boolean;
|
|
8579
8578
|
/**
|
|
8580
8579
|
* Converts a JSON-LD structure to an object of this type.
|
|
8581
8580
|
* @param json The JSON-LD structure to convert.
|
|
@@ -8587,7 +8586,7 @@ declare class Follow extends Activity {
|
|
|
8587
8586
|
* @returns The object of this type.
|
|
8588
8587
|
* @throws {TypeError} If the given `json` is invalid.
|
|
8589
8588
|
*/
|
|
8590
|
-
static fromJsonLd(json: unknown, options?: {
|
|
8589
|
+
static override fromJsonLd(json: unknown, options?: {
|
|
8591
8590
|
documentLoader?: DocumentLoader$1;
|
|
8592
8591
|
contextLoader?: DocumentLoader$1;
|
|
8593
8592
|
tracerProvider?: TracerProvider;
|
|
@@ -8599,7 +8598,7 @@ declare class Follow extends Activity {
|
|
|
8599
8598
|
tracerProvider?: TracerProvider;
|
|
8600
8599
|
baseUrl?: URL;
|
|
8601
8600
|
}): Promise<Follow>;
|
|
8602
|
-
protected _getCustomInspectProxy(): Record<string, unknown>;
|
|
8601
|
+
protected override _getCustomInspectProxy(): Record<string, unknown>;
|
|
8603
8602
|
}
|
|
8604
8603
|
/** Represents a formal or informal collective of Actors.
|
|
8605
8604
|
*/
|
|
@@ -8608,7 +8607,7 @@ declare class Group extends Object$1 {
|
|
|
8608
8607
|
/**
|
|
8609
8608
|
* The type URI of {@link Group}: `https://www.w3.org/ns/activitystreams#Group`.
|
|
8610
8609
|
*/
|
|
8611
|
-
static get typeId(): URL;
|
|
8610
|
+
static override get typeId(): URL;
|
|
8612
8611
|
/**
|
|
8613
8612
|
* Constructs a new instance of Group with the given values.
|
|
8614
8613
|
* @param values The values to initialize the instance with.
|
|
@@ -8707,7 +8706,7 @@ declare class Group extends Object$1 {
|
|
|
8707
8706
|
* @param options The options to use for cloning.
|
|
8708
8707
|
* @returns The cloned instance.
|
|
8709
8708
|
*/
|
|
8710
|
-
clone(values?: {
|
|
8709
|
+
override clone(values?: {
|
|
8711
8710
|
id?: URL | null;
|
|
8712
8711
|
attachments?: (Object$1 | Link | PropertyValue | URL)[];
|
|
8713
8712
|
attribution?: Application | Group | Organization | Person | Service | URL | null;
|
|
@@ -9166,12 +9165,12 @@ declare class Group extends Object$1 {
|
|
|
9166
9165
|
when `format` is set to `'expand'`.
|
|
9167
9166
|
* @returns The JSON-LD representation of this object.
|
|
9168
9167
|
*/
|
|
9169
|
-
toJsonLd(options?: {
|
|
9168
|
+
override toJsonLd(options?: {
|
|
9170
9169
|
format?: "compact" | "expand";
|
|
9171
9170
|
contextLoader?: DocumentLoader$1;
|
|
9172
9171
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
|
9173
9172
|
}): Promise<unknown>;
|
|
9174
|
-
protected isCompactable(): boolean;
|
|
9173
|
+
protected override isCompactable(): boolean;
|
|
9175
9174
|
/**
|
|
9176
9175
|
* Converts a JSON-LD structure to an object of this type.
|
|
9177
9176
|
* @param json The JSON-LD structure to convert.
|
|
@@ -9183,7 +9182,7 @@ declare class Group extends Object$1 {
|
|
|
9183
9182
|
* @returns The object of this type.
|
|
9184
9183
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9185
9184
|
*/
|
|
9186
|
-
static fromJsonLd(json: unknown, options?: {
|
|
9185
|
+
static override fromJsonLd(json: unknown, options?: {
|
|
9187
9186
|
documentLoader?: DocumentLoader$1;
|
|
9188
9187
|
contextLoader?: DocumentLoader$1;
|
|
9189
9188
|
tracerProvider?: TracerProvider;
|
|
@@ -9195,7 +9194,7 @@ declare class Group extends Object$1 {
|
|
|
9195
9194
|
tracerProvider?: TracerProvider;
|
|
9196
9195
|
baseUrl?: URL;
|
|
9197
9196
|
}): Promise<Group>;
|
|
9198
|
-
protected _getCustomInspectProxy(): Record<string, unknown>;
|
|
9197
|
+
protected override _getCustomInspectProxy(): Record<string, unknown>;
|
|
9199
9198
|
}
|
|
9200
9199
|
/** A Link is an indirect, qualified reference to a resource identified by a URL.
|
|
9201
9200
|
* The fundamental model for links is established by RFC 5988. Many of the
|
|
@@ -9376,7 +9375,7 @@ declare class Hashtag extends Link {
|
|
|
9376
9375
|
/**
|
|
9377
9376
|
* The type URI of {@link Hashtag}: `https://www.w3.org/ns/activitystreams#Hashtag`.
|
|
9378
9377
|
*/
|
|
9379
|
-
static get typeId(): URL;
|
|
9378
|
+
static override get typeId(): URL;
|
|
9380
9379
|
/**
|
|
9381
9380
|
* Constructs a new instance of Hashtag with the given values.
|
|
9382
9381
|
* @param values The values to initialize the instance with.
|
|
@@ -9405,7 +9404,7 @@ declare class Hashtag extends Link {
|
|
|
9405
9404
|
* @param options The options to use for cloning.
|
|
9406
9405
|
* @returns The cloned instance.
|
|
9407
9406
|
*/
|
|
9408
|
-
clone(values?: {
|
|
9407
|
+
override clone(values?: {
|
|
9409
9408
|
id?: URL | null;
|
|
9410
9409
|
href?: URL | null;
|
|
9411
9410
|
rel?: string | null;
|
|
@@ -9431,12 +9430,12 @@ declare class Hashtag extends Link {
|
|
|
9431
9430
|
when `format` is set to `'expand'`.
|
|
9432
9431
|
* @returns The JSON-LD representation of this object.
|
|
9433
9432
|
*/
|
|
9434
|
-
toJsonLd(options?: {
|
|
9433
|
+
override toJsonLd(options?: {
|
|
9435
9434
|
format?: "compact" | "expand";
|
|
9436
9435
|
contextLoader?: DocumentLoader$1;
|
|
9437
9436
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
|
9438
9437
|
}): Promise<unknown>;
|
|
9439
|
-
protected isCompactable(): boolean;
|
|
9438
|
+
protected override isCompactable(): boolean;
|
|
9440
9439
|
/**
|
|
9441
9440
|
* Converts a JSON-LD structure to an object of this type.
|
|
9442
9441
|
* @param json The JSON-LD structure to convert.
|
|
@@ -9448,7 +9447,7 @@ declare class Hashtag extends Link {
|
|
|
9448
9447
|
* @returns The object of this type.
|
|
9449
9448
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9450
9449
|
*/
|
|
9451
|
-
static fromJsonLd(json: unknown, options?: {
|
|
9450
|
+
static override fromJsonLd(json: unknown, options?: {
|
|
9452
9451
|
documentLoader?: DocumentLoader$1;
|
|
9453
9452
|
contextLoader?: DocumentLoader$1;
|
|
9454
9453
|
tracerProvider?: TracerProvider;
|
|
@@ -9460,7 +9459,7 @@ declare class Hashtag extends Link {
|
|
|
9460
9459
|
tracerProvider?: TracerProvider;
|
|
9461
9460
|
baseUrl?: URL;
|
|
9462
9461
|
}): Promise<Hashtag>;
|
|
9463
|
-
protected _getCustomInspectProxy(): Record<string, unknown>;
|
|
9462
|
+
protected override _getCustomInspectProxy(): Record<string, unknown>;
|
|
9464
9463
|
}
|
|
9465
9464
|
/** An image document of any kind.
|
|
9466
9465
|
*/
|
|
@@ -9468,7 +9467,7 @@ declare class Image extends Document {
|
|
|
9468
9467
|
/**
|
|
9469
9468
|
* The type URI of {@link Image}: `https://www.w3.org/ns/activitystreams#Image`.
|
|
9470
9469
|
*/
|
|
9471
|
-
static get typeId(): URL;
|
|
9470
|
+
static override get typeId(): URL;
|
|
9472
9471
|
/**
|
|
9473
9472
|
* Constructs a new instance of Image with the given values.
|
|
9474
9473
|
* @param values The values to initialize the instance with.
|
|
@@ -9542,7 +9541,7 @@ declare class Image extends Document {
|
|
|
9542
9541
|
* @param options The options to use for cloning.
|
|
9543
9542
|
* @returns The cloned instance.
|
|
9544
9543
|
*/
|
|
9545
|
-
clone(values?: {
|
|
9544
|
+
override clone(values?: {
|
|
9546
9545
|
id?: URL | null;
|
|
9547
9546
|
attachments?: (Object$1 | Link | PropertyValue | URL)[];
|
|
9548
9547
|
attribution?: Application | Group | Organization | Person | Service | URL | null;
|
|
@@ -9613,12 +9612,12 @@ declare class Image extends Document {
|
|
|
9613
9612
|
when `format` is set to `'expand'`.
|
|
9614
9613
|
* @returns The JSON-LD representation of this object.
|
|
9615
9614
|
*/
|
|
9616
|
-
toJsonLd(options?: {
|
|
9615
|
+
override toJsonLd(options?: {
|
|
9617
9616
|
format?: "compact" | "expand";
|
|
9618
9617
|
contextLoader?: DocumentLoader$1;
|
|
9619
9618
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
|
9620
9619
|
}): Promise<unknown>;
|
|
9621
|
-
protected isCompactable(): boolean;
|
|
9620
|
+
protected override isCompactable(): boolean;
|
|
9622
9621
|
/**
|
|
9623
9622
|
* Converts a JSON-LD structure to an object of this type.
|
|
9624
9623
|
* @param json The JSON-LD structure to convert.
|
|
@@ -9630,7 +9629,7 @@ declare class Image extends Document {
|
|
|
9630
9629
|
* @returns The object of this type.
|
|
9631
9630
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9632
9631
|
*/
|
|
9633
|
-
static fromJsonLd(json: unknown, options?: {
|
|
9632
|
+
static override fromJsonLd(json: unknown, options?: {
|
|
9634
9633
|
documentLoader?: DocumentLoader$1;
|
|
9635
9634
|
contextLoader?: DocumentLoader$1;
|
|
9636
9635
|
tracerProvider?: TracerProvider;
|
|
@@ -9642,7 +9641,7 @@ declare class Image extends Document {
|
|
|
9642
9641
|
tracerProvider?: TracerProvider;
|
|
9643
9642
|
baseUrl?: URL;
|
|
9644
9643
|
}): Promise<Image>;
|
|
9645
|
-
protected _getCustomInspectProxy(): Record<string, unknown>;
|
|
9644
|
+
protected override _getCustomInspectProxy(): Record<string, unknown>;
|
|
9646
9645
|
}
|
|
9647
9646
|
/** Indicates that the actor is offering the object.
|
|
9648
9647
|
* If specified, the target indicates the entity to which
|
|
@@ -9652,7 +9651,7 @@ declare class Offer extends Activity {
|
|
|
9652
9651
|
/**
|
|
9653
9652
|
* The type URI of {@link Offer}: `https://www.w3.org/ns/activitystreams#Offer`.
|
|
9654
9653
|
*/
|
|
9655
|
-
static get typeId(): URL;
|
|
9654
|
+
static override get typeId(): URL;
|
|
9656
9655
|
/**
|
|
9657
9656
|
* Constructs a new instance of Offer with the given values.
|
|
9658
9657
|
* @param values The values to initialize the instance with.
|
|
@@ -9736,7 +9735,7 @@ declare class Offer extends Activity {
|
|
|
9736
9735
|
* @param options The options to use for cloning.
|
|
9737
9736
|
* @returns The cloned instance.
|
|
9738
9737
|
*/
|
|
9739
|
-
clone(values?: {
|
|
9738
|
+
override clone(values?: {
|
|
9740
9739
|
id?: URL | null;
|
|
9741
9740
|
attachments?: (Object$1 | Link | PropertyValue | URL)[];
|
|
9742
9741
|
attribution?: Application | Group | Organization | Person | Service | URL | null;
|
|
@@ -9817,12 +9816,12 @@ declare class Offer extends Activity {
|
|
|
9817
9816
|
when `format` is set to `'expand'`.
|
|
9818
9817
|
* @returns The JSON-LD representation of this object.
|
|
9819
9818
|
*/
|
|
9820
|
-
toJsonLd(options?: {
|
|
9819
|
+
override toJsonLd(options?: {
|
|
9821
9820
|
format?: "compact" | "expand";
|
|
9822
9821
|
contextLoader?: DocumentLoader$1;
|
|
9823
9822
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
|
9824
9823
|
}): Promise<unknown>;
|
|
9825
|
-
protected isCompactable(): boolean;
|
|
9824
|
+
protected override isCompactable(): boolean;
|
|
9826
9825
|
/**
|
|
9827
9826
|
* Converts a JSON-LD structure to an object of this type.
|
|
9828
9827
|
* @param json The JSON-LD structure to convert.
|
|
@@ -9834,7 +9833,7 @@ declare class Offer extends Activity {
|
|
|
9834
9833
|
* @returns The object of this type.
|
|
9835
9834
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9836
9835
|
*/
|
|
9837
|
-
static fromJsonLd(json: unknown, options?: {
|
|
9836
|
+
static override fromJsonLd(json: unknown, options?: {
|
|
9838
9837
|
documentLoader?: DocumentLoader$1;
|
|
9839
9838
|
contextLoader?: DocumentLoader$1;
|
|
9840
9839
|
tracerProvider?: TracerProvider;
|
|
@@ -9846,7 +9845,7 @@ declare class Offer extends Activity {
|
|
|
9846
9845
|
tracerProvider?: TracerProvider;
|
|
9847
9846
|
baseUrl?: URL;
|
|
9848
9847
|
}): Promise<Offer>;
|
|
9849
|
-
protected _getCustomInspectProxy(): Record<string, unknown>;
|
|
9848
|
+
protected override _getCustomInspectProxy(): Record<string, unknown>;
|
|
9850
9849
|
}
|
|
9851
9850
|
/** A specialization of `Offer` in which the `actor` is extending an invitation
|
|
9852
9851
|
* for the `object` to the `target`.
|
|
@@ -9855,7 +9854,7 @@ declare class Invite extends Offer {
|
|
|
9855
9854
|
/**
|
|
9856
9855
|
* The type URI of {@link Invite}: `https://www.w3.org/ns/activitystreams#Invite`.
|
|
9857
9856
|
*/
|
|
9858
|
-
static get typeId(): URL;
|
|
9857
|
+
static override get typeId(): URL;
|
|
9859
9858
|
/**
|
|
9860
9859
|
* Constructs a new instance of Invite with the given values.
|
|
9861
9860
|
* @param values The values to initialize the instance with.
|
|
@@ -9939,7 +9938,7 @@ declare class Invite extends Offer {
|
|
|
9939
9938
|
* @param options The options to use for cloning.
|
|
9940
9939
|
* @returns The cloned instance.
|
|
9941
9940
|
*/
|
|
9942
|
-
clone(values?: {
|
|
9941
|
+
override clone(values?: {
|
|
9943
9942
|
id?: URL | null;
|
|
9944
9943
|
attachments?: (Object$1 | Link | PropertyValue | URL)[];
|
|
9945
9944
|
attribution?: Application | Group | Organization | Person | Service | URL | null;
|
|
@@ -10020,12 +10019,12 @@ declare class Invite extends Offer {
|
|
|
10020
10019
|
when `format` is set to `'expand'`.
|
|
10021
10020
|
* @returns The JSON-LD representation of this object.
|
|
10022
10021
|
*/
|
|
10023
|
-
toJsonLd(options?: {
|
|
10022
|
+
override toJsonLd(options?: {
|
|
10024
10023
|
format?: "compact" | "expand";
|
|
10025
10024
|
contextLoader?: DocumentLoader$1;
|
|
10026
10025
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
|
10027
10026
|
}): Promise<unknown>;
|
|
10028
|
-
protected isCompactable(): boolean;
|
|
10027
|
+
protected override isCompactable(): boolean;
|
|
10029
10028
|
/**
|
|
10030
10029
|
* Converts a JSON-LD structure to an object of this type.
|
|
10031
10030
|
* @param json The JSON-LD structure to convert.
|
|
@@ -10037,7 +10036,7 @@ declare class Invite extends Offer {
|
|
|
10037
10036
|
* @returns The object of this type.
|
|
10038
10037
|
* @throws {TypeError} If the given `json` is invalid.
|
|
10039
10038
|
*/
|
|
10040
|
-
static fromJsonLd(json: unknown, options?: {
|
|
10039
|
+
static override fromJsonLd(json: unknown, options?: {
|
|
10041
10040
|
documentLoader?: DocumentLoader$1;
|
|
10042
10041
|
contextLoader?: DocumentLoader$1;
|
|
10043
10042
|
tracerProvider?: TracerProvider;
|
|
@@ -10049,7 +10048,7 @@ declare class Invite extends Offer {
|
|
|
10049
10048
|
tracerProvider?: TracerProvider;
|
|
10050
10049
|
baseUrl?: URL;
|
|
10051
10050
|
}): Promise<Invite>;
|
|
10052
|
-
protected _getCustomInspectProxy(): Record<string, unknown>;
|
|
10051
|
+
protected override _getCustomInspectProxy(): Record<string, unknown>;
|
|
10053
10052
|
}
|
|
10054
10053
|
/** Indicates that the `actor` has joined the `object`.
|
|
10055
10054
|
* The `target` and `origin` typically have no defined meaning.
|
|
@@ -10058,7 +10057,7 @@ declare class Join extends Activity {
|
|
|
10058
10057
|
/**
|
|
10059
10058
|
* The type URI of {@link Join}: `https://www.w3.org/ns/activitystreams#Join`.
|
|
10060
10059
|
*/
|
|
10061
|
-
static get typeId(): URL;
|
|
10060
|
+
static override get typeId(): URL;
|
|
10062
10061
|
/**
|
|
10063
10062
|
* Constructs a new instance of Join with the given values.
|
|
10064
10063
|
* @param values The values to initialize the instance with.
|
|
@@ -10142,7 +10141,7 @@ declare class Join extends Activity {
|
|
|
10142
10141
|
* @param options The options to use for cloning.
|
|
10143
10142
|
* @returns The cloned instance.
|
|
10144
10143
|
*/
|
|
10145
|
-
clone(values?: {
|
|
10144
|
+
override clone(values?: {
|
|
10146
10145
|
id?: URL | null;
|
|
10147
10146
|
attachments?: (Object$1 | Link | PropertyValue | URL)[];
|
|
10148
10147
|
attribution?: Application | Group | Organization | Person | Service | URL | null;
|
|
@@ -10223,12 +10222,12 @@ declare class Join extends Activity {
|
|
|
10223
10222
|
when `format` is set to `'expand'`.
|
|
10224
10223
|
* @returns The JSON-LD representation of this object.
|
|
10225
10224
|
*/
|
|
10226
|
-
toJsonLd(options?: {
|
|
10225
|
+
override toJsonLd(options?: {
|
|
10227
10226
|
format?: "compact" | "expand";
|
|
10228
10227
|
contextLoader?: DocumentLoader$1;
|
|
10229
10228
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
|
10230
10229
|
}): Promise<unknown>;
|
|
10231
|
-
protected isCompactable(): boolean;
|
|
10230
|
+
protected override isCompactable(): boolean;
|
|
10232
10231
|
/**
|
|
10233
10232
|
* Converts a JSON-LD structure to an object of this type.
|
|
10234
10233
|
* @param json The JSON-LD structure to convert.
|
|
@@ -10240,7 +10239,7 @@ declare class Join extends Activity {
|
|
|
10240
10239
|
* @returns The object of this type.
|
|
10241
10240
|
* @throws {TypeError} If the given `json` is invalid.
|
|
10242
10241
|
*/
|
|
10243
|
-
static fromJsonLd(json: unknown, options?: {
|
|
10242
|
+
static override fromJsonLd(json: unknown, options?: {
|
|
10244
10243
|
documentLoader?: DocumentLoader$1;
|
|
10245
10244
|
contextLoader?: DocumentLoader$1;
|
|
10246
10245
|
tracerProvider?: TracerProvider;
|
|
@@ -10252,7 +10251,7 @@ declare class Join extends Activity {
|
|
|
10252
10251
|
tracerProvider?: TracerProvider;
|
|
10253
10252
|
baseUrl?: URL;
|
|
10254
10253
|
}): Promise<Join>;
|
|
10255
|
-
protected _getCustomInspectProxy(): Record<string, unknown>;
|
|
10254
|
+
protected override _getCustomInspectProxy(): Record<string, unknown>;
|
|
10256
10255
|
}
|
|
10257
10256
|
/** Indicates that the `actor` has left the `object`.
|
|
10258
10257
|
* The `target` and `origin` typically have no meaning.
|
|
@@ -10261,7 +10260,7 @@ declare class Leave extends Activity {
|
|
|
10261
10260
|
/**
|
|
10262
10261
|
* The type URI of {@link Leave}: `https://www.w3.org/ns/activitystreams#Leave`.
|
|
10263
10262
|
*/
|
|
10264
|
-
static get typeId(): URL;
|
|
10263
|
+
static override get typeId(): URL;
|
|
10265
10264
|
/**
|
|
10266
10265
|
* Constructs a new instance of Leave with the given values.
|
|
10267
10266
|
* @param values The values to initialize the instance with.
|
|
@@ -10345,7 +10344,7 @@ declare class Leave extends Activity {
|
|
|
10345
10344
|
* @param options The options to use for cloning.
|
|
10346
10345
|
* @returns The cloned instance.
|
|
10347
10346
|
*/
|
|
10348
|
-
clone(values?: {
|
|
10347
|
+
override clone(values?: {
|
|
10349
10348
|
id?: URL | null;
|
|
10350
10349
|
attachments?: (Object$1 | Link | PropertyValue | URL)[];
|
|
10351
10350
|
attribution?: Application | Group | Organization | Person | Service | URL | null;
|
|
@@ -10426,12 +10425,12 @@ declare class Leave extends Activity {
|
|
|
10426
10425
|
when `format` is set to `'expand'`.
|
|
10427
10426
|
* @returns The JSON-LD representation of this object.
|
|
10428
10427
|
*/
|
|
10429
|
-
toJsonLd(options?: {
|
|
10428
|
+
override toJsonLd(options?: {
|
|
10430
10429
|
format?: "compact" | "expand";
|
|
10431
10430
|
contextLoader?: DocumentLoader$1;
|
|
10432
10431
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
|
10433
10432
|
}): Promise<unknown>;
|
|
10434
|
-
protected isCompactable(): boolean;
|
|
10433
|
+
protected override isCompactable(): boolean;
|
|
10435
10434
|
/**
|
|
10436
10435
|
* Converts a JSON-LD structure to an object of this type.
|
|
10437
10436
|
* @param json The JSON-LD structure to convert.
|
|
@@ -10443,7 +10442,7 @@ declare class Leave extends Activity {
|
|
|
10443
10442
|
* @returns The object of this type.
|
|
10444
10443
|
* @throws {TypeError} If the given `json` is invalid.
|
|
10445
10444
|
*/
|
|
10446
|
-
static fromJsonLd(json: unknown, options?: {
|
|
10445
|
+
static override fromJsonLd(json: unknown, options?: {
|
|
10447
10446
|
documentLoader?: DocumentLoader$1;
|
|
10448
10447
|
contextLoader?: DocumentLoader$1;
|
|
10449
10448
|
tracerProvider?: TracerProvider;
|
|
@@ -10455,7 +10454,7 @@ declare class Leave extends Activity {
|
|
|
10455
10454
|
tracerProvider?: TracerProvider;
|
|
10456
10455
|
baseUrl?: URL;
|
|
10457
10456
|
}): Promise<Leave>;
|
|
10458
|
-
protected _getCustomInspectProxy(): Record<string, unknown>;
|
|
10457
|
+
protected override _getCustomInspectProxy(): Record<string, unknown>;
|
|
10459
10458
|
}
|
|
10460
10459
|
/** Indicates that the `actor` likes, recommends or endorses the `object`.
|
|
10461
10460
|
* The `target` and `origin` typically have no defined meaning.
|
|
@@ -10464,7 +10463,7 @@ declare class Like extends Activity {
|
|
|
10464
10463
|
/**
|
|
10465
10464
|
* The type URI of {@link Like}: `https://www.w3.org/ns/activitystreams#Like`.
|
|
10466
10465
|
*/
|
|
10467
|
-
static get typeId(): URL;
|
|
10466
|
+
static override get typeId(): URL;
|
|
10468
10467
|
/**
|
|
10469
10468
|
* Constructs a new instance of Like with the given values.
|
|
10470
10469
|
* @param values The values to initialize the instance with.
|
|
@@ -10548,7 +10547,7 @@ declare class Like extends Activity {
|
|
|
10548
10547
|
* @param options The options to use for cloning.
|
|
10549
10548
|
* @returns The cloned instance.
|
|
10550
10549
|
*/
|
|
10551
|
-
clone(values?: {
|
|
10550
|
+
override clone(values?: {
|
|
10552
10551
|
id?: URL | null;
|
|
10553
10552
|
attachments?: (Object$1 | Link | PropertyValue | URL)[];
|
|
10554
10553
|
attribution?: Application | Group | Organization | Person | Service | URL | null;
|
|
@@ -10629,12 +10628,12 @@ declare class Like extends Activity {
|
|
|
10629
10628
|
when `format` is set to `'expand'`.
|
|
10630
10629
|
* @returns The JSON-LD representation of this object.
|
|
10631
10630
|
*/
|
|
10632
|
-
toJsonLd(options?: {
|
|
10631
|
+
override toJsonLd(options?: {
|
|
10633
10632
|
format?: "compact" | "expand";
|
|
10634
10633
|
contextLoader?: DocumentLoader$1;
|
|
10635
10634
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
|
10636
10635
|
}): Promise<unknown>;
|
|
10637
|
-
protected isCompactable(): boolean;
|
|
10636
|
+
protected override isCompactable(): boolean;
|
|
10638
10637
|
/**
|
|
10639
10638
|
* Converts a JSON-LD structure to an object of this type.
|
|
10640
10639
|
* @param json The JSON-LD structure to convert.
|
|
@@ -10646,7 +10645,7 @@ declare class Like extends Activity {
|
|
|
10646
10645
|
* @returns The object of this type.
|
|
10647
10646
|
* @throws {TypeError} If the given `json` is invalid.
|
|
10648
10647
|
*/
|
|
10649
|
-
static fromJsonLd(json: unknown, options?: {
|
|
10648
|
+
static override fromJsonLd(json: unknown, options?: {
|
|
10650
10649
|
documentLoader?: DocumentLoader$1;
|
|
10651
10650
|
contextLoader?: DocumentLoader$1;
|
|
10652
10651
|
tracerProvider?: TracerProvider;
|
|
@@ -10658,7 +10657,7 @@ declare class Like extends Activity {
|
|
|
10658
10657
|
tracerProvider?: TracerProvider;
|
|
10659
10658
|
baseUrl?: URL;
|
|
10660
10659
|
}): Promise<Like>;
|
|
10661
|
-
protected _getCustomInspectProxy(): Record<string, unknown>;
|
|
10660
|
+
protected override _getCustomInspectProxy(): Record<string, unknown>;
|
|
10662
10661
|
}
|
|
10663
10662
|
/** Indicates that the `actor` has listened to the `object`.
|
|
10664
10663
|
*/
|
|
@@ -10666,7 +10665,7 @@ declare class Listen extends Activity {
|
|
|
10666
10665
|
/**
|
|
10667
10666
|
* The type URI of {@link Listen}: `https://www.w3.org/ns/activitystreams#Listen`.
|
|
10668
10667
|
*/
|
|
10669
|
-
static get typeId(): URL;
|
|
10668
|
+
static override get typeId(): URL;
|
|
10670
10669
|
/**
|
|
10671
10670
|
* Constructs a new instance of Listen with the given values.
|
|
10672
10671
|
* @param values The values to initialize the instance with.
|
|
@@ -10750,7 +10749,7 @@ declare class Listen extends Activity {
|
|
|
10750
10749
|
* @param options The options to use for cloning.
|
|
10751
10750
|
* @returns The cloned instance.
|
|
10752
10751
|
*/
|
|
10753
|
-
clone(values?: {
|
|
10752
|
+
override clone(values?: {
|
|
10754
10753
|
id?: URL | null;
|
|
10755
10754
|
attachments?: (Object$1 | Link | PropertyValue | URL)[];
|
|
10756
10755
|
attribution?: Application | Group | Organization | Person | Service | URL | null;
|
|
@@ -10831,12 +10830,12 @@ declare class Listen extends Activity {
|
|
|
10831
10830
|
when `format` is set to `'expand'`.
|
|
10832
10831
|
* @returns The JSON-LD representation of this object.
|
|
10833
10832
|
*/
|
|
10834
|
-
toJsonLd(options?: {
|
|
10833
|
+
override toJsonLd(options?: {
|
|
10835
10834
|
format?: "compact" | "expand";
|
|
10836
10835
|
contextLoader?: DocumentLoader$1;
|
|
10837
10836
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
|
10838
10837
|
}): Promise<unknown>;
|
|
10839
|
-
protected isCompactable(): boolean;
|
|
10838
|
+
protected override isCompactable(): boolean;
|
|
10840
10839
|
/**
|
|
10841
10840
|
* Converts a JSON-LD structure to an object of this type.
|
|
10842
10841
|
* @param json The JSON-LD structure to convert.
|
|
@@ -10848,7 +10847,7 @@ declare class Listen extends Activity {
|
|
|
10848
10847
|
* @returns The object of this type.
|
|
10849
10848
|
* @throws {TypeError} If the given `json` is invalid.
|
|
10850
10849
|
*/
|
|
10851
|
-
static fromJsonLd(json: unknown, options?: {
|
|
10850
|
+
static override fromJsonLd(json: unknown, options?: {
|
|
10852
10851
|
documentLoader?: DocumentLoader$1;
|
|
10853
10852
|
contextLoader?: DocumentLoader$1;
|
|
10854
10853
|
tracerProvider?: TracerProvider;
|
|
@@ -10860,7 +10859,7 @@ declare class Listen extends Activity {
|
|
|
10860
10859
|
tracerProvider?: TracerProvider;
|
|
10861
10860
|
baseUrl?: URL;
|
|
10862
10861
|
}): Promise<Listen>;
|
|
10863
|
-
protected _getCustomInspectProxy(): Record<string, unknown>;
|
|
10862
|
+
protected override _getCustomInspectProxy(): Record<string, unknown>;
|
|
10864
10863
|
}
|
|
10865
10864
|
/** A specialized {@link Link} that represents an @mention.
|
|
10866
10865
|
*/
|
|
@@ -10868,7 +10867,7 @@ declare class Mention extends Link {
|
|
|
10868
10867
|
/**
|
|
10869
10868
|
* The type URI of {@link Mention}: `https://www.w3.org/ns/activitystreams#Mention`.
|
|
10870
10869
|
*/
|
|
10871
|
-
static get typeId(): URL;
|
|
10870
|
+
static override get typeId(): URL;
|
|
10872
10871
|
/**
|
|
10873
10872
|
* Constructs a new instance of Mention with the given values.
|
|
10874
10873
|
* @param values The values to initialize the instance with.
|
|
@@ -10897,7 +10896,7 @@ declare class Mention extends Link {
|
|
|
10897
10896
|
* @param options The options to use for cloning.
|
|
10898
10897
|
* @returns The cloned instance.
|
|
10899
10898
|
*/
|
|
10900
|
-
clone(values?: {
|
|
10899
|
+
override clone(values?: {
|
|
10901
10900
|
id?: URL | null;
|
|
10902
10901
|
href?: URL | null;
|
|
10903
10902
|
rel?: string | null;
|
|
@@ -10923,12 +10922,12 @@ declare class Mention extends Link {
|
|
|
10923
10922
|
when `format` is set to `'expand'`.
|
|
10924
10923
|
* @returns The JSON-LD representation of this object.
|
|
10925
10924
|
*/
|
|
10926
|
-
toJsonLd(options?: {
|
|
10925
|
+
override toJsonLd(options?: {
|
|
10927
10926
|
format?: "compact" | "expand";
|
|
10928
10927
|
contextLoader?: DocumentLoader$1;
|
|
10929
10928
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
|
10930
10929
|
}): Promise<unknown>;
|
|
10931
|
-
protected isCompactable(): boolean;
|
|
10930
|
+
protected override isCompactable(): boolean;
|
|
10932
10931
|
/**
|
|
10933
10932
|
* Converts a JSON-LD structure to an object of this type.
|
|
10934
10933
|
* @param json The JSON-LD structure to convert.
|
|
@@ -10940,7 +10939,7 @@ declare class Mention extends Link {
|
|
|
10940
10939
|
* @returns The object of this type.
|
|
10941
10940
|
* @throws {TypeError} If the given `json` is invalid.
|
|
10942
10941
|
*/
|
|
10943
|
-
static fromJsonLd(json: unknown, options?: {
|
|
10942
|
+
static override fromJsonLd(json: unknown, options?: {
|
|
10944
10943
|
documentLoader?: DocumentLoader$1;
|
|
10945
10944
|
contextLoader?: DocumentLoader$1;
|
|
10946
10945
|
tracerProvider?: TracerProvider;
|
|
@@ -10952,7 +10951,7 @@ declare class Mention extends Link {
|
|
|
10952
10951
|
tracerProvider?: TracerProvider;
|
|
10953
10952
|
baseUrl?: URL;
|
|
10954
10953
|
}): Promise<Mention>;
|
|
10955
|
-
protected _getCustomInspectProxy(): Record<string, unknown>;
|
|
10954
|
+
protected override _getCustomInspectProxy(): Record<string, unknown>;
|
|
10956
10955
|
}
|
|
10957
10956
|
/** Indicates that the `actor` has moved `object` from `origin` to `target`.
|
|
10958
10957
|
* If the `origin` or `target` are not specified,
|
|
@@ -10962,7 +10961,7 @@ declare class Move extends Activity {
|
|
|
10962
10961
|
/**
|
|
10963
10962
|
* The type URI of {@link Move}: `https://www.w3.org/ns/activitystreams#Move`.
|
|
10964
10963
|
*/
|
|
10965
|
-
static get typeId(): URL;
|
|
10964
|
+
static override get typeId(): URL;
|
|
10966
10965
|
/**
|
|
10967
10966
|
* Constructs a new instance of Move with the given values.
|
|
10968
10967
|
* @param values The values to initialize the instance with.
|
|
@@ -11046,7 +11045,7 @@ declare class Move extends Activity {
|
|
|
11046
11045
|
* @param options The options to use for cloning.
|
|
11047
11046
|
* @returns The cloned instance.
|
|
11048
11047
|
*/
|
|
11049
|
-
clone(values?: {
|
|
11048
|
+
override clone(values?: {
|
|
11050
11049
|
id?: URL | null;
|
|
11051
11050
|
attachments?: (Object$1 | Link | PropertyValue | URL)[];
|
|
11052
11051
|
attribution?: Application | Group | Organization | Person | Service | URL | null;
|
|
@@ -11127,12 +11126,12 @@ declare class Move extends Activity {
|
|
|
11127
11126
|
when `format` is set to `'expand'`.
|
|
11128
11127
|
* @returns The JSON-LD representation of this object.
|
|
11129
11128
|
*/
|
|
11130
|
-
toJsonLd(options?: {
|
|
11129
|
+
override toJsonLd(options?: {
|
|
11131
11130
|
format?: "compact" | "expand";
|
|
11132
11131
|
contextLoader?: DocumentLoader$1;
|
|
11133
11132
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
|
11134
11133
|
}): Promise<unknown>;
|
|
11135
|
-
protected isCompactable(): boolean;
|
|
11134
|
+
protected override isCompactable(): boolean;
|
|
11136
11135
|
/**
|
|
11137
11136
|
* Converts a JSON-LD structure to an object of this type.
|
|
11138
11137
|
* @param json The JSON-LD structure to convert.
|
|
@@ -11144,7 +11143,7 @@ declare class Move extends Activity {
|
|
|
11144
11143
|
* @returns The object of this type.
|
|
11145
11144
|
* @throws {TypeError} If the given `json` is invalid.
|
|
11146
11145
|
*/
|
|
11147
|
-
static fromJsonLd(json: unknown, options?: {
|
|
11146
|
+
static override fromJsonLd(json: unknown, options?: {
|
|
11148
11147
|
documentLoader?: DocumentLoader$1;
|
|
11149
11148
|
contextLoader?: DocumentLoader$1;
|
|
11150
11149
|
tracerProvider?: TracerProvider;
|
|
@@ -11156,7 +11155,7 @@ declare class Move extends Activity {
|
|
|
11156
11155
|
tracerProvider?: TracerProvider;
|
|
11157
11156
|
baseUrl?: URL;
|
|
11158
11157
|
}): Promise<Move>;
|
|
11159
|
-
protected _getCustomInspectProxy(): Record<string, unknown>;
|
|
11158
|
+
protected override _getCustomInspectProxy(): Record<string, unknown>;
|
|
11160
11159
|
}
|
|
11161
11160
|
/** Represents a short written work typically less than a single paragraph in
|
|
11162
11161
|
* length.
|
|
@@ -11166,7 +11165,7 @@ declare class Note extends Object$1 {
|
|
|
11166
11165
|
/**
|
|
11167
11166
|
* The type URI of {@link Note}: `https://www.w3.org/ns/activitystreams#Note`.
|
|
11168
11167
|
*/
|
|
11169
|
-
static get typeId(): URL;
|
|
11168
|
+
static override get typeId(): URL;
|
|
11170
11169
|
/**
|
|
11171
11170
|
* Constructs a new instance of Note with the given values.
|
|
11172
11171
|
* @param values The values to initialize the instance with.
|
|
@@ -11239,7 +11238,7 @@ declare class Note extends Object$1 {
|
|
|
11239
11238
|
* @param options The options to use for cloning.
|
|
11240
11239
|
* @returns The cloned instance.
|
|
11241
11240
|
*/
|
|
11242
|
-
clone(values?: {
|
|
11241
|
+
override clone(values?: {
|
|
11243
11242
|
id?: URL | null;
|
|
11244
11243
|
attachments?: (Object$1 | Link | PropertyValue | URL)[];
|
|
11245
11244
|
attribution?: Application | Group | Organization | Person | Service | URL | null;
|
|
@@ -11321,12 +11320,12 @@ declare class Note extends Object$1 {
|
|
|
11321
11320
|
when `format` is set to `'expand'`.
|
|
11322
11321
|
* @returns The JSON-LD representation of this object.
|
|
11323
11322
|
*/
|
|
11324
|
-
toJsonLd(options?: {
|
|
11323
|
+
override toJsonLd(options?: {
|
|
11325
11324
|
format?: "compact" | "expand";
|
|
11326
11325
|
contextLoader?: DocumentLoader$1;
|
|
11327
11326
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
|
11328
11327
|
}): Promise<unknown>;
|
|
11329
|
-
protected isCompactable(): boolean;
|
|
11328
|
+
protected override isCompactable(): boolean;
|
|
11330
11329
|
/**
|
|
11331
11330
|
* Converts a JSON-LD structure to an object of this type.
|
|
11332
11331
|
* @param json The JSON-LD structure to convert.
|
|
@@ -11338,7 +11337,7 @@ declare class Note extends Object$1 {
|
|
|
11338
11337
|
* @returns The object of this type.
|
|
11339
11338
|
* @throws {TypeError} If the given `json` is invalid.
|
|
11340
11339
|
*/
|
|
11341
|
-
static fromJsonLd(json: unknown, options?: {
|
|
11340
|
+
static override fromJsonLd(json: unknown, options?: {
|
|
11342
11341
|
documentLoader?: DocumentLoader$1;
|
|
11343
11342
|
contextLoader?: DocumentLoader$1;
|
|
11344
11343
|
tracerProvider?: TracerProvider;
|
|
@@ -11350,7 +11349,7 @@ declare class Note extends Object$1 {
|
|
|
11350
11349
|
tracerProvider?: TracerProvider;
|
|
11351
11350
|
baseUrl?: URL;
|
|
11352
11351
|
}): Promise<Note>;
|
|
11353
|
-
protected _getCustomInspectProxy(): Record<string, unknown>;
|
|
11352
|
+
protected override _getCustomInspectProxy(): Record<string, unknown>;
|
|
11354
11353
|
}
|
|
11355
11354
|
/** A subtype of {@link Collection} in which members of the logical collection
|
|
11356
11355
|
* are assumed to always be strictly ordered.
|
|
@@ -11360,7 +11359,7 @@ declare class OrderedCollection extends Collection {
|
|
|
11360
11359
|
/**
|
|
11361
11360
|
* The type URI of {@link OrderedCollection}: `https://www.w3.org/ns/activitystreams#OrderedCollection`.
|
|
11362
11361
|
*/
|
|
11363
|
-
static get typeId(): URL;
|
|
11362
|
+
static override get typeId(): URL;
|
|
11364
11363
|
/**
|
|
11365
11364
|
* Constructs a new instance of OrderedCollection with the given values.
|
|
11366
11365
|
* @param values The values to initialize the instance with.
|
|
@@ -11445,7 +11444,7 @@ declare class OrderedCollection extends Collection {
|
|
|
11445
11444
|
* @param options The options to use for cloning.
|
|
11446
11445
|
* @returns The cloned instance.
|
|
11447
11446
|
*/
|
|
11448
|
-
clone(values?: {
|
|
11447
|
+
override clone(values?: {
|
|
11449
11448
|
id?: URL | null;
|
|
11450
11449
|
attachments?: (Object$1 | Link | PropertyValue | URL)[];
|
|
11451
11450
|
attribution?: Application | Group | Organization | Person | Service | URL | null;
|
|
@@ -11522,11 +11521,11 @@ declare class OrderedCollection extends Collection {
|
|
|
11522
11521
|
* {@link OrderedCollection.getItems},
|
|
11523
11522
|
* but returns their `@id`s instead of the objects themselves.
|
|
11524
11523
|
*/
|
|
11525
|
-
get itemIds(): URL[];
|
|
11524
|
+
override get itemIds(): URL[];
|
|
11526
11525
|
/** Identifies the items contained in a collection. The items might be ordered
|
|
11527
11526
|
* or unordered.
|
|
11528
11527
|
*/
|
|
11529
|
-
getItems(options?: {
|
|
11528
|
+
override getItems(options?: {
|
|
11530
11529
|
documentLoader?: DocumentLoader$1;
|
|
11531
11530
|
contextLoader?: DocumentLoader$1;
|
|
11532
11531
|
suppressError?: boolean;
|
|
@@ -11543,12 +11542,12 @@ declare class OrderedCollection extends Collection {
|
|
|
11543
11542
|
when `format` is set to `'expand'`.
|
|
11544
11543
|
* @returns The JSON-LD representation of this object.
|
|
11545
11544
|
*/
|
|
11546
|
-
toJsonLd(options?: {
|
|
11545
|
+
override toJsonLd(options?: {
|
|
11547
11546
|
format?: "compact" | "expand";
|
|
11548
11547
|
contextLoader?: DocumentLoader$1;
|
|
11549
11548
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
|
11550
11549
|
}): Promise<unknown>;
|
|
11551
|
-
protected isCompactable(): boolean;
|
|
11550
|
+
protected override isCompactable(): boolean;
|
|
11552
11551
|
/**
|
|
11553
11552
|
* Converts a JSON-LD structure to an object of this type.
|
|
11554
11553
|
* @param json The JSON-LD structure to convert.
|
|
@@ -11560,7 +11559,7 @@ declare class OrderedCollection extends Collection {
|
|
|
11560
11559
|
* @returns The object of this type.
|
|
11561
11560
|
* @throws {TypeError} If the given `json` is invalid.
|
|
11562
11561
|
*/
|
|
11563
|
-
static fromJsonLd(json: unknown, options?: {
|
|
11562
|
+
static override fromJsonLd(json: unknown, options?: {
|
|
11564
11563
|
documentLoader?: DocumentLoader$1;
|
|
11565
11564
|
contextLoader?: DocumentLoader$1;
|
|
11566
11565
|
tracerProvider?: TracerProvider;
|
|
@@ -11572,7 +11571,7 @@ declare class OrderedCollection extends Collection {
|
|
|
11572
11571
|
tracerProvider?: TracerProvider;
|
|
11573
11572
|
baseUrl?: URL;
|
|
11574
11573
|
}): Promise<OrderedCollection>;
|
|
11575
|
-
protected _getCustomInspectProxy(): Record<string, unknown>;
|
|
11574
|
+
protected override _getCustomInspectProxy(): Record<string, unknown>;
|
|
11576
11575
|
}
|
|
11577
11576
|
/** Used to represent ordered subsets of items from an `OrderedCollection`.
|
|
11578
11577
|
* Refer to the Activity Streams 2.0 Core for a complete description of
|
|
@@ -11583,7 +11582,7 @@ declare class OrderedCollectionPage extends CollectionPage {
|
|
|
11583
11582
|
/**
|
|
11584
11583
|
* The type URI of {@link OrderedCollectionPage}: `https://www.w3.org/ns/activitystreams#OrderedCollectionPage`.
|
|
11585
11584
|
*/
|
|
11586
|
-
static get typeId(): URL;
|
|
11585
|
+
static override get typeId(): URL;
|
|
11587
11586
|
/**
|
|
11588
11587
|
* Constructs a new instance of OrderedCollectionPage with the given values.
|
|
11589
11588
|
* @param values The values to initialize the instance with.
|
|
@@ -11672,7 +11671,7 @@ declare class OrderedCollectionPage extends CollectionPage {
|
|
|
11672
11671
|
* @param options The options to use for cloning.
|
|
11673
11672
|
* @returns The cloned instance.
|
|
11674
11673
|
*/
|
|
11675
|
-
clone(values?: {
|
|
11674
|
+
override clone(values?: {
|
|
11676
11675
|
id?: URL | null;
|
|
11677
11676
|
attachments?: (Object$1 | Link | PropertyValue | URL)[];
|
|
11678
11677
|
attribution?: Application | Group | Organization | Person | Service | URL | null;
|
|
@@ -11753,11 +11752,11 @@ declare class OrderedCollectionPage extends CollectionPage {
|
|
|
11753
11752
|
* {@link OrderedCollectionPage.getItems},
|
|
11754
11753
|
* but returns their `@id`s instead of the objects themselves.
|
|
11755
11754
|
*/
|
|
11756
|
-
get itemIds(): URL[];
|
|
11755
|
+
override get itemIds(): URL[];
|
|
11757
11756
|
/** Identifies the items contained in a collection. The items might be ordered
|
|
11758
11757
|
* or unordered.
|
|
11759
11758
|
*/
|
|
11760
|
-
getItems(options?: {
|
|
11759
|
+
override getItems(options?: {
|
|
11761
11760
|
documentLoader?: DocumentLoader$1;
|
|
11762
11761
|
contextLoader?: DocumentLoader$1;
|
|
11763
11762
|
suppressError?: boolean;
|
|
@@ -11778,12 +11777,12 @@ declare class OrderedCollectionPage extends CollectionPage {
|
|
|
11778
11777
|
when `format` is set to `'expand'`.
|
|
11779
11778
|
* @returns The JSON-LD representation of this object.
|
|
11780
11779
|
*/
|
|
11781
|
-
toJsonLd(options?: {
|
|
11780
|
+
override toJsonLd(options?: {
|
|
11782
11781
|
format?: "compact" | "expand";
|
|
11783
11782
|
contextLoader?: DocumentLoader$1;
|
|
11784
11783
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
|
11785
11784
|
}): Promise<unknown>;
|
|
11786
|
-
protected isCompactable(): boolean;
|
|
11785
|
+
protected override isCompactable(): boolean;
|
|
11787
11786
|
/**
|
|
11788
11787
|
* Converts a JSON-LD structure to an object of this type.
|
|
11789
11788
|
* @param json The JSON-LD structure to convert.
|
|
@@ -11795,7 +11794,7 @@ declare class OrderedCollectionPage extends CollectionPage {
|
|
|
11795
11794
|
* @returns The object of this type.
|
|
11796
11795
|
* @throws {TypeError} If the given `json` is invalid.
|
|
11797
11796
|
*/
|
|
11798
|
-
static fromJsonLd(json: unknown, options?: {
|
|
11797
|
+
static override fromJsonLd(json: unknown, options?: {
|
|
11799
11798
|
documentLoader?: DocumentLoader$1;
|
|
11800
11799
|
contextLoader?: DocumentLoader$1;
|
|
11801
11800
|
tracerProvider?: TracerProvider;
|
|
@@ -11807,7 +11806,7 @@ declare class OrderedCollectionPage extends CollectionPage {
|
|
|
11807
11806
|
tracerProvider?: TracerProvider;
|
|
11808
11807
|
baseUrl?: URL;
|
|
11809
11808
|
}): Promise<OrderedCollectionPage>;
|
|
11810
|
-
protected _getCustomInspectProxy(): Record<string, unknown>;
|
|
11809
|
+
protected override _getCustomInspectProxy(): Record<string, unknown>;
|
|
11811
11810
|
}
|
|
11812
11811
|
/** Represents an organization.
|
|
11813
11812
|
*/
|
|
@@ -11816,7 +11815,7 @@ declare class Organization extends Object$1 {
|
|
|
11816
11815
|
/**
|
|
11817
11816
|
* The type URI of {@link Organization}: `https://www.w3.org/ns/activitystreams#Organization`.
|
|
11818
11817
|
*/
|
|
11819
|
-
static get typeId(): URL;
|
|
11818
|
+
static override get typeId(): URL;
|
|
11820
11819
|
/**
|
|
11821
11820
|
* Constructs a new instance of Organization with the given values.
|
|
11822
11821
|
* @param values The values to initialize the instance with.
|
|
@@ -11915,7 +11914,7 @@ declare class Organization extends Object$1 {
|
|
|
11915
11914
|
* @param options The options to use for cloning.
|
|
11916
11915
|
* @returns The cloned instance.
|
|
11917
11916
|
*/
|
|
11918
|
-
clone(values?: {
|
|
11917
|
+
override clone(values?: {
|
|
11919
11918
|
id?: URL | null;
|
|
11920
11919
|
attachments?: (Object$1 | Link | PropertyValue | URL)[];
|
|
11921
11920
|
attribution?: Application | Group | Organization | Person | Service | URL | null;
|
|
@@ -12374,12 +12373,12 @@ declare class Organization extends Object$1 {
|
|
|
12374
12373
|
when `format` is set to `'expand'`.
|
|
12375
12374
|
* @returns The JSON-LD representation of this object.
|
|
12376
12375
|
*/
|
|
12377
|
-
toJsonLd(options?: {
|
|
12376
|
+
override toJsonLd(options?: {
|
|
12378
12377
|
format?: "compact" | "expand";
|
|
12379
12378
|
contextLoader?: DocumentLoader$1;
|
|
12380
12379
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
|
12381
12380
|
}): Promise<unknown>;
|
|
12382
|
-
protected isCompactable(): boolean;
|
|
12381
|
+
protected override isCompactable(): boolean;
|
|
12383
12382
|
/**
|
|
12384
12383
|
* Converts a JSON-LD structure to an object of this type.
|
|
12385
12384
|
* @param json The JSON-LD structure to convert.
|
|
@@ -12391,7 +12390,7 @@ declare class Organization extends Object$1 {
|
|
|
12391
12390
|
* @returns The object of this type.
|
|
12392
12391
|
* @throws {TypeError} If the given `json` is invalid.
|
|
12393
12392
|
*/
|
|
12394
|
-
static fromJsonLd(json: unknown, options?: {
|
|
12393
|
+
static override fromJsonLd(json: unknown, options?: {
|
|
12395
12394
|
documentLoader?: DocumentLoader$1;
|
|
12396
12395
|
contextLoader?: DocumentLoader$1;
|
|
12397
12396
|
tracerProvider?: TracerProvider;
|
|
@@ -12403,7 +12402,7 @@ declare class Organization extends Object$1 {
|
|
|
12403
12402
|
tracerProvider?: TracerProvider;
|
|
12404
12403
|
baseUrl?: URL;
|
|
12405
12404
|
}): Promise<Organization>;
|
|
12406
|
-
protected _getCustomInspectProxy(): Record<string, unknown>;
|
|
12405
|
+
protected override _getCustomInspectProxy(): Record<string, unknown>;
|
|
12407
12406
|
}
|
|
12408
12407
|
/** Represents a Web Page.
|
|
12409
12408
|
*/
|
|
@@ -12411,7 +12410,7 @@ declare class Page extends Document {
|
|
|
12411
12410
|
/**
|
|
12412
12411
|
* The type URI of {@link Page}: `https://www.w3.org/ns/activitystreams#Page`.
|
|
12413
12412
|
*/
|
|
12414
|
-
static get typeId(): URL;
|
|
12413
|
+
static override get typeId(): URL;
|
|
12415
12414
|
/**
|
|
12416
12415
|
* Constructs a new instance of Page with the given values.
|
|
12417
12416
|
* @param values The values to initialize the instance with.
|
|
@@ -12485,7 +12484,7 @@ declare class Page extends Document {
|
|
|
12485
12484
|
* @param options The options to use for cloning.
|
|
12486
12485
|
* @returns The cloned instance.
|
|
12487
12486
|
*/
|
|
12488
|
-
clone(values?: {
|
|
12487
|
+
override clone(values?: {
|
|
12489
12488
|
id?: URL | null;
|
|
12490
12489
|
attachments?: (Object$1 | Link | PropertyValue | URL)[];
|
|
12491
12490
|
attribution?: Application | Group | Organization | Person | Service | URL | null;
|
|
@@ -12556,12 +12555,12 @@ declare class Page extends Document {
|
|
|
12556
12555
|
when `format` is set to `'expand'`.
|
|
12557
12556
|
* @returns The JSON-LD representation of this object.
|
|
12558
12557
|
*/
|
|
12559
|
-
toJsonLd(options?: {
|
|
12558
|
+
override toJsonLd(options?: {
|
|
12560
12559
|
format?: "compact" | "expand";
|
|
12561
12560
|
contextLoader?: DocumentLoader$1;
|
|
12562
12561
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
|
12563
12562
|
}): Promise<unknown>;
|
|
12564
|
-
protected isCompactable(): boolean;
|
|
12563
|
+
protected override isCompactable(): boolean;
|
|
12565
12564
|
/**
|
|
12566
12565
|
* Converts a JSON-LD structure to an object of this type.
|
|
12567
12566
|
* @param json The JSON-LD structure to convert.
|
|
@@ -12573,7 +12572,7 @@ declare class Page extends Document {
|
|
|
12573
12572
|
* @returns The object of this type.
|
|
12574
12573
|
* @throws {TypeError} If the given `json` is invalid.
|
|
12575
12574
|
*/
|
|
12576
|
-
static fromJsonLd(json: unknown, options?: {
|
|
12575
|
+
static override fromJsonLd(json: unknown, options?: {
|
|
12577
12576
|
documentLoader?: DocumentLoader$1;
|
|
12578
12577
|
contextLoader?: DocumentLoader$1;
|
|
12579
12578
|
tracerProvider?: TracerProvider;
|
|
@@ -12585,7 +12584,7 @@ declare class Page extends Document {
|
|
|
12585
12584
|
tracerProvider?: TracerProvider;
|
|
12586
12585
|
baseUrl?: URL;
|
|
12587
12586
|
}): Promise<Page>;
|
|
12588
|
-
protected _getCustomInspectProxy(): Record<string, unknown>;
|
|
12587
|
+
protected override _getCustomInspectProxy(): Record<string, unknown>;
|
|
12589
12588
|
}
|
|
12590
12589
|
/** Represents an individual person.
|
|
12591
12590
|
*/
|
|
@@ -12594,7 +12593,7 @@ declare class Person extends Object$1 {
|
|
|
12594
12593
|
/**
|
|
12595
12594
|
* The type URI of {@link Person}: `https://www.w3.org/ns/activitystreams#Person`.
|
|
12596
12595
|
*/
|
|
12597
|
-
static get typeId(): URL;
|
|
12596
|
+
static override get typeId(): URL;
|
|
12598
12597
|
/**
|
|
12599
12598
|
* Constructs a new instance of Person with the given values.
|
|
12600
12599
|
* @param values The values to initialize the instance with.
|
|
@@ -12693,7 +12692,7 @@ declare class Person extends Object$1 {
|
|
|
12693
12692
|
* @param options The options to use for cloning.
|
|
12694
12693
|
* @returns The cloned instance.
|
|
12695
12694
|
*/
|
|
12696
|
-
clone(values?: {
|
|
12695
|
+
override clone(values?: {
|
|
12697
12696
|
id?: URL | null;
|
|
12698
12697
|
attachments?: (Object$1 | Link | PropertyValue | URL)[];
|
|
12699
12698
|
attribution?: Application | Group | Organization | Person | Service | URL | null;
|
|
@@ -13152,12 +13151,12 @@ declare class Person extends Object$1 {
|
|
|
13152
13151
|
when `format` is set to `'expand'`.
|
|
13153
13152
|
* @returns The JSON-LD representation of this object.
|
|
13154
13153
|
*/
|
|
13155
|
-
toJsonLd(options?: {
|
|
13154
|
+
override toJsonLd(options?: {
|
|
13156
13155
|
format?: "compact" | "expand";
|
|
13157
13156
|
contextLoader?: DocumentLoader$1;
|
|
13158
13157
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
|
13159
13158
|
}): Promise<unknown>;
|
|
13160
|
-
protected isCompactable(): boolean;
|
|
13159
|
+
protected override isCompactable(): boolean;
|
|
13161
13160
|
/**
|
|
13162
13161
|
* Converts a JSON-LD structure to an object of this type.
|
|
13163
13162
|
* @param json The JSON-LD structure to convert.
|
|
@@ -13169,7 +13168,7 @@ declare class Person extends Object$1 {
|
|
|
13169
13168
|
* @returns The object of this type.
|
|
13170
13169
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13171
13170
|
*/
|
|
13172
|
-
static fromJsonLd(json: unknown, options?: {
|
|
13171
|
+
static override fromJsonLd(json: unknown, options?: {
|
|
13173
13172
|
documentLoader?: DocumentLoader$1;
|
|
13174
13173
|
contextLoader?: DocumentLoader$1;
|
|
13175
13174
|
tracerProvider?: TracerProvider;
|
|
@@ -13181,7 +13180,7 @@ declare class Person extends Object$1 {
|
|
|
13181
13180
|
tracerProvider?: TracerProvider;
|
|
13182
13181
|
baseUrl?: URL;
|
|
13183
13182
|
}): Promise<Person>;
|
|
13184
|
-
protected _getCustomInspectProxy(): Record<string, unknown>;
|
|
13183
|
+
protected override _getCustomInspectProxy(): Record<string, unknown>;
|
|
13185
13184
|
}
|
|
13186
13185
|
/** Represents a logical or physical location. See [5.3 Representing
|
|
13187
13186
|
* Places](https://www.w3.org/TR/activitystreams-vocabulary/#places)
|
|
@@ -13192,7 +13191,7 @@ declare class Place extends Object$1 {
|
|
|
13192
13191
|
/**
|
|
13193
13192
|
* The type URI of {@link Place}: `https://www.w3.org/ns/activitystreams#Place`.
|
|
13194
13193
|
*/
|
|
13195
|
-
static get typeId(): URL;
|
|
13194
|
+
static override get typeId(): URL;
|
|
13196
13195
|
/**
|
|
13197
13196
|
* Constructs a new instance of Place with the given values.
|
|
13198
13197
|
* @param values The values to initialize the instance with.
|
|
@@ -13270,7 +13269,7 @@ declare class Place extends Object$1 {
|
|
|
13270
13269
|
* @param options The options to use for cloning.
|
|
13271
13270
|
* @returns The cloned instance.
|
|
13272
13271
|
*/
|
|
13273
|
-
clone(values?: {
|
|
13272
|
+
override clone(values?: {
|
|
13274
13273
|
id?: URL | null;
|
|
13275
13274
|
attachments?: (Object$1 | Link | PropertyValue | URL)[];
|
|
13276
13275
|
attribution?: Application | Group | Organization | Person | Service | URL | null;
|
|
@@ -13371,12 +13370,12 @@ declare class Place extends Object$1 {
|
|
|
13371
13370
|
when `format` is set to `'expand'`.
|
|
13372
13371
|
* @returns The JSON-LD representation of this object.
|
|
13373
13372
|
*/
|
|
13374
|
-
toJsonLd(options?: {
|
|
13373
|
+
override toJsonLd(options?: {
|
|
13375
13374
|
format?: "compact" | "expand";
|
|
13376
13375
|
contextLoader?: DocumentLoader$1;
|
|
13377
13376
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
|
13378
13377
|
}): Promise<unknown>;
|
|
13379
|
-
protected isCompactable(): boolean;
|
|
13378
|
+
protected override isCompactable(): boolean;
|
|
13380
13379
|
/**
|
|
13381
13380
|
* Converts a JSON-LD structure to an object of this type.
|
|
13382
13381
|
* @param json The JSON-LD structure to convert.
|
|
@@ -13388,7 +13387,7 @@ declare class Place extends Object$1 {
|
|
|
13388
13387
|
* @returns The object of this type.
|
|
13389
13388
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13390
13389
|
*/
|
|
13391
|
-
static fromJsonLd(json: unknown, options?: {
|
|
13390
|
+
static override fromJsonLd(json: unknown, options?: {
|
|
13392
13391
|
documentLoader?: DocumentLoader$1;
|
|
13393
13392
|
contextLoader?: DocumentLoader$1;
|
|
13394
13393
|
tracerProvider?: TracerProvider;
|
|
@@ -13400,7 +13399,7 @@ declare class Place extends Object$1 {
|
|
|
13400
13399
|
tracerProvider?: TracerProvider;
|
|
13401
13400
|
baseUrl?: URL;
|
|
13402
13401
|
}): Promise<Place>;
|
|
13403
|
-
protected _getCustomInspectProxy(): Record<string, unknown>;
|
|
13402
|
+
protected override _getCustomInspectProxy(): Record<string, unknown>;
|
|
13404
13403
|
}
|
|
13405
13404
|
/** A {@link Profile} is a content object that describes another {@link Object},
|
|
13406
13405
|
* typically used to describe [Actor
|
|
@@ -13413,7 +13412,7 @@ declare class Profile extends Object$1 {
|
|
|
13413
13412
|
/**
|
|
13414
13413
|
* The type URI of {@link Profile}: `https://www.w3.org/ns/activitystreams#Profile`.
|
|
13415
13414
|
*/
|
|
13416
|
-
static get typeId(): URL;
|
|
13415
|
+
static override get typeId(): URL;
|
|
13417
13416
|
/**
|
|
13418
13417
|
* Constructs a new instance of Profile with the given values.
|
|
13419
13418
|
* @param values The values to initialize the instance with.
|
|
@@ -13486,7 +13485,7 @@ declare class Profile extends Object$1 {
|
|
|
13486
13485
|
* @param options The options to use for cloning.
|
|
13487
13486
|
* @returns The cloned instance.
|
|
13488
13487
|
*/
|
|
13489
|
-
clone(values?: {
|
|
13488
|
+
override clone(values?: {
|
|
13490
13489
|
id?: URL | null;
|
|
13491
13490
|
attachments?: (Object$1 | Link | PropertyValue | URL)[];
|
|
13492
13491
|
attribution?: Application | Group | Organization | Person | Service | URL | null;
|
|
@@ -13572,12 +13571,12 @@ declare class Profile extends Object$1 {
|
|
|
13572
13571
|
when `format` is set to `'expand'`.
|
|
13573
13572
|
* @returns The JSON-LD representation of this object.
|
|
13574
13573
|
*/
|
|
13575
|
-
toJsonLd(options?: {
|
|
13574
|
+
override toJsonLd(options?: {
|
|
13576
13575
|
format?: "compact" | "expand";
|
|
13577
13576
|
contextLoader?: DocumentLoader$1;
|
|
13578
13577
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
|
13579
13578
|
}): Promise<unknown>;
|
|
13580
|
-
protected isCompactable(): boolean;
|
|
13579
|
+
protected override isCompactable(): boolean;
|
|
13581
13580
|
/**
|
|
13582
13581
|
* Converts a JSON-LD structure to an object of this type.
|
|
13583
13582
|
* @param json The JSON-LD structure to convert.
|
|
@@ -13589,7 +13588,7 @@ declare class Profile extends Object$1 {
|
|
|
13589
13588
|
* @returns The object of this type.
|
|
13590
13589
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13591
13590
|
*/
|
|
13592
|
-
static fromJsonLd(json: unknown, options?: {
|
|
13591
|
+
static override fromJsonLd(json: unknown, options?: {
|
|
13593
13592
|
documentLoader?: DocumentLoader$1;
|
|
13594
13593
|
contextLoader?: DocumentLoader$1;
|
|
13595
13594
|
tracerProvider?: TracerProvider;
|
|
@@ -13601,7 +13600,7 @@ declare class Profile extends Object$1 {
|
|
|
13601
13600
|
tracerProvider?: TracerProvider;
|
|
13602
13601
|
baseUrl?: URL;
|
|
13603
13602
|
}): Promise<Profile>;
|
|
13604
|
-
protected _getCustomInspectProxy(): Record<string, unknown>;
|
|
13603
|
+
protected override _getCustomInspectProxy(): Record<string, unknown>;
|
|
13605
13604
|
}
|
|
13606
13605
|
/** Represents a question being asked. Question objects are an extension of
|
|
13607
13606
|
* {@link IntransitiveActivity}. That is, the Question object is an Activity,
|
|
@@ -13617,7 +13616,7 @@ declare class Question extends IntransitiveActivity {
|
|
|
13617
13616
|
/**
|
|
13618
13617
|
* The type URI of {@link Question}: `https://www.w3.org/ns/activitystreams#Question`.
|
|
13619
13618
|
*/
|
|
13620
|
-
static get typeId(): URL;
|
|
13619
|
+
static override get typeId(): URL;
|
|
13621
13620
|
/**
|
|
13622
13621
|
* Constructs a new instance of Question with the given values.
|
|
13623
13622
|
* @param values The values to initialize the instance with.
|
|
@@ -13706,7 +13705,7 @@ declare class Question extends IntransitiveActivity {
|
|
|
13706
13705
|
* @param options The options to use for cloning.
|
|
13707
13706
|
* @returns The cloned instance.
|
|
13708
13707
|
*/
|
|
13709
|
-
clone(values?: {
|
|
13708
|
+
override clone(values?: {
|
|
13710
13709
|
id?: URL | null;
|
|
13711
13710
|
attachments?: (Object$1 | Link | PropertyValue | URL)[];
|
|
13712
13711
|
attribution?: Application | Group | Organization | Person | Service | URL | null;
|
|
@@ -13846,12 +13845,12 @@ declare class Question extends IntransitiveActivity {
|
|
|
13846
13845
|
when `format` is set to `'expand'`.
|
|
13847
13846
|
* @returns The JSON-LD representation of this object.
|
|
13848
13847
|
*/
|
|
13849
|
-
toJsonLd(options?: {
|
|
13848
|
+
override toJsonLd(options?: {
|
|
13850
13849
|
format?: "compact" | "expand";
|
|
13851
13850
|
contextLoader?: DocumentLoader$1;
|
|
13852
13851
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
|
13853
13852
|
}): Promise<unknown>;
|
|
13854
|
-
protected isCompactable(): boolean;
|
|
13853
|
+
protected override isCompactable(): boolean;
|
|
13855
13854
|
/**
|
|
13856
13855
|
* Converts a JSON-LD structure to an object of this type.
|
|
13857
13856
|
* @param json The JSON-LD structure to convert.
|
|
@@ -13863,7 +13862,7 @@ declare class Question extends IntransitiveActivity {
|
|
|
13863
13862
|
* @returns The object of this type.
|
|
13864
13863
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13865
13864
|
*/
|
|
13866
|
-
static fromJsonLd(json: unknown, options?: {
|
|
13865
|
+
static override fromJsonLd(json: unknown, options?: {
|
|
13867
13866
|
documentLoader?: DocumentLoader$1;
|
|
13868
13867
|
contextLoader?: DocumentLoader$1;
|
|
13869
13868
|
tracerProvider?: TracerProvider;
|
|
@@ -13875,7 +13874,7 @@ declare class Question extends IntransitiveActivity {
|
|
|
13875
13874
|
tracerProvider?: TracerProvider;
|
|
13876
13875
|
baseUrl?: URL;
|
|
13877
13876
|
}): Promise<Question>;
|
|
13878
|
-
protected _getCustomInspectProxy(): Record<string, unknown>;
|
|
13877
|
+
protected override _getCustomInspectProxy(): Record<string, unknown>;
|
|
13879
13878
|
}
|
|
13880
13879
|
/** Indicates that the `actor` has read the `object`.
|
|
13881
13880
|
*/
|
|
@@ -13883,7 +13882,7 @@ declare class Read extends Activity {
|
|
|
13883
13882
|
/**
|
|
13884
13883
|
* The type URI of {@link Read}: `https://www.w3.org/ns/activitystreams#Read`.
|
|
13885
13884
|
*/
|
|
13886
|
-
static get typeId(): URL;
|
|
13885
|
+
static override get typeId(): URL;
|
|
13887
13886
|
/**
|
|
13888
13887
|
* Constructs a new instance of Read with the given values.
|
|
13889
13888
|
* @param values The values to initialize the instance with.
|
|
@@ -13967,7 +13966,7 @@ declare class Read extends Activity {
|
|
|
13967
13966
|
* @param options The options to use for cloning.
|
|
13968
13967
|
* @returns The cloned instance.
|
|
13969
13968
|
*/
|
|
13970
|
-
clone(values?: {
|
|
13969
|
+
override clone(values?: {
|
|
13971
13970
|
id?: URL | null;
|
|
13972
13971
|
attachments?: (Object$1 | Link | PropertyValue | URL)[];
|
|
13973
13972
|
attribution?: Application | Group | Organization | Person | Service | URL | null;
|
|
@@ -14048,12 +14047,12 @@ declare class Read extends Activity {
|
|
|
14048
14047
|
when `format` is set to `'expand'`.
|
|
14049
14048
|
* @returns The JSON-LD representation of this object.
|
|
14050
14049
|
*/
|
|
14051
|
-
toJsonLd(options?: {
|
|
14050
|
+
override toJsonLd(options?: {
|
|
14052
14051
|
format?: "compact" | "expand";
|
|
14053
14052
|
contextLoader?: DocumentLoader$1;
|
|
14054
14053
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
|
14055
14054
|
}): Promise<unknown>;
|
|
14056
|
-
protected isCompactable(): boolean;
|
|
14055
|
+
protected override isCompactable(): boolean;
|
|
14057
14056
|
/**
|
|
14058
14057
|
* Converts a JSON-LD structure to an object of this type.
|
|
14059
14058
|
* @param json The JSON-LD structure to convert.
|
|
@@ -14065,7 +14064,7 @@ declare class Read extends Activity {
|
|
|
14065
14064
|
* @returns The object of this type.
|
|
14066
14065
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14067
14066
|
*/
|
|
14068
|
-
static fromJsonLd(json: unknown, options?: {
|
|
14067
|
+
static override fromJsonLd(json: unknown, options?: {
|
|
14069
14068
|
documentLoader?: DocumentLoader$1;
|
|
14070
14069
|
contextLoader?: DocumentLoader$1;
|
|
14071
14070
|
tracerProvider?: TracerProvider;
|
|
@@ -14077,7 +14076,7 @@ declare class Read extends Activity {
|
|
|
14077
14076
|
tracerProvider?: TracerProvider;
|
|
14078
14077
|
baseUrl?: URL;
|
|
14079
14078
|
}): Promise<Read>;
|
|
14080
|
-
protected _getCustomInspectProxy(): Record<string, unknown>;
|
|
14079
|
+
protected override _getCustomInspectProxy(): Record<string, unknown>;
|
|
14081
14080
|
}
|
|
14082
14081
|
/** Indicates that the `actor` is rejecting the `object`. The `target` and
|
|
14083
14082
|
* `origin` typically have no defined meaning.
|
|
@@ -14086,7 +14085,7 @@ declare class Reject extends Activity {
|
|
|
14086
14085
|
/**
|
|
14087
14086
|
* The type URI of {@link Reject}: `https://www.w3.org/ns/activitystreams#Reject`.
|
|
14088
14087
|
*/
|
|
14089
|
-
static get typeId(): URL;
|
|
14088
|
+
static override get typeId(): URL;
|
|
14090
14089
|
/**
|
|
14091
14090
|
* Constructs a new instance of Reject with the given values.
|
|
14092
14091
|
* @param values The values to initialize the instance with.
|
|
@@ -14170,7 +14169,7 @@ declare class Reject extends Activity {
|
|
|
14170
14169
|
* @param options The options to use for cloning.
|
|
14171
14170
|
* @returns The cloned instance.
|
|
14172
14171
|
*/
|
|
14173
|
-
clone(values?: {
|
|
14172
|
+
override clone(values?: {
|
|
14174
14173
|
id?: URL | null;
|
|
14175
14174
|
attachments?: (Object$1 | Link | PropertyValue | URL)[];
|
|
14176
14175
|
attribution?: Application | Group | Organization | Person | Service | URL | null;
|
|
@@ -14251,12 +14250,12 @@ declare class Reject extends Activity {
|
|
|
14251
14250
|
when `format` is set to `'expand'`.
|
|
14252
14251
|
* @returns The JSON-LD representation of this object.
|
|
14253
14252
|
*/
|
|
14254
|
-
toJsonLd(options?: {
|
|
14253
|
+
override toJsonLd(options?: {
|
|
14255
14254
|
format?: "compact" | "expand";
|
|
14256
14255
|
contextLoader?: DocumentLoader$1;
|
|
14257
14256
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
|
14258
14257
|
}): Promise<unknown>;
|
|
14259
|
-
protected isCompactable(): boolean;
|
|
14258
|
+
protected override isCompactable(): boolean;
|
|
14260
14259
|
/**
|
|
14261
14260
|
* Converts a JSON-LD structure to an object of this type.
|
|
14262
14261
|
* @param json The JSON-LD structure to convert.
|
|
@@ -14268,7 +14267,7 @@ declare class Reject extends Activity {
|
|
|
14268
14267
|
* @returns The object of this type.
|
|
14269
14268
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14270
14269
|
*/
|
|
14271
|
-
static fromJsonLd(json: unknown, options?: {
|
|
14270
|
+
static override fromJsonLd(json: unknown, options?: {
|
|
14272
14271
|
documentLoader?: DocumentLoader$1;
|
|
14273
14272
|
contextLoader?: DocumentLoader$1;
|
|
14274
14273
|
tracerProvider?: TracerProvider;
|
|
@@ -14280,7 +14279,7 @@ declare class Reject extends Activity {
|
|
|
14280
14279
|
tracerProvider?: TracerProvider;
|
|
14281
14280
|
baseUrl?: URL;
|
|
14282
14281
|
}): Promise<Reject>;
|
|
14283
|
-
protected _getCustomInspectProxy(): Record<string, unknown>;
|
|
14282
|
+
protected override _getCustomInspectProxy(): Record<string, unknown>;
|
|
14284
14283
|
}
|
|
14285
14284
|
/** Describes a relationship between two individuals.
|
|
14286
14285
|
* The {@link Relationship.subject} and {@link Relationship.object} properties
|
|
@@ -14295,7 +14294,7 @@ declare class Relationship extends Object$1 {
|
|
|
14295
14294
|
/**
|
|
14296
14295
|
* The type URI of {@link Relationship}: `https://www.w3.org/ns/activitystreams#Relationship`.
|
|
14297
14296
|
*/
|
|
14298
|
-
static get typeId(): URL;
|
|
14297
|
+
static override get typeId(): URL;
|
|
14299
14298
|
/**
|
|
14300
14299
|
* Constructs a new instance of Relationship with the given values.
|
|
14301
14300
|
* @param values The values to initialize the instance with.
|
|
@@ -14372,7 +14371,7 @@ declare class Relationship extends Object$1 {
|
|
|
14372
14371
|
* @param options The options to use for cloning.
|
|
14373
14372
|
* @returns The cloned instance.
|
|
14374
14373
|
*/
|
|
14375
|
-
clone(values?: {
|
|
14374
|
+
override clone(values?: {
|
|
14376
14375
|
id?: URL | null;
|
|
14377
14376
|
attachments?: (Object$1 | Link | PropertyValue | URL)[];
|
|
14378
14377
|
attribution?: Application | Group | Organization | Person | Service | URL | null;
|
|
@@ -14528,12 +14527,12 @@ declare class Relationship extends Object$1 {
|
|
|
14528
14527
|
when `format` is set to `'expand'`.
|
|
14529
14528
|
* @returns The JSON-LD representation of this object.
|
|
14530
14529
|
*/
|
|
14531
|
-
toJsonLd(options?: {
|
|
14530
|
+
override toJsonLd(options?: {
|
|
14532
14531
|
format?: "compact" | "expand";
|
|
14533
14532
|
contextLoader?: DocumentLoader$1;
|
|
14534
14533
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
|
14535
14534
|
}): Promise<unknown>;
|
|
14536
|
-
protected isCompactable(): boolean;
|
|
14535
|
+
protected override isCompactable(): boolean;
|
|
14537
14536
|
/**
|
|
14538
14537
|
* Converts a JSON-LD structure to an object of this type.
|
|
14539
14538
|
* @param json The JSON-LD structure to convert.
|
|
@@ -14545,7 +14544,7 @@ declare class Relationship extends Object$1 {
|
|
|
14545
14544
|
* @returns The object of this type.
|
|
14546
14545
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14547
14546
|
*/
|
|
14548
|
-
static fromJsonLd(json: unknown, options?: {
|
|
14547
|
+
static override fromJsonLd(json: unknown, options?: {
|
|
14549
14548
|
documentLoader?: DocumentLoader$1;
|
|
14550
14549
|
contextLoader?: DocumentLoader$1;
|
|
14551
14550
|
tracerProvider?: TracerProvider;
|
|
@@ -14557,7 +14556,7 @@ declare class Relationship extends Object$1 {
|
|
|
14557
14556
|
tracerProvider?: TracerProvider;
|
|
14558
14557
|
baseUrl?: URL;
|
|
14559
14558
|
}): Promise<Relationship>;
|
|
14560
|
-
protected _getCustomInspectProxy(): Record<string, unknown>;
|
|
14559
|
+
protected override _getCustomInspectProxy(): Record<string, unknown>;
|
|
14561
14560
|
}
|
|
14562
14561
|
/** Indicates that the `actor` is removing the `object`. If specified,
|
|
14563
14562
|
* the `origin` indicates the context from which the `object` is being removed.
|
|
@@ -14566,7 +14565,7 @@ declare class Remove extends Activity {
|
|
|
14566
14565
|
/**
|
|
14567
14566
|
* The type URI of {@link Remove}: `https://www.w3.org/ns/activitystreams#Remove`.
|
|
14568
14567
|
*/
|
|
14569
|
-
static get typeId(): URL;
|
|
14568
|
+
static override get typeId(): URL;
|
|
14570
14569
|
/**
|
|
14571
14570
|
* Constructs a new instance of Remove with the given values.
|
|
14572
14571
|
* @param values The values to initialize the instance with.
|
|
@@ -14650,7 +14649,7 @@ declare class Remove extends Activity {
|
|
|
14650
14649
|
* @param options The options to use for cloning.
|
|
14651
14650
|
* @returns The cloned instance.
|
|
14652
14651
|
*/
|
|
14653
|
-
clone(values?: {
|
|
14652
|
+
override clone(values?: {
|
|
14654
14653
|
id?: URL | null;
|
|
14655
14654
|
attachments?: (Object$1 | Link | PropertyValue | URL)[];
|
|
14656
14655
|
attribution?: Application | Group | Organization | Person | Service | URL | null;
|
|
@@ -14731,12 +14730,12 @@ declare class Remove extends Activity {
|
|
|
14731
14730
|
when `format` is set to `'expand'`.
|
|
14732
14731
|
* @returns The JSON-LD representation of this object.
|
|
14733
14732
|
*/
|
|
14734
|
-
toJsonLd(options?: {
|
|
14733
|
+
override toJsonLd(options?: {
|
|
14735
14734
|
format?: "compact" | "expand";
|
|
14736
14735
|
contextLoader?: DocumentLoader$1;
|
|
14737
14736
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
|
14738
14737
|
}): Promise<unknown>;
|
|
14739
|
-
protected isCompactable(): boolean;
|
|
14738
|
+
protected override isCompactable(): boolean;
|
|
14740
14739
|
/**
|
|
14741
14740
|
* Converts a JSON-LD structure to an object of this type.
|
|
14742
14741
|
* @param json The JSON-LD structure to convert.
|
|
@@ -14748,7 +14747,7 @@ declare class Remove extends Activity {
|
|
|
14748
14747
|
* @returns The object of this type.
|
|
14749
14748
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14750
14749
|
*/
|
|
14751
|
-
static fromJsonLd(json: unknown, options?: {
|
|
14750
|
+
static override fromJsonLd(json: unknown, options?: {
|
|
14752
14751
|
documentLoader?: DocumentLoader$1;
|
|
14753
14752
|
contextLoader?: DocumentLoader$1;
|
|
14754
14753
|
tracerProvider?: TracerProvider;
|
|
@@ -14760,7 +14759,7 @@ declare class Remove extends Activity {
|
|
|
14760
14759
|
tracerProvider?: TracerProvider;
|
|
14761
14760
|
baseUrl?: URL;
|
|
14762
14761
|
}): Promise<Remove>;
|
|
14763
|
-
protected _getCustomInspectProxy(): Record<string, unknown>;
|
|
14762
|
+
protected override _getCustomInspectProxy(): Record<string, unknown>;
|
|
14764
14763
|
}
|
|
14765
14764
|
/** Represents a service of any kind.
|
|
14766
14765
|
*/
|
|
@@ -14769,7 +14768,7 @@ declare class Service extends Object$1 {
|
|
|
14769
14768
|
/**
|
|
14770
14769
|
* The type URI of {@link Service}: `https://www.w3.org/ns/activitystreams#Service`.
|
|
14771
14770
|
*/
|
|
14772
|
-
static get typeId(): URL;
|
|
14771
|
+
static override get typeId(): URL;
|
|
14773
14772
|
/**
|
|
14774
14773
|
* Constructs a new instance of Service with the given values.
|
|
14775
14774
|
* @param values The values to initialize the instance with.
|
|
@@ -14868,7 +14867,7 @@ declare class Service extends Object$1 {
|
|
|
14868
14867
|
* @param options The options to use for cloning.
|
|
14869
14868
|
* @returns The cloned instance.
|
|
14870
14869
|
*/
|
|
14871
|
-
clone(values?: {
|
|
14870
|
+
override clone(values?: {
|
|
14872
14871
|
id?: URL | null;
|
|
14873
14872
|
attachments?: (Object$1 | Link | PropertyValue | URL)[];
|
|
14874
14873
|
attribution?: Application | Group | Organization | Person | Service | URL | null;
|
|
@@ -15327,12 +15326,12 @@ declare class Service extends Object$1 {
|
|
|
15327
15326
|
when `format` is set to `'expand'`.
|
|
15328
15327
|
* @returns The JSON-LD representation of this object.
|
|
15329
15328
|
*/
|
|
15330
|
-
toJsonLd(options?: {
|
|
15329
|
+
override toJsonLd(options?: {
|
|
15331
15330
|
format?: "compact" | "expand";
|
|
15332
15331
|
contextLoader?: DocumentLoader$1;
|
|
15333
15332
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
|
15334
15333
|
}): Promise<unknown>;
|
|
15335
|
-
protected isCompactable(): boolean;
|
|
15334
|
+
protected override isCompactable(): boolean;
|
|
15336
15335
|
/**
|
|
15337
15336
|
* Converts a JSON-LD structure to an object of this type.
|
|
15338
15337
|
* @param json The JSON-LD structure to convert.
|
|
@@ -15344,7 +15343,7 @@ declare class Service extends Object$1 {
|
|
|
15344
15343
|
* @returns The object of this type.
|
|
15345
15344
|
* @throws {TypeError} If the given `json` is invalid.
|
|
15346
15345
|
*/
|
|
15347
|
-
static fromJsonLd(json: unknown, options?: {
|
|
15346
|
+
static override fromJsonLd(json: unknown, options?: {
|
|
15348
15347
|
documentLoader?: DocumentLoader$1;
|
|
15349
15348
|
contextLoader?: DocumentLoader$1;
|
|
15350
15349
|
tracerProvider?: TracerProvider;
|
|
@@ -15356,7 +15355,7 @@ declare class Service extends Object$1 {
|
|
|
15356
15355
|
tracerProvider?: TracerProvider;
|
|
15357
15356
|
baseUrl?: URL;
|
|
15358
15357
|
}): Promise<Service>;
|
|
15359
|
-
protected _getCustomInspectProxy(): Record<string, unknown>;
|
|
15358
|
+
protected override _getCustomInspectProxy(): Record<string, unknown>;
|
|
15360
15359
|
}
|
|
15361
15360
|
/** Contents of {@link Object}'s `source`.
|
|
15362
15361
|
*/
|
|
@@ -15464,7 +15463,7 @@ declare class TentativeAccept extends Accept {
|
|
|
15464
15463
|
/**
|
|
15465
15464
|
* The type URI of {@link TentativeAccept}: `https://www.w3.org/ns/activitystreams#TentativeAccept`.
|
|
15466
15465
|
*/
|
|
15467
|
-
static get typeId(): URL;
|
|
15466
|
+
static override get typeId(): URL;
|
|
15468
15467
|
/**
|
|
15469
15468
|
* Constructs a new instance of TentativeAccept with the given values.
|
|
15470
15469
|
* @param values The values to initialize the instance with.
|
|
@@ -15548,7 +15547,7 @@ declare class TentativeAccept extends Accept {
|
|
|
15548
15547
|
* @param options The options to use for cloning.
|
|
15549
15548
|
* @returns The cloned instance.
|
|
15550
15549
|
*/
|
|
15551
|
-
clone(values?: {
|
|
15550
|
+
override clone(values?: {
|
|
15552
15551
|
id?: URL | null;
|
|
15553
15552
|
attachments?: (Object$1 | Link | PropertyValue | URL)[];
|
|
15554
15553
|
attribution?: Application | Group | Organization | Person | Service | URL | null;
|
|
@@ -15629,12 +15628,12 @@ declare class TentativeAccept extends Accept {
|
|
|
15629
15628
|
when `format` is set to `'expand'`.
|
|
15630
15629
|
* @returns The JSON-LD representation of this object.
|
|
15631
15630
|
*/
|
|
15632
|
-
toJsonLd(options?: {
|
|
15631
|
+
override toJsonLd(options?: {
|
|
15633
15632
|
format?: "compact" | "expand";
|
|
15634
15633
|
contextLoader?: DocumentLoader$1;
|
|
15635
15634
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
|
15636
15635
|
}): Promise<unknown>;
|
|
15637
|
-
protected isCompactable(): boolean;
|
|
15636
|
+
protected override isCompactable(): boolean;
|
|
15638
15637
|
/**
|
|
15639
15638
|
* Converts a JSON-LD structure to an object of this type.
|
|
15640
15639
|
* @param json The JSON-LD structure to convert.
|
|
@@ -15646,7 +15645,7 @@ declare class TentativeAccept extends Accept {
|
|
|
15646
15645
|
* @returns The object of this type.
|
|
15647
15646
|
* @throws {TypeError} If the given `json` is invalid.
|
|
15648
15647
|
*/
|
|
15649
|
-
static fromJsonLd(json: unknown, options?: {
|
|
15648
|
+
static override fromJsonLd(json: unknown, options?: {
|
|
15650
15649
|
documentLoader?: DocumentLoader$1;
|
|
15651
15650
|
contextLoader?: DocumentLoader$1;
|
|
15652
15651
|
tracerProvider?: TracerProvider;
|
|
@@ -15658,7 +15657,7 @@ declare class TentativeAccept extends Accept {
|
|
|
15658
15657
|
tracerProvider?: TracerProvider;
|
|
15659
15658
|
baseUrl?: URL;
|
|
15660
15659
|
}): Promise<TentativeAccept>;
|
|
15661
|
-
protected _getCustomInspectProxy(): Record<string, unknown>;
|
|
15660
|
+
protected override _getCustomInspectProxy(): Record<string, unknown>;
|
|
15662
15661
|
}
|
|
15663
15662
|
/** A specialization of {@link Reject} in which
|
|
15664
15663
|
* the rejection is considered tentative.
|
|
@@ -15667,7 +15666,7 @@ declare class TentativeReject extends Reject {
|
|
|
15667
15666
|
/**
|
|
15668
15667
|
* The type URI of {@link TentativeReject}: `https://www.w3.org/ns/activitystreams#TentativeReject`.
|
|
15669
15668
|
*/
|
|
15670
|
-
static get typeId(): URL;
|
|
15669
|
+
static override get typeId(): URL;
|
|
15671
15670
|
/**
|
|
15672
15671
|
* Constructs a new instance of TentativeReject with the given values.
|
|
15673
15672
|
* @param values The values to initialize the instance with.
|
|
@@ -15751,7 +15750,7 @@ declare class TentativeReject extends Reject {
|
|
|
15751
15750
|
* @param options The options to use for cloning.
|
|
15752
15751
|
* @returns The cloned instance.
|
|
15753
15752
|
*/
|
|
15754
|
-
clone(values?: {
|
|
15753
|
+
override clone(values?: {
|
|
15755
15754
|
id?: URL | null;
|
|
15756
15755
|
attachments?: (Object$1 | Link | PropertyValue | URL)[];
|
|
15757
15756
|
attribution?: Application | Group | Organization | Person | Service | URL | null;
|
|
@@ -15832,12 +15831,12 @@ declare class TentativeReject extends Reject {
|
|
|
15832
15831
|
when `format` is set to `'expand'`.
|
|
15833
15832
|
* @returns The JSON-LD representation of this object.
|
|
15834
15833
|
*/
|
|
15835
|
-
toJsonLd(options?: {
|
|
15834
|
+
override toJsonLd(options?: {
|
|
15836
15835
|
format?: "compact" | "expand";
|
|
15837
15836
|
contextLoader?: DocumentLoader$1;
|
|
15838
15837
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
|
15839
15838
|
}): Promise<unknown>;
|
|
15840
|
-
protected isCompactable(): boolean;
|
|
15839
|
+
protected override isCompactable(): boolean;
|
|
15841
15840
|
/**
|
|
15842
15841
|
* Converts a JSON-LD structure to an object of this type.
|
|
15843
15842
|
* @param json The JSON-LD structure to convert.
|
|
@@ -15849,7 +15848,7 @@ declare class TentativeReject extends Reject {
|
|
|
15849
15848
|
* @returns The object of this type.
|
|
15850
15849
|
* @throws {TypeError} If the given `json` is invalid.
|
|
15851
15850
|
*/
|
|
15852
|
-
static fromJsonLd(json: unknown, options?: {
|
|
15851
|
+
static override fromJsonLd(json: unknown, options?: {
|
|
15853
15852
|
documentLoader?: DocumentLoader$1;
|
|
15854
15853
|
contextLoader?: DocumentLoader$1;
|
|
15855
15854
|
tracerProvider?: TracerProvider;
|
|
@@ -15861,7 +15860,7 @@ declare class TentativeReject extends Reject {
|
|
|
15861
15860
|
tracerProvider?: TracerProvider;
|
|
15862
15861
|
baseUrl?: URL;
|
|
15863
15862
|
}): Promise<TentativeReject>;
|
|
15864
|
-
protected _getCustomInspectProxy(): Record<string, unknown>;
|
|
15863
|
+
protected override _getCustomInspectProxy(): Record<string, unknown>;
|
|
15865
15864
|
}
|
|
15866
15865
|
/** A `Tombstone` represents a content object that has been deleted.
|
|
15867
15866
|
* It can be used in {@link Collection}s to signify that there used to be
|
|
@@ -15872,7 +15871,7 @@ declare class Tombstone extends Object$1 {
|
|
|
15872
15871
|
/**
|
|
15873
15872
|
* The type URI of {@link Tombstone}: `https://www.w3.org/ns/activitystreams#Tombstone`.
|
|
15874
15873
|
*/
|
|
15875
|
-
static get typeId(): URL;
|
|
15874
|
+
static override get typeId(): URL;
|
|
15876
15875
|
/**
|
|
15877
15876
|
* Constructs a new instance of Tombstone with the given values.
|
|
15878
15877
|
* @param values The values to initialize the instance with.
|
|
@@ -15945,7 +15944,7 @@ declare class Tombstone extends Object$1 {
|
|
|
15945
15944
|
* @param options The options to use for cloning.
|
|
15946
15945
|
* @returns The cloned instance.
|
|
15947
15946
|
*/
|
|
15948
|
-
clone(values?: {
|
|
15947
|
+
override clone(values?: {
|
|
15949
15948
|
id?: URL | null;
|
|
15950
15949
|
attachments?: (Object$1 | Link | PropertyValue | URL)[];
|
|
15951
15950
|
attribution?: Application | Group | Organization | Person | Service | URL | null;
|
|
@@ -16019,12 +16018,12 @@ declare class Tombstone extends Object$1 {
|
|
|
16019
16018
|
when `format` is set to `'expand'`.
|
|
16020
16019
|
* @returns The JSON-LD representation of this object.
|
|
16021
16020
|
*/
|
|
16022
|
-
toJsonLd(options?: {
|
|
16021
|
+
override toJsonLd(options?: {
|
|
16023
16022
|
format?: "compact" | "expand";
|
|
16024
16023
|
contextLoader?: DocumentLoader$1;
|
|
16025
16024
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
|
16026
16025
|
}): Promise<unknown>;
|
|
16027
|
-
protected isCompactable(): boolean;
|
|
16026
|
+
protected override isCompactable(): boolean;
|
|
16028
16027
|
/**
|
|
16029
16028
|
* Converts a JSON-LD structure to an object of this type.
|
|
16030
16029
|
* @param json The JSON-LD structure to convert.
|
|
@@ -16036,7 +16035,7 @@ declare class Tombstone extends Object$1 {
|
|
|
16036
16035
|
* @returns The object of this type.
|
|
16037
16036
|
* @throws {TypeError} If the given `json` is invalid.
|
|
16038
16037
|
*/
|
|
16039
|
-
static fromJsonLd(json: unknown, options?: {
|
|
16038
|
+
static override fromJsonLd(json: unknown, options?: {
|
|
16040
16039
|
documentLoader?: DocumentLoader$1;
|
|
16041
16040
|
contextLoader?: DocumentLoader$1;
|
|
16042
16041
|
tracerProvider?: TracerProvider;
|
|
@@ -16048,7 +16047,7 @@ declare class Tombstone extends Object$1 {
|
|
|
16048
16047
|
tracerProvider?: TracerProvider;
|
|
16049
16048
|
baseUrl?: URL;
|
|
16050
16049
|
}): Promise<Tombstone>;
|
|
16051
|
-
protected _getCustomInspectProxy(): Record<string, unknown>;
|
|
16050
|
+
protected override _getCustomInspectProxy(): Record<string, unknown>;
|
|
16052
16051
|
}
|
|
16053
16052
|
/** Indicates that the `actor` is traveling to `target` from `origin`.
|
|
16054
16053
|
* `Travel` is an `IntransitiveObject` whose `actor` specifies the direct object.
|
|
@@ -16059,7 +16058,7 @@ declare class Travel extends IntransitiveActivity {
|
|
|
16059
16058
|
/**
|
|
16060
16059
|
* The type URI of {@link Travel}: `https://www.w3.org/ns/activitystreams#Travel`.
|
|
16061
16060
|
*/
|
|
16062
|
-
static get typeId(): URL;
|
|
16061
|
+
static override get typeId(): URL;
|
|
16063
16062
|
/**
|
|
16064
16063
|
* Constructs a new instance of Travel with the given values.
|
|
16065
16064
|
* @param values The values to initialize the instance with.
|
|
@@ -16143,7 +16142,7 @@ declare class Travel extends IntransitiveActivity {
|
|
|
16143
16142
|
* @param options The options to use for cloning.
|
|
16144
16143
|
* @returns The cloned instance.
|
|
16145
16144
|
*/
|
|
16146
|
-
clone(values?: {
|
|
16145
|
+
override clone(values?: {
|
|
16147
16146
|
id?: URL | null;
|
|
16148
16147
|
attachments?: (Object$1 | Link | PropertyValue | URL)[];
|
|
16149
16148
|
attribution?: Application | Group | Organization | Person | Service | URL | null;
|
|
@@ -16224,12 +16223,12 @@ declare class Travel extends IntransitiveActivity {
|
|
|
16224
16223
|
when `format` is set to `'expand'`.
|
|
16225
16224
|
* @returns The JSON-LD representation of this object.
|
|
16226
16225
|
*/
|
|
16227
|
-
toJsonLd(options?: {
|
|
16226
|
+
override toJsonLd(options?: {
|
|
16228
16227
|
format?: "compact" | "expand";
|
|
16229
16228
|
contextLoader?: DocumentLoader$1;
|
|
16230
16229
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
|
16231
16230
|
}): Promise<unknown>;
|
|
16232
|
-
protected isCompactable(): boolean;
|
|
16231
|
+
protected override isCompactable(): boolean;
|
|
16233
16232
|
/**
|
|
16234
16233
|
* Converts a JSON-LD structure to an object of this type.
|
|
16235
16234
|
* @param json The JSON-LD structure to convert.
|
|
@@ -16241,7 +16240,7 @@ declare class Travel extends IntransitiveActivity {
|
|
|
16241
16240
|
* @returns The object of this type.
|
|
16242
16241
|
* @throws {TypeError} If the given `json` is invalid.
|
|
16243
16242
|
*/
|
|
16244
|
-
static fromJsonLd(json: unknown, options?: {
|
|
16243
|
+
static override fromJsonLd(json: unknown, options?: {
|
|
16245
16244
|
documentLoader?: DocumentLoader$1;
|
|
16246
16245
|
contextLoader?: DocumentLoader$1;
|
|
16247
16246
|
tracerProvider?: TracerProvider;
|
|
@@ -16253,7 +16252,7 @@ declare class Travel extends IntransitiveActivity {
|
|
|
16253
16252
|
tracerProvider?: TracerProvider;
|
|
16254
16253
|
baseUrl?: URL;
|
|
16255
16254
|
}): Promise<Travel>;
|
|
16256
|
-
protected _getCustomInspectProxy(): Record<string, unknown>;
|
|
16255
|
+
protected override _getCustomInspectProxy(): Record<string, unknown>;
|
|
16257
16256
|
}
|
|
16258
16257
|
/** Indicates that the `actor` is undoing the `object`. In most cases,
|
|
16259
16258
|
* the `object` will be an {@link Activity} describing some previously performed
|
|
@@ -16267,7 +16266,7 @@ declare class Undo extends Activity {
|
|
|
16267
16266
|
/**
|
|
16268
16267
|
* The type URI of {@link Undo}: `https://www.w3.org/ns/activitystreams#Undo`.
|
|
16269
16268
|
*/
|
|
16270
|
-
static get typeId(): URL;
|
|
16269
|
+
static override get typeId(): URL;
|
|
16271
16270
|
/**
|
|
16272
16271
|
* Constructs a new instance of Undo with the given values.
|
|
16273
16272
|
* @param values The values to initialize the instance with.
|
|
@@ -16351,7 +16350,7 @@ declare class Undo extends Activity {
|
|
|
16351
16350
|
* @param options The options to use for cloning.
|
|
16352
16351
|
* @returns The cloned instance.
|
|
16353
16352
|
*/
|
|
16354
|
-
clone(values?: {
|
|
16353
|
+
override clone(values?: {
|
|
16355
16354
|
id?: URL | null;
|
|
16356
16355
|
attachments?: (Object$1 | Link | PropertyValue | URL)[];
|
|
16357
16356
|
attribution?: Application | Group | Organization | Person | Service | URL | null;
|
|
@@ -16432,12 +16431,12 @@ declare class Undo extends Activity {
|
|
|
16432
16431
|
when `format` is set to `'expand'`.
|
|
16433
16432
|
* @returns The JSON-LD representation of this object.
|
|
16434
16433
|
*/
|
|
16435
|
-
toJsonLd(options?: {
|
|
16434
|
+
override toJsonLd(options?: {
|
|
16436
16435
|
format?: "compact" | "expand";
|
|
16437
16436
|
contextLoader?: DocumentLoader$1;
|
|
16438
16437
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
|
16439
16438
|
}): Promise<unknown>;
|
|
16440
|
-
protected isCompactable(): boolean;
|
|
16439
|
+
protected override isCompactable(): boolean;
|
|
16441
16440
|
/**
|
|
16442
16441
|
* Converts a JSON-LD structure to an object of this type.
|
|
16443
16442
|
* @param json The JSON-LD structure to convert.
|
|
@@ -16449,7 +16448,7 @@ declare class Undo extends Activity {
|
|
|
16449
16448
|
* @returns The object of this type.
|
|
16450
16449
|
* @throws {TypeError} If the given `json` is invalid.
|
|
16451
16450
|
*/
|
|
16452
|
-
static fromJsonLd(json: unknown, options?: {
|
|
16451
|
+
static override fromJsonLd(json: unknown, options?: {
|
|
16453
16452
|
documentLoader?: DocumentLoader$1;
|
|
16454
16453
|
contextLoader?: DocumentLoader$1;
|
|
16455
16454
|
tracerProvider?: TracerProvider;
|
|
@@ -16461,7 +16460,7 @@ declare class Undo extends Activity {
|
|
|
16461
16460
|
tracerProvider?: TracerProvider;
|
|
16462
16461
|
baseUrl?: URL;
|
|
16463
16462
|
}): Promise<Undo>;
|
|
16464
|
-
protected _getCustomInspectProxy(): Record<string, unknown>;
|
|
16463
|
+
protected override _getCustomInspectProxy(): Record<string, unknown>;
|
|
16465
16464
|
}
|
|
16466
16465
|
/** Indicates that the `actor` has updated the `object`. Note, however,
|
|
16467
16466
|
* that this vocabulary does not define a mechanism for describing the actual
|
|
@@ -16473,7 +16472,7 @@ declare class Update extends Activity {
|
|
|
16473
16472
|
/**
|
|
16474
16473
|
* The type URI of {@link Update}: `https://www.w3.org/ns/activitystreams#Update`.
|
|
16475
16474
|
*/
|
|
16476
|
-
static get typeId(): URL;
|
|
16475
|
+
static override get typeId(): URL;
|
|
16477
16476
|
/**
|
|
16478
16477
|
* Constructs a new instance of Update with the given values.
|
|
16479
16478
|
* @param values The values to initialize the instance with.
|
|
@@ -16557,7 +16556,7 @@ declare class Update extends Activity {
|
|
|
16557
16556
|
* @param options The options to use for cloning.
|
|
16558
16557
|
* @returns The cloned instance.
|
|
16559
16558
|
*/
|
|
16560
|
-
clone(values?: {
|
|
16559
|
+
override clone(values?: {
|
|
16561
16560
|
id?: URL | null;
|
|
16562
16561
|
attachments?: (Object$1 | Link | PropertyValue | URL)[];
|
|
16563
16562
|
attribution?: Application | Group | Organization | Person | Service | URL | null;
|
|
@@ -16638,12 +16637,12 @@ declare class Update extends Activity {
|
|
|
16638
16637
|
when `format` is set to `'expand'`.
|
|
16639
16638
|
* @returns The JSON-LD representation of this object.
|
|
16640
16639
|
*/
|
|
16641
|
-
toJsonLd(options?: {
|
|
16640
|
+
override toJsonLd(options?: {
|
|
16642
16641
|
format?: "compact" | "expand";
|
|
16643
16642
|
contextLoader?: DocumentLoader$1;
|
|
16644
16643
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
|
16645
16644
|
}): Promise<unknown>;
|
|
16646
|
-
protected isCompactable(): boolean;
|
|
16645
|
+
protected override isCompactable(): boolean;
|
|
16647
16646
|
/**
|
|
16648
16647
|
* Converts a JSON-LD structure to an object of this type.
|
|
16649
16648
|
* @param json The JSON-LD structure to convert.
|
|
@@ -16655,7 +16654,7 @@ declare class Update extends Activity {
|
|
|
16655
16654
|
* @returns The object of this type.
|
|
16656
16655
|
* @throws {TypeError} If the given `json` is invalid.
|
|
16657
16656
|
*/
|
|
16658
|
-
static fromJsonLd(json: unknown, options?: {
|
|
16657
|
+
static override fromJsonLd(json: unknown, options?: {
|
|
16659
16658
|
documentLoader?: DocumentLoader$1;
|
|
16660
16659
|
contextLoader?: DocumentLoader$1;
|
|
16661
16660
|
tracerProvider?: TracerProvider;
|
|
@@ -16667,7 +16666,7 @@ declare class Update extends Activity {
|
|
|
16667
16666
|
tracerProvider?: TracerProvider;
|
|
16668
16667
|
baseUrl?: URL;
|
|
16669
16668
|
}): Promise<Update>;
|
|
16670
|
-
protected _getCustomInspectProxy(): Record<string, unknown>;
|
|
16669
|
+
protected override _getCustomInspectProxy(): Record<string, unknown>;
|
|
16671
16670
|
}
|
|
16672
16671
|
/** Represents a video document of any kind.
|
|
16673
16672
|
*/
|
|
@@ -16675,7 +16674,7 @@ declare class Video extends Document {
|
|
|
16675
16674
|
/**
|
|
16676
16675
|
* The type URI of {@link Video}: `https://www.w3.org/ns/activitystreams#Video`.
|
|
16677
16676
|
*/
|
|
16678
|
-
static get typeId(): URL;
|
|
16677
|
+
static override get typeId(): URL;
|
|
16679
16678
|
/**
|
|
16680
16679
|
* Constructs a new instance of Video with the given values.
|
|
16681
16680
|
* @param values The values to initialize the instance with.
|
|
@@ -16749,7 +16748,7 @@ declare class Video extends Document {
|
|
|
16749
16748
|
* @param options The options to use for cloning.
|
|
16750
16749
|
* @returns The cloned instance.
|
|
16751
16750
|
*/
|
|
16752
|
-
clone(values?: {
|
|
16751
|
+
override clone(values?: {
|
|
16753
16752
|
id?: URL | null;
|
|
16754
16753
|
attachments?: (Object$1 | Link | PropertyValue | URL)[];
|
|
16755
16754
|
attribution?: Application | Group | Organization | Person | Service | URL | null;
|
|
@@ -16820,12 +16819,12 @@ declare class Video extends Document {
|
|
|
16820
16819
|
when `format` is set to `'expand'`.
|
|
16821
16820
|
* @returns The JSON-LD representation of this object.
|
|
16822
16821
|
*/
|
|
16823
|
-
toJsonLd(options?: {
|
|
16822
|
+
override toJsonLd(options?: {
|
|
16824
16823
|
format?: "compact" | "expand";
|
|
16825
16824
|
contextLoader?: DocumentLoader$1;
|
|
16826
16825
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
|
16827
16826
|
}): Promise<unknown>;
|
|
16828
|
-
protected isCompactable(): boolean;
|
|
16827
|
+
protected override isCompactable(): boolean;
|
|
16829
16828
|
/**
|
|
16830
16829
|
* Converts a JSON-LD structure to an object of this type.
|
|
16831
16830
|
* @param json The JSON-LD structure to convert.
|
|
@@ -16837,7 +16836,7 @@ declare class Video extends Document {
|
|
|
16837
16836
|
* @returns The object of this type.
|
|
16838
16837
|
* @throws {TypeError} If the given `json` is invalid.
|
|
16839
16838
|
*/
|
|
16840
|
-
static fromJsonLd(json: unknown, options?: {
|
|
16839
|
+
static override fromJsonLd(json: unknown, options?: {
|
|
16841
16840
|
documentLoader?: DocumentLoader$1;
|
|
16842
16841
|
contextLoader?: DocumentLoader$1;
|
|
16843
16842
|
tracerProvider?: TracerProvider;
|
|
@@ -16849,7 +16848,7 @@ declare class Video extends Document {
|
|
|
16849
16848
|
tracerProvider?: TracerProvider;
|
|
16850
16849
|
baseUrl?: URL;
|
|
16851
16850
|
}): Promise<Video>;
|
|
16852
|
-
protected _getCustomInspectProxy(): Record<string, unknown>;
|
|
16851
|
+
protected override _getCustomInspectProxy(): Record<string, unknown>;
|
|
16853
16852
|
}
|
|
16854
16853
|
/** Indicates that the `actor` has viewed the object.
|
|
16855
16854
|
*/
|
|
@@ -16857,7 +16856,7 @@ declare class View extends Activity {
|
|
|
16857
16856
|
/**
|
|
16858
16857
|
* The type URI of {@link View}: `https://www.w3.org/ns/activitystreams#View`.
|
|
16859
16858
|
*/
|
|
16860
|
-
static get typeId(): URL;
|
|
16859
|
+
static override get typeId(): URL;
|
|
16861
16860
|
/**
|
|
16862
16861
|
* Constructs a new instance of View with the given values.
|
|
16863
16862
|
* @param values The values to initialize the instance with.
|
|
@@ -16941,7 +16940,7 @@ declare class View extends Activity {
|
|
|
16941
16940
|
* @param options The options to use for cloning.
|
|
16942
16941
|
* @returns The cloned instance.
|
|
16943
16942
|
*/
|
|
16944
|
-
clone(values?: {
|
|
16943
|
+
override clone(values?: {
|
|
16945
16944
|
id?: URL | null;
|
|
16946
16945
|
attachments?: (Object$1 | Link | PropertyValue | URL)[];
|
|
16947
16946
|
attribution?: Application | Group | Organization | Person | Service | URL | null;
|
|
@@ -17022,12 +17021,12 @@ declare class View extends Activity {
|
|
|
17022
17021
|
when `format` is set to `'expand'`.
|
|
17023
17022
|
* @returns The JSON-LD representation of this object.
|
|
17024
17023
|
*/
|
|
17025
|
-
toJsonLd(options?: {
|
|
17024
|
+
override toJsonLd(options?: {
|
|
17026
17025
|
format?: "compact" | "expand";
|
|
17027
17026
|
contextLoader?: DocumentLoader$1;
|
|
17028
17027
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
|
17029
17028
|
}): Promise<unknown>;
|
|
17030
|
-
protected isCompactable(): boolean;
|
|
17029
|
+
protected override isCompactable(): boolean;
|
|
17031
17030
|
/**
|
|
17032
17031
|
* Converts a JSON-LD structure to an object of this type.
|
|
17033
17032
|
* @param json The JSON-LD structure to convert.
|
|
@@ -17039,7 +17038,7 @@ declare class View extends Activity {
|
|
|
17039
17038
|
* @returns The object of this type.
|
|
17040
17039
|
* @throws {TypeError} If the given `json` is invalid.
|
|
17041
17040
|
*/
|
|
17042
|
-
static fromJsonLd(json: unknown, options?: {
|
|
17041
|
+
static override fromJsonLd(json: unknown, options?: {
|
|
17043
17042
|
documentLoader?: DocumentLoader$1;
|
|
17044
17043
|
contextLoader?: DocumentLoader$1;
|
|
17045
17044
|
tracerProvider?: TracerProvider;
|
|
@@ -17051,7 +17050,7 @@ declare class View extends Activity {
|
|
|
17051
17050
|
tracerProvider?: TracerProvider;
|
|
17052
17051
|
baseUrl?: URL;
|
|
17053
17052
|
}): Promise<View>;
|
|
17054
|
-
protected _getCustomInspectProxy(): Record<string, unknown>;
|
|
17053
|
+
protected override _getCustomInspectProxy(): Record<string, unknown>;
|
|
17055
17054
|
}
|
|
17056
17055
|
//#endregion
|
|
17057
17056
|
//#region src/actor.d.ts
|
|
@@ -17479,4 +17478,4 @@ declare function getTypeId(object: Object$1 | Link | null): URL | null;
|
|
|
17479
17478
|
*/
|
|
17480
17479
|
declare function getTypeId(object: Object$1 | Link | null | undefined): URL | null | undefined;
|
|
17481
17480
|
//#endregion
|
|
17482
|
-
export { Accept, Activity, Actor, ActorTypeName, Add, Announce, AnnounceAuthorization, AnnounceRequest, Application, Arrive, Article, Audio, Block, ChatMessage, Collection, CollectionPage, Create, CryptographicKey, DataIntegrityProof, Delete, DidService, Dislike, Document, DocumentLoader, Emoji, EmojiReact, Endpoints, Event, Export, FediverseHandle, Flag, Follow, GetActorHandleOptions, GetUserAgentOptions, Group, Hashtag, Ignore, Image, InteractionPolicy, InteractionRule, IntransitiveActivity, Invite, Join, LanguageString, Leave, Like, LikeAuthorization, LikeRequest, Link, Listen, LookupObjectOptions, Mention, Move, Multikey, NormalizeActorHandleOptions, Note, Object$1 as Object, Offer, OrderedCollection, OrderedCollectionPage, Organization, PUBLIC_COLLECTION, Page, Person, Place, Profile, PropertyValue, Question, Read, Recipient, Reject, Relationship, RemoteDocument, Remove, ReplyAuthorization, ReplyRequest, Service, Source, TentativeAccept, TentativeReject, Tombstone, Travel, TraverseCollectionOptions, Undo, Update, Video, View, getActorClassByTypeName, getActorHandle, getActorTypeName, getTypeId, isActor, isFediverseHandle, lookupObject, normalizeActorHandle, parseFediverseHandle, toAcctUrl, traverseCollection };
|
|
17481
|
+
export { Accept, Activity, Actor, ActorTypeName, Add, Announce, AnnounceAuthorization, AnnounceRequest, Application, Arrive, Article, Audio, Block, ChatMessage, Collection, CollectionPage, Create, CryptographicKey, DataIntegrityProof, Delete, DidService, Dislike, Document, type DocumentLoader, Emoji, EmojiReact, Endpoints, Event, Export, FediverseHandle, Flag, Follow, GetActorHandleOptions, type GetUserAgentOptions, Group, Hashtag, Ignore, Image, InteractionPolicy, InteractionRule, IntransitiveActivity, Invite, Join, LanguageString, Leave, Like, LikeAuthorization, LikeRequest, Link, Listen, LookupObjectOptions, Mention, Move, Multikey, NormalizeActorHandleOptions, Note, Object$1 as Object, Offer, OrderedCollection, OrderedCollectionPage, Organization, PUBLIC_COLLECTION, Page, Person, Place, Profile, PropertyValue, Question, Read, Recipient, Reject, Relationship, type RemoteDocument, Remove, ReplyAuthorization, ReplyRequest, Service, Source, TentativeAccept, TentativeReject, Tombstone, Travel, TraverseCollectionOptions, Undo, Update, Video, View, getActorClassByTypeName, getActorHandle, getActorTypeName, getTypeId, isActor, isFediverseHandle, lookupObject, normalizeActorHandle, parseFediverseHandle, toAcctUrl, traverseCollection };
|