@fedify/vocab 2.0.0-dev.279 → 2.0.0-pr.559.4
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/actor.test.js +2 -2
- package/dist/{deno-y1THYur-.js → deno-WgPwii8-.js} +1 -1
- package/dist/lookup.test.js +12 -11
- package/dist/mod.cjs +75 -77
- package/dist/mod.d.cts +66 -66
- package/dist/mod.d.ts +66 -66
- package/dist/mod.js +75 -77
- package/dist/type.test.js +1 -1
- package/dist/{vocab-fPKUeh35.js → vocab-DBPY77CM.js} +67 -67
- package/dist/vocab.test.js +1 -1
- package/package.json +4 -4
- package/src/lookup.test.ts +15 -0
- package/src/lookup.ts +4 -4
package/dist/mod.js
CHANGED
|
@@ -18,7 +18,7 @@ import { delay } from "es-toolkit";
|
|
|
18
18
|
|
|
19
19
|
//#region deno.json
|
|
20
20
|
var name$1 = "@fedify/vocab";
|
|
21
|
-
var version$1 = "2.0.0-
|
|
21
|
+
var version$1 = "2.0.0-pr.559.4+6357309b";
|
|
22
22
|
var license$1 = "MIT";
|
|
23
23
|
var exports$1 = { ".": "./src/mod.ts" };
|
|
24
24
|
var description$1 = "Vocabularies library for @fedify/fedify";
|
|
@@ -4339,7 +4339,7 @@ const preloadedContexts = {
|
|
|
4339
4339
|
};
|
|
4340
4340
|
var contexts_default = preloadedContexts;
|
|
4341
4341
|
var name = "@fedify/vocab-runtime";
|
|
4342
|
-
var version = "2.0.0-
|
|
4342
|
+
var version = "2.0.0-pr.559.4+6357309b";
|
|
4343
4343
|
var license = "MIT";
|
|
4344
4344
|
var exports = { ".": "./src/mod.ts" };
|
|
4345
4345
|
var description = "Runtime library for @fedify/vocab";
|
|
@@ -5632,7 +5632,7 @@ var Object$1 = class Object$1 {
|
|
|
5632
5632
|
/**
|
|
5633
5633
|
* Clones this instance, optionally updating it with the given values.
|
|
5634
5634
|
* @param values The values to update the clone with.
|
|
5635
|
-
* @options The options to use for cloning.
|
|
5635
|
+
* @param options The options to use for cloning.
|
|
5636
5636
|
* @returns The cloned instance.
|
|
5637
5637
|
*/
|
|
5638
5638
|
clone(values = {}, options = {}) {
|
|
@@ -11083,7 +11083,7 @@ var Emoji = class Emoji extends Object$1 {
|
|
|
11083
11083
|
/**
|
|
11084
11084
|
* Clones this instance, optionally updating it with the given values.
|
|
11085
11085
|
* @param values The values to update the clone with.
|
|
11086
|
-
* @options The options to use for cloning.
|
|
11086
|
+
* @param options The options to use for cloning.
|
|
11087
11087
|
* @returns The cloned instance.
|
|
11088
11088
|
*/
|
|
11089
11089
|
clone(values = {}, options = {}) {
|
|
@@ -11262,7 +11262,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
|
|
|
11262
11262
|
/**
|
|
11263
11263
|
* Clones this instance, optionally updating it with the given values.
|
|
11264
11264
|
* @param values The values to update the clone with.
|
|
11265
|
-
* @options The options to use for cloning.
|
|
11265
|
+
* @param options The options to use for cloning.
|
|
11266
11266
|
* @returns The cloned instance.
|
|
11267
11267
|
*/
|
|
11268
11268
|
clone(values = {}, options = {}) {
|
|
@@ -11598,7 +11598,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
11598
11598
|
/**
|
|
11599
11599
|
* Clones this instance, optionally updating it with the given values.
|
|
11600
11600
|
* @param values The values to update the clone with.
|
|
11601
|
-
* @options The options to use for cloning.
|
|
11601
|
+
* @param options The options to use for cloning.
|
|
11602
11602
|
* @returns The cloned instance.
|
|
11603
11603
|
*/
|
|
11604
11604
|
clone(values = {}, options = {}) {
|
|
@@ -13119,7 +13119,7 @@ var EmojiReact = class EmojiReact extends Activity {
|
|
|
13119
13119
|
/**
|
|
13120
13120
|
* Clones this instance, optionally updating it with the given values.
|
|
13121
13121
|
* @param values The values to update the clone with.
|
|
13122
|
-
* @options The options to use for cloning.
|
|
13122
|
+
* @param options The options to use for cloning.
|
|
13123
13123
|
* @returns The cloned instance.
|
|
13124
13124
|
*/
|
|
13125
13125
|
clone(values = {}, options = {}) {
|
|
@@ -13318,7 +13318,7 @@ var PropertyValue = class {
|
|
|
13318
13318
|
/**
|
|
13319
13319
|
* Clones this instance, optionally updating it with the given values.
|
|
13320
13320
|
* @param values The values to update the clone with.
|
|
13321
|
-
* @options The options to use for cloning.
|
|
13321
|
+
* @param options The options to use for cloning.
|
|
13322
13322
|
* @returns The cloned instance.
|
|
13323
13323
|
*/
|
|
13324
13324
|
clone(values = {}, options = {}) {
|
|
@@ -13611,7 +13611,7 @@ var DidService = class {
|
|
|
13611
13611
|
/**
|
|
13612
13612
|
* Clones this instance, optionally updating it with the given values.
|
|
13613
13613
|
* @param values The values to update the clone with.
|
|
13614
|
-
* @options The options to use for cloning.
|
|
13614
|
+
* @param options The options to use for cloning.
|
|
13615
13615
|
* @returns The cloned instance.
|
|
13616
13616
|
*/
|
|
13617
13617
|
clone(values = {}, options = {}) {
|
|
@@ -13801,7 +13801,7 @@ var Export = class Export extends DidService {
|
|
|
13801
13801
|
/**
|
|
13802
13802
|
* Clones this instance, optionally updating it with the given values.
|
|
13803
13803
|
* @param values The values to update the clone with.
|
|
13804
|
-
* @options The options to use for cloning.
|
|
13804
|
+
* @param options The options to use for cloning.
|
|
13805
13805
|
* @returns The cloned instance.
|
|
13806
13806
|
*/
|
|
13807
13807
|
clone(values = {}, options = {}) {
|
|
@@ -14000,7 +14000,7 @@ var DataIntegrityProof = class {
|
|
|
14000
14000
|
/**
|
|
14001
14001
|
* Clones this instance, optionally updating it with the given values.
|
|
14002
14002
|
* @param values The values to update the clone with.
|
|
14003
|
-
* @options The options to use for cloning.
|
|
14003
|
+
* @param options The options to use for cloning.
|
|
14004
14004
|
* @returns The cloned instance.
|
|
14005
14005
|
*/
|
|
14006
14006
|
clone(values = {}, options = {}) {
|
|
@@ -14473,7 +14473,7 @@ var CryptographicKey = class {
|
|
|
14473
14473
|
/**
|
|
14474
14474
|
* Clones this instance, optionally updating it with the given values.
|
|
14475
14475
|
* @param values The values to update the clone with.
|
|
14476
|
-
* @options The options to use for cloning.
|
|
14476
|
+
* @param options The options to use for cloning.
|
|
14477
14477
|
* @returns The cloned instance.
|
|
14478
14478
|
*/
|
|
14479
14479
|
clone(values = {}, options = {}) {
|
|
@@ -14946,7 +14946,7 @@ var Multikey = class {
|
|
|
14946
14946
|
/**
|
|
14947
14947
|
* Clones this instance, optionally updating it with the given values.
|
|
14948
14948
|
* @param values The values to update the clone with.
|
|
14949
|
-
* @options The options to use for cloning.
|
|
14949
|
+
* @param options The options to use for cloning.
|
|
14950
14950
|
* @returns The cloned instance.
|
|
14951
14951
|
*/
|
|
14952
14952
|
clone(values = {}, options = {}) {
|
|
@@ -15386,7 +15386,7 @@ var Accept = class Accept extends Activity {
|
|
|
15386
15386
|
/**
|
|
15387
15387
|
* Clones this instance, optionally updating it with the given values.
|
|
15388
15388
|
* @param values The values to update the clone with.
|
|
15389
|
-
* @options The options to use for cloning.
|
|
15389
|
+
* @param options The options to use for cloning.
|
|
15390
15390
|
* @returns The cloned instance.
|
|
15391
15391
|
*/
|
|
15392
15392
|
clone(values = {}, options = {}) {
|
|
@@ -15548,7 +15548,7 @@ var Add = class Add extends Activity {
|
|
|
15548
15548
|
/**
|
|
15549
15549
|
* Clones this instance, optionally updating it with the given values.
|
|
15550
15550
|
* @param values The values to update the clone with.
|
|
15551
|
-
* @options The options to use for cloning.
|
|
15551
|
+
* @param options The options to use for cloning.
|
|
15552
15552
|
* @returns The cloned instance.
|
|
15553
15553
|
*/
|
|
15554
15554
|
clone(values = {}, options = {}) {
|
|
@@ -15708,7 +15708,7 @@ var Announce = class Announce extends Activity {
|
|
|
15708
15708
|
/**
|
|
15709
15709
|
* Clones this instance, optionally updating it with the given values.
|
|
15710
15710
|
* @param values The values to update the clone with.
|
|
15711
|
-
* @options The options to use for cloning.
|
|
15711
|
+
* @param options The options to use for cloning.
|
|
15712
15712
|
* @returns The cloned instance.
|
|
15713
15713
|
*/
|
|
15714
15714
|
clone(values = {}, options = {}) {
|
|
@@ -16023,7 +16023,7 @@ var Application = class Application extends Object$1 {
|
|
|
16023
16023
|
/**
|
|
16024
16024
|
* Clones this instance, optionally updating it with the given values.
|
|
16025
16025
|
* @param values The values to update the clone with.
|
|
16026
|
-
* @options The options to use for cloning.
|
|
16026
|
+
* @param options The options to use for cloning.
|
|
16027
16027
|
* @returns The cloned instance.
|
|
16028
16028
|
*/
|
|
16029
16029
|
clone(values = {}, options = {}) {
|
|
@@ -19257,7 +19257,7 @@ var IntransitiveActivity = class IntransitiveActivity extends Activity {
|
|
|
19257
19257
|
/**
|
|
19258
19258
|
* Clones this instance, optionally updating it with the given values.
|
|
19259
19259
|
* @param values The values to update the clone with.
|
|
19260
|
-
* @options The options to use for cloning.
|
|
19260
|
+
* @param options The options to use for cloning.
|
|
19261
19261
|
* @returns The cloned instance.
|
|
19262
19262
|
*/
|
|
19263
19263
|
clone(values = {}, options = {}) {
|
|
@@ -19420,7 +19420,7 @@ var Arrive = class Arrive extends IntransitiveActivity {
|
|
|
19420
19420
|
/**
|
|
19421
19421
|
* Clones this instance, optionally updating it with the given values.
|
|
19422
19422
|
* @param values The values to update the clone with.
|
|
19423
|
-
* @options The options to use for cloning.
|
|
19423
|
+
* @param options The options to use for cloning.
|
|
19424
19424
|
* @returns The cloned instance.
|
|
19425
19425
|
*/
|
|
19426
19426
|
clone(values = {}, options = {}) {
|
|
@@ -19581,7 +19581,7 @@ var Article = class Article extends Object$1 {
|
|
|
19581
19581
|
/**
|
|
19582
19582
|
* Clones this instance, optionally updating it with the given values.
|
|
19583
19583
|
* @param values The values to update the clone with.
|
|
19584
|
-
* @options The options to use for cloning.
|
|
19584
|
+
* @param options The options to use for cloning.
|
|
19585
19585
|
* @returns The cloned instance.
|
|
19586
19586
|
*/
|
|
19587
19587
|
clone(values = {}, options = {}) {
|
|
@@ -19843,7 +19843,7 @@ var Document = class Document extends Object$1 {
|
|
|
19843
19843
|
/**
|
|
19844
19844
|
* Clones this instance, optionally updating it with the given values.
|
|
19845
19845
|
* @param values The values to update the clone with.
|
|
19846
|
-
* @options The options to use for cloning.
|
|
19846
|
+
* @param options The options to use for cloning.
|
|
19847
19847
|
* @returns The cloned instance.
|
|
19848
19848
|
*/
|
|
19849
19849
|
clone(values = {}, options = {}) {
|
|
@@ -20095,7 +20095,7 @@ var Audio = class Audio extends Document {
|
|
|
20095
20095
|
/**
|
|
20096
20096
|
* Clones this instance, optionally updating it with the given values.
|
|
20097
20097
|
* @param values The values to update the clone with.
|
|
20098
|
-
* @options The options to use for cloning.
|
|
20098
|
+
* @param options The options to use for cloning.
|
|
20099
20099
|
* @returns The cloned instance.
|
|
20100
20100
|
*/
|
|
20101
20101
|
clone(values = {}, options = {}) {
|
|
@@ -20262,7 +20262,7 @@ var Ignore = class Ignore extends Activity {
|
|
|
20262
20262
|
/**
|
|
20263
20263
|
* Clones this instance, optionally updating it with the given values.
|
|
20264
20264
|
* @param values The values to update the clone with.
|
|
20265
|
-
* @options The options to use for cloning.
|
|
20265
|
+
* @param options The options to use for cloning.
|
|
20266
20266
|
* @returns The cloned instance.
|
|
20267
20267
|
*/
|
|
20268
20268
|
clone(values = {}, options = {}) {
|
|
@@ -20424,7 +20424,7 @@ var Block = class Block extends Ignore {
|
|
|
20424
20424
|
/**
|
|
20425
20425
|
* Clones this instance, optionally updating it with the given values.
|
|
20426
20426
|
* @param values The values to update the clone with.
|
|
20427
|
-
* @options The options to use for cloning.
|
|
20427
|
+
* @param options The options to use for cloning.
|
|
20428
20428
|
* @returns The cloned instance.
|
|
20429
20429
|
*/
|
|
20430
20430
|
clone(values = {}, options = {}) {
|
|
@@ -20661,7 +20661,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
20661
20661
|
/**
|
|
20662
20662
|
* Clones this instance, optionally updating it with the given values.
|
|
20663
20663
|
* @param values The values to update the clone with.
|
|
20664
|
-
* @options The options to use for cloning.
|
|
20664
|
+
* @param options The options to use for cloning.
|
|
20665
20665
|
* @returns The cloned instance.
|
|
20666
20666
|
*/
|
|
20667
20667
|
clone(values = {}, options = {}) {
|
|
@@ -23008,7 +23008,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
23008
23008
|
/**
|
|
23009
23009
|
* Clones this instance, optionally updating it with the given values.
|
|
23010
23010
|
* @param values The values to update the clone with.
|
|
23011
|
-
* @options The options to use for cloning.
|
|
23011
|
+
* @param options The options to use for cloning.
|
|
23012
23012
|
* @returns The cloned instance.
|
|
23013
23013
|
*/
|
|
23014
23014
|
clone(values = {}, options = {}) {
|
|
@@ -23714,7 +23714,7 @@ var Create = class Create extends Activity {
|
|
|
23714
23714
|
/**
|
|
23715
23715
|
* Clones this instance, optionally updating it with the given values.
|
|
23716
23716
|
* @param values The values to update the clone with.
|
|
23717
|
-
* @options The options to use for cloning.
|
|
23717
|
+
* @param options The options to use for cloning.
|
|
23718
23718
|
* @returns The cloned instance.
|
|
23719
23719
|
*/
|
|
23720
23720
|
clone(values = {}, options = {}) {
|
|
@@ -23893,7 +23893,7 @@ var Delete = class Delete extends Activity {
|
|
|
23893
23893
|
/**
|
|
23894
23894
|
* Clones this instance, optionally updating it with the given values.
|
|
23895
23895
|
* @param values The values to update the clone with.
|
|
23896
|
-
* @options The options to use for cloning.
|
|
23896
|
+
* @param options The options to use for cloning.
|
|
23897
23897
|
* @returns The cloned instance.
|
|
23898
23898
|
*/
|
|
23899
23899
|
clone(values = {}, options = {}) {
|
|
@@ -24067,7 +24067,7 @@ var Dislike = class Dislike extends Activity {
|
|
|
24067
24067
|
/**
|
|
24068
24068
|
* Clones this instance, optionally updating it with the given values.
|
|
24069
24069
|
* @param values The values to update the clone with.
|
|
24070
|
-
* @options The options to use for cloning.
|
|
24070
|
+
* @param options The options to use for cloning.
|
|
24071
24071
|
* @returns The cloned instance.
|
|
24072
24072
|
*/
|
|
24073
24073
|
clone(values = {}, options = {}) {
|
|
@@ -24276,7 +24276,7 @@ var Endpoints = class {
|
|
|
24276
24276
|
/**
|
|
24277
24277
|
* Clones this instance, optionally updating it with the given values.
|
|
24278
24278
|
* @param values The values to update the clone with.
|
|
24279
|
-
* @options The options to use for cloning.
|
|
24279
|
+
* @param options The options to use for cloning.
|
|
24280
24280
|
* @returns The cloned instance.
|
|
24281
24281
|
*/
|
|
24282
24282
|
clone(values = {}, options = {}) {
|
|
@@ -24674,7 +24674,7 @@ var Event = class Event extends Object$1 {
|
|
|
24674
24674
|
/**
|
|
24675
24675
|
* Clones this instance, optionally updating it with the given values.
|
|
24676
24676
|
* @param values The values to update the clone with.
|
|
24677
|
-
* @options The options to use for cloning.
|
|
24677
|
+
* @param options The options to use for cloning.
|
|
24678
24678
|
* @returns The cloned instance.
|
|
24679
24679
|
*/
|
|
24680
24680
|
clone(values = {}, options = {}) {
|
|
@@ -24842,7 +24842,7 @@ var Flag = class Flag extends Activity {
|
|
|
24842
24842
|
/**
|
|
24843
24843
|
* Clones this instance, optionally updating it with the given values.
|
|
24844
24844
|
* @param values The values to update the clone with.
|
|
24845
|
-
* @options The options to use for cloning.
|
|
24845
|
+
* @param options The options to use for cloning.
|
|
24846
24846
|
* @returns The cloned instance.
|
|
24847
24847
|
*/
|
|
24848
24848
|
clone(values = {}, options = {}) {
|
|
@@ -25003,7 +25003,7 @@ var Follow = class Follow extends Activity {
|
|
|
25003
25003
|
/**
|
|
25004
25004
|
* Clones this instance, optionally updating it with the given values.
|
|
25005
25005
|
* @param values The values to update the clone with.
|
|
25006
|
-
* @options The options to use for cloning.
|
|
25006
|
+
* @param options The options to use for cloning.
|
|
25007
25007
|
* @returns The cloned instance.
|
|
25008
25008
|
*/
|
|
25009
25009
|
clone(values = {}, options = {}) {
|
|
@@ -25302,7 +25302,7 @@ var Group = class Group extends Object$1 {
|
|
|
25302
25302
|
/**
|
|
25303
25303
|
* Clones this instance, optionally updating it with the given values.
|
|
25304
25304
|
* @param values The values to update the clone with.
|
|
25305
|
-
* @options The options to use for cloning.
|
|
25305
|
+
* @param options The options to use for cloning.
|
|
25306
25306
|
* @returns The cloned instance.
|
|
25307
25307
|
*/
|
|
25308
25308
|
clone(values = {}, options = {}) {
|
|
@@ -28607,7 +28607,7 @@ var Link = class Link {
|
|
|
28607
28607
|
/**
|
|
28608
28608
|
* Clones this instance, optionally updating it with the given values.
|
|
28609
28609
|
* @param values The values to update the clone with.
|
|
28610
|
-
* @options The options to use for cloning.
|
|
28610
|
+
* @param options The options to use for cloning.
|
|
28611
28611
|
* @returns The cloned instance.
|
|
28612
28612
|
*/
|
|
28613
28613
|
clone(values = {}, options = {}) {
|
|
@@ -29324,7 +29324,7 @@ var Hashtag = class Hashtag extends Link {
|
|
|
29324
29324
|
/**
|
|
29325
29325
|
* Clones this instance, optionally updating it with the given values.
|
|
29326
29326
|
* @param values The values to update the clone with.
|
|
29327
|
-
* @options The options to use for cloning.
|
|
29327
|
+
* @param options The options to use for cloning.
|
|
29328
29328
|
* @returns The cloned instance.
|
|
29329
29329
|
*/
|
|
29330
29330
|
clone(values = {}, options = {}) {
|
|
@@ -29487,7 +29487,7 @@ var Image = class Image extends Document {
|
|
|
29487
29487
|
/**
|
|
29488
29488
|
* Clones this instance, optionally updating it with the given values.
|
|
29489
29489
|
* @param values The values to update the clone with.
|
|
29490
|
-
* @options The options to use for cloning.
|
|
29490
|
+
* @param options The options to use for cloning.
|
|
29491
29491
|
* @returns The cloned instance.
|
|
29492
29492
|
*/
|
|
29493
29493
|
clone(values = {}, options = {}) {
|
|
@@ -29655,7 +29655,7 @@ var Offer = class Offer extends Activity {
|
|
|
29655
29655
|
/**
|
|
29656
29656
|
* Clones this instance, optionally updating it with the given values.
|
|
29657
29657
|
* @param values The values to update the clone with.
|
|
29658
|
-
* @options The options to use for cloning.
|
|
29658
|
+
* @param options The options to use for cloning.
|
|
29659
29659
|
* @returns The cloned instance.
|
|
29660
29660
|
*/
|
|
29661
29661
|
clone(values = {}, options = {}) {
|
|
@@ -29815,7 +29815,7 @@ var Invite = class Invite extends Offer {
|
|
|
29815
29815
|
/**
|
|
29816
29816
|
* Clones this instance, optionally updating it with the given values.
|
|
29817
29817
|
* @param values The values to update the clone with.
|
|
29818
|
-
* @options The options to use for cloning.
|
|
29818
|
+
* @param options The options to use for cloning.
|
|
29819
29819
|
* @returns The cloned instance.
|
|
29820
29820
|
*/
|
|
29821
29821
|
clone(values = {}, options = {}) {
|
|
@@ -29974,7 +29974,7 @@ var Join = class Join extends Activity {
|
|
|
29974
29974
|
/**
|
|
29975
29975
|
* Clones this instance, optionally updating it with the given values.
|
|
29976
29976
|
* @param values The values to update the clone with.
|
|
29977
|
-
* @options The options to use for cloning.
|
|
29977
|
+
* @param options The options to use for cloning.
|
|
29978
29978
|
* @returns The cloned instance.
|
|
29979
29979
|
*/
|
|
29980
29980
|
clone(values = {}, options = {}) {
|
|
@@ -30133,7 +30133,7 @@ var Leave = class Leave extends Activity {
|
|
|
30133
30133
|
/**
|
|
30134
30134
|
* Clones this instance, optionally updating it with the given values.
|
|
30135
30135
|
* @param values The values to update the clone with.
|
|
30136
|
-
* @options The options to use for cloning.
|
|
30136
|
+
* @param options The options to use for cloning.
|
|
30137
30137
|
* @returns The cloned instance.
|
|
30138
30138
|
*/
|
|
30139
30139
|
clone(values = {}, options = {}) {
|
|
@@ -30292,7 +30292,7 @@ var Like = class Like extends Activity {
|
|
|
30292
30292
|
/**
|
|
30293
30293
|
* Clones this instance, optionally updating it with the given values.
|
|
30294
30294
|
* @param values The values to update the clone with.
|
|
30295
|
-
* @options The options to use for cloning.
|
|
30295
|
+
* @param options The options to use for cloning.
|
|
30296
30296
|
* @returns The cloned instance.
|
|
30297
30297
|
*/
|
|
30298
30298
|
clone(values = {}, options = {}) {
|
|
@@ -30454,7 +30454,7 @@ var Listen = class Listen extends Activity {
|
|
|
30454
30454
|
/**
|
|
30455
30455
|
* Clones this instance, optionally updating it with the given values.
|
|
30456
30456
|
* @param values The values to update the clone with.
|
|
30457
|
-
* @options The options to use for cloning.
|
|
30457
|
+
* @param options The options to use for cloning.
|
|
30458
30458
|
* @returns The cloned instance.
|
|
30459
30459
|
*/
|
|
30460
30460
|
clone(values = {}, options = {}) {
|
|
@@ -30612,7 +30612,7 @@ var Mention = class Mention extends Link {
|
|
|
30612
30612
|
/**
|
|
30613
30613
|
* Clones this instance, optionally updating it with the given values.
|
|
30614
30614
|
* @param values The values to update the clone with.
|
|
30615
|
-
* @options The options to use for cloning.
|
|
30615
|
+
* @param options The options to use for cloning.
|
|
30616
30616
|
* @returns The cloned instance.
|
|
30617
30617
|
*/
|
|
30618
30618
|
clone(values = {}, options = {}) {
|
|
@@ -30777,7 +30777,7 @@ var Move = class Move extends Activity {
|
|
|
30777
30777
|
/**
|
|
30778
30778
|
* Clones this instance, optionally updating it with the given values.
|
|
30779
30779
|
* @param values The values to update the clone with.
|
|
30780
|
-
* @options The options to use for cloning.
|
|
30780
|
+
* @param options The options to use for cloning.
|
|
30781
30781
|
* @returns The cloned instance.
|
|
30782
30782
|
*/
|
|
30783
30783
|
clone(values = {}, options = {}) {
|
|
@@ -30939,7 +30939,7 @@ var Note = class Note extends Object$1 {
|
|
|
30939
30939
|
/**
|
|
30940
30940
|
* Clones this instance, optionally updating it with the given values.
|
|
30941
30941
|
* @param values The values to update the clone with.
|
|
30942
|
-
* @options The options to use for cloning.
|
|
30942
|
+
* @param options The options to use for cloning.
|
|
30943
30943
|
* @returns The cloned instance.
|
|
30944
30944
|
*/
|
|
30945
30945
|
clone(values = {}, options = {}) {
|
|
@@ -31202,7 +31202,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
|
|
|
31202
31202
|
/**
|
|
31203
31203
|
* Clones this instance, optionally updating it with the given values.
|
|
31204
31204
|
* @param values The values to update the clone with.
|
|
31205
|
-
* @options The options to use for cloning.
|
|
31205
|
+
* @param options The options to use for cloning.
|
|
31206
31206
|
* @returns The cloned instance.
|
|
31207
31207
|
*/
|
|
31208
31208
|
clone(values = {}, options = {}) {
|
|
@@ -31667,7 +31667,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
|
|
|
31667
31667
|
/**
|
|
31668
31668
|
* Clones this instance, optionally updating it with the given values.
|
|
31669
31669
|
* @param values The values to update the clone with.
|
|
31670
|
-
* @options The options to use for cloning.
|
|
31670
|
+
* @param options The options to use for cloning.
|
|
31671
31671
|
* @returns The cloned instance.
|
|
31672
31672
|
*/
|
|
31673
31673
|
clone(values = {}, options = {}) {
|
|
@@ -32300,7 +32300,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
32300
32300
|
/**
|
|
32301
32301
|
* Clones this instance, optionally updating it with the given values.
|
|
32302
32302
|
* @param values The values to update the clone with.
|
|
32303
|
-
* @options The options to use for cloning.
|
|
32303
|
+
* @param options The options to use for cloning.
|
|
32304
32304
|
* @returns The cloned instance.
|
|
32305
32305
|
*/
|
|
32306
32306
|
clone(values = {}, options = {}) {
|
|
@@ -35532,7 +35532,7 @@ var Page = class Page extends Document {
|
|
|
35532
35532
|
/**
|
|
35533
35533
|
* Clones this instance, optionally updating it with the given values.
|
|
35534
35534
|
* @param values The values to update the clone with.
|
|
35535
|
-
* @options The options to use for cloning.
|
|
35535
|
+
* @param options The options to use for cloning.
|
|
35536
35536
|
* @returns The cloned instance.
|
|
35537
35537
|
*/
|
|
35538
35538
|
clone(values = {}, options = {}) {
|
|
@@ -35836,7 +35836,7 @@ var Person = class Person extends Object$1 {
|
|
|
35836
35836
|
/**
|
|
35837
35837
|
* Clones this instance, optionally updating it with the given values.
|
|
35838
35838
|
* @param values The values to update the clone with.
|
|
35839
|
-
* @options The options to use for cloning.
|
|
35839
|
+
* @param options The options to use for cloning.
|
|
35840
35840
|
* @returns The cloned instance.
|
|
35841
35841
|
*/
|
|
35842
35842
|
clone(values = {}, options = {}) {
|
|
@@ -39088,7 +39088,7 @@ var Place = class Place extends Object$1 {
|
|
|
39088
39088
|
/**
|
|
39089
39089
|
* Clones this instance, optionally updating it with the given values.
|
|
39090
39090
|
* @param values The values to update the clone with.
|
|
39091
|
-
* @options The options to use for cloning.
|
|
39091
|
+
* @param options The options to use for cloning.
|
|
39092
39092
|
* @returns The cloned instance.
|
|
39093
39093
|
*/
|
|
39094
39094
|
clone(values = {}, options = {}) {
|
|
@@ -39511,7 +39511,7 @@ var Profile = class Profile extends Object$1 {
|
|
|
39511
39511
|
/**
|
|
39512
39512
|
* Clones this instance, optionally updating it with the given values.
|
|
39513
39513
|
* @param values The values to update the clone with.
|
|
39514
|
-
* @options The options to use for cloning.
|
|
39514
|
+
* @param options The options to use for cloning.
|
|
39515
39515
|
* @returns The cloned instance.
|
|
39516
39516
|
*/
|
|
39517
39517
|
clone(values = {}, options = {}) {
|
|
@@ -39872,7 +39872,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
39872
39872
|
/**
|
|
39873
39873
|
* Clones this instance, optionally updating it with the given values.
|
|
39874
39874
|
* @param values The values to update the clone with.
|
|
39875
|
-
* @options The options to use for cloning.
|
|
39875
|
+
* @param options The options to use for cloning.
|
|
39876
39876
|
* @returns The cloned instance.
|
|
39877
39877
|
*/
|
|
39878
39878
|
clone(values = {}, options = {}) {
|
|
@@ -40483,7 +40483,7 @@ var Read = class Read extends Activity {
|
|
|
40483
40483
|
/**
|
|
40484
40484
|
* Clones this instance, optionally updating it with the given values.
|
|
40485
40485
|
* @param values The values to update the clone with.
|
|
40486
|
-
* @options The options to use for cloning.
|
|
40486
|
+
* @param options The options to use for cloning.
|
|
40487
40487
|
* @returns The cloned instance.
|
|
40488
40488
|
*/
|
|
40489
40489
|
clone(values = {}, options = {}) {
|
|
@@ -40642,7 +40642,7 @@ var Reject = class Reject extends Activity {
|
|
|
40642
40642
|
/**
|
|
40643
40643
|
* Clones this instance, optionally updating it with the given values.
|
|
40644
40644
|
* @param values The values to update the clone with.
|
|
40645
|
-
* @options The options to use for cloning.
|
|
40645
|
+
* @param options The options to use for cloning.
|
|
40646
40646
|
* @returns The cloned instance.
|
|
40647
40647
|
*/
|
|
40648
40648
|
clone(values = {}, options = {}) {
|
|
@@ -40839,7 +40839,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
40839
40839
|
/**
|
|
40840
40840
|
* Clones this instance, optionally updating it with the given values.
|
|
40841
40841
|
* @param values The values to update the clone with.
|
|
40842
|
-
* @options The options to use for cloning.
|
|
40842
|
+
* @param options The options to use for cloning.
|
|
40843
40843
|
* @returns The cloned instance.
|
|
40844
40844
|
*/
|
|
40845
40845
|
clone(values = {}, options = {}) {
|
|
@@ -41613,7 +41613,7 @@ var Remove = class Remove extends Activity {
|
|
|
41613
41613
|
/**
|
|
41614
41614
|
* Clones this instance, optionally updating it with the given values.
|
|
41615
41615
|
* @param values The values to update the clone with.
|
|
41616
|
-
* @options The options to use for cloning.
|
|
41616
|
+
* @param options The options to use for cloning.
|
|
41617
41617
|
* @returns The cloned instance.
|
|
41618
41618
|
*/
|
|
41619
41619
|
clone(values = {}, options = {}) {
|
|
@@ -41909,7 +41909,7 @@ var Service = class Service extends Object$1 {
|
|
|
41909
41909
|
/**
|
|
41910
41910
|
* Clones this instance, optionally updating it with the given values.
|
|
41911
41911
|
* @param values The values to update the clone with.
|
|
41912
|
-
* @options The options to use for cloning.
|
|
41912
|
+
* @param options The options to use for cloning.
|
|
41913
41913
|
* @returns The cloned instance.
|
|
41914
41914
|
*/
|
|
41915
41915
|
clone(values = {}, options = {}) {
|
|
@@ -45181,7 +45181,7 @@ var Source = class {
|
|
|
45181
45181
|
/**
|
|
45182
45182
|
* Clones this instance, optionally updating it with the given values.
|
|
45183
45183
|
* @param values The values to update the clone with.
|
|
45184
|
-
* @options The options to use for cloning.
|
|
45184
|
+
* @param options The options to use for cloning.
|
|
45185
45185
|
* @returns The cloned instance.
|
|
45186
45186
|
*/
|
|
45187
45187
|
clone(values = {}, options = {}) {
|
|
@@ -45429,7 +45429,7 @@ var TentativeAccept = class TentativeAccept extends Accept {
|
|
|
45429
45429
|
/**
|
|
45430
45430
|
* Clones this instance, optionally updating it with the given values.
|
|
45431
45431
|
* @param values The values to update the clone with.
|
|
45432
|
-
* @options The options to use for cloning.
|
|
45432
|
+
* @param options The options to use for cloning.
|
|
45433
45433
|
* @returns The cloned instance.
|
|
45434
45434
|
*/
|
|
45435
45435
|
clone(values = {}, options = {}) {
|
|
@@ -45588,7 +45588,7 @@ var TentativeReject = class TentativeReject extends Reject {
|
|
|
45588
45588
|
/**
|
|
45589
45589
|
* Clones this instance, optionally updating it with the given values.
|
|
45590
45590
|
* @param values The values to update the clone with.
|
|
45591
|
-
* @options The options to use for cloning.
|
|
45591
|
+
* @param options The options to use for cloning.
|
|
45592
45592
|
* @returns The cloned instance.
|
|
45593
45593
|
*/
|
|
45594
45594
|
clone(values = {}, options = {}) {
|
|
@@ -45751,7 +45751,7 @@ var Tombstone = class Tombstone extends Object$1 {
|
|
|
45751
45751
|
/**
|
|
45752
45752
|
* Clones this instance, optionally updating it with the given values.
|
|
45753
45753
|
* @param values The values to update the clone with.
|
|
45754
|
-
* @options The options to use for cloning.
|
|
45754
|
+
* @param options The options to use for cloning.
|
|
45755
45755
|
* @returns The cloned instance.
|
|
45756
45756
|
*/
|
|
45757
45757
|
clone(values = {}, options = {}) {
|
|
@@ -45961,7 +45961,7 @@ var Travel = class Travel extends IntransitiveActivity {
|
|
|
45961
45961
|
/**
|
|
45962
45962
|
* Clones this instance, optionally updating it with the given values.
|
|
45963
45963
|
* @param values The values to update the clone with.
|
|
45964
|
-
* @options The options to use for cloning.
|
|
45964
|
+
* @param options The options to use for cloning.
|
|
45965
45965
|
* @returns The cloned instance.
|
|
45966
45966
|
*/
|
|
45967
45967
|
clone(values = {}, options = {}) {
|
|
@@ -46125,7 +46125,7 @@ var Undo = class Undo extends Activity {
|
|
|
46125
46125
|
/**
|
|
46126
46126
|
* Clones this instance, optionally updating it with the given values.
|
|
46127
46127
|
* @param values The values to update the clone with.
|
|
46128
|
-
* @options The options to use for cloning.
|
|
46128
|
+
* @param options The options to use for cloning.
|
|
46129
46129
|
* @returns The cloned instance.
|
|
46130
46130
|
*/
|
|
46131
46131
|
clone(values = {}, options = {}) {
|
|
@@ -46296,7 +46296,7 @@ var Update = class Update extends Activity {
|
|
|
46296
46296
|
/**
|
|
46297
46297
|
* Clones this instance, optionally updating it with the given values.
|
|
46298
46298
|
* @param values The values to update the clone with.
|
|
46299
|
-
* @options The options to use for cloning.
|
|
46299
|
+
* @param options The options to use for cloning.
|
|
46300
46300
|
* @returns The cloned instance.
|
|
46301
46301
|
*/
|
|
46302
46302
|
clone(values = {}, options = {}) {
|
|
@@ -46503,7 +46503,7 @@ var Video = class Video extends Document {
|
|
|
46503
46503
|
/**
|
|
46504
46504
|
* Clones this instance, optionally updating it with the given values.
|
|
46505
46505
|
* @param values The values to update the clone with.
|
|
46506
|
-
* @options The options to use for cloning.
|
|
46506
|
+
* @param options The options to use for cloning.
|
|
46507
46507
|
* @returns The cloned instance.
|
|
46508
46508
|
*/
|
|
46509
46509
|
clone(values = {}, options = {}) {
|
|
@@ -46669,7 +46669,7 @@ var View = class View extends Activity {
|
|
|
46669
46669
|
/**
|
|
46670
46670
|
* Clones this instance, optionally updating it with the given values.
|
|
46671
46671
|
* @param values The values to update the clone with.
|
|
46672
|
-
* @options The options to use for cloning.
|
|
46672
|
+
* @param options The options to use for cloning.
|
|
46673
46673
|
* @returns The cloned instance.
|
|
46674
46674
|
*/
|
|
46675
46675
|
clone(values = {}, options = {}) {
|
|
@@ -47180,15 +47180,13 @@ async function lookupObjectInternal(identifier, options = {}) {
|
|
|
47180
47180
|
* @since 1.1.0
|
|
47181
47181
|
*/
|
|
47182
47182
|
async function* traverseCollection(collection, options = {}) {
|
|
47183
|
-
|
|
47184
|
-
|
|
47185
|
-
|
|
47186
|
-
|
|
47187
|
-
|
|
47188
|
-
|
|
47189
|
-
|
|
47190
|
-
page = await page.getNext(options);
|
|
47191
|
-
}
|
|
47183
|
+
const interval = Temporal.Duration.from(options.interval ?? { seconds: 0 }).total("millisecond");
|
|
47184
|
+
let page = await collection.getFirst(options);
|
|
47185
|
+
if (page == null) for await (const item of collection.getItems(options)) yield item;
|
|
47186
|
+
else while (page != null) {
|
|
47187
|
+
for await (const item of page.getItems(options)) yield item;
|
|
47188
|
+
if (interval > 0) await delay(interval);
|
|
47189
|
+
page = await page.getNext(options);
|
|
47192
47190
|
}
|
|
47193
47191
|
}
|
|
47194
47192
|
|
package/dist/type.test.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { Temporal } from "@js-temporal/polyfill";
|
|
3
3
|
globalThis.addEventListener = () => {};
|
|
4
4
|
|
|
5
|
-
import { Person, test } from "./vocab-
|
|
5
|
+
import { Person, test } from "./vocab-DBPY77CM.js";
|
|
6
6
|
import { getTypeId } from "./type-Dnf0m2yO.js";
|
|
7
7
|
import { deepStrictEqual } from "node:assert/strict";
|
|
8
8
|
|