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