@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.cjs
CHANGED
|
@@ -41,7 +41,7 @@ const es_toolkit = __toESM(require("es-toolkit"));
|
|
|
41
41
|
|
|
42
42
|
//#region deno.json
|
|
43
43
|
var name$1 = "@fedify/vocab";
|
|
44
|
-
var version$1 = "2.0.0-
|
|
44
|
+
var version$1 = "2.0.0-pr.559.4+6357309b";
|
|
45
45
|
var license$1 = "MIT";
|
|
46
46
|
var exports$2 = { ".": "./src/mod.ts" };
|
|
47
47
|
var description$1 = "Vocabularies library for @fedify/fedify";
|
|
@@ -4362,7 +4362,7 @@ const preloadedContexts = {
|
|
|
4362
4362
|
};
|
|
4363
4363
|
var contexts_default = preloadedContexts;
|
|
4364
4364
|
var name = "@fedify/vocab-runtime";
|
|
4365
|
-
var version = "2.0.0-
|
|
4365
|
+
var version = "2.0.0-pr.559.4+6357309b";
|
|
4366
4366
|
var license = "MIT";
|
|
4367
4367
|
var exports$1 = { ".": "./src/mod.ts" };
|
|
4368
4368
|
var description = "Runtime library for @fedify/vocab";
|
|
@@ -5655,7 +5655,7 @@ var Object$1 = class Object$1 {
|
|
|
5655
5655
|
/**
|
|
5656
5656
|
* Clones this instance, optionally updating it with the given values.
|
|
5657
5657
|
* @param values The values to update the clone with.
|
|
5658
|
-
* @options The options to use for cloning.
|
|
5658
|
+
* @param options The options to use for cloning.
|
|
5659
5659
|
* @returns The cloned instance.
|
|
5660
5660
|
*/
|
|
5661
5661
|
clone(values = {}, options = {}) {
|
|
@@ -11106,7 +11106,7 @@ var Emoji = class Emoji extends Object$1 {
|
|
|
11106
11106
|
/**
|
|
11107
11107
|
* Clones this instance, optionally updating it with the given values.
|
|
11108
11108
|
* @param values The values to update the clone with.
|
|
11109
|
-
* @options The options to use for cloning.
|
|
11109
|
+
* @param options The options to use for cloning.
|
|
11110
11110
|
* @returns The cloned instance.
|
|
11111
11111
|
*/
|
|
11112
11112
|
clone(values = {}, options = {}) {
|
|
@@ -11285,7 +11285,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
|
|
|
11285
11285
|
/**
|
|
11286
11286
|
* Clones this instance, optionally updating it with the given values.
|
|
11287
11287
|
* @param values The values to update the clone with.
|
|
11288
|
-
* @options The options to use for cloning.
|
|
11288
|
+
* @param options The options to use for cloning.
|
|
11289
11289
|
* @returns The cloned instance.
|
|
11290
11290
|
*/
|
|
11291
11291
|
clone(values = {}, options = {}) {
|
|
@@ -11621,7 +11621,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
11621
11621
|
/**
|
|
11622
11622
|
* Clones this instance, optionally updating it with the given values.
|
|
11623
11623
|
* @param values The values to update the clone with.
|
|
11624
|
-
* @options The options to use for cloning.
|
|
11624
|
+
* @param options The options to use for cloning.
|
|
11625
11625
|
* @returns The cloned instance.
|
|
11626
11626
|
*/
|
|
11627
11627
|
clone(values = {}, options = {}) {
|
|
@@ -13142,7 +13142,7 @@ var EmojiReact = class EmojiReact extends Activity {
|
|
|
13142
13142
|
/**
|
|
13143
13143
|
* Clones this instance, optionally updating it with the given values.
|
|
13144
13144
|
* @param values The values to update the clone with.
|
|
13145
|
-
* @options The options to use for cloning.
|
|
13145
|
+
* @param options The options to use for cloning.
|
|
13146
13146
|
* @returns The cloned instance.
|
|
13147
13147
|
*/
|
|
13148
13148
|
clone(values = {}, options = {}) {
|
|
@@ -13341,7 +13341,7 @@ var PropertyValue = class {
|
|
|
13341
13341
|
/**
|
|
13342
13342
|
* Clones this instance, optionally updating it with the given values.
|
|
13343
13343
|
* @param values The values to update the clone with.
|
|
13344
|
-
* @options The options to use for cloning.
|
|
13344
|
+
* @param options The options to use for cloning.
|
|
13345
13345
|
* @returns The cloned instance.
|
|
13346
13346
|
*/
|
|
13347
13347
|
clone(values = {}, options = {}) {
|
|
@@ -13634,7 +13634,7 @@ var DidService = class {
|
|
|
13634
13634
|
/**
|
|
13635
13635
|
* Clones this instance, optionally updating it with the given values.
|
|
13636
13636
|
* @param values The values to update the clone with.
|
|
13637
|
-
* @options The options to use for cloning.
|
|
13637
|
+
* @param options The options to use for cloning.
|
|
13638
13638
|
* @returns The cloned instance.
|
|
13639
13639
|
*/
|
|
13640
13640
|
clone(values = {}, options = {}) {
|
|
@@ -13824,7 +13824,7 @@ var Export = class Export extends DidService {
|
|
|
13824
13824
|
/**
|
|
13825
13825
|
* Clones this instance, optionally updating it with the given values.
|
|
13826
13826
|
* @param values The values to update the clone with.
|
|
13827
|
-
* @options The options to use for cloning.
|
|
13827
|
+
* @param options The options to use for cloning.
|
|
13828
13828
|
* @returns The cloned instance.
|
|
13829
13829
|
*/
|
|
13830
13830
|
clone(values = {}, options = {}) {
|
|
@@ -14023,7 +14023,7 @@ var DataIntegrityProof = class {
|
|
|
14023
14023
|
/**
|
|
14024
14024
|
* Clones this instance, optionally updating it with the given values.
|
|
14025
14025
|
* @param values The values to update the clone with.
|
|
14026
|
-
* @options The options to use for cloning.
|
|
14026
|
+
* @param options The options to use for cloning.
|
|
14027
14027
|
* @returns The cloned instance.
|
|
14028
14028
|
*/
|
|
14029
14029
|
clone(values = {}, options = {}) {
|
|
@@ -14496,7 +14496,7 @@ var CryptographicKey = class {
|
|
|
14496
14496
|
/**
|
|
14497
14497
|
* Clones this instance, optionally updating it with the given values.
|
|
14498
14498
|
* @param values The values to update the clone with.
|
|
14499
|
-
* @options The options to use for cloning.
|
|
14499
|
+
* @param options The options to use for cloning.
|
|
14500
14500
|
* @returns The cloned instance.
|
|
14501
14501
|
*/
|
|
14502
14502
|
clone(values = {}, options = {}) {
|
|
@@ -14969,7 +14969,7 @@ var Multikey = class {
|
|
|
14969
14969
|
/**
|
|
14970
14970
|
* Clones this instance, optionally updating it with the given values.
|
|
14971
14971
|
* @param values The values to update the clone with.
|
|
14972
|
-
* @options The options to use for cloning.
|
|
14972
|
+
* @param options The options to use for cloning.
|
|
14973
14973
|
* @returns The cloned instance.
|
|
14974
14974
|
*/
|
|
14975
14975
|
clone(values = {}, options = {}) {
|
|
@@ -15409,7 +15409,7 @@ var Accept = class Accept extends Activity {
|
|
|
15409
15409
|
/**
|
|
15410
15410
|
* Clones this instance, optionally updating it with the given values.
|
|
15411
15411
|
* @param values The values to update the clone with.
|
|
15412
|
-
* @options The options to use for cloning.
|
|
15412
|
+
* @param options The options to use for cloning.
|
|
15413
15413
|
* @returns The cloned instance.
|
|
15414
15414
|
*/
|
|
15415
15415
|
clone(values = {}, options = {}) {
|
|
@@ -15571,7 +15571,7 @@ var Add = class Add extends Activity {
|
|
|
15571
15571
|
/**
|
|
15572
15572
|
* Clones this instance, optionally updating it with the given values.
|
|
15573
15573
|
* @param values The values to update the clone with.
|
|
15574
|
-
* @options The options to use for cloning.
|
|
15574
|
+
* @param options The options to use for cloning.
|
|
15575
15575
|
* @returns The cloned instance.
|
|
15576
15576
|
*/
|
|
15577
15577
|
clone(values = {}, options = {}) {
|
|
@@ -15731,7 +15731,7 @@ var Announce = class Announce extends Activity {
|
|
|
15731
15731
|
/**
|
|
15732
15732
|
* Clones this instance, optionally updating it with the given values.
|
|
15733
15733
|
* @param values The values to update the clone with.
|
|
15734
|
-
* @options The options to use for cloning.
|
|
15734
|
+
* @param options The options to use for cloning.
|
|
15735
15735
|
* @returns The cloned instance.
|
|
15736
15736
|
*/
|
|
15737
15737
|
clone(values = {}, options = {}) {
|
|
@@ -16046,7 +16046,7 @@ var Application = class Application extends Object$1 {
|
|
|
16046
16046
|
/**
|
|
16047
16047
|
* Clones this instance, optionally updating it with the given values.
|
|
16048
16048
|
* @param values The values to update the clone with.
|
|
16049
|
-
* @options The options to use for cloning.
|
|
16049
|
+
* @param options The options to use for cloning.
|
|
16050
16050
|
* @returns The cloned instance.
|
|
16051
16051
|
*/
|
|
16052
16052
|
clone(values = {}, options = {}) {
|
|
@@ -19280,7 +19280,7 @@ var IntransitiveActivity = class IntransitiveActivity extends Activity {
|
|
|
19280
19280
|
/**
|
|
19281
19281
|
* Clones this instance, optionally updating it with the given values.
|
|
19282
19282
|
* @param values The values to update the clone with.
|
|
19283
|
-
* @options The options to use for cloning.
|
|
19283
|
+
* @param options The options to use for cloning.
|
|
19284
19284
|
* @returns The cloned instance.
|
|
19285
19285
|
*/
|
|
19286
19286
|
clone(values = {}, options = {}) {
|
|
@@ -19443,7 +19443,7 @@ var Arrive = class Arrive extends IntransitiveActivity {
|
|
|
19443
19443
|
/**
|
|
19444
19444
|
* Clones this instance, optionally updating it with the given values.
|
|
19445
19445
|
* @param values The values to update the clone with.
|
|
19446
|
-
* @options The options to use for cloning.
|
|
19446
|
+
* @param options The options to use for cloning.
|
|
19447
19447
|
* @returns The cloned instance.
|
|
19448
19448
|
*/
|
|
19449
19449
|
clone(values = {}, options = {}) {
|
|
@@ -19604,7 +19604,7 @@ var Article = class Article extends Object$1 {
|
|
|
19604
19604
|
/**
|
|
19605
19605
|
* Clones this instance, optionally updating it with the given values.
|
|
19606
19606
|
* @param values The values to update the clone with.
|
|
19607
|
-
* @options The options to use for cloning.
|
|
19607
|
+
* @param options The options to use for cloning.
|
|
19608
19608
|
* @returns The cloned instance.
|
|
19609
19609
|
*/
|
|
19610
19610
|
clone(values = {}, options = {}) {
|
|
@@ -19866,7 +19866,7 @@ var Document = class Document extends Object$1 {
|
|
|
19866
19866
|
/**
|
|
19867
19867
|
* Clones this instance, optionally updating it with the given values.
|
|
19868
19868
|
* @param values The values to update the clone with.
|
|
19869
|
-
* @options The options to use for cloning.
|
|
19869
|
+
* @param options The options to use for cloning.
|
|
19870
19870
|
* @returns The cloned instance.
|
|
19871
19871
|
*/
|
|
19872
19872
|
clone(values = {}, options = {}) {
|
|
@@ -20118,7 +20118,7 @@ var Audio = class Audio extends Document {
|
|
|
20118
20118
|
/**
|
|
20119
20119
|
* Clones this instance, optionally updating it with the given values.
|
|
20120
20120
|
* @param values The values to update the clone with.
|
|
20121
|
-
* @options The options to use for cloning.
|
|
20121
|
+
* @param options The options to use for cloning.
|
|
20122
20122
|
* @returns The cloned instance.
|
|
20123
20123
|
*/
|
|
20124
20124
|
clone(values = {}, options = {}) {
|
|
@@ -20285,7 +20285,7 @@ var Ignore = class Ignore extends Activity {
|
|
|
20285
20285
|
/**
|
|
20286
20286
|
* Clones this instance, optionally updating it with the given values.
|
|
20287
20287
|
* @param values The values to update the clone with.
|
|
20288
|
-
* @options The options to use for cloning.
|
|
20288
|
+
* @param options The options to use for cloning.
|
|
20289
20289
|
* @returns The cloned instance.
|
|
20290
20290
|
*/
|
|
20291
20291
|
clone(values = {}, options = {}) {
|
|
@@ -20447,7 +20447,7 @@ var Block = class Block extends Ignore {
|
|
|
20447
20447
|
/**
|
|
20448
20448
|
* Clones this instance, optionally updating it with the given values.
|
|
20449
20449
|
* @param values The values to update the clone with.
|
|
20450
|
-
* @options The options to use for cloning.
|
|
20450
|
+
* @param options The options to use for cloning.
|
|
20451
20451
|
* @returns The cloned instance.
|
|
20452
20452
|
*/
|
|
20453
20453
|
clone(values = {}, options = {}) {
|
|
@@ -20684,7 +20684,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
20684
20684
|
/**
|
|
20685
20685
|
* Clones this instance, optionally updating it with the given values.
|
|
20686
20686
|
* @param values The values to update the clone with.
|
|
20687
|
-
* @options The options to use for cloning.
|
|
20687
|
+
* @param options The options to use for cloning.
|
|
20688
20688
|
* @returns The cloned instance.
|
|
20689
20689
|
*/
|
|
20690
20690
|
clone(values = {}, options = {}) {
|
|
@@ -23031,7 +23031,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
23031
23031
|
/**
|
|
23032
23032
|
* Clones this instance, optionally updating it with the given values.
|
|
23033
23033
|
* @param values The values to update the clone with.
|
|
23034
|
-
* @options The options to use for cloning.
|
|
23034
|
+
* @param options The options to use for cloning.
|
|
23035
23035
|
* @returns The cloned instance.
|
|
23036
23036
|
*/
|
|
23037
23037
|
clone(values = {}, options = {}) {
|
|
@@ -23737,7 +23737,7 @@ var Create = class Create extends Activity {
|
|
|
23737
23737
|
/**
|
|
23738
23738
|
* Clones this instance, optionally updating it with the given values.
|
|
23739
23739
|
* @param values The values to update the clone with.
|
|
23740
|
-
* @options The options to use for cloning.
|
|
23740
|
+
* @param options The options to use for cloning.
|
|
23741
23741
|
* @returns The cloned instance.
|
|
23742
23742
|
*/
|
|
23743
23743
|
clone(values = {}, options = {}) {
|
|
@@ -23916,7 +23916,7 @@ var Delete = class Delete extends Activity {
|
|
|
23916
23916
|
/**
|
|
23917
23917
|
* Clones this instance, optionally updating it with the given values.
|
|
23918
23918
|
* @param values The values to update the clone with.
|
|
23919
|
-
* @options The options to use for cloning.
|
|
23919
|
+
* @param options The options to use for cloning.
|
|
23920
23920
|
* @returns The cloned instance.
|
|
23921
23921
|
*/
|
|
23922
23922
|
clone(values = {}, options = {}) {
|
|
@@ -24090,7 +24090,7 @@ var Dislike = class Dislike extends Activity {
|
|
|
24090
24090
|
/**
|
|
24091
24091
|
* Clones this instance, optionally updating it with the given values.
|
|
24092
24092
|
* @param values The values to update the clone with.
|
|
24093
|
-
* @options The options to use for cloning.
|
|
24093
|
+
* @param options The options to use for cloning.
|
|
24094
24094
|
* @returns The cloned instance.
|
|
24095
24095
|
*/
|
|
24096
24096
|
clone(values = {}, options = {}) {
|
|
@@ -24299,7 +24299,7 @@ var Endpoints = class {
|
|
|
24299
24299
|
/**
|
|
24300
24300
|
* Clones this instance, optionally updating it with the given values.
|
|
24301
24301
|
* @param values The values to update the clone with.
|
|
24302
|
-
* @options The options to use for cloning.
|
|
24302
|
+
* @param options The options to use for cloning.
|
|
24303
24303
|
* @returns The cloned instance.
|
|
24304
24304
|
*/
|
|
24305
24305
|
clone(values = {}, options = {}) {
|
|
@@ -24697,7 +24697,7 @@ var Event = class Event extends Object$1 {
|
|
|
24697
24697
|
/**
|
|
24698
24698
|
* Clones this instance, optionally updating it with the given values.
|
|
24699
24699
|
* @param values The values to update the clone with.
|
|
24700
|
-
* @options The options to use for cloning.
|
|
24700
|
+
* @param options The options to use for cloning.
|
|
24701
24701
|
* @returns The cloned instance.
|
|
24702
24702
|
*/
|
|
24703
24703
|
clone(values = {}, options = {}) {
|
|
@@ -24865,7 +24865,7 @@ var Flag = class Flag extends Activity {
|
|
|
24865
24865
|
/**
|
|
24866
24866
|
* Clones this instance, optionally updating it with the given values.
|
|
24867
24867
|
* @param values The values to update the clone with.
|
|
24868
|
-
* @options The options to use for cloning.
|
|
24868
|
+
* @param options The options to use for cloning.
|
|
24869
24869
|
* @returns The cloned instance.
|
|
24870
24870
|
*/
|
|
24871
24871
|
clone(values = {}, options = {}) {
|
|
@@ -25026,7 +25026,7 @@ var Follow = class Follow extends Activity {
|
|
|
25026
25026
|
/**
|
|
25027
25027
|
* Clones this instance, optionally updating it with the given values.
|
|
25028
25028
|
* @param values The values to update the clone with.
|
|
25029
|
-
* @options The options to use for cloning.
|
|
25029
|
+
* @param options The options to use for cloning.
|
|
25030
25030
|
* @returns The cloned instance.
|
|
25031
25031
|
*/
|
|
25032
25032
|
clone(values = {}, options = {}) {
|
|
@@ -25325,7 +25325,7 @@ var Group = class Group extends Object$1 {
|
|
|
25325
25325
|
/**
|
|
25326
25326
|
* Clones this instance, optionally updating it with the given values.
|
|
25327
25327
|
* @param values The values to update the clone with.
|
|
25328
|
-
* @options The options to use for cloning.
|
|
25328
|
+
* @param options The options to use for cloning.
|
|
25329
25329
|
* @returns The cloned instance.
|
|
25330
25330
|
*/
|
|
25331
25331
|
clone(values = {}, options = {}) {
|
|
@@ -28630,7 +28630,7 @@ var Link = class Link {
|
|
|
28630
28630
|
/**
|
|
28631
28631
|
* Clones this instance, optionally updating it with the given values.
|
|
28632
28632
|
* @param values The values to update the clone with.
|
|
28633
|
-
* @options The options to use for cloning.
|
|
28633
|
+
* @param options The options to use for cloning.
|
|
28634
28634
|
* @returns The cloned instance.
|
|
28635
28635
|
*/
|
|
28636
28636
|
clone(values = {}, options = {}) {
|
|
@@ -29347,7 +29347,7 @@ var Hashtag = class Hashtag extends Link {
|
|
|
29347
29347
|
/**
|
|
29348
29348
|
* Clones this instance, optionally updating it with the given values.
|
|
29349
29349
|
* @param values The values to update the clone with.
|
|
29350
|
-
* @options The options to use for cloning.
|
|
29350
|
+
* @param options The options to use for cloning.
|
|
29351
29351
|
* @returns The cloned instance.
|
|
29352
29352
|
*/
|
|
29353
29353
|
clone(values = {}, options = {}) {
|
|
@@ -29510,7 +29510,7 @@ var Image = class Image extends Document {
|
|
|
29510
29510
|
/**
|
|
29511
29511
|
* Clones this instance, optionally updating it with the given values.
|
|
29512
29512
|
* @param values The values to update the clone with.
|
|
29513
|
-
* @options The options to use for cloning.
|
|
29513
|
+
* @param options The options to use for cloning.
|
|
29514
29514
|
* @returns The cloned instance.
|
|
29515
29515
|
*/
|
|
29516
29516
|
clone(values = {}, options = {}) {
|
|
@@ -29678,7 +29678,7 @@ var Offer = class Offer extends Activity {
|
|
|
29678
29678
|
/**
|
|
29679
29679
|
* Clones this instance, optionally updating it with the given values.
|
|
29680
29680
|
* @param values The values to update the clone with.
|
|
29681
|
-
* @options The options to use for cloning.
|
|
29681
|
+
* @param options The options to use for cloning.
|
|
29682
29682
|
* @returns The cloned instance.
|
|
29683
29683
|
*/
|
|
29684
29684
|
clone(values = {}, options = {}) {
|
|
@@ -29838,7 +29838,7 @@ var Invite = class Invite extends Offer {
|
|
|
29838
29838
|
/**
|
|
29839
29839
|
* Clones this instance, optionally updating it with the given values.
|
|
29840
29840
|
* @param values The values to update the clone with.
|
|
29841
|
-
* @options The options to use for cloning.
|
|
29841
|
+
* @param options The options to use for cloning.
|
|
29842
29842
|
* @returns The cloned instance.
|
|
29843
29843
|
*/
|
|
29844
29844
|
clone(values = {}, options = {}) {
|
|
@@ -29997,7 +29997,7 @@ var Join = class Join extends Activity {
|
|
|
29997
29997
|
/**
|
|
29998
29998
|
* Clones this instance, optionally updating it with the given values.
|
|
29999
29999
|
* @param values The values to update the clone with.
|
|
30000
|
-
* @options The options to use for cloning.
|
|
30000
|
+
* @param options The options to use for cloning.
|
|
30001
30001
|
* @returns The cloned instance.
|
|
30002
30002
|
*/
|
|
30003
30003
|
clone(values = {}, options = {}) {
|
|
@@ -30156,7 +30156,7 @@ var Leave = class Leave extends Activity {
|
|
|
30156
30156
|
/**
|
|
30157
30157
|
* Clones this instance, optionally updating it with the given values.
|
|
30158
30158
|
* @param values The values to update the clone with.
|
|
30159
|
-
* @options The options to use for cloning.
|
|
30159
|
+
* @param options The options to use for cloning.
|
|
30160
30160
|
* @returns The cloned instance.
|
|
30161
30161
|
*/
|
|
30162
30162
|
clone(values = {}, options = {}) {
|
|
@@ -30315,7 +30315,7 @@ var Like = class Like extends Activity {
|
|
|
30315
30315
|
/**
|
|
30316
30316
|
* Clones this instance, optionally updating it with the given values.
|
|
30317
30317
|
* @param values The values to update the clone with.
|
|
30318
|
-
* @options The options to use for cloning.
|
|
30318
|
+
* @param options The options to use for cloning.
|
|
30319
30319
|
* @returns The cloned instance.
|
|
30320
30320
|
*/
|
|
30321
30321
|
clone(values = {}, options = {}) {
|
|
@@ -30477,7 +30477,7 @@ var Listen = class Listen extends Activity {
|
|
|
30477
30477
|
/**
|
|
30478
30478
|
* Clones this instance, optionally updating it with the given values.
|
|
30479
30479
|
* @param values The values to update the clone with.
|
|
30480
|
-
* @options The options to use for cloning.
|
|
30480
|
+
* @param options The options to use for cloning.
|
|
30481
30481
|
* @returns The cloned instance.
|
|
30482
30482
|
*/
|
|
30483
30483
|
clone(values = {}, options = {}) {
|
|
@@ -30635,7 +30635,7 @@ var Mention = class Mention extends Link {
|
|
|
30635
30635
|
/**
|
|
30636
30636
|
* Clones this instance, optionally updating it with the given values.
|
|
30637
30637
|
* @param values The values to update the clone with.
|
|
30638
|
-
* @options The options to use for cloning.
|
|
30638
|
+
* @param options The options to use for cloning.
|
|
30639
30639
|
* @returns The cloned instance.
|
|
30640
30640
|
*/
|
|
30641
30641
|
clone(values = {}, options = {}) {
|
|
@@ -30800,7 +30800,7 @@ var Move = class Move extends Activity {
|
|
|
30800
30800
|
/**
|
|
30801
30801
|
* Clones this instance, optionally updating it with the given values.
|
|
30802
30802
|
* @param values The values to update the clone with.
|
|
30803
|
-
* @options The options to use for cloning.
|
|
30803
|
+
* @param options The options to use for cloning.
|
|
30804
30804
|
* @returns The cloned instance.
|
|
30805
30805
|
*/
|
|
30806
30806
|
clone(values = {}, options = {}) {
|
|
@@ -30962,7 +30962,7 @@ var Note = class Note extends Object$1 {
|
|
|
30962
30962
|
/**
|
|
30963
30963
|
* Clones this instance, optionally updating it with the given values.
|
|
30964
30964
|
* @param values The values to update the clone with.
|
|
30965
|
-
* @options The options to use for cloning.
|
|
30965
|
+
* @param options The options to use for cloning.
|
|
30966
30966
|
* @returns The cloned instance.
|
|
30967
30967
|
*/
|
|
30968
30968
|
clone(values = {}, options = {}) {
|
|
@@ -31225,7 +31225,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
|
|
|
31225
31225
|
/**
|
|
31226
31226
|
* Clones this instance, optionally updating it with the given values.
|
|
31227
31227
|
* @param values The values to update the clone with.
|
|
31228
|
-
* @options The options to use for cloning.
|
|
31228
|
+
* @param options The options to use for cloning.
|
|
31229
31229
|
* @returns The cloned instance.
|
|
31230
31230
|
*/
|
|
31231
31231
|
clone(values = {}, options = {}) {
|
|
@@ -31690,7 +31690,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
|
|
|
31690
31690
|
/**
|
|
31691
31691
|
* Clones this instance, optionally updating it with the given values.
|
|
31692
31692
|
* @param values The values to update the clone with.
|
|
31693
|
-
* @options The options to use for cloning.
|
|
31693
|
+
* @param options The options to use for cloning.
|
|
31694
31694
|
* @returns The cloned instance.
|
|
31695
31695
|
*/
|
|
31696
31696
|
clone(values = {}, options = {}) {
|
|
@@ -32323,7 +32323,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
32323
32323
|
/**
|
|
32324
32324
|
* Clones this instance, optionally updating it with the given values.
|
|
32325
32325
|
* @param values The values to update the clone with.
|
|
32326
|
-
* @options The options to use for cloning.
|
|
32326
|
+
* @param options The options to use for cloning.
|
|
32327
32327
|
* @returns The cloned instance.
|
|
32328
32328
|
*/
|
|
32329
32329
|
clone(values = {}, options = {}) {
|
|
@@ -35555,7 +35555,7 @@ var Page = class Page extends Document {
|
|
|
35555
35555
|
/**
|
|
35556
35556
|
* Clones this instance, optionally updating it with the given values.
|
|
35557
35557
|
* @param values The values to update the clone with.
|
|
35558
|
-
* @options The options to use for cloning.
|
|
35558
|
+
* @param options The options to use for cloning.
|
|
35559
35559
|
* @returns The cloned instance.
|
|
35560
35560
|
*/
|
|
35561
35561
|
clone(values = {}, options = {}) {
|
|
@@ -35859,7 +35859,7 @@ var Person = class Person extends Object$1 {
|
|
|
35859
35859
|
/**
|
|
35860
35860
|
* Clones this instance, optionally updating it with the given values.
|
|
35861
35861
|
* @param values The values to update the clone with.
|
|
35862
|
-
* @options The options to use for cloning.
|
|
35862
|
+
* @param options The options to use for cloning.
|
|
35863
35863
|
* @returns The cloned instance.
|
|
35864
35864
|
*/
|
|
35865
35865
|
clone(values = {}, options = {}) {
|
|
@@ -39111,7 +39111,7 @@ var Place = class Place extends Object$1 {
|
|
|
39111
39111
|
/**
|
|
39112
39112
|
* Clones this instance, optionally updating it with the given values.
|
|
39113
39113
|
* @param values The values to update the clone with.
|
|
39114
|
-
* @options The options to use for cloning.
|
|
39114
|
+
* @param options The options to use for cloning.
|
|
39115
39115
|
* @returns The cloned instance.
|
|
39116
39116
|
*/
|
|
39117
39117
|
clone(values = {}, options = {}) {
|
|
@@ -39534,7 +39534,7 @@ var Profile = class Profile extends Object$1 {
|
|
|
39534
39534
|
/**
|
|
39535
39535
|
* Clones this instance, optionally updating it with the given values.
|
|
39536
39536
|
* @param values The values to update the clone with.
|
|
39537
|
-
* @options The options to use for cloning.
|
|
39537
|
+
* @param options The options to use for cloning.
|
|
39538
39538
|
* @returns The cloned instance.
|
|
39539
39539
|
*/
|
|
39540
39540
|
clone(values = {}, options = {}) {
|
|
@@ -39895,7 +39895,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
39895
39895
|
/**
|
|
39896
39896
|
* Clones this instance, optionally updating it with the given values.
|
|
39897
39897
|
* @param values The values to update the clone with.
|
|
39898
|
-
* @options The options to use for cloning.
|
|
39898
|
+
* @param options The options to use for cloning.
|
|
39899
39899
|
* @returns The cloned instance.
|
|
39900
39900
|
*/
|
|
39901
39901
|
clone(values = {}, options = {}) {
|
|
@@ -40506,7 +40506,7 @@ var Read = class Read extends Activity {
|
|
|
40506
40506
|
/**
|
|
40507
40507
|
* Clones this instance, optionally updating it with the given values.
|
|
40508
40508
|
* @param values The values to update the clone with.
|
|
40509
|
-
* @options The options to use for cloning.
|
|
40509
|
+
* @param options The options to use for cloning.
|
|
40510
40510
|
* @returns The cloned instance.
|
|
40511
40511
|
*/
|
|
40512
40512
|
clone(values = {}, options = {}) {
|
|
@@ -40665,7 +40665,7 @@ var Reject = class Reject extends Activity {
|
|
|
40665
40665
|
/**
|
|
40666
40666
|
* Clones this instance, optionally updating it with the given values.
|
|
40667
40667
|
* @param values The values to update the clone with.
|
|
40668
|
-
* @options The options to use for cloning.
|
|
40668
|
+
* @param options The options to use for cloning.
|
|
40669
40669
|
* @returns The cloned instance.
|
|
40670
40670
|
*/
|
|
40671
40671
|
clone(values = {}, options = {}) {
|
|
@@ -40862,7 +40862,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
40862
40862
|
/**
|
|
40863
40863
|
* Clones this instance, optionally updating it with the given values.
|
|
40864
40864
|
* @param values The values to update the clone with.
|
|
40865
|
-
* @options The options to use for cloning.
|
|
40865
|
+
* @param options The options to use for cloning.
|
|
40866
40866
|
* @returns The cloned instance.
|
|
40867
40867
|
*/
|
|
40868
40868
|
clone(values = {}, options = {}) {
|
|
@@ -41636,7 +41636,7 @@ var Remove = class Remove extends Activity {
|
|
|
41636
41636
|
/**
|
|
41637
41637
|
* Clones this instance, optionally updating it with the given values.
|
|
41638
41638
|
* @param values The values to update the clone with.
|
|
41639
|
-
* @options The options to use for cloning.
|
|
41639
|
+
* @param options The options to use for cloning.
|
|
41640
41640
|
* @returns The cloned instance.
|
|
41641
41641
|
*/
|
|
41642
41642
|
clone(values = {}, options = {}) {
|
|
@@ -41932,7 +41932,7 @@ var Service = class Service extends Object$1 {
|
|
|
41932
41932
|
/**
|
|
41933
41933
|
* Clones this instance, optionally updating it with the given values.
|
|
41934
41934
|
* @param values The values to update the clone with.
|
|
41935
|
-
* @options The options to use for cloning.
|
|
41935
|
+
* @param options The options to use for cloning.
|
|
41936
41936
|
* @returns The cloned instance.
|
|
41937
41937
|
*/
|
|
41938
41938
|
clone(values = {}, options = {}) {
|
|
@@ -45204,7 +45204,7 @@ var Source = class {
|
|
|
45204
45204
|
/**
|
|
45205
45205
|
* Clones this instance, optionally updating it with the given values.
|
|
45206
45206
|
* @param values The values to update the clone with.
|
|
45207
|
-
* @options The options to use for cloning.
|
|
45207
|
+
* @param options The options to use for cloning.
|
|
45208
45208
|
* @returns The cloned instance.
|
|
45209
45209
|
*/
|
|
45210
45210
|
clone(values = {}, options = {}) {
|
|
@@ -45452,7 +45452,7 @@ var TentativeAccept = class TentativeAccept extends Accept {
|
|
|
45452
45452
|
/**
|
|
45453
45453
|
* Clones this instance, optionally updating it with the given values.
|
|
45454
45454
|
* @param values The values to update the clone with.
|
|
45455
|
-
* @options The options to use for cloning.
|
|
45455
|
+
* @param options The options to use for cloning.
|
|
45456
45456
|
* @returns The cloned instance.
|
|
45457
45457
|
*/
|
|
45458
45458
|
clone(values = {}, options = {}) {
|
|
@@ -45611,7 +45611,7 @@ var TentativeReject = class TentativeReject extends Reject {
|
|
|
45611
45611
|
/**
|
|
45612
45612
|
* Clones this instance, optionally updating it with the given values.
|
|
45613
45613
|
* @param values The values to update the clone with.
|
|
45614
|
-
* @options The options to use for cloning.
|
|
45614
|
+
* @param options The options to use for cloning.
|
|
45615
45615
|
* @returns The cloned instance.
|
|
45616
45616
|
*/
|
|
45617
45617
|
clone(values = {}, options = {}) {
|
|
@@ -45774,7 +45774,7 @@ var Tombstone = class Tombstone extends Object$1 {
|
|
|
45774
45774
|
/**
|
|
45775
45775
|
* Clones this instance, optionally updating it with the given values.
|
|
45776
45776
|
* @param values The values to update the clone with.
|
|
45777
|
-
* @options The options to use for cloning.
|
|
45777
|
+
* @param options The options to use for cloning.
|
|
45778
45778
|
* @returns The cloned instance.
|
|
45779
45779
|
*/
|
|
45780
45780
|
clone(values = {}, options = {}) {
|
|
@@ -45984,7 +45984,7 @@ var Travel = class Travel extends IntransitiveActivity {
|
|
|
45984
45984
|
/**
|
|
45985
45985
|
* Clones this instance, optionally updating it with the given values.
|
|
45986
45986
|
* @param values The values to update the clone with.
|
|
45987
|
-
* @options The options to use for cloning.
|
|
45987
|
+
* @param options The options to use for cloning.
|
|
45988
45988
|
* @returns The cloned instance.
|
|
45989
45989
|
*/
|
|
45990
45990
|
clone(values = {}, options = {}) {
|
|
@@ -46148,7 +46148,7 @@ var Undo = class Undo extends Activity {
|
|
|
46148
46148
|
/**
|
|
46149
46149
|
* Clones this instance, optionally updating it with the given values.
|
|
46150
46150
|
* @param values The values to update the clone with.
|
|
46151
|
-
* @options The options to use for cloning.
|
|
46151
|
+
* @param options The options to use for cloning.
|
|
46152
46152
|
* @returns The cloned instance.
|
|
46153
46153
|
*/
|
|
46154
46154
|
clone(values = {}, options = {}) {
|
|
@@ -46319,7 +46319,7 @@ var Update = class Update extends Activity {
|
|
|
46319
46319
|
/**
|
|
46320
46320
|
* Clones this instance, optionally updating it with the given values.
|
|
46321
46321
|
* @param values The values to update the clone with.
|
|
46322
|
-
* @options The options to use for cloning.
|
|
46322
|
+
* @param options The options to use for cloning.
|
|
46323
46323
|
* @returns The cloned instance.
|
|
46324
46324
|
*/
|
|
46325
46325
|
clone(values = {}, options = {}) {
|
|
@@ -46526,7 +46526,7 @@ var Video = class Video extends Document {
|
|
|
46526
46526
|
/**
|
|
46527
46527
|
* Clones this instance, optionally updating it with the given values.
|
|
46528
46528
|
* @param values The values to update the clone with.
|
|
46529
|
-
* @options The options to use for cloning.
|
|
46529
|
+
* @param options The options to use for cloning.
|
|
46530
46530
|
* @returns The cloned instance.
|
|
46531
46531
|
*/
|
|
46532
46532
|
clone(values = {}, options = {}) {
|
|
@@ -46692,7 +46692,7 @@ var View = class View extends Activity {
|
|
|
46692
46692
|
/**
|
|
46693
46693
|
* Clones this instance, optionally updating it with the given values.
|
|
46694
46694
|
* @param values The values to update the clone with.
|
|
46695
|
-
* @options The options to use for cloning.
|
|
46695
|
+
* @param options The options to use for cloning.
|
|
46696
46696
|
* @returns The cloned instance.
|
|
46697
46697
|
*/
|
|
46698
46698
|
clone(values = {}, options = {}) {
|
|
@@ -47203,15 +47203,13 @@ async function lookupObjectInternal(identifier, options = {}) {
|
|
|
47203
47203
|
* @since 1.1.0
|
|
47204
47204
|
*/
|
|
47205
47205
|
async function* traverseCollection(collection, options = {}) {
|
|
47206
|
-
|
|
47207
|
-
|
|
47208
|
-
|
|
47209
|
-
|
|
47210
|
-
|
|
47211
|
-
|
|
47212
|
-
|
|
47213
|
-
page = await page.getNext(options);
|
|
47214
|
-
}
|
|
47206
|
+
const interval = Temporal.Duration.from(options.interval ?? { seconds: 0 }).total("millisecond");
|
|
47207
|
+
let page = await collection.getFirst(options);
|
|
47208
|
+
if (page == null) for await (const item of collection.getItems(options)) yield item;
|
|
47209
|
+
else while (page != null) {
|
|
47210
|
+
for await (const item of page.getItems(options)) yield item;
|
|
47211
|
+
if (interval > 0) await (0, es_toolkit.delay)(interval);
|
|
47212
|
+
page = await page.getNext(options);
|
|
47215
47213
|
}
|
|
47216
47214
|
}
|
|
47217
47215
|
|