@llun/activities.schema 0.1.0 → 0.1.2
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/mastodon/account.d.ts +20 -20
- package/dist/mastodon/account.js +2 -2
- package/dist/mastodon/index.d.ts +6 -0
- package/dist/mastodon/index.js +6 -0
- package/dist/mastodon/mediaAttachment/audio.d.ts +12 -12
- package/dist/mastodon/mediaAttachment/gifv.d.ts +18 -18
- package/dist/mastodon/mediaAttachment/index.d.ts +60 -60
- package/dist/mastodon/mediaAttachment/video.d.ts +30 -30
- package/dist/mastodon/status/base.d.ts +154 -154
- package/dist/mastodon/status/index.d.ts +383 -383
- package/package.json +1 -1
- package/readme.md +1 -1
- package/src/mastodon/account.ts +2 -2
- package/src/mastodon/index.ts +7 -0
package/package.json
CHANGED
package/readme.md
CHANGED
package/src/mastodon/account.ts
CHANGED
|
@@ -40,7 +40,7 @@ const BaseAccount = z.object({
|
|
|
40
40
|
description:
|
|
41
41
|
"A static version of the `header`. Equal to `header` if its value is a static image; different if `header` is an animated GIF",
|
|
42
42
|
}),
|
|
43
|
-
|
|
43
|
+
locked: z.boolean({
|
|
44
44
|
description: "Whether the actor manually approves follow requests",
|
|
45
45
|
}),
|
|
46
46
|
fields: AccountField.array().describe(
|
|
@@ -104,7 +104,7 @@ const BaseAccount = z.object({
|
|
|
104
104
|
type BaseAccount = z.infer<typeof BaseAccount>;
|
|
105
105
|
|
|
106
106
|
export const Account = BaseAccount.extend({
|
|
107
|
-
moved: BaseAccount.
|
|
107
|
+
moved: BaseAccount.nullish().describe(
|
|
108
108
|
"Indicates that the profile is currently inactive and that its user has moved to a new account"
|
|
109
109
|
),
|
|
110
110
|
});
|
package/src/mastodon/index.ts
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
1
|
export * from "./account.js";
|
|
2
2
|
export * from "./accountField.js";
|
|
3
3
|
export * from "./customEmoji.js";
|
|
4
|
+
export * from "./filterResult.js";
|
|
5
|
+
export * from "./previewCard.js";
|
|
6
|
+
|
|
7
|
+
export * from "./filter/index.js";
|
|
8
|
+
export * from "./mediaAttachment/index.js";
|
|
9
|
+
export * from "./poll/index.js";
|
|
10
|
+
export * from "./status/index.js";
|