document-ir 0.4.3 → 0.5.0
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/dist/index.js +2 -0
- package/dist/types.d.ts +5 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -801,6 +801,7 @@ class u {
|
|
|
801
801
|
return await this.table(t);
|
|
802
802
|
case "text":
|
|
803
803
|
return await this.text(t);
|
|
804
|
+
case "bluesky":
|
|
804
805
|
case "toot":
|
|
805
806
|
case "tweet":
|
|
806
807
|
case "vimeo":
|
|
@@ -1272,6 +1273,7 @@ class w {
|
|
|
1272
1273
|
return this.table(t);
|
|
1273
1274
|
case "text":
|
|
1274
1275
|
return this.text(t);
|
|
1276
|
+
case "bluesky":
|
|
1275
1277
|
case "toot":
|
|
1276
1278
|
case "tweet":
|
|
1277
1279
|
case "vimeo":
|
package/dist/types.d.ts
CHANGED
|
@@ -303,6 +303,10 @@ export interface TootNode extends NodeIdentity {
|
|
|
303
303
|
type: "toot";
|
|
304
304
|
id: string;
|
|
305
305
|
}
|
|
306
|
+
export interface BlueskyNode extends NodeIdentity {
|
|
307
|
+
type: "bluesky";
|
|
308
|
+
id: string;
|
|
309
|
+
}
|
|
306
310
|
export interface VimeoNode extends NodeIdentity {
|
|
307
311
|
type: "vimeo";
|
|
308
312
|
id: string;
|
|
@@ -311,7 +315,7 @@ export interface YoutubeNode extends NodeIdentity {
|
|
|
311
315
|
type: "youtube";
|
|
312
316
|
id: string;
|
|
313
317
|
}
|
|
314
|
-
export type SocialNode = TweetNode | TootNode | VimeoNode | YoutubeNode;
|
|
318
|
+
export type SocialNode = TweetNode | TootNode | BlueskyNode | VimeoNode | YoutubeNode;
|
|
315
319
|
export interface CardHeader extends NodeIdentity {
|
|
316
320
|
type: "card-header";
|
|
317
321
|
imageUrl?: string;
|