@atcute/bluesky 1.0.14 → 1.0.15
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/lexicons.d.ts +28 -0
- package/lib/lexicons.ts +28 -0
- package/package.json +2 -2
package/dist/lexicons.d.ts
CHANGED
|
@@ -515,6 +515,7 @@ declare module '@atcute/client/lexicons' {
|
|
|
515
515
|
namespace AppBskyEmbedVideo {
|
|
516
516
|
interface Main {
|
|
517
517
|
[Brand.Type]?: 'app.bsky.embed.video';
|
|
518
|
+
/** The mp4 video file. May be up to 100mb, formerly limited to 50mb. */
|
|
518
519
|
video: At.Blob;
|
|
519
520
|
/**
|
|
520
521
|
* Alt text description of the video, for accessibility. \
|
|
@@ -1793,6 +1794,12 @@ declare module '@atcute/client/lexicons' {
|
|
|
1793
1794
|
labels?: ComAtprotoLabelDefs.Label[];
|
|
1794
1795
|
/** Minimum: 0 */
|
|
1795
1796
|
likeCount?: number;
|
|
1797
|
+
/** The set of report reason 'codes' which are in-scope for this service to review and action. These usually align to policy categories. If not defined (distinct from empty array), all reason types are allowed. */
|
|
1798
|
+
reasonTypes?: ComAtprotoModerationDefs.ReasonType[];
|
|
1799
|
+
/** Set of record types (collection NSIDs) which can be reported to this service. If not defined (distinct from empty array), default is any record type. */
|
|
1800
|
+
subjectCollections?: string[];
|
|
1801
|
+
/** The set of subject types (account, record, etc) this service accepts reports on. */
|
|
1802
|
+
subjectTypes?: ComAtprotoModerationDefs.SubjectType[];
|
|
1796
1803
|
viewer?: LabelerViewerState;
|
|
1797
1804
|
}
|
|
1798
1805
|
interface LabelerViewerState {
|
|
@@ -1819,6 +1826,12 @@ declare module '@atcute/client/lexicons' {
|
|
|
1819
1826
|
createdAt: string;
|
|
1820
1827
|
policies: AppBskyLabelerDefs.LabelerPolicies;
|
|
1821
1828
|
labels?: Brand.Union<ComAtprotoLabelDefs.SelfLabels>;
|
|
1829
|
+
/** The set of report reason 'codes' which are in-scope for this service to review and action. These usually align to policy categories. If not defined (distinct from empty array), all reason types are allowed. */
|
|
1830
|
+
reasonTypes?: ComAtprotoModerationDefs.ReasonType[];
|
|
1831
|
+
/** Set of record types (collection NSIDs) which can be reported to this service. If not defined (distinct from empty array), default is any record type. */
|
|
1832
|
+
subjectCollections?: string[];
|
|
1833
|
+
/** The set of subject types (account, record, etc) this service accepts reports on. */
|
|
1834
|
+
subjectTypes?: ComAtprotoModerationDefs.SubjectType[];
|
|
1822
1835
|
}
|
|
1823
1836
|
}
|
|
1824
1837
|
/** Count the number of unread notifications for the requesting account. Requires auth. */
|
|
@@ -2492,6 +2505,17 @@ declare module '@atcute/client/lexicons' {
|
|
|
2492
2505
|
convo: ChatBskyConvoDefs.ConvoView;
|
|
2493
2506
|
}
|
|
2494
2507
|
}
|
|
2508
|
+
namespace ChatBskyConvoUpdateAllRead {
|
|
2509
|
+
interface Params {
|
|
2510
|
+
}
|
|
2511
|
+
interface Input {
|
|
2512
|
+
status?: 'accepted' | 'request' | (string & {});
|
|
2513
|
+
}
|
|
2514
|
+
interface Output {
|
|
2515
|
+
/** The count of updated convos. */
|
|
2516
|
+
updatedCount: number;
|
|
2517
|
+
}
|
|
2518
|
+
}
|
|
2495
2519
|
namespace ChatBskyConvoUpdateRead {
|
|
2496
2520
|
interface Params {
|
|
2497
2521
|
}
|
|
@@ -2869,6 +2893,10 @@ declare module '@atcute/client/lexicons' {
|
|
|
2869
2893
|
input: ChatBskyConvoUnmuteConvo.Input;
|
|
2870
2894
|
output: ChatBskyConvoUnmuteConvo.Output;
|
|
2871
2895
|
};
|
|
2896
|
+
'chat.bsky.convo.updateAllRead': {
|
|
2897
|
+
input: ChatBskyConvoUpdateAllRead.Input;
|
|
2898
|
+
output: ChatBskyConvoUpdateAllRead.Output;
|
|
2899
|
+
};
|
|
2872
2900
|
'chat.bsky.convo.updateRead': {
|
|
2873
2901
|
input: ChatBskyConvoUpdateRead.Input;
|
|
2874
2902
|
output: ChatBskyConvoUpdateRead.Output;
|
package/lib/lexicons.ts
CHANGED
|
@@ -567,6 +567,7 @@ declare module '@atcute/client/lexicons' {
|
|
|
567
567
|
namespace AppBskyEmbedVideo {
|
|
568
568
|
interface Main {
|
|
569
569
|
[Brand.Type]?: 'app.bsky.embed.video';
|
|
570
|
+
/** The mp4 video file. May be up to 100mb, formerly limited to 50mb. */
|
|
570
571
|
video: At.Blob;
|
|
571
572
|
/**
|
|
572
573
|
* Alt text description of the video, for accessibility. \
|
|
@@ -1933,6 +1934,12 @@ declare module '@atcute/client/lexicons' {
|
|
|
1933
1934
|
labels?: ComAtprotoLabelDefs.Label[];
|
|
1934
1935
|
/** Minimum: 0 */
|
|
1935
1936
|
likeCount?: number;
|
|
1937
|
+
/** The set of report reason 'codes' which are in-scope for this service to review and action. These usually align to policy categories. If not defined (distinct from empty array), all reason types are allowed. */
|
|
1938
|
+
reasonTypes?: ComAtprotoModerationDefs.ReasonType[];
|
|
1939
|
+
/** Set of record types (collection NSIDs) which can be reported to this service. If not defined (distinct from empty array), default is any record type. */
|
|
1940
|
+
subjectCollections?: string[];
|
|
1941
|
+
/** The set of subject types (account, record, etc) this service accepts reports on. */
|
|
1942
|
+
subjectTypes?: ComAtprotoModerationDefs.SubjectType[];
|
|
1936
1943
|
viewer?: LabelerViewerState;
|
|
1937
1944
|
}
|
|
1938
1945
|
interface LabelerViewerState {
|
|
@@ -1961,6 +1968,12 @@ declare module '@atcute/client/lexicons' {
|
|
|
1961
1968
|
createdAt: string;
|
|
1962
1969
|
policies: AppBskyLabelerDefs.LabelerPolicies;
|
|
1963
1970
|
labels?: Brand.Union<ComAtprotoLabelDefs.SelfLabels>;
|
|
1971
|
+
/** The set of report reason 'codes' which are in-scope for this service to review and action. These usually align to policy categories. If not defined (distinct from empty array), all reason types are allowed. */
|
|
1972
|
+
reasonTypes?: ComAtprotoModerationDefs.ReasonType[];
|
|
1973
|
+
/** Set of record types (collection NSIDs) which can be reported to this service. If not defined (distinct from empty array), default is any record type. */
|
|
1974
|
+
subjectCollections?: string[];
|
|
1975
|
+
/** The set of subject types (account, record, etc) this service accepts reports on. */
|
|
1976
|
+
subjectTypes?: ComAtprotoModerationDefs.SubjectType[];
|
|
1964
1977
|
}
|
|
1965
1978
|
}
|
|
1966
1979
|
|
|
@@ -2670,6 +2683,17 @@ declare module '@atcute/client/lexicons' {
|
|
|
2670
2683
|
}
|
|
2671
2684
|
}
|
|
2672
2685
|
|
|
2686
|
+
namespace ChatBskyConvoUpdateAllRead {
|
|
2687
|
+
interface Params {}
|
|
2688
|
+
interface Input {
|
|
2689
|
+
status?: 'accepted' | 'request' | (string & {});
|
|
2690
|
+
}
|
|
2691
|
+
interface Output {
|
|
2692
|
+
/** The count of updated convos. */
|
|
2693
|
+
updatedCount: number;
|
|
2694
|
+
}
|
|
2695
|
+
}
|
|
2696
|
+
|
|
2673
2697
|
namespace ChatBskyConvoUpdateRead {
|
|
2674
2698
|
interface Params {}
|
|
2675
2699
|
interface Input {
|
|
@@ -3051,6 +3075,10 @@ declare module '@atcute/client/lexicons' {
|
|
|
3051
3075
|
input: ChatBskyConvoUnmuteConvo.Input;
|
|
3052
3076
|
output: ChatBskyConvoUnmuteConvo.Output;
|
|
3053
3077
|
};
|
|
3078
|
+
'chat.bsky.convo.updateAllRead': {
|
|
3079
|
+
input: ChatBskyConvoUpdateAllRead.Input;
|
|
3080
|
+
output: ChatBskyConvoUpdateAllRead.Output;
|
|
3081
|
+
};
|
|
3054
3082
|
'chat.bsky.convo.updateRead': {
|
|
3055
3083
|
input: ChatBskyConvoUpdateRead.Input;
|
|
3056
3084
|
output: ChatBskyConvoUpdateRead.Output;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"type": "module",
|
|
3
3
|
"name": "@atcute/bluesky",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.15",
|
|
5
5
|
"description": "Bluesky type definitions for atcute",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"repository": {
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"@atcute/client": "^1.0.0 || ^2.0.0"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
|
-
"@atcute/client": "^2.0.
|
|
24
|
+
"@atcute/client": "^2.0.9",
|
|
25
25
|
"@atcute/lex-cli": "^1.0.4"
|
|
26
26
|
},
|
|
27
27
|
"scripts": {
|