@fedify/fedify 0.15.0-dev.382 → 0.15.0-dev.383

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fedify/fedify",
3
- "version": "0.15.0-dev.382+a8a9b73b",
3
+ "version": "0.15.0-dev.383+22e07c3f",
4
4
  "description": "An ActivityPub server framework",
5
5
  "keywords": [
6
6
  "ActivityPub",
package/types/mod.d.ts CHANGED
@@ -26,7 +26,8 @@
26
26
  * following resources:
27
27
  *
28
28
  * - [GitHub](https://github.com/dahlia/fedify)
29
- * - [Tutorial](https://fedify.dev/tutorial)
29
+ * - Tutorials: [Learning the basics](https://fedify.dev/tutorial/basics)
30
+ * & [Creating a microblog](https://fedify.dev/tutorial/microblog)
30
31
  * - [Examples](https://github.com/dahlia/fedify/tree/main/examples)
31
32
  *
32
33
  * [ActivityPub]: https://www.w3.org/TR/activitypub/
@@ -1 +1 @@
1
- {"version":3,"file":"mod.d.ts","sourceRoot":"","sources":["../src/mod.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AACjC,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,OAAO,EAAE,eAAe,EAAE,KAAK,kBAAkB,EAAE,MAAM,oBAAoB,CAAC"}
1
+ {"version":3,"file":"mod.d.ts","sourceRoot":"","sources":["../src/mod.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AACjC,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,OAAO,EAAE,eAAe,EAAE,KAAK,kBAAkB,EAAE,MAAM,oBAAoB,CAAC"}
@@ -862,6 +862,7 @@ export declare class ChatMessage extends Object {
862
862
  source?: Source | null;
863
863
  proof?: DataIntegrityProof | URL | null;
864
864
  proofs?: (DataIntegrityProof | URL)[];
865
+ quoteUrl?: URL | null;
865
866
  }, { documentLoader, contextLoader, }?: {
866
867
  documentLoader?: DocumentLoader;
867
868
  contextLoader?: DocumentLoader;
@@ -919,10 +920,23 @@ export declare class ChatMessage extends Object {
919
920
  source?: Source | null;
920
921
  proof?: DataIntegrityProof | URL | null;
921
922
  proofs?: (DataIntegrityProof | URL)[];
923
+ quoteUrl?: URL | null;
922
924
  }, options?: {
923
925
  documentLoader?: DocumentLoader;
924
926
  contextLoader?: DocumentLoader;
925
927
  }): ChatMessage;
928
+ /** The URI of the ActivityStreams object that this object quotes.
929
+ *
930
+ * This property sets three JSON-LD properties at once under the hood:
931
+ *
932
+ * 1. https://www.w3.org/ns/activitystreams#quoteUrl
933
+ * 2. https://misskey-hub.net/ns#_misskey_quote
934
+ * 3. http://fedibird.com/ns#quoteUri
935
+ *
936
+ * When a JSON-LD object is parsed, this property is filled with one of
937
+ * the values of those three properties in order.
938
+ */
939
+ get quoteUrl(): URL | null;
926
940
  /**
927
941
  * Converts this object to a JSON-LD structure.
928
942
  * @param options The options to use.
@@ -3055,6 +3069,7 @@ export declare class Article extends Object {
3055
3069
  source?: Source | null;
3056
3070
  proof?: DataIntegrityProof | URL | null;
3057
3071
  proofs?: (DataIntegrityProof | URL)[];
3072
+ quoteUrl?: URL | null;
3058
3073
  }, { documentLoader, contextLoader, }?: {
3059
3074
  documentLoader?: DocumentLoader;
3060
3075
  contextLoader?: DocumentLoader;
@@ -3112,10 +3127,23 @@ export declare class Article extends Object {
3112
3127
  source?: Source | null;
3113
3128
  proof?: DataIntegrityProof | URL | null;
3114
3129
  proofs?: (DataIntegrityProof | URL)[];
3130
+ quoteUrl?: URL | null;
3115
3131
  }, options?: {
3116
3132
  documentLoader?: DocumentLoader;
3117
3133
  contextLoader?: DocumentLoader;
3118
3134
  }): Article;
3135
+ /** The URI of the ActivityStreams object that this object quotes.
3136
+ *
3137
+ * This property sets three JSON-LD properties at once under the hood:
3138
+ *
3139
+ * 1. https://www.w3.org/ns/activitystreams#quoteUrl
3140
+ * 2. https://misskey-hub.net/ns#_misskey_quote
3141
+ * 3. http://fedibird.com/ns#quoteUri
3142
+ *
3143
+ * When a JSON-LD object is parsed, this property is filled with one of
3144
+ * the values of those three properties in order.
3145
+ */
3146
+ get quoteUrl(): URL | null;
3119
3147
  /**
3120
3148
  * Converts this object to a JSON-LD structure.
3121
3149
  * @param options The options to use.
@@ -7556,6 +7584,7 @@ export declare class Note extends Object {
7556
7584
  source?: Source | null;
7557
7585
  proof?: DataIntegrityProof | URL | null;
7558
7586
  proofs?: (DataIntegrityProof | URL)[];
7587
+ quoteUrl?: URL | null;
7559
7588
  }, { documentLoader, contextLoader, }?: {
7560
7589
  documentLoader?: DocumentLoader;
7561
7590
  contextLoader?: DocumentLoader;
@@ -7613,10 +7642,23 @@ export declare class Note extends Object {
7613
7642
  source?: Source | null;
7614
7643
  proof?: DataIntegrityProof | URL | null;
7615
7644
  proofs?: (DataIntegrityProof | URL)[];
7645
+ quoteUrl?: URL | null;
7616
7646
  }, options?: {
7617
7647
  documentLoader?: DocumentLoader;
7618
7648
  contextLoader?: DocumentLoader;
7619
7649
  }): Note;
7650
+ /** The URI of the ActivityStreams object that this object quotes.
7651
+ *
7652
+ * This property sets three JSON-LD properties at once under the hood:
7653
+ *
7654
+ * 1. https://www.w3.org/ns/activitystreams#quoteUrl
7655
+ * 2. https://misskey-hub.net/ns#_misskey_quote
7656
+ * 3. http://fedibird.com/ns#quoteUri
7657
+ *
7658
+ * When a JSON-LD object is parsed, this property is filled with one of
7659
+ * the values of those three properties in order.
7660
+ */
7661
+ get quoteUrl(): URL | null;
7620
7662
  /**
7621
7663
  * Converts this object to a JSON-LD structure.
7622
7664
  * @param options The options to use.
@@ -9528,6 +9570,7 @@ export declare class Question extends IntransitiveActivity {
9528
9570
  inclusiveOptions?: (Object | URL)[];
9529
9571
  closed?: dntShim.Temporal.Instant | boolean | null;
9530
9572
  voters?: number | null;
9573
+ quoteUrl?: URL | null;
9531
9574
  }, { documentLoader, contextLoader, }?: {
9532
9575
  documentLoader?: DocumentLoader;
9533
9576
  contextLoader?: DocumentLoader;
@@ -9601,6 +9644,7 @@ export declare class Question extends IntransitiveActivity {
9601
9644
  inclusiveOptions?: (Object | URL)[];
9602
9645
  closed?: dntShim.Temporal.Instant | boolean | null;
9603
9646
  voters?: number | null;
9647
+ quoteUrl?: URL | null;
9604
9648
  }, options?: {
9605
9649
  documentLoader?: DocumentLoader;
9606
9650
  contextLoader?: DocumentLoader;
@@ -9643,6 +9687,18 @@ export declare class Question extends IntransitiveActivity {
9643
9687
  * been cast (in the case of multiple-choice polls).
9644
9688
  */
9645
9689
  get voters(): number | null;
9690
+ /** The URI of the ActivityStreams object that this object quotes.
9691
+ *
9692
+ * This property sets three JSON-LD properties at once under the hood:
9693
+ *
9694
+ * 1. https://www.w3.org/ns/activitystreams#quoteUrl
9695
+ * 2. https://misskey-hub.net/ns#_misskey_quote
9696
+ * 3. http://fedibird.com/ns#quoteUri
9697
+ *
9698
+ * When a JSON-LD object is parsed, this property is filled with one of
9699
+ * the values of those three properties in order.
9700
+ */
9701
+ get quoteUrl(): URL | null;
9646
9702
  /**
9647
9703
  * Converts this object to a JSON-LD structure.
9648
9704
  * @param options The options to use.