@fedify/fedify 0.10.0-dev.213 → 0.10.0-dev.218
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/CHANGES.md +5 -0
- package/FEDERATION.md +1 -0
- package/README.md +2 -0
- package/esm/mod.js +2 -0
- package/esm/vocab/arrive.yaml +13 -0
- package/esm/vocab/vocab.js +251 -118
- package/package.json +1 -1
- package/types/mod.d.ts +2 -0
- package/types/mod.d.ts.map +1 -1
- package/types/vocab/vocab.d.ts +298 -149
- package/types/vocab/vocab.d.ts.map +1 -1
package/types/vocab/vocab.d.ts
CHANGED
@@ -2097,6 +2097,304 @@ export declare class Application extends Object {
|
|
2097
2097
|
}): Promise<Application>;
|
2098
2098
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
2099
2099
|
}
|
2100
|
+
/** Instances of `IntransitiveActivity` are a subtype of {@link Activity}
|
2101
|
+
* representing intransitive actions. The `object` property is therefore
|
2102
|
+
* inappropriate for these activities.
|
2103
|
+
*/
|
2104
|
+
export declare class IntransitiveActivity extends Activity {
|
2105
|
+
/**
|
2106
|
+
* The type URI of {@link IntransitiveActivity}: `https://www.w3.org/ns/activitystreams#IntransitiveActivity`.
|
2107
|
+
*/
|
2108
|
+
static get typeId(): URL;
|
2109
|
+
/**
|
2110
|
+
* Constructs a new instance of IntransitiveActivity with the given values.
|
2111
|
+
* @param values The values to initialize the instance with.
|
2112
|
+
* @param options The options to use for initialization.
|
2113
|
+
*/
|
2114
|
+
constructor(values: {
|
2115
|
+
id?: URL | null;
|
2116
|
+
attachments?: (Object | Link | PropertyValue | URL)[];
|
2117
|
+
attribution?: Application | Group | Organization | Person | Service | URL | null;
|
2118
|
+
attributions?: (Application | Group | Organization | Person | Service | URL)[];
|
2119
|
+
audience?: Object | URL | null;
|
2120
|
+
audiences?: (Object | URL)[];
|
2121
|
+
content?: string | LanguageString | null;
|
2122
|
+
contents?: (string | LanguageString)[];
|
2123
|
+
contexts?: (Object | Link | URL)[];
|
2124
|
+
name?: string | LanguageString | null;
|
2125
|
+
names?: (string | LanguageString)[];
|
2126
|
+
endTime?: dntShim.Temporal.Instant | null;
|
2127
|
+
generators?: (Object | Link | URL)[];
|
2128
|
+
icon?: Image | URL | null;
|
2129
|
+
icons?: (Image | URL)[];
|
2130
|
+
image?: Image | URL | null;
|
2131
|
+
images?: (Image | URL)[];
|
2132
|
+
replyTarget?: Object | Link | URL | null;
|
2133
|
+
replyTargets?: (Object | Link | URL)[];
|
2134
|
+
location?: Object | Link | URL | null;
|
2135
|
+
locations?: (Object | Link | URL)[];
|
2136
|
+
preview?: Link | Object | URL | null;
|
2137
|
+
previews?: (Link | Object | URL)[];
|
2138
|
+
published?: dntShim.Temporal.Instant | null;
|
2139
|
+
replies?: Collection | URL | null;
|
2140
|
+
startTime?: dntShim.Temporal.Instant | null;
|
2141
|
+
summary?: string | LanguageString | null;
|
2142
|
+
summaries?: (string | LanguageString)[];
|
2143
|
+
tags?: (Object | Link | URL)[];
|
2144
|
+
updated?: dntShim.Temporal.Instant | null;
|
2145
|
+
url?: URL | Link | null;
|
2146
|
+
urls?: (URL | Link)[];
|
2147
|
+
to?: Object | URL | null;
|
2148
|
+
tos?: (Object | URL)[];
|
2149
|
+
bto?: Object | URL | null;
|
2150
|
+
btos?: (Object | URL)[];
|
2151
|
+
cc?: Object | URL | null;
|
2152
|
+
ccs?: (Object | URL)[];
|
2153
|
+
bcc?: Object | URL | null;
|
2154
|
+
bccs?: (Object | URL)[];
|
2155
|
+
mediaType?: string | null;
|
2156
|
+
duration?: dntShim.Temporal.Duration | null;
|
2157
|
+
sensitive?: boolean | null;
|
2158
|
+
proof?: DataIntegrityProof | URL | null;
|
2159
|
+
proofs?: (DataIntegrityProof | URL)[];
|
2160
|
+
actor?: Application | Group | Organization | Person | Service | URL | null;
|
2161
|
+
actors?: (Application | Group | Organization | Person | Service | URL)[];
|
2162
|
+
object?: Object | URL | null;
|
2163
|
+
objects?: (Object | URL)[];
|
2164
|
+
}, { documentLoader, contextLoader, }?: {
|
2165
|
+
documentLoader?: DocumentLoader;
|
2166
|
+
contextLoader?: DocumentLoader;
|
2167
|
+
});
|
2168
|
+
/**
|
2169
|
+
* Clones this instance, optionally updating it with the given values.
|
2170
|
+
* @param values The values to update the clone with.
|
2171
|
+
* @options The options to use for cloning.
|
2172
|
+
* @returns The cloned instance.
|
2173
|
+
*/
|
2174
|
+
clone(values?: {
|
2175
|
+
id?: URL | null;
|
2176
|
+
attachments?: (Object | Link | PropertyValue | URL)[];
|
2177
|
+
attribution?: Application | Group | Organization | Person | Service | URL | null;
|
2178
|
+
attributions?: (Application | Group | Organization | Person | Service | URL)[];
|
2179
|
+
audience?: Object | URL | null;
|
2180
|
+
audiences?: (Object | URL)[];
|
2181
|
+
content?: string | LanguageString | null;
|
2182
|
+
contents?: (string | LanguageString)[];
|
2183
|
+
contexts?: (Object | Link | URL)[];
|
2184
|
+
name?: string | LanguageString | null;
|
2185
|
+
names?: (string | LanguageString)[];
|
2186
|
+
endTime?: dntShim.Temporal.Instant | null;
|
2187
|
+
generators?: (Object | Link | URL)[];
|
2188
|
+
icon?: Image | URL | null;
|
2189
|
+
icons?: (Image | URL)[];
|
2190
|
+
image?: Image | URL | null;
|
2191
|
+
images?: (Image | URL)[];
|
2192
|
+
replyTarget?: Object | Link | URL | null;
|
2193
|
+
replyTargets?: (Object | Link | URL)[];
|
2194
|
+
location?: Object | Link | URL | null;
|
2195
|
+
locations?: (Object | Link | URL)[];
|
2196
|
+
preview?: Link | Object | URL | null;
|
2197
|
+
previews?: (Link | Object | URL)[];
|
2198
|
+
published?: dntShim.Temporal.Instant | null;
|
2199
|
+
replies?: Collection | URL | null;
|
2200
|
+
startTime?: dntShim.Temporal.Instant | null;
|
2201
|
+
summary?: string | LanguageString | null;
|
2202
|
+
summaries?: (string | LanguageString)[];
|
2203
|
+
tags?: (Object | Link | URL)[];
|
2204
|
+
updated?: dntShim.Temporal.Instant | null;
|
2205
|
+
url?: URL | Link | null;
|
2206
|
+
urls?: (URL | Link)[];
|
2207
|
+
to?: Object | URL | null;
|
2208
|
+
tos?: (Object | URL)[];
|
2209
|
+
bto?: Object | URL | null;
|
2210
|
+
btos?: (Object | URL)[];
|
2211
|
+
cc?: Object | URL | null;
|
2212
|
+
ccs?: (Object | URL)[];
|
2213
|
+
bcc?: Object | URL | null;
|
2214
|
+
bccs?: (Object | URL)[];
|
2215
|
+
mediaType?: string | null;
|
2216
|
+
duration?: dntShim.Temporal.Duration | null;
|
2217
|
+
sensitive?: boolean | null;
|
2218
|
+
proof?: DataIntegrityProof | URL | null;
|
2219
|
+
proofs?: (DataIntegrityProof | URL)[];
|
2220
|
+
actor?: Application | Group | Organization | Person | Service | URL | null;
|
2221
|
+
actors?: (Application | Group | Organization | Person | Service | URL)[];
|
2222
|
+
object?: Object | URL | null;
|
2223
|
+
objects?: (Object | URL)[];
|
2224
|
+
}, options?: {
|
2225
|
+
documentLoader?: DocumentLoader;
|
2226
|
+
contextLoader?: DocumentLoader;
|
2227
|
+
}): IntransitiveActivity;
|
2228
|
+
/**
|
2229
|
+
* Converts this object to a JSON-LD structure.
|
2230
|
+
* @returns The JSON-LD representation of this object.
|
2231
|
+
*/
|
2232
|
+
toJsonLd(options?: {
|
2233
|
+
expand?: boolean;
|
2234
|
+
contextLoader?: DocumentLoader;
|
2235
|
+
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
2236
|
+
}): Promise<unknown>;
|
2237
|
+
/**
|
2238
|
+
* Converts a JSON-LD structure to an object of this type.
|
2239
|
+
* @param json The JSON-LD structure to convert.
|
2240
|
+
* @returns The object of this type.
|
2241
|
+
* @throws {TypeError} If the given `json` is invalid.
|
2242
|
+
*/
|
2243
|
+
static fromJsonLd(json: unknown, options?: {
|
2244
|
+
documentLoader?: DocumentLoader;
|
2245
|
+
contextLoader?: DocumentLoader;
|
2246
|
+
}): Promise<IntransitiveActivity>;
|
2247
|
+
protected _getCustomInspectProxy(): Record<string, unknown>;
|
2248
|
+
}
|
2249
|
+
/** An `IntransitiveActivity` that indicates that the `actor` has arrived at the `location`.
|
2250
|
+
* The `origin` can be used to identify the context from which the `actor` originated.
|
2251
|
+
* The `target` typically has no defined meaning.
|
2252
|
+
*/
|
2253
|
+
export declare class Arrive extends IntransitiveActivity {
|
2254
|
+
/**
|
2255
|
+
* The type URI of {@link Arrive}: `https://www.w3.org/ns/activitystreams#Arrive`.
|
2256
|
+
*/
|
2257
|
+
static get typeId(): URL;
|
2258
|
+
/**
|
2259
|
+
* Constructs a new instance of Arrive with the given values.
|
2260
|
+
* @param values The values to initialize the instance with.
|
2261
|
+
* @param options The options to use for initialization.
|
2262
|
+
*/
|
2263
|
+
constructor(values: {
|
2264
|
+
id?: URL | null;
|
2265
|
+
attachments?: (Object | Link | PropertyValue | URL)[];
|
2266
|
+
attribution?: Application | Group | Organization | Person | Service | URL | null;
|
2267
|
+
attributions?: (Application | Group | Organization | Person | Service | URL)[];
|
2268
|
+
audience?: Object | URL | null;
|
2269
|
+
audiences?: (Object | URL)[];
|
2270
|
+
content?: string | LanguageString | null;
|
2271
|
+
contents?: (string | LanguageString)[];
|
2272
|
+
contexts?: (Object | Link | URL)[];
|
2273
|
+
name?: string | LanguageString | null;
|
2274
|
+
names?: (string | LanguageString)[];
|
2275
|
+
endTime?: dntShim.Temporal.Instant | null;
|
2276
|
+
generators?: (Object | Link | URL)[];
|
2277
|
+
icon?: Image | URL | null;
|
2278
|
+
icons?: (Image | URL)[];
|
2279
|
+
image?: Image | URL | null;
|
2280
|
+
images?: (Image | URL)[];
|
2281
|
+
replyTarget?: Object | Link | URL | null;
|
2282
|
+
replyTargets?: (Object | Link | URL)[];
|
2283
|
+
location?: Object | Link | URL | null;
|
2284
|
+
locations?: (Object | Link | URL)[];
|
2285
|
+
preview?: Link | Object | URL | null;
|
2286
|
+
previews?: (Link | Object | URL)[];
|
2287
|
+
published?: dntShim.Temporal.Instant | null;
|
2288
|
+
replies?: Collection | URL | null;
|
2289
|
+
startTime?: dntShim.Temporal.Instant | null;
|
2290
|
+
summary?: string | LanguageString | null;
|
2291
|
+
summaries?: (string | LanguageString)[];
|
2292
|
+
tags?: (Object | Link | URL)[];
|
2293
|
+
updated?: dntShim.Temporal.Instant | null;
|
2294
|
+
url?: URL | Link | null;
|
2295
|
+
urls?: (URL | Link)[];
|
2296
|
+
to?: Object | URL | null;
|
2297
|
+
tos?: (Object | URL)[];
|
2298
|
+
bto?: Object | URL | null;
|
2299
|
+
btos?: (Object | URL)[];
|
2300
|
+
cc?: Object | URL | null;
|
2301
|
+
ccs?: (Object | URL)[];
|
2302
|
+
bcc?: Object | URL | null;
|
2303
|
+
bccs?: (Object | URL)[];
|
2304
|
+
mediaType?: string | null;
|
2305
|
+
duration?: dntShim.Temporal.Duration | null;
|
2306
|
+
sensitive?: boolean | null;
|
2307
|
+
proof?: DataIntegrityProof | URL | null;
|
2308
|
+
proofs?: (DataIntegrityProof | URL)[];
|
2309
|
+
actor?: Application | Group | Organization | Person | Service | URL | null;
|
2310
|
+
actors?: (Application | Group | Organization | Person | Service | URL)[];
|
2311
|
+
object?: Object | URL | null;
|
2312
|
+
objects?: (Object | URL)[];
|
2313
|
+
}, { documentLoader, contextLoader, }?: {
|
2314
|
+
documentLoader?: DocumentLoader;
|
2315
|
+
contextLoader?: DocumentLoader;
|
2316
|
+
});
|
2317
|
+
/**
|
2318
|
+
* Clones this instance, optionally updating it with the given values.
|
2319
|
+
* @param values The values to update the clone with.
|
2320
|
+
* @options The options to use for cloning.
|
2321
|
+
* @returns The cloned instance.
|
2322
|
+
*/
|
2323
|
+
clone(values?: {
|
2324
|
+
id?: URL | null;
|
2325
|
+
attachments?: (Object | Link | PropertyValue | URL)[];
|
2326
|
+
attribution?: Application | Group | Organization | Person | Service | URL | null;
|
2327
|
+
attributions?: (Application | Group | Organization | Person | Service | URL)[];
|
2328
|
+
audience?: Object | URL | null;
|
2329
|
+
audiences?: (Object | URL)[];
|
2330
|
+
content?: string | LanguageString | null;
|
2331
|
+
contents?: (string | LanguageString)[];
|
2332
|
+
contexts?: (Object | Link | URL)[];
|
2333
|
+
name?: string | LanguageString | null;
|
2334
|
+
names?: (string | LanguageString)[];
|
2335
|
+
endTime?: dntShim.Temporal.Instant | null;
|
2336
|
+
generators?: (Object | Link | URL)[];
|
2337
|
+
icon?: Image | URL | null;
|
2338
|
+
icons?: (Image | URL)[];
|
2339
|
+
image?: Image | URL | null;
|
2340
|
+
images?: (Image | URL)[];
|
2341
|
+
replyTarget?: Object | Link | URL | null;
|
2342
|
+
replyTargets?: (Object | Link | URL)[];
|
2343
|
+
location?: Object | Link | URL | null;
|
2344
|
+
locations?: (Object | Link | URL)[];
|
2345
|
+
preview?: Link | Object | URL | null;
|
2346
|
+
previews?: (Link | Object | URL)[];
|
2347
|
+
published?: dntShim.Temporal.Instant | null;
|
2348
|
+
replies?: Collection | URL | null;
|
2349
|
+
startTime?: dntShim.Temporal.Instant | null;
|
2350
|
+
summary?: string | LanguageString | null;
|
2351
|
+
summaries?: (string | LanguageString)[];
|
2352
|
+
tags?: (Object | Link | URL)[];
|
2353
|
+
updated?: dntShim.Temporal.Instant | null;
|
2354
|
+
url?: URL | Link | null;
|
2355
|
+
urls?: (URL | Link)[];
|
2356
|
+
to?: Object | URL | null;
|
2357
|
+
tos?: (Object | URL)[];
|
2358
|
+
bto?: Object | URL | null;
|
2359
|
+
btos?: (Object | URL)[];
|
2360
|
+
cc?: Object | URL | null;
|
2361
|
+
ccs?: (Object | URL)[];
|
2362
|
+
bcc?: Object | URL | null;
|
2363
|
+
bccs?: (Object | URL)[];
|
2364
|
+
mediaType?: string | null;
|
2365
|
+
duration?: dntShim.Temporal.Duration | null;
|
2366
|
+
sensitive?: boolean | null;
|
2367
|
+
proof?: DataIntegrityProof | URL | null;
|
2368
|
+
proofs?: (DataIntegrityProof | URL)[];
|
2369
|
+
actor?: Application | Group | Organization | Person | Service | URL | null;
|
2370
|
+
actors?: (Application | Group | Organization | Person | Service | URL)[];
|
2371
|
+
object?: Object | URL | null;
|
2372
|
+
objects?: (Object | URL)[];
|
2373
|
+
}, options?: {
|
2374
|
+
documentLoader?: DocumentLoader;
|
2375
|
+
contextLoader?: DocumentLoader;
|
2376
|
+
}): Arrive;
|
2377
|
+
/**
|
2378
|
+
* Converts this object to a JSON-LD structure.
|
2379
|
+
* @returns The JSON-LD representation of this object.
|
2380
|
+
*/
|
2381
|
+
toJsonLd(options?: {
|
2382
|
+
expand?: boolean;
|
2383
|
+
contextLoader?: DocumentLoader;
|
2384
|
+
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
2385
|
+
}): Promise<unknown>;
|
2386
|
+
/**
|
2387
|
+
* Converts a JSON-LD structure to an object of this type.
|
2388
|
+
* @param json The JSON-LD structure to convert.
|
2389
|
+
* @returns The object of this type.
|
2390
|
+
* @throws {TypeError} If the given `json` is invalid.
|
2391
|
+
*/
|
2392
|
+
static fromJsonLd(json: unknown, options?: {
|
2393
|
+
documentLoader?: DocumentLoader;
|
2394
|
+
contextLoader?: DocumentLoader;
|
2395
|
+
}): Promise<Arrive>;
|
2396
|
+
protected _getCustomInspectProxy(): Record<string, unknown>;
|
2397
|
+
}
|
2100
2398
|
/** Represents any kind of multi-paragraph written work.
|
2101
2399
|
*/
|
2102
2400
|
export declare class Article extends Object {
|
@@ -4955,155 +5253,6 @@ export declare class Image extends Document {
|
|
4955
5253
|
}): Promise<Image>;
|
4956
5254
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
4957
5255
|
}
|
4958
|
-
/** Instances of `IntransitiveActivity` are a subtype of {@link Activity}
|
4959
|
-
* representing intransitive actions. The `object` property is therefore
|
4960
|
-
* inappropriate for these activities.
|
4961
|
-
*/
|
4962
|
-
export declare class IntransitiveActivity extends Activity {
|
4963
|
-
/**
|
4964
|
-
* The type URI of {@link IntransitiveActivity}: `https://www.w3.org/ns/activitystreams#IntransitiveActivity`.
|
4965
|
-
*/
|
4966
|
-
static get typeId(): URL;
|
4967
|
-
/**
|
4968
|
-
* Constructs a new instance of IntransitiveActivity with the given values.
|
4969
|
-
* @param values The values to initialize the instance with.
|
4970
|
-
* @param options The options to use for initialization.
|
4971
|
-
*/
|
4972
|
-
constructor(values: {
|
4973
|
-
id?: URL | null;
|
4974
|
-
attachments?: (Object | Link | PropertyValue | URL)[];
|
4975
|
-
attribution?: Application | Group | Organization | Person | Service | URL | null;
|
4976
|
-
attributions?: (Application | Group | Organization | Person | Service | URL)[];
|
4977
|
-
audience?: Object | URL | null;
|
4978
|
-
audiences?: (Object | URL)[];
|
4979
|
-
content?: string | LanguageString | null;
|
4980
|
-
contents?: (string | LanguageString)[];
|
4981
|
-
contexts?: (Object | Link | URL)[];
|
4982
|
-
name?: string | LanguageString | null;
|
4983
|
-
names?: (string | LanguageString)[];
|
4984
|
-
endTime?: dntShim.Temporal.Instant | null;
|
4985
|
-
generators?: (Object | Link | URL)[];
|
4986
|
-
icon?: Image | URL | null;
|
4987
|
-
icons?: (Image | URL)[];
|
4988
|
-
image?: Image | URL | null;
|
4989
|
-
images?: (Image | URL)[];
|
4990
|
-
replyTarget?: Object | Link | URL | null;
|
4991
|
-
replyTargets?: (Object | Link | URL)[];
|
4992
|
-
location?: Object | Link | URL | null;
|
4993
|
-
locations?: (Object | Link | URL)[];
|
4994
|
-
preview?: Link | Object | URL | null;
|
4995
|
-
previews?: (Link | Object | URL)[];
|
4996
|
-
published?: dntShim.Temporal.Instant | null;
|
4997
|
-
replies?: Collection | URL | null;
|
4998
|
-
startTime?: dntShim.Temporal.Instant | null;
|
4999
|
-
summary?: string | LanguageString | null;
|
5000
|
-
summaries?: (string | LanguageString)[];
|
5001
|
-
tags?: (Object | Link | URL)[];
|
5002
|
-
updated?: dntShim.Temporal.Instant | null;
|
5003
|
-
url?: URL | Link | null;
|
5004
|
-
urls?: (URL | Link)[];
|
5005
|
-
to?: Object | URL | null;
|
5006
|
-
tos?: (Object | URL)[];
|
5007
|
-
bto?: Object | URL | null;
|
5008
|
-
btos?: (Object | URL)[];
|
5009
|
-
cc?: Object | URL | null;
|
5010
|
-
ccs?: (Object | URL)[];
|
5011
|
-
bcc?: Object | URL | null;
|
5012
|
-
bccs?: (Object | URL)[];
|
5013
|
-
mediaType?: string | null;
|
5014
|
-
duration?: dntShim.Temporal.Duration | null;
|
5015
|
-
sensitive?: boolean | null;
|
5016
|
-
proof?: DataIntegrityProof | URL | null;
|
5017
|
-
proofs?: (DataIntegrityProof | URL)[];
|
5018
|
-
actor?: Application | Group | Organization | Person | Service | URL | null;
|
5019
|
-
actors?: (Application | Group | Organization | Person | Service | URL)[];
|
5020
|
-
object?: Object | URL | null;
|
5021
|
-
objects?: (Object | URL)[];
|
5022
|
-
}, { documentLoader, contextLoader, }?: {
|
5023
|
-
documentLoader?: DocumentLoader;
|
5024
|
-
contextLoader?: DocumentLoader;
|
5025
|
-
});
|
5026
|
-
/**
|
5027
|
-
* Clones this instance, optionally updating it with the given values.
|
5028
|
-
* @param values The values to update the clone with.
|
5029
|
-
* @options The options to use for cloning.
|
5030
|
-
* @returns The cloned instance.
|
5031
|
-
*/
|
5032
|
-
clone(values?: {
|
5033
|
-
id?: URL | null;
|
5034
|
-
attachments?: (Object | Link | PropertyValue | URL)[];
|
5035
|
-
attribution?: Application | Group | Organization | Person | Service | URL | null;
|
5036
|
-
attributions?: (Application | Group | Organization | Person | Service | URL)[];
|
5037
|
-
audience?: Object | URL | null;
|
5038
|
-
audiences?: (Object | URL)[];
|
5039
|
-
content?: string | LanguageString | null;
|
5040
|
-
contents?: (string | LanguageString)[];
|
5041
|
-
contexts?: (Object | Link | URL)[];
|
5042
|
-
name?: string | LanguageString | null;
|
5043
|
-
names?: (string | LanguageString)[];
|
5044
|
-
endTime?: dntShim.Temporal.Instant | null;
|
5045
|
-
generators?: (Object | Link | URL)[];
|
5046
|
-
icon?: Image | URL | null;
|
5047
|
-
icons?: (Image | URL)[];
|
5048
|
-
image?: Image | URL | null;
|
5049
|
-
images?: (Image | URL)[];
|
5050
|
-
replyTarget?: Object | Link | URL | null;
|
5051
|
-
replyTargets?: (Object | Link | URL)[];
|
5052
|
-
location?: Object | Link | URL | null;
|
5053
|
-
locations?: (Object | Link | URL)[];
|
5054
|
-
preview?: Link | Object | URL | null;
|
5055
|
-
previews?: (Link | Object | URL)[];
|
5056
|
-
published?: dntShim.Temporal.Instant | null;
|
5057
|
-
replies?: Collection | URL | null;
|
5058
|
-
startTime?: dntShim.Temporal.Instant | null;
|
5059
|
-
summary?: string | LanguageString | null;
|
5060
|
-
summaries?: (string | LanguageString)[];
|
5061
|
-
tags?: (Object | Link | URL)[];
|
5062
|
-
updated?: dntShim.Temporal.Instant | null;
|
5063
|
-
url?: URL | Link | null;
|
5064
|
-
urls?: (URL | Link)[];
|
5065
|
-
to?: Object | URL | null;
|
5066
|
-
tos?: (Object | URL)[];
|
5067
|
-
bto?: Object | URL | null;
|
5068
|
-
btos?: (Object | URL)[];
|
5069
|
-
cc?: Object | URL | null;
|
5070
|
-
ccs?: (Object | URL)[];
|
5071
|
-
bcc?: Object | URL | null;
|
5072
|
-
bccs?: (Object | URL)[];
|
5073
|
-
mediaType?: string | null;
|
5074
|
-
duration?: dntShim.Temporal.Duration | null;
|
5075
|
-
sensitive?: boolean | null;
|
5076
|
-
proof?: DataIntegrityProof | URL | null;
|
5077
|
-
proofs?: (DataIntegrityProof | URL)[];
|
5078
|
-
actor?: Application | Group | Organization | Person | Service | URL | null;
|
5079
|
-
actors?: (Application | Group | Organization | Person | Service | URL)[];
|
5080
|
-
object?: Object | URL | null;
|
5081
|
-
objects?: (Object | URL)[];
|
5082
|
-
}, options?: {
|
5083
|
-
documentLoader?: DocumentLoader;
|
5084
|
-
contextLoader?: DocumentLoader;
|
5085
|
-
}): IntransitiveActivity;
|
5086
|
-
/**
|
5087
|
-
* Converts this object to a JSON-LD structure.
|
5088
|
-
* @returns The JSON-LD representation of this object.
|
5089
|
-
*/
|
5090
|
-
toJsonLd(options?: {
|
5091
|
-
expand?: boolean;
|
5092
|
-
contextLoader?: DocumentLoader;
|
5093
|
-
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
5094
|
-
}): Promise<unknown>;
|
5095
|
-
/**
|
5096
|
-
* Converts a JSON-LD structure to an object of this type.
|
5097
|
-
* @param json The JSON-LD structure to convert.
|
5098
|
-
* @returns The object of this type.
|
5099
|
-
* @throws {TypeError} If the given `json` is invalid.
|
5100
|
-
*/
|
5101
|
-
static fromJsonLd(json: unknown, options?: {
|
5102
|
-
documentLoader?: DocumentLoader;
|
5103
|
-
contextLoader?: DocumentLoader;
|
5104
|
-
}): Promise<IntransitiveActivity>;
|
5105
|
-
protected _getCustomInspectProxy(): Record<string, unknown>;
|
5106
|
-
}
|
5107
5256
|
/** Indicates that the `actor` likes, recommends or endorses the `object`.
|
5108
5257
|
* The `target` and `origin` typically have no defined meaning.
|
5109
5258
|
*/
|