@fedify/fedify 1.2.0-dev.452 → 1.2.0-dev.462
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGES.md +81 -1
- package/esm/federation/handler.js +1 -1
- package/esm/runtime/contexts.js +3377 -0
- package/esm/runtime/docloader.js +4 -3
- package/esm/vocab/application.yaml +10 -0
- package/esm/vocab/group.yaml +10 -0
- package/esm/vocab/lookup.js +1 -1
- package/esm/vocab/organization.yaml +10 -0
- package/esm/vocab/person.yaml +10 -0
- package/esm/vocab/service.yaml +10 -0
- package/esm/vocab/update.yaml +17 -9
- package/esm/vocab/vocab.js +433 -9
- package/package.json +1 -1
- package/types/deps/jsr.io/@std/async/{1.0.6 → 1.0.7}/delay.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/http/{1.0.8 → 1.0.9}/_negotiation/common.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/http/{1.0.8 → 1.0.9}/_negotiation/encoding.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/http/{1.0.8 → 1.0.9}/_negotiation/language.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/http/{1.0.8 → 1.0.9}/_negotiation/media_type.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/http/{1.0.8 → 1.0.9}/negotiation.d.ts.map +1 -1
- package/types/runtime/contexts.d.ts.map +1 -1
- package/types/runtime/docloader.d.ts.map +1 -1
- package/types/vocab/vocab.d.ts +25 -0
- package/types/vocab/vocab.d.ts.map +1 -1
- /package/esm/deps/jsr.io/@std/async/{1.0.6 → 1.0.7}/delay.js +0 -0
- /package/esm/deps/jsr.io/@std/http/{1.0.8 → 1.0.9}/_negotiation/common.js +0 -0
- /package/esm/deps/jsr.io/@std/http/{1.0.8 → 1.0.9}/_negotiation/encoding.js +0 -0
- /package/esm/deps/jsr.io/@std/http/{1.0.8 → 1.0.9}/_negotiation/language.js +0 -0
- /package/esm/deps/jsr.io/@std/http/{1.0.8 → 1.0.9}/_negotiation/media_type.js +0 -0
- /package/esm/deps/jsr.io/@std/http/{1.0.8 → 1.0.9}/negotiation.js +0 -0
- /package/types/deps/jsr.io/@std/async/{1.0.6 → 1.0.7}/delay.d.ts +0 -0
- /package/types/deps/jsr.io/@std/http/{1.0.8 → 1.0.9}/_negotiation/common.d.ts +0 -0
- /package/types/deps/jsr.io/@std/http/{1.0.8 → 1.0.9}/_negotiation/encoding.d.ts +0 -0
- /package/types/deps/jsr.io/@std/http/{1.0.8 → 1.0.9}/_negotiation/language.d.ts +0 -0
- /package/types/deps/jsr.io/@std/http/{1.0.8 → 1.0.9}/_negotiation/media_type.d.ts +0 -0
- /package/types/deps/jsr.io/@std/http/{1.0.8 → 1.0.9}/negotiation.d.ts +0 -0
package/esm/vocab/vocab.js
CHANGED
@@ -10393,6 +10393,7 @@ export class Application extends Object {
|
|
10393
10393
|
#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = [];
|
10394
10394
|
#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = [];
|
10395
10395
|
#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = [];
|
10396
|
+
#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage = [];
|
10396
10397
|
#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat = [];
|
10397
10398
|
/**
|
10398
10399
|
* Constructs a new instance of Application with the given values.
|
@@ -10709,6 +10710,18 @@ export class Application extends Object {
|
|
10709
10710
|
"DidService | URL" + ".");
|
10710
10711
|
}
|
10711
10712
|
}
|
10713
|
+
if ("followedMessage" in values && values.followedMessage != null) {
|
10714
|
+
if (typeof values.followedMessage === "string") {
|
10715
|
+
// @ts-ignore: type is checked above.
|
10716
|
+
this.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage = [
|
10717
|
+
values.followedMessage,
|
10718
|
+
];
|
10719
|
+
}
|
10720
|
+
else {
|
10721
|
+
throw new TypeError("The followedMessage must be of type " +
|
10722
|
+
"string" + ".");
|
10723
|
+
}
|
10724
|
+
}
|
10712
10725
|
if ("cat" in values && values.cat != null) {
|
10713
10726
|
if (typeof values.cat === "boolean") {
|
10714
10727
|
// @ts-ignore: type is checked above.
|
@@ -11078,6 +11091,20 @@ export class Application extends Object {
|
|
11078
11091
|
"DidService | URL" + ".");
|
11079
11092
|
}
|
11080
11093
|
}
|
11094
|
+
clone.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage =
|
11095
|
+
this.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage;
|
11096
|
+
if ("followedMessage" in values && values.followedMessage != null) {
|
11097
|
+
if (typeof values.followedMessage === "string") {
|
11098
|
+
// @ts-ignore: type is checked above.
|
11099
|
+
clone.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage = [
|
11100
|
+
values.followedMessage,
|
11101
|
+
];
|
11102
|
+
}
|
11103
|
+
else {
|
11104
|
+
throw new TypeError("The followedMessage must be of type " +
|
11105
|
+
"string" + ".");
|
11106
|
+
}
|
11107
|
+
}
|
11081
11108
|
clone.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat =
|
11082
11109
|
this.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat;
|
11083
11110
|
if ("cat" in values && values.cat != null) {
|
@@ -12106,6 +12133,13 @@ export class Application extends Object {
|
|
12106
12133
|
yield v;
|
12107
12134
|
}
|
12108
12135
|
}
|
12136
|
+
/** This value is used for `Actor` type objects to show message on followed.
|
12137
|
+
*/
|
12138
|
+
get followedMessage() {
|
12139
|
+
if (this.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage.length < 1)
|
12140
|
+
return null;
|
12141
|
+
return this.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage[0];
|
12142
|
+
}
|
12109
12143
|
/** Used on actors to indicate that they in some way identify as a cat,
|
12110
12144
|
* expressed as a boolean value. If this property is set to `true`,
|
12111
12145
|
* displaying the actor or their notes will have some special effects
|
@@ -12458,6 +12492,16 @@ export class Application extends Object {
|
|
12458
12492
|
: compactItems[0];
|
12459
12493
|
}
|
12460
12494
|
compactItems = [];
|
12495
|
+
for (const v of this.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage) {
|
12496
|
+
const item = v;
|
12497
|
+
compactItems.push(item);
|
12498
|
+
}
|
12499
|
+
if (compactItems.length > 0) {
|
12500
|
+
result["_misskey_followedMessage"] = compactItems.length > 1
|
12501
|
+
? compactItems
|
12502
|
+
: compactItems[0];
|
12503
|
+
}
|
12504
|
+
compactItems = [];
|
12461
12505
|
for (const v of this.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat) {
|
12462
12506
|
const item = v;
|
12463
12507
|
compactItems.push(item);
|
@@ -12491,6 +12535,7 @@ export class Application extends Object {
|
|
12491
12535
|
"PropertyValue": "schema:PropertyValue",
|
12492
12536
|
"value": "schema:value",
|
12493
12537
|
"misskey": "https://misskey-hub.net/ns#",
|
12538
|
+
"_misskey_followedMessage": "misskey:_misskey_followedMessage",
|
12494
12539
|
"isCat": "misskey:isCat",
|
12495
12540
|
},
|
12496
12541
|
];
|
@@ -12731,6 +12776,15 @@ export class Application extends Object {
|
|
12731
12776
|
values["https://www.w3.org/ns/did#service"] = propValue;
|
12732
12777
|
}
|
12733
12778
|
array = [];
|
12779
|
+
for (const v of this.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage) {
|
12780
|
+
const element = { "@value": v };
|
12781
|
+
array.push(element);
|
12782
|
+
}
|
12783
|
+
if (array.length > 0) {
|
12784
|
+
const propValue = array;
|
12785
|
+
values["https://misskey-hub.net/ns#_misskey_followedMessage"] = propValue;
|
12786
|
+
}
|
12787
|
+
array = [];
|
12734
12788
|
for (const v of this.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat) {
|
12735
12789
|
const element = { "@value": v };
|
12736
12790
|
array.push(element);
|
@@ -12767,6 +12821,7 @@ export class Application extends Object {
|
|
12767
12821
|
"PropertyValue": "schema:PropertyValue",
|
12768
12822
|
"value": "schema:value",
|
12769
12823
|
"misskey": "https://misskey-hub.net/ns#",
|
12824
|
+
"_misskey_followedMessage": "misskey:_misskey_followedMessage",
|
12770
12825
|
"isCat": "misskey:isCat",
|
12771
12826
|
},
|
12772
12827
|
];
|
@@ -13271,6 +13326,22 @@ export class Application extends Object {
|
|
13271
13326
|
}
|
13272
13327
|
instance.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service =
|
13273
13328
|
_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service;
|
13329
|
+
const _QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage = [];
|
13330
|
+
let _QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage__array = values["https://misskey-hub.net/ns#_misskey_followedMessage"];
|
13331
|
+
for (const v of _QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage__array == null
|
13332
|
+
? []
|
13333
|
+
: _QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage__array
|
13334
|
+
.length === 1 &&
|
13335
|
+
"@list" in
|
13336
|
+
_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage__array[0]
|
13337
|
+
? _QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage__array[0]["@list"]
|
13338
|
+
: _QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage__array) {
|
13339
|
+
if (v == null)
|
13340
|
+
continue;
|
13341
|
+
_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage.push(v["@value"]);
|
13342
|
+
}
|
13343
|
+
instance.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage =
|
13344
|
+
_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage;
|
13274
13345
|
const _2xEU4QtkC53RAun67T81Egqt9vmL_isCat = [];
|
13275
13346
|
let _2xEU4QtkC53RAun67T81Egqt9vmL_isCat__array = values["https://misskey-hub.net/ns#isCat"];
|
13276
13347
|
for (const v of _2xEU4QtkC53RAun67T81Egqt9vmL_isCat__array == null
|
@@ -13567,6 +13638,19 @@ export class Application extends Object {
|
|
13567
13638
|
_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service.length > 0) {
|
13568
13639
|
proxy.services = _4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service;
|
13569
13640
|
}
|
13641
|
+
const _QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage = this
|
13642
|
+
.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage
|
13643
|
+
// deno-lint-ignore no-explicit-any
|
13644
|
+
.map((v) => v instanceof URL
|
13645
|
+
? {
|
13646
|
+
[Symbol.for("Deno.customInspect")]: (inspect, options) => "URL " + inspect(v.href, options),
|
13647
|
+
[Symbol.for("nodejs.util.inspect.custom")]: (_depth, options, inspect) => "URL " + inspect(v.href, options),
|
13648
|
+
}
|
13649
|
+
: v);
|
13650
|
+
if (_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage.length == 1) {
|
13651
|
+
proxy.followedMessage =
|
13652
|
+
_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage[0];
|
13653
|
+
}
|
13570
13654
|
const _2xEU4QtkC53RAun67T81Egqt9vmL_isCat = this
|
13571
13655
|
.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat
|
13572
13656
|
// deno-lint-ignore no-explicit-any
|
@@ -18297,6 +18381,7 @@ export class Group extends Object {
|
|
18297
18381
|
#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = [];
|
18298
18382
|
#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = [];
|
18299
18383
|
#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = [];
|
18384
|
+
#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage = [];
|
18300
18385
|
#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat = [];
|
18301
18386
|
/**
|
18302
18387
|
* Constructs a new instance of Group with the given values.
|
@@ -18613,6 +18698,18 @@ export class Group extends Object {
|
|
18613
18698
|
"DidService | URL" + ".");
|
18614
18699
|
}
|
18615
18700
|
}
|
18701
|
+
if ("followedMessage" in values && values.followedMessage != null) {
|
18702
|
+
if (typeof values.followedMessage === "string") {
|
18703
|
+
// @ts-ignore: type is checked above.
|
18704
|
+
this.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage = [
|
18705
|
+
values.followedMessage,
|
18706
|
+
];
|
18707
|
+
}
|
18708
|
+
else {
|
18709
|
+
throw new TypeError("The followedMessage must be of type " +
|
18710
|
+
"string" + ".");
|
18711
|
+
}
|
18712
|
+
}
|
18616
18713
|
if ("cat" in values && values.cat != null) {
|
18617
18714
|
if (typeof values.cat === "boolean") {
|
18618
18715
|
// @ts-ignore: type is checked above.
|
@@ -18982,6 +19079,20 @@ export class Group extends Object {
|
|
18982
19079
|
"DidService | URL" + ".");
|
18983
19080
|
}
|
18984
19081
|
}
|
19082
|
+
clone.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage =
|
19083
|
+
this.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage;
|
19084
|
+
if ("followedMessage" in values && values.followedMessage != null) {
|
19085
|
+
if (typeof values.followedMessage === "string") {
|
19086
|
+
// @ts-ignore: type is checked above.
|
19087
|
+
clone.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage = [
|
19088
|
+
values.followedMessage,
|
19089
|
+
];
|
19090
|
+
}
|
19091
|
+
else {
|
19092
|
+
throw new TypeError("The followedMessage must be of type " +
|
19093
|
+
"string" + ".");
|
19094
|
+
}
|
19095
|
+
}
|
18985
19096
|
clone.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat =
|
18986
19097
|
this.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat;
|
18987
19098
|
if ("cat" in values && values.cat != null) {
|
@@ -20010,6 +20121,13 @@ export class Group extends Object {
|
|
20010
20121
|
yield v;
|
20011
20122
|
}
|
20012
20123
|
}
|
20124
|
+
/** This value is used for `Actor` type objects to show message on followed.
|
20125
|
+
*/
|
20126
|
+
get followedMessage() {
|
20127
|
+
if (this.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage.length < 1)
|
20128
|
+
return null;
|
20129
|
+
return this.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage[0];
|
20130
|
+
}
|
20013
20131
|
/** Used on actors to indicate that they in some way identify as a cat,
|
20014
20132
|
* expressed as a boolean value. If this property is set to `true`,
|
20015
20133
|
* displaying the actor or their notes will have some special effects
|
@@ -20362,6 +20480,16 @@ export class Group extends Object {
|
|
20362
20480
|
: compactItems[0];
|
20363
20481
|
}
|
20364
20482
|
compactItems = [];
|
20483
|
+
for (const v of this.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage) {
|
20484
|
+
const item = v;
|
20485
|
+
compactItems.push(item);
|
20486
|
+
}
|
20487
|
+
if (compactItems.length > 0) {
|
20488
|
+
result["_misskey_followedMessage"] = compactItems.length > 1
|
20489
|
+
? compactItems
|
20490
|
+
: compactItems[0];
|
20491
|
+
}
|
20492
|
+
compactItems = [];
|
20365
20493
|
for (const v of this.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat) {
|
20366
20494
|
const item = v;
|
20367
20495
|
compactItems.push(item);
|
@@ -20395,6 +20523,7 @@ export class Group extends Object {
|
|
20395
20523
|
"PropertyValue": "schema:PropertyValue",
|
20396
20524
|
"value": "schema:value",
|
20397
20525
|
"misskey": "https://misskey-hub.net/ns#",
|
20526
|
+
"_misskey_followedMessage": "misskey:_misskey_followedMessage",
|
20398
20527
|
"isCat": "misskey:isCat",
|
20399
20528
|
},
|
20400
20529
|
];
|
@@ -20635,6 +20764,15 @@ export class Group extends Object {
|
|
20635
20764
|
values["https://www.w3.org/ns/did#service"] = propValue;
|
20636
20765
|
}
|
20637
20766
|
array = [];
|
20767
|
+
for (const v of this.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage) {
|
20768
|
+
const element = { "@value": v };
|
20769
|
+
array.push(element);
|
20770
|
+
}
|
20771
|
+
if (array.length > 0) {
|
20772
|
+
const propValue = array;
|
20773
|
+
values["https://misskey-hub.net/ns#_misskey_followedMessage"] = propValue;
|
20774
|
+
}
|
20775
|
+
array = [];
|
20638
20776
|
for (const v of this.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat) {
|
20639
20777
|
const element = { "@value": v };
|
20640
20778
|
array.push(element);
|
@@ -20671,6 +20809,7 @@ export class Group extends Object {
|
|
20671
20809
|
"PropertyValue": "schema:PropertyValue",
|
20672
20810
|
"value": "schema:value",
|
20673
20811
|
"misskey": "https://misskey-hub.net/ns#",
|
20812
|
+
"_misskey_followedMessage": "misskey:_misskey_followedMessage",
|
20674
20813
|
"isCat": "misskey:isCat",
|
20675
20814
|
},
|
20676
20815
|
];
|
@@ -21175,6 +21314,22 @@ export class Group extends Object {
|
|
21175
21314
|
}
|
21176
21315
|
instance.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service =
|
21177
21316
|
_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service;
|
21317
|
+
const _QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage = [];
|
21318
|
+
let _QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage__array = values["https://misskey-hub.net/ns#_misskey_followedMessage"];
|
21319
|
+
for (const v of _QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage__array == null
|
21320
|
+
? []
|
21321
|
+
: _QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage__array
|
21322
|
+
.length === 1 &&
|
21323
|
+
"@list" in
|
21324
|
+
_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage__array[0]
|
21325
|
+
? _QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage__array[0]["@list"]
|
21326
|
+
: _QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage__array) {
|
21327
|
+
if (v == null)
|
21328
|
+
continue;
|
21329
|
+
_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage.push(v["@value"]);
|
21330
|
+
}
|
21331
|
+
instance.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage =
|
21332
|
+
_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage;
|
21178
21333
|
const _2xEU4QtkC53RAun67T81Egqt9vmL_isCat = [];
|
21179
21334
|
let _2xEU4QtkC53RAun67T81Egqt9vmL_isCat__array = values["https://misskey-hub.net/ns#isCat"];
|
21180
21335
|
for (const v of _2xEU4QtkC53RAun67T81Egqt9vmL_isCat__array == null
|
@@ -21471,6 +21626,19 @@ export class Group extends Object {
|
|
21471
21626
|
_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service.length > 0) {
|
21472
21627
|
proxy.services = _4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service;
|
21473
21628
|
}
|
21629
|
+
const _QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage = this
|
21630
|
+
.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage
|
21631
|
+
// deno-lint-ignore no-explicit-any
|
21632
|
+
.map((v) => v instanceof URL
|
21633
|
+
? {
|
21634
|
+
[Symbol.for("Deno.customInspect")]: (inspect, options) => "URL " + inspect(v.href, options),
|
21635
|
+
[Symbol.for("nodejs.util.inspect.custom")]: (_depth, options, inspect) => "URL " + inspect(v.href, options),
|
21636
|
+
}
|
21637
|
+
: v);
|
21638
|
+
if (_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage.length == 1) {
|
21639
|
+
proxy.followedMessage =
|
21640
|
+
_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage[0];
|
21641
|
+
}
|
21474
21642
|
const _2xEU4QtkC53RAun67T81Egqt9vmL_isCat = this
|
21475
21643
|
.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat
|
21476
21644
|
// deno-lint-ignore no-explicit-any
|
@@ -25419,6 +25587,7 @@ export class Organization extends Object {
|
|
25419
25587
|
#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = [];
|
25420
25588
|
#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = [];
|
25421
25589
|
#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = [];
|
25590
|
+
#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage = [];
|
25422
25591
|
#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat = [];
|
25423
25592
|
/**
|
25424
25593
|
* Constructs a new instance of Organization with the given values.
|
@@ -25735,6 +25904,18 @@ export class Organization extends Object {
|
|
25735
25904
|
"DidService | URL" + ".");
|
25736
25905
|
}
|
25737
25906
|
}
|
25907
|
+
if ("followedMessage" in values && values.followedMessage != null) {
|
25908
|
+
if (typeof values.followedMessage === "string") {
|
25909
|
+
// @ts-ignore: type is checked above.
|
25910
|
+
this.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage = [
|
25911
|
+
values.followedMessage,
|
25912
|
+
];
|
25913
|
+
}
|
25914
|
+
else {
|
25915
|
+
throw new TypeError("The followedMessage must be of type " +
|
25916
|
+
"string" + ".");
|
25917
|
+
}
|
25918
|
+
}
|
25738
25919
|
if ("cat" in values && values.cat != null) {
|
25739
25920
|
if (typeof values.cat === "boolean") {
|
25740
25921
|
// @ts-ignore: type is checked above.
|
@@ -26104,6 +26285,20 @@ export class Organization extends Object {
|
|
26104
26285
|
"DidService | URL" + ".");
|
26105
26286
|
}
|
26106
26287
|
}
|
26288
|
+
clone.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage =
|
26289
|
+
this.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage;
|
26290
|
+
if ("followedMessage" in values && values.followedMessage != null) {
|
26291
|
+
if (typeof values.followedMessage === "string") {
|
26292
|
+
// @ts-ignore: type is checked above.
|
26293
|
+
clone.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage = [
|
26294
|
+
values.followedMessage,
|
26295
|
+
];
|
26296
|
+
}
|
26297
|
+
else {
|
26298
|
+
throw new TypeError("The followedMessage must be of type " +
|
26299
|
+
"string" + ".");
|
26300
|
+
}
|
26301
|
+
}
|
26107
26302
|
clone.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat =
|
26108
26303
|
this.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat;
|
26109
26304
|
if ("cat" in values && values.cat != null) {
|
@@ -27132,6 +27327,13 @@ export class Organization extends Object {
|
|
27132
27327
|
yield v;
|
27133
27328
|
}
|
27134
27329
|
}
|
27330
|
+
/** This value is used for `Actor` type objects to show message on followed.
|
27331
|
+
*/
|
27332
|
+
get followedMessage() {
|
27333
|
+
if (this.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage.length < 1)
|
27334
|
+
return null;
|
27335
|
+
return this.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage[0];
|
27336
|
+
}
|
27135
27337
|
/** Used on actors to indicate that they in some way identify as a cat,
|
27136
27338
|
* expressed as a boolean value. If this property is set to `true`,
|
27137
27339
|
* displaying the actor or their notes will have some special effects
|
@@ -27484,6 +27686,16 @@ export class Organization extends Object {
|
|
27484
27686
|
: compactItems[0];
|
27485
27687
|
}
|
27486
27688
|
compactItems = [];
|
27689
|
+
for (const v of this.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage) {
|
27690
|
+
const item = v;
|
27691
|
+
compactItems.push(item);
|
27692
|
+
}
|
27693
|
+
if (compactItems.length > 0) {
|
27694
|
+
result["_misskey_followedMessage"] = compactItems.length > 1
|
27695
|
+
? compactItems
|
27696
|
+
: compactItems[0];
|
27697
|
+
}
|
27698
|
+
compactItems = [];
|
27487
27699
|
for (const v of this.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat) {
|
27488
27700
|
const item = v;
|
27489
27701
|
compactItems.push(item);
|
@@ -27517,6 +27729,7 @@ export class Organization extends Object {
|
|
27517
27729
|
"PropertyValue": "schema:PropertyValue",
|
27518
27730
|
"value": "schema:value",
|
27519
27731
|
"misskey": "https://misskey-hub.net/ns#",
|
27732
|
+
"_misskey_followedMessage": "misskey:_misskey_followedMessage",
|
27520
27733
|
"isCat": "misskey:isCat",
|
27521
27734
|
},
|
27522
27735
|
];
|
@@ -27757,6 +27970,15 @@ export class Organization extends Object {
|
|
27757
27970
|
values["https://www.w3.org/ns/did#service"] = propValue;
|
27758
27971
|
}
|
27759
27972
|
array = [];
|
27973
|
+
for (const v of this.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage) {
|
27974
|
+
const element = { "@value": v };
|
27975
|
+
array.push(element);
|
27976
|
+
}
|
27977
|
+
if (array.length > 0) {
|
27978
|
+
const propValue = array;
|
27979
|
+
values["https://misskey-hub.net/ns#_misskey_followedMessage"] = propValue;
|
27980
|
+
}
|
27981
|
+
array = [];
|
27760
27982
|
for (const v of this.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat) {
|
27761
27983
|
const element = { "@value": v };
|
27762
27984
|
array.push(element);
|
@@ -27793,6 +28015,7 @@ export class Organization extends Object {
|
|
27793
28015
|
"PropertyValue": "schema:PropertyValue",
|
27794
28016
|
"value": "schema:value",
|
27795
28017
|
"misskey": "https://misskey-hub.net/ns#",
|
28018
|
+
"_misskey_followedMessage": "misskey:_misskey_followedMessage",
|
27796
28019
|
"isCat": "misskey:isCat",
|
27797
28020
|
},
|
27798
28021
|
];
|
@@ -28297,6 +28520,22 @@ export class Organization extends Object {
|
|
28297
28520
|
}
|
28298
28521
|
instance.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service =
|
28299
28522
|
_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service;
|
28523
|
+
const _QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage = [];
|
28524
|
+
let _QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage__array = values["https://misskey-hub.net/ns#_misskey_followedMessage"];
|
28525
|
+
for (const v of _QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage__array == null
|
28526
|
+
? []
|
28527
|
+
: _QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage__array
|
28528
|
+
.length === 1 &&
|
28529
|
+
"@list" in
|
28530
|
+
_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage__array[0]
|
28531
|
+
? _QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage__array[0]["@list"]
|
28532
|
+
: _QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage__array) {
|
28533
|
+
if (v == null)
|
28534
|
+
continue;
|
28535
|
+
_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage.push(v["@value"]);
|
28536
|
+
}
|
28537
|
+
instance.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage =
|
28538
|
+
_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage;
|
28300
28539
|
const _2xEU4QtkC53RAun67T81Egqt9vmL_isCat = [];
|
28301
28540
|
let _2xEU4QtkC53RAun67T81Egqt9vmL_isCat__array = values["https://misskey-hub.net/ns#isCat"];
|
28302
28541
|
for (const v of _2xEU4QtkC53RAun67T81Egqt9vmL_isCat__array == null
|
@@ -28593,6 +28832,19 @@ export class Organization extends Object {
|
|
28593
28832
|
_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service.length > 0) {
|
28594
28833
|
proxy.services = _4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service;
|
28595
28834
|
}
|
28835
|
+
const _QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage = this
|
28836
|
+
.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage
|
28837
|
+
// deno-lint-ignore no-explicit-any
|
28838
|
+
.map((v) => v instanceof URL
|
28839
|
+
? {
|
28840
|
+
[Symbol.for("Deno.customInspect")]: (inspect, options) => "URL " + inspect(v.href, options),
|
28841
|
+
[Symbol.for("nodejs.util.inspect.custom")]: (_depth, options, inspect) => "URL " + inspect(v.href, options),
|
28842
|
+
}
|
28843
|
+
: v);
|
28844
|
+
if (_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage.length == 1) {
|
28845
|
+
proxy.followedMessage =
|
28846
|
+
_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage[0];
|
28847
|
+
}
|
28596
28848
|
const _2xEU4QtkC53RAun67T81Egqt9vmL_isCat = this
|
28597
28849
|
.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat
|
28598
28850
|
// deno-lint-ignore no-explicit-any
|
@@ -28822,6 +29074,7 @@ export class Person extends Object {
|
|
28822
29074
|
#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = [];
|
28823
29075
|
#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = [];
|
28824
29076
|
#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = [];
|
29077
|
+
#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage = [];
|
28825
29078
|
#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat = [];
|
28826
29079
|
/**
|
28827
29080
|
* Constructs a new instance of Person with the given values.
|
@@ -29138,6 +29391,18 @@ export class Person extends Object {
|
|
29138
29391
|
"DidService | URL" + ".");
|
29139
29392
|
}
|
29140
29393
|
}
|
29394
|
+
if ("followedMessage" in values && values.followedMessage != null) {
|
29395
|
+
if (typeof values.followedMessage === "string") {
|
29396
|
+
// @ts-ignore: type is checked above.
|
29397
|
+
this.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage = [
|
29398
|
+
values.followedMessage,
|
29399
|
+
];
|
29400
|
+
}
|
29401
|
+
else {
|
29402
|
+
throw new TypeError("The followedMessage must be of type " +
|
29403
|
+
"string" + ".");
|
29404
|
+
}
|
29405
|
+
}
|
29141
29406
|
if ("cat" in values && values.cat != null) {
|
29142
29407
|
if (typeof values.cat === "boolean") {
|
29143
29408
|
// @ts-ignore: type is checked above.
|
@@ -29507,6 +29772,20 @@ export class Person extends Object {
|
|
29507
29772
|
"DidService | URL" + ".");
|
29508
29773
|
}
|
29509
29774
|
}
|
29775
|
+
clone.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage =
|
29776
|
+
this.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage;
|
29777
|
+
if ("followedMessage" in values && values.followedMessage != null) {
|
29778
|
+
if (typeof values.followedMessage === "string") {
|
29779
|
+
// @ts-ignore: type is checked above.
|
29780
|
+
clone.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage = [
|
29781
|
+
values.followedMessage,
|
29782
|
+
];
|
29783
|
+
}
|
29784
|
+
else {
|
29785
|
+
throw new TypeError("The followedMessage must be of type " +
|
29786
|
+
"string" + ".");
|
29787
|
+
}
|
29788
|
+
}
|
29510
29789
|
clone.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat =
|
29511
29790
|
this.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat;
|
29512
29791
|
if ("cat" in values && values.cat != null) {
|
@@ -30535,6 +30814,13 @@ export class Person extends Object {
|
|
30535
30814
|
yield v;
|
30536
30815
|
}
|
30537
30816
|
}
|
30817
|
+
/** This value is used for `Actor` type objects to show message on followed.
|
30818
|
+
*/
|
30819
|
+
get followedMessage() {
|
30820
|
+
if (this.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage.length < 1)
|
30821
|
+
return null;
|
30822
|
+
return this.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage[0];
|
30823
|
+
}
|
30538
30824
|
/** Used on actors to indicate that they in some way identify as a cat,
|
30539
30825
|
* expressed as a boolean value. If this property is set to `true`,
|
30540
30826
|
* displaying the actor or their notes will have some special effects
|
@@ -30887,6 +31173,16 @@ export class Person extends Object {
|
|
30887
31173
|
: compactItems[0];
|
30888
31174
|
}
|
30889
31175
|
compactItems = [];
|
31176
|
+
for (const v of this.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage) {
|
31177
|
+
const item = v;
|
31178
|
+
compactItems.push(item);
|
31179
|
+
}
|
31180
|
+
if (compactItems.length > 0) {
|
31181
|
+
result["_misskey_followedMessage"] = compactItems.length > 1
|
31182
|
+
? compactItems
|
31183
|
+
: compactItems[0];
|
31184
|
+
}
|
31185
|
+
compactItems = [];
|
30890
31186
|
for (const v of this.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat) {
|
30891
31187
|
const item = v;
|
30892
31188
|
compactItems.push(item);
|
@@ -30920,6 +31216,7 @@ export class Person extends Object {
|
|
30920
31216
|
"PropertyValue": "schema:PropertyValue",
|
30921
31217
|
"value": "schema:value",
|
30922
31218
|
"misskey": "https://misskey-hub.net/ns#",
|
31219
|
+
"_misskey_followedMessage": "misskey:_misskey_followedMessage",
|
30923
31220
|
"isCat": "misskey:isCat",
|
30924
31221
|
},
|
30925
31222
|
];
|
@@ -31160,6 +31457,15 @@ export class Person extends Object {
|
|
31160
31457
|
values["https://www.w3.org/ns/did#service"] = propValue;
|
31161
31458
|
}
|
31162
31459
|
array = [];
|
31460
|
+
for (const v of this.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage) {
|
31461
|
+
const element = { "@value": v };
|
31462
|
+
array.push(element);
|
31463
|
+
}
|
31464
|
+
if (array.length > 0) {
|
31465
|
+
const propValue = array;
|
31466
|
+
values["https://misskey-hub.net/ns#_misskey_followedMessage"] = propValue;
|
31467
|
+
}
|
31468
|
+
array = [];
|
31163
31469
|
for (const v of this.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat) {
|
31164
31470
|
const element = { "@value": v };
|
31165
31471
|
array.push(element);
|
@@ -31196,6 +31502,7 @@ export class Person extends Object {
|
|
31196
31502
|
"PropertyValue": "schema:PropertyValue",
|
31197
31503
|
"value": "schema:value",
|
31198
31504
|
"misskey": "https://misskey-hub.net/ns#",
|
31505
|
+
"_misskey_followedMessage": "misskey:_misskey_followedMessage",
|
31199
31506
|
"isCat": "misskey:isCat",
|
31200
31507
|
},
|
31201
31508
|
];
|
@@ -31700,6 +32007,22 @@ export class Person extends Object {
|
|
31700
32007
|
}
|
31701
32008
|
instance.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service =
|
31702
32009
|
_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service;
|
32010
|
+
const _QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage = [];
|
32011
|
+
let _QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage__array = values["https://misskey-hub.net/ns#_misskey_followedMessage"];
|
32012
|
+
for (const v of _QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage__array == null
|
32013
|
+
? []
|
32014
|
+
: _QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage__array
|
32015
|
+
.length === 1 &&
|
32016
|
+
"@list" in
|
32017
|
+
_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage__array[0]
|
32018
|
+
? _QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage__array[0]["@list"]
|
32019
|
+
: _QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage__array) {
|
32020
|
+
if (v == null)
|
32021
|
+
continue;
|
32022
|
+
_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage.push(v["@value"]);
|
32023
|
+
}
|
32024
|
+
instance.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage =
|
32025
|
+
_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage;
|
31703
32026
|
const _2xEU4QtkC53RAun67T81Egqt9vmL_isCat = [];
|
31704
32027
|
let _2xEU4QtkC53RAun67T81Egqt9vmL_isCat__array = values["https://misskey-hub.net/ns#isCat"];
|
31705
32028
|
for (const v of _2xEU4QtkC53RAun67T81Egqt9vmL_isCat__array == null
|
@@ -31996,6 +32319,19 @@ export class Person extends Object {
|
|
31996
32319
|
_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service.length > 0) {
|
31997
32320
|
proxy.services = _4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service;
|
31998
32321
|
}
|
32322
|
+
const _QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage = this
|
32323
|
+
.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage
|
32324
|
+
// deno-lint-ignore no-explicit-any
|
32325
|
+
.map((v) => v instanceof URL
|
32326
|
+
? {
|
32327
|
+
[Symbol.for("Deno.customInspect")]: (inspect, options) => "URL " + inspect(v.href, options),
|
32328
|
+
[Symbol.for("nodejs.util.inspect.custom")]: (_depth, options, inspect) => "URL " + inspect(v.href, options),
|
32329
|
+
}
|
32330
|
+
: v);
|
32331
|
+
if (_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage.length == 1) {
|
32332
|
+
proxy.followedMessage =
|
32333
|
+
_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage[0];
|
32334
|
+
}
|
31999
32335
|
const _2xEU4QtkC53RAun67T81Egqt9vmL_isCat = this
|
32000
32336
|
.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat
|
32001
32337
|
// deno-lint-ignore no-explicit-any
|
@@ -34919,6 +35255,7 @@ export class Service extends Object {
|
|
34919
35255
|
#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = [];
|
34920
35256
|
#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = [];
|
34921
35257
|
#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = [];
|
35258
|
+
#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage = [];
|
34922
35259
|
#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat = [];
|
34923
35260
|
/**
|
34924
35261
|
* Constructs a new instance of Service with the given values.
|
@@ -35235,6 +35572,18 @@ export class Service extends Object {
|
|
35235
35572
|
"DidService | URL" + ".");
|
35236
35573
|
}
|
35237
35574
|
}
|
35575
|
+
if ("followedMessage" in values && values.followedMessage != null) {
|
35576
|
+
if (typeof values.followedMessage === "string") {
|
35577
|
+
// @ts-ignore: type is checked above.
|
35578
|
+
this.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage = [
|
35579
|
+
values.followedMessage,
|
35580
|
+
];
|
35581
|
+
}
|
35582
|
+
else {
|
35583
|
+
throw new TypeError("The followedMessage must be of type " +
|
35584
|
+
"string" + ".");
|
35585
|
+
}
|
35586
|
+
}
|
35238
35587
|
if ("cat" in values && values.cat != null) {
|
35239
35588
|
if (typeof values.cat === "boolean") {
|
35240
35589
|
// @ts-ignore: type is checked above.
|
@@ -35604,6 +35953,20 @@ export class Service extends Object {
|
|
35604
35953
|
"DidService | URL" + ".");
|
35605
35954
|
}
|
35606
35955
|
}
|
35956
|
+
clone.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage =
|
35957
|
+
this.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage;
|
35958
|
+
if ("followedMessage" in values && values.followedMessage != null) {
|
35959
|
+
if (typeof values.followedMessage === "string") {
|
35960
|
+
// @ts-ignore: type is checked above.
|
35961
|
+
clone.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage = [
|
35962
|
+
values.followedMessage,
|
35963
|
+
];
|
35964
|
+
}
|
35965
|
+
else {
|
35966
|
+
throw new TypeError("The followedMessage must be of type " +
|
35967
|
+
"string" + ".");
|
35968
|
+
}
|
35969
|
+
}
|
35607
35970
|
clone.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat =
|
35608
35971
|
this.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat;
|
35609
35972
|
if ("cat" in values && values.cat != null) {
|
@@ -36632,6 +36995,13 @@ export class Service extends Object {
|
|
36632
36995
|
yield v;
|
36633
36996
|
}
|
36634
36997
|
}
|
36998
|
+
/** This value is used for `Actor` type objects to show message on followed.
|
36999
|
+
*/
|
37000
|
+
get followedMessage() {
|
37001
|
+
if (this.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage.length < 1)
|
37002
|
+
return null;
|
37003
|
+
return this.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage[0];
|
37004
|
+
}
|
36635
37005
|
/** Used on actors to indicate that they in some way identify as a cat,
|
36636
37006
|
* expressed as a boolean value. If this property is set to `true`,
|
36637
37007
|
* displaying the actor or their notes will have some special effects
|
@@ -36984,6 +37354,16 @@ export class Service extends Object {
|
|
36984
37354
|
: compactItems[0];
|
36985
37355
|
}
|
36986
37356
|
compactItems = [];
|
37357
|
+
for (const v of this.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage) {
|
37358
|
+
const item = v;
|
37359
|
+
compactItems.push(item);
|
37360
|
+
}
|
37361
|
+
if (compactItems.length > 0) {
|
37362
|
+
result["_misskey_followedMessage"] = compactItems.length > 1
|
37363
|
+
? compactItems
|
37364
|
+
: compactItems[0];
|
37365
|
+
}
|
37366
|
+
compactItems = [];
|
36987
37367
|
for (const v of this.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat) {
|
36988
37368
|
const item = v;
|
36989
37369
|
compactItems.push(item);
|
@@ -37017,6 +37397,7 @@ export class Service extends Object {
|
|
37017
37397
|
"PropertyValue": "schema:PropertyValue",
|
37018
37398
|
"value": "schema:value",
|
37019
37399
|
"misskey": "https://misskey-hub.net/ns#",
|
37400
|
+
"_misskey_followedMessage": "misskey:_misskey_followedMessage",
|
37020
37401
|
"isCat": "misskey:isCat",
|
37021
37402
|
},
|
37022
37403
|
];
|
@@ -37257,6 +37638,15 @@ export class Service extends Object {
|
|
37257
37638
|
values["https://www.w3.org/ns/did#service"] = propValue;
|
37258
37639
|
}
|
37259
37640
|
array = [];
|
37641
|
+
for (const v of this.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage) {
|
37642
|
+
const element = { "@value": v };
|
37643
|
+
array.push(element);
|
37644
|
+
}
|
37645
|
+
if (array.length > 0) {
|
37646
|
+
const propValue = array;
|
37647
|
+
values["https://misskey-hub.net/ns#_misskey_followedMessage"] = propValue;
|
37648
|
+
}
|
37649
|
+
array = [];
|
37260
37650
|
for (const v of this.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat) {
|
37261
37651
|
const element = { "@value": v };
|
37262
37652
|
array.push(element);
|
@@ -37293,6 +37683,7 @@ export class Service extends Object {
|
|
37293
37683
|
"PropertyValue": "schema:PropertyValue",
|
37294
37684
|
"value": "schema:value",
|
37295
37685
|
"misskey": "https://misskey-hub.net/ns#",
|
37686
|
+
"_misskey_followedMessage": "misskey:_misskey_followedMessage",
|
37296
37687
|
"isCat": "misskey:isCat",
|
37297
37688
|
},
|
37298
37689
|
];
|
@@ -37797,6 +38188,22 @@ export class Service extends Object {
|
|
37797
38188
|
}
|
37798
38189
|
instance.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service =
|
37799
38190
|
_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service;
|
38191
|
+
const _QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage = [];
|
38192
|
+
let _QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage__array = values["https://misskey-hub.net/ns#_misskey_followedMessage"];
|
38193
|
+
for (const v of _QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage__array == null
|
38194
|
+
? []
|
38195
|
+
: _QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage__array
|
38196
|
+
.length === 1 &&
|
38197
|
+
"@list" in
|
38198
|
+
_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage__array[0]
|
38199
|
+
? _QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage__array[0]["@list"]
|
38200
|
+
: _QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage__array) {
|
38201
|
+
if (v == null)
|
38202
|
+
continue;
|
38203
|
+
_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage.push(v["@value"]);
|
38204
|
+
}
|
38205
|
+
instance.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage =
|
38206
|
+
_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage;
|
37800
38207
|
const _2xEU4QtkC53RAun67T81Egqt9vmL_isCat = [];
|
37801
38208
|
let _2xEU4QtkC53RAun67T81Egqt9vmL_isCat__array = values["https://misskey-hub.net/ns#isCat"];
|
37802
38209
|
for (const v of _2xEU4QtkC53RAun67T81Egqt9vmL_isCat__array == null
|
@@ -38093,6 +38500,19 @@ export class Service extends Object {
|
|
38093
38500
|
_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service.length > 0) {
|
38094
38501
|
proxy.services = _4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service;
|
38095
38502
|
}
|
38503
|
+
const _QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage = this
|
38504
|
+
.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage
|
38505
|
+
// deno-lint-ignore no-explicit-any
|
38506
|
+
.map((v) => v instanceof URL
|
38507
|
+
? {
|
38508
|
+
[Symbol.for("Deno.customInspect")]: (inspect, options) => "URL " + inspect(v.href, options),
|
38509
|
+
[Symbol.for("nodejs.util.inspect.custom")]: (_depth, options, inspect) => "URL " + inspect(v.href, options),
|
38510
|
+
}
|
38511
|
+
: v);
|
38512
|
+
if (_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage.length == 1) {
|
38513
|
+
proxy.followedMessage =
|
38514
|
+
_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage[0];
|
38515
|
+
}
|
38096
38516
|
const _2xEU4QtkC53RAun67T81Egqt9vmL_isCat = this
|
38097
38517
|
.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat
|
38098
38518
|
// deno-lint-ignore no-explicit-any
|
@@ -39471,26 +39891,30 @@ export class Update extends Activity {
|
|
39471
39891
|
"https://www.w3.org/ns/activitystreams",
|
39472
39892
|
"https://w3id.org/security/data-integrity/v1",
|
39473
39893
|
{
|
39474
|
-
"
|
39475
|
-
"
|
39476
|
-
"misskey": "https://misskey-hub.net/ns#",
|
39477
|
-
"fedibird": "http://fedibird.com/ns#",
|
39478
|
-
"PropertyValue": "schema:PropertyValue",
|
39479
|
-
"value": "schema:value",
|
39894
|
+
"alsoKnownAs": { "@id": "as:alsoKnownAs", "@type": "@id" },
|
39895
|
+
"manuallyApprovesFollowers": "as:manuallyApprovesFollowers",
|
39480
39896
|
"sensitive": "as:sensitive",
|
39481
|
-
"
|
39897
|
+
"movedTo": { "@id": "as:movedTo", "@type": "@id" },
|
39898
|
+
"quoteUrl": "as:quoteUrl",
|
39899
|
+
"toot": "http://joinmastodon.org/ns#",
|
39482
39900
|
"featured": { "@id": "toot:featured", "@type": "@id" },
|
39483
39901
|
"featuredTags": { "@id": "toot:featuredTags", "@type": "@id" },
|
39484
39902
|
"discoverable": "toot:discoverable",
|
39485
39903
|
"suspended": "toot:suspended",
|
39486
39904
|
"memorial": "toot:memorial",
|
39487
39905
|
"indexable": "toot:indexable",
|
39906
|
+
"votersCount": "toot:votersCount",
|
39488
39907
|
"Emoji": "toot:Emoji",
|
39489
39908
|
"Hashtag": "as:Hashtag",
|
39909
|
+
"schema": "http://schema.org#",
|
39910
|
+
"PropertyValue": "schema:PropertyValue",
|
39911
|
+
"value": "schema:value",
|
39490
39912
|
"ChatMessage": "http://litepub.social/ns#ChatMessage",
|
39491
|
-
"
|
39492
|
-
"_misskey_quote": "misskey:_misskey_quote",
|
39913
|
+
"fedibird": "http://fedibird.com/ns#",
|
39493
39914
|
"quoteUri": "fedibird:quoteUri",
|
39915
|
+
"misskey": "https://misskey-hub.net/ns#",
|
39916
|
+
"_misskey_quote": "misskey:_misskey_quote",
|
39917
|
+
"_misskey_followedMessage": "misskey:_misskey_followedMessage",
|
39494
39918
|
"isCat": "misskey:isCat",
|
39495
39919
|
},
|
39496
39920
|
];
|