@atproto/pds 0.4.21 → 0.4.23
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +16 -0
- package/dist/actor-store/blob/reader.d.ts +4 -0
- package/dist/actor-store/blob/reader.d.ts.map +1 -1
- package/dist/actor-store/blob/reader.js +9 -3
- package/dist/actor-store/blob/reader.js.map +1 -1
- package/dist/api/com/atproto/repo/putRecord.d.ts.map +1 -1
- package/dist/api/com/atproto/repo/putRecord.js +19 -1
- package/dist/api/com/atproto/repo/putRecord.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/lexicon/index.d.ts +59 -0
- package/dist/lexicon/index.d.ts.map +1 -1
- package/dist/lexicon/index.js +164 -1
- package/dist/lexicon/index.js.map +1 -1
- package/dist/lexicon/lexicons.d.ts +912 -0
- package/dist/lexicon/lexicons.d.ts.map +1 -1
- package/dist/lexicon/lexicons.js +938 -0
- package/dist/lexicon/lexicons.js.map +1 -1
- package/dist/lexicon/types/app/bsky/actor/defs.d.ts +7 -0
- package/dist/lexicon/types/app/bsky/actor/defs.d.ts.map +1 -1
- package/dist/lexicon/types/app/bsky/actor/defs.js +11 -1
- package/dist/lexicon/types/app/bsky/actor/defs.js.map +1 -1
- package/dist/lexicon/types/chat/bsky/actor/declaration.d.ts +11 -0
- package/dist/lexicon/types/chat/bsky/actor/declaration.d.ts.map +1 -0
- package/dist/lexicon/types/chat/bsky/actor/declaration.js +17 -0
- package/dist/lexicon/types/chat/bsky/actor/declaration.js.map +1 -0
- package/dist/lexicon/types/chat/bsky/actor/defs.d.ts +21 -0
- package/dist/lexicon/types/chat/bsky/actor/defs.d.ts.map +1 -0
- package/dist/lexicon/types/chat/bsky/actor/defs.js +16 -0
- package/dist/lexicon/types/chat/bsky/actor/defs.js.map +1 -0
- package/dist/lexicon/types/chat/bsky/actor/deleteAccount.d.ts +33 -0
- package/dist/lexicon/types/chat/bsky/actor/deleteAccount.d.ts.map +1 -0
- package/dist/lexicon/types/chat/bsky/actor/deleteAccount.js +3 -0
- package/dist/lexicon/types/chat/bsky/actor/deleteAccount.js.map +1 -0
- package/dist/lexicon/types/chat/bsky/actor/exportAccountData.d.ts +32 -0
- package/dist/lexicon/types/chat/bsky/actor/exportAccountData.d.ts.map +1 -0
- package/dist/lexicon/types/chat/bsky/actor/exportAccountData.js +3 -0
- package/dist/lexicon/types/chat/bsky/actor/exportAccountData.js.map +1 -0
- package/dist/lexicon/types/chat/bsky/convo/defs.d.ts +109 -0
- package/dist/lexicon/types/chat/bsky/convo/defs.d.ts.map +1 -0
- package/dist/lexicon/types/chat/bsky/convo/defs.js +106 -0
- package/dist/lexicon/types/chat/bsky/convo/defs.js.map +1 -0
- package/dist/lexicon/types/chat/bsky/convo/deleteMessageForSelf.d.ts +39 -0
- package/dist/lexicon/types/chat/bsky/convo/deleteMessageForSelf.d.ts.map +1 -0
- package/dist/lexicon/types/chat/bsky/convo/deleteMessageForSelf.js +3 -0
- package/dist/lexicon/types/chat/bsky/convo/deleteMessageForSelf.js.map +1 -0
- package/dist/lexicon/types/chat/bsky/convo/getConvo.d.ts +36 -0
- package/dist/lexicon/types/chat/bsky/convo/getConvo.d.ts.map +1 -0
- package/dist/lexicon/types/chat/bsky/convo/getConvo.js +3 -0
- package/dist/lexicon/types/chat/bsky/convo/getConvo.js.map +1 -0
- package/dist/lexicon/types/chat/bsky/convo/getConvoForMembers.d.ts +36 -0
- package/dist/lexicon/types/chat/bsky/convo/getConvoForMembers.d.ts.map +1 -0
- package/dist/lexicon/types/chat/bsky/convo/getConvoForMembers.js +3 -0
- package/dist/lexicon/types/chat/bsky/convo/getConvoForMembers.js.map +1 -0
- package/dist/lexicon/types/chat/bsky/convo/getLog.d.ts +40 -0
- package/dist/lexicon/types/chat/bsky/convo/getLog.d.ts.map +1 -0
- package/dist/lexicon/types/chat/bsky/convo/getLog.js +3 -0
- package/dist/lexicon/types/chat/bsky/convo/getLog.js.map +1 -0
- package/dist/lexicon/types/chat/bsky/convo/getMessages.d.ts +42 -0
- package/dist/lexicon/types/chat/bsky/convo/getMessages.d.ts.map +1 -0
- package/dist/lexicon/types/chat/bsky/convo/getMessages.js +3 -0
- package/dist/lexicon/types/chat/bsky/convo/getMessages.js.map +1 -0
- package/dist/lexicon/types/chat/bsky/convo/leaveConvo.d.ts +41 -0
- package/dist/lexicon/types/chat/bsky/convo/leaveConvo.d.ts.map +1 -0
- package/dist/lexicon/types/chat/bsky/convo/leaveConvo.js +3 -0
- package/dist/lexicon/types/chat/bsky/convo/leaveConvo.js.map +1 -0
- package/dist/lexicon/types/chat/bsky/convo/listConvos.d.ts +38 -0
- package/dist/lexicon/types/chat/bsky/convo/listConvos.d.ts.map +1 -0
- package/dist/lexicon/types/chat/bsky/convo/listConvos.js +3 -0
- package/dist/lexicon/types/chat/bsky/convo/listConvos.js.map +1 -0
- package/dist/lexicon/types/chat/bsky/convo/muteConvo.d.ts +41 -0
- package/dist/lexicon/types/chat/bsky/convo/muteConvo.d.ts.map +1 -0
- package/dist/lexicon/types/chat/bsky/convo/muteConvo.js +3 -0
- package/dist/lexicon/types/chat/bsky/convo/muteConvo.js.map +1 -0
- package/dist/lexicon/types/chat/bsky/convo/sendMessage.d.ts +39 -0
- package/dist/lexicon/types/chat/bsky/convo/sendMessage.d.ts.map +1 -0
- package/dist/lexicon/types/chat/bsky/convo/sendMessage.js +3 -0
- package/dist/lexicon/types/chat/bsky/convo/sendMessage.js.map +1 -0
- package/dist/lexicon/types/chat/bsky/convo/sendMessageBatch.d.ts +49 -0
- package/dist/lexicon/types/chat/bsky/convo/sendMessageBatch.d.ts.map +1 -0
- package/dist/lexicon/types/chat/bsky/convo/sendMessageBatch.js +16 -0
- package/dist/lexicon/types/chat/bsky/convo/sendMessageBatch.js.map +1 -0
- package/dist/lexicon/types/chat/bsky/convo/unmuteConvo.d.ts +41 -0
- package/dist/lexicon/types/chat/bsky/convo/unmuteConvo.d.ts.map +1 -0
- package/dist/lexicon/types/chat/bsky/convo/unmuteConvo.js +3 -0
- package/dist/lexicon/types/chat/bsky/convo/unmuteConvo.js.map +1 -0
- package/dist/lexicon/types/chat/bsky/convo/updateRead.d.ts +42 -0
- package/dist/lexicon/types/chat/bsky/convo/updateRead.d.ts.map +1 -0
- package/dist/lexicon/types/chat/bsky/convo/updateRead.js +3 -0
- package/dist/lexicon/types/chat/bsky/convo/updateRead.js.map +1 -0
- package/dist/lexicon/types/chat/bsky/moderation/getActorMetadata.d.ts +47 -0
- package/dist/lexicon/types/chat/bsky/moderation/getActorMetadata.d.ts.map +1 -0
- package/dist/lexicon/types/chat/bsky/moderation/getActorMetadata.js +16 -0
- package/dist/lexicon/types/chat/bsky/moderation/getActorMetadata.js.map +1 -0
- package/dist/lexicon/types/chat/bsky/moderation/getMessageContext.d.ts +43 -0
- package/dist/lexicon/types/chat/bsky/moderation/getMessageContext.d.ts.map +1 -0
- package/dist/lexicon/types/chat/bsky/moderation/getMessageContext.js +3 -0
- package/dist/lexicon/types/chat/bsky/moderation/getMessageContext.js.map +1 -0
- package/dist/lexicon/types/chat/bsky/moderation/updateActorAccess.d.ts +31 -0
- package/dist/lexicon/types/chat/bsky/moderation/updateActorAccess.d.ts.map +1 -0
- package/dist/lexicon/types/chat/bsky/moderation/updateActorAccess.js +3 -0
- package/dist/lexicon/types/chat/bsky/moderation/updateActorAccess.js.map +1 -0
- package/dist/lexicon/types/tools/ozone/moderation/defs.d.ts +2 -1
- package/dist/lexicon/types/tools/ozone/moderation/defs.d.ts.map +1 -1
- package/dist/lexicon/types/tools/ozone/moderation/defs.js.map +1 -1
- package/package.json +9 -9
- package/src/actor-store/blob/reader.ts +13 -4
- package/src/api/com/atproto/repo/putRecord.ts +34 -1
- package/src/index.ts +1 -1
- package/src/lexicon/index.ts +254 -0
- package/src/lexicon/lexicons.ts +940 -0
- package/src/lexicon/types/app/bsky/actor/defs.ts +20 -0
- package/src/lexicon/types/chat/bsky/actor/declaration.ts +25 -0
- package/src/lexicon/types/chat/bsky/actor/defs.ts +34 -0
- package/src/lexicon/types/chat/bsky/actor/deleteAccount.ts +42 -0
- package/src/lexicon/types/chat/bsky/actor/exportAccountData.ts +38 -0
- package/src/lexicon/types/chat/bsky/convo/defs.ts +215 -0
- package/src/lexicon/types/chat/bsky/convo/deleteMessageForSelf.ts +48 -0
- package/src/lexicon/types/chat/bsky/convo/getConvo.ts +46 -0
- package/src/lexicon/types/chat/bsky/convo/getConvoForMembers.ts +46 -0
- package/src/lexicon/types/chat/bsky/convo/getLog.ts +53 -0
- package/src/lexicon/types/chat/bsky/convo/getMessages.ts +53 -0
- package/src/lexicon/types/chat/bsky/convo/leaveConvo.ts +50 -0
- package/src/lexicon/types/chat/bsky/convo/listConvos.ts +48 -0
- package/src/lexicon/types/chat/bsky/convo/muteConvo.ts +50 -0
- package/src/lexicon/types/chat/bsky/convo/sendMessage.ts +48 -0
- package/src/lexicon/types/chat/bsky/convo/sendMessageBatch.ts +68 -0
- package/src/lexicon/types/chat/bsky/convo/unmuteConvo.ts +50 -0
- package/src/lexicon/types/chat/bsky/convo/updateRead.ts +51 -0
- package/src/lexicon/types/chat/bsky/moderation/getActorMetadata.ts +67 -0
- package/src/lexicon/types/chat/bsky/moderation/getMessageContext.ts +54 -0
- package/src/lexicon/types/chat/bsky/moderation/updateActorAccess.ts +40 -0
- package/src/lexicon/types/tools/ozone/moderation/defs.ts +2 -0
- package/tests/crud.test.ts +30 -0
- package/tests/server.test.ts +1 -1
@@ -52,10 +52,17 @@ export interface ProfileAssociated {
|
|
52
52
|
lists?: number;
|
53
53
|
feedgens?: number;
|
54
54
|
labeler?: boolean;
|
55
|
+
chat?: ProfileAssociatedChat;
|
55
56
|
[k: string]: unknown;
|
56
57
|
}
|
57
58
|
export declare function isProfileAssociated(v: unknown): v is ProfileAssociated;
|
58
59
|
export declare function validateProfileAssociated(v: unknown): ValidationResult;
|
60
|
+
export interface ProfileAssociatedChat {
|
61
|
+
allowIncoming: 'all' | 'none' | 'following' | (string & {});
|
62
|
+
[k: string]: unknown;
|
63
|
+
}
|
64
|
+
export declare function isProfileAssociatedChat(v: unknown): v is ProfileAssociatedChat;
|
65
|
+
export declare function validateProfileAssociatedChat(v: unknown): ValidationResult;
|
59
66
|
/** Metadata about the requesting account's relationship with the subject account. Only has meaningful content for authed requests. */
|
60
67
|
export interface ViewerState {
|
61
68
|
muted?: boolean;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"defs.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/actor/defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAI5D,OAAO,KAAK,mBAAmB,MAAM,iCAAiC,CAAA;AACtE,OAAO,KAAK,gBAAgB,MAAM,eAAe,CAAA;AAEjD,MAAM,WAAW,gBAAgB;IAC/B,GAAG,EAAE,MAAM,CAAA;IACX,MAAM,EAAE,MAAM,CAAA;IACd,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,UAAU,CAAC,EAAE,iBAAiB,CAAA;IAC9B,MAAM,CAAC,EAAE,WAAW,CAAA;IACpB,MAAM,CAAC,EAAE,mBAAmB,CAAC,KAAK,EAAE,CAAA;IACpC,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAED,wBAAgB,kBAAkB,CAAC,CAAC,EAAE,OAAO,GAAG,CAAC,IAAI,gBAAgB,CAMpE;AAED,wBAAgB,wBAAwB,CAAC,CAAC,EAAE,OAAO,GAAG,gBAAgB,CAErE;AAED,MAAM,WAAW,WAAW;IAC1B,GAAG,EAAE,MAAM,CAAA;IACX,MAAM,EAAE,MAAM,CAAA;IACd,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,UAAU,CAAC,EAAE,iBAAiB,CAAA;IAC9B,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,MAAM,CAAC,EAAE,WAAW,CAAA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";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.validateLabelerPrefItem = exports.isLabelerPrefItem = exports.validateLabelersPref = exports.isLabelersPref = exports.validateHiddenPostsPref = exports.isHiddenPostsPref = exports.validateMutedWordsPref = exports.isMutedWordsPref = exports.validateMutedWord = exports.isMutedWord = exports.validateInterestsPref = exports.isInterestsPref = exports.validateThreadViewPref = exports.isThreadViewPref = exports.validateFeedViewPref = exports.isFeedViewPref = exports.validatePersonalDetailsPref = exports.isPersonalDetailsPref = exports.validateSavedFeedsPref = exports.isSavedFeedsPref = exports.validateSavedFeedsPrefV2 = exports.isSavedFeedsPrefV2 = exports.validateSavedFeed = exports.isSavedFeed = exports.validateContentLabelPref = exports.isContentLabelPref = exports.validateAdultContentPref = exports.isAdultContentPref = exports.validateViewerState = exports.isViewerState = exports.validateProfileAssociated = exports.isProfileAssociated = exports.validateProfileViewDetailed = exports.isProfileViewDetailed = exports.validateProfileView = exports.isProfileView = exports.validateProfileViewBasic = exports.isProfileViewBasic = void 0;
|
3
|
+
exports.validateLabelerPrefItem = exports.isLabelerPrefItem = exports.validateLabelersPref = exports.isLabelersPref = exports.validateHiddenPostsPref = exports.isHiddenPostsPref = exports.validateMutedWordsPref = exports.isMutedWordsPref = exports.validateMutedWord = exports.isMutedWord = exports.validateInterestsPref = exports.isInterestsPref = exports.validateThreadViewPref = exports.isThreadViewPref = exports.validateFeedViewPref = exports.isFeedViewPref = exports.validatePersonalDetailsPref = exports.isPersonalDetailsPref = exports.validateSavedFeedsPref = exports.isSavedFeedsPref = exports.validateSavedFeedsPrefV2 = exports.isSavedFeedsPrefV2 = exports.validateSavedFeed = exports.isSavedFeed = exports.validateContentLabelPref = exports.isContentLabelPref = exports.validateAdultContentPref = exports.isAdultContentPref = exports.validateViewerState = exports.isViewerState = exports.validateProfileAssociatedChat = exports.isProfileAssociatedChat = exports.validateProfileAssociated = exports.isProfileAssociated = exports.validateProfileViewDetailed = exports.isProfileViewDetailed = exports.validateProfileView = exports.isProfileView = exports.validateProfileViewBasic = exports.isProfileViewBasic = void 0;
|
4
4
|
const lexicons_1 = require("../../../../lexicons");
|
5
5
|
const util_1 = require("../../../../util");
|
6
6
|
function isProfileViewBasic(v) {
|
@@ -43,6 +43,16 @@ function validateProfileAssociated(v) {
|
|
43
43
|
return lexicons_1.lexicons.validate('app.bsky.actor.defs#profileAssociated', v);
|
44
44
|
}
|
45
45
|
exports.validateProfileAssociated = validateProfileAssociated;
|
46
|
+
function isProfileAssociatedChat(v) {
|
47
|
+
return ((0, util_1.isObj)(v) &&
|
48
|
+
(0, util_1.hasProp)(v, '$type') &&
|
49
|
+
v.$type === 'app.bsky.actor.defs#profileAssociatedChat');
|
50
|
+
}
|
51
|
+
exports.isProfileAssociatedChat = isProfileAssociatedChat;
|
52
|
+
function validateProfileAssociatedChat(v) {
|
53
|
+
return lexicons_1.lexicons.validate('app.bsky.actor.defs#profileAssociatedChat', v);
|
54
|
+
}
|
55
|
+
exports.validateProfileAssociatedChat = validateProfileAssociatedChat;
|
46
56
|
function isViewerState(v) {
|
47
57
|
return ((0, util_1.isObj)(v) &&
|
48
58
|
(0, util_1.hasProp)(v, '$type') &&
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"defs.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/actor/defs.ts"],"names":[],"mappings":";;;AAIA,mDAA+C;AAC/C,2CAAiD;AAgBjD,SAAgB,kBAAkB,CAAC,CAAU;IAC3C,OAAO,CACL,IAAA,YAAK,EAAC,CAAC,CAAC;QACR,IAAA,cAAO,EAAC,CAAC,EAAE,OAAO,CAAC;QACnB,CAAC,CAAC,KAAK,KAAK,sCAAsC,CACnD,CAAA;AACH,CAAC;AAND,gDAMC;AAED,SAAgB,wBAAwB,CAAC,CAAU;IACjD,OAAO,mBAAQ,CAAC,QAAQ,CAAC,sCAAsC,EAAE,CAAC,CAAC,CAAA;AACrE,CAAC;AAFD,4DAEC;AAeD,SAAgB,aA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pE,CAAC;AAFD,0DAEC"}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
/**
|
2
|
+
* GENERATED CODE - DO NOT MODIFY
|
3
|
+
*/
|
4
|
+
import { ValidationResult } from '@atproto/lexicon';
|
5
|
+
export interface Record {
|
6
|
+
allowIncoming: 'all' | 'none' | 'following' | (string & {});
|
7
|
+
[k: string]: unknown;
|
8
|
+
}
|
9
|
+
export declare function isRecord(v: unknown): v is Record;
|
10
|
+
export declare function validateRecord(v: unknown): ValidationResult;
|
11
|
+
//# sourceMappingURL=declaration.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"declaration.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/chat/bsky/actor/declaration.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAK5D,MAAM,WAAW,MAAM;IACrB,aAAa,EAAE,KAAK,GAAG,MAAM,GAAG,WAAW,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAA;IAC3D,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAED,wBAAgB,QAAQ,CAAC,CAAC,EAAE,OAAO,GAAG,CAAC,IAAI,MAAM,CAOhD;AAED,wBAAgB,cAAc,CAAC,CAAC,EAAE,OAAO,GAAG,gBAAgB,CAE3D"}
|
@@ -0,0 +1,17 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.validateRecord = exports.isRecord = void 0;
|
4
|
+
const lexicons_1 = require("../../../../lexicons");
|
5
|
+
const util_1 = require("../../../../util");
|
6
|
+
function isRecord(v) {
|
7
|
+
return ((0, util_1.isObj)(v) &&
|
8
|
+
(0, util_1.hasProp)(v, '$type') &&
|
9
|
+
(v.$type === 'chat.bsky.actor.declaration#main' ||
|
10
|
+
v.$type === 'chat.bsky.actor.declaration'));
|
11
|
+
}
|
12
|
+
exports.isRecord = isRecord;
|
13
|
+
function validateRecord(v) {
|
14
|
+
return lexicons_1.lexicons.validate('chat.bsky.actor.declaration#main', v);
|
15
|
+
}
|
16
|
+
exports.validateRecord = validateRecord;
|
17
|
+
//# sourceMappingURL=declaration.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"declaration.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/chat/bsky/actor/declaration.ts"],"names":[],"mappings":";;;AAIA,mDAA+C;AAC/C,2CAAiD;AAQjD,SAAgB,QAAQ,CAAC,CAAU;IACjC,OAAO,CACL,IAAA,YAAK,EAAC,CAAC,CAAC;QACR,IAAA,cAAO,EAAC,CAAC,EAAE,OAAO,CAAC;QACnB,CAAC,CAAC,CAAC,KAAK,KAAK,kCAAkC;YAC7C,CAAC,CAAC,KAAK,KAAK,6BAA6B,CAAC,CAC7C,CAAA;AACH,CAAC;AAPD,4BAOC;AAED,SAAgB,cAAc,CAAC,CAAU;IACvC,OAAO,mBAAQ,CAAC,QAAQ,CAAC,kCAAkC,EAAE,CAAC,CAAC,CAAA;AACjE,CAAC;AAFD,wCAEC"}
|
@@ -0,0 +1,21 @@
|
|
1
|
+
/**
|
2
|
+
* GENERATED CODE - DO NOT MODIFY
|
3
|
+
*/
|
4
|
+
import { ValidationResult } from '@atproto/lexicon';
|
5
|
+
import * as AppBskyActorDefs from '../../../app/bsky/actor/defs';
|
6
|
+
import * as ComAtprotoLabelDefs from '../../../com/atproto/label/defs';
|
7
|
+
export interface ProfileViewBasic {
|
8
|
+
did: string;
|
9
|
+
handle: string;
|
10
|
+
displayName?: string;
|
11
|
+
avatar?: string;
|
12
|
+
associated?: AppBskyActorDefs.ProfileAssociated;
|
13
|
+
viewer?: AppBskyActorDefs.ViewerState;
|
14
|
+
labels?: ComAtprotoLabelDefs.Label[];
|
15
|
+
/** Set to true when the actor cannot actively participate in converations */
|
16
|
+
chatDisabled?: boolean;
|
17
|
+
[k: string]: unknown;
|
18
|
+
}
|
19
|
+
export declare function isProfileViewBasic(v: unknown): v is ProfileViewBasic;
|
20
|
+
export declare function validateProfileViewBasic(v: unknown): ValidationResult;
|
21
|
+
//# sourceMappingURL=defs.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"defs.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/chat/bsky/actor/defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAI5D,OAAO,KAAK,gBAAgB,MAAM,8BAA8B,CAAA;AAChE,OAAO,KAAK,mBAAmB,MAAM,iCAAiC,CAAA;AAEtE,MAAM,WAAW,gBAAgB;IAC/B,GAAG,EAAE,MAAM,CAAA;IACX,MAAM,EAAE,MAAM,CAAA;IACd,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,UAAU,CAAC,EAAE,gBAAgB,CAAC,iBAAiB,CAAA;IAC/C,MAAM,CAAC,EAAE,gBAAgB,CAAC,WAAW,CAAA;IACrC,MAAM,CAAC,EAAE,mBAAmB,CAAC,KAAK,EAAE,CAAA;IACpC,6EAA6E;IAC7E,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAED,wBAAgB,kBAAkB,CAAC,CAAC,EAAE,OAAO,GAAG,CAAC,IAAI,gBAAgB,CAMpE;AAED,wBAAgB,wBAAwB,CAAC,CAAC,EAAE,OAAO,GAAG,gBAAgB,CAErE"}
|
@@ -0,0 +1,16 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.validateProfileViewBasic = exports.isProfileViewBasic = void 0;
|
4
|
+
const lexicons_1 = require("../../../../lexicons");
|
5
|
+
const util_1 = require("../../../../util");
|
6
|
+
function isProfileViewBasic(v) {
|
7
|
+
return ((0, util_1.isObj)(v) &&
|
8
|
+
(0, util_1.hasProp)(v, '$type') &&
|
9
|
+
v.$type === 'chat.bsky.actor.defs#profileViewBasic');
|
10
|
+
}
|
11
|
+
exports.isProfileViewBasic = isProfileViewBasic;
|
12
|
+
function validateProfileViewBasic(v) {
|
13
|
+
return lexicons_1.lexicons.validate('chat.bsky.actor.defs#profileViewBasic', v);
|
14
|
+
}
|
15
|
+
exports.validateProfileViewBasic = validateProfileViewBasic;
|
16
|
+
//# sourceMappingURL=defs.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"defs.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/chat/bsky/actor/defs.ts"],"names":[],"mappings":";;;AAIA,mDAA+C;AAC/C,2CAAiD;AAkBjD,SAAgB,kBAAkB,CAAC,CAAU;IAC3C,OAAO,CACL,IAAA,YAAK,EAAC,CAAC,CAAC;QACR,IAAA,cAAO,EAAC,CAAC,EAAE,OAAO,CAAC;QACnB,CAAC,CAAC,KAAK,KAAK,uCAAuC,CACpD,CAAA;AACH,CAAC;AAND,gDAMC;AAED,SAAgB,wBAAwB,CAAC,CAAU;IACjD,OAAO,mBAAQ,CAAC,QAAQ,CAAC,uCAAuC,EAAE,CAAC,CAAC,CAAA;AACtE,CAAC;AAFD,4DAEC"}
|
@@ -0,0 +1,33 @@
|
|
1
|
+
/**
|
2
|
+
* GENERATED CODE - DO NOT MODIFY
|
3
|
+
*/
|
4
|
+
import express from 'express';
|
5
|
+
import { HandlerAuth, HandlerPipeThrough } from '@atproto/xrpc-server';
|
6
|
+
export interface QueryParams {
|
7
|
+
}
|
8
|
+
export type InputSchema = undefined;
|
9
|
+
export interface OutputSchema {
|
10
|
+
[k: string]: unknown;
|
11
|
+
}
|
12
|
+
export type HandlerInput = undefined;
|
13
|
+
export interface HandlerSuccess {
|
14
|
+
encoding: 'application/json';
|
15
|
+
body: OutputSchema;
|
16
|
+
headers?: {
|
17
|
+
[key: string]: string;
|
18
|
+
};
|
19
|
+
}
|
20
|
+
export interface HandlerError {
|
21
|
+
status: number;
|
22
|
+
message?: string;
|
23
|
+
}
|
24
|
+
export type HandlerOutput = HandlerError | HandlerSuccess | HandlerPipeThrough;
|
25
|
+
export type HandlerReqCtx<HA extends HandlerAuth = never> = {
|
26
|
+
auth: HA;
|
27
|
+
params: QueryParams;
|
28
|
+
input: HandlerInput;
|
29
|
+
req: express.Request;
|
30
|
+
res: express.Response;
|
31
|
+
};
|
32
|
+
export type Handler<HA extends HandlerAuth = never> = (ctx: HandlerReqCtx<HA>) => Promise<HandlerOutput> | HandlerOutput;
|
33
|
+
//# sourceMappingURL=deleteAccount.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"deleteAccount.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/chat/bsky/actor/deleteAccount.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,OAAO,MAAM,SAAS,CAAA;AAK7B,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AAEtE,MAAM,WAAW,WAAW;CAAG;AAE/B,MAAM,MAAM,WAAW,GAAG,SAAS,CAAA;AAEnC,MAAM,WAAW,YAAY;IAC3B,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAED,MAAM,MAAM,YAAY,GAAG,SAAS,CAAA;AAEpC,MAAM,WAAW,cAAc;IAC7B,QAAQ,EAAE,kBAAkB,CAAA;IAC5B,IAAI,EAAE,YAAY,CAAA;IAClB,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAA;CACpC;AAED,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB;AAED,MAAM,MAAM,aAAa,GAAG,YAAY,GAAG,cAAc,GAAG,kBAAkB,CAAA;AAC9E,MAAM,MAAM,aAAa,CAAC,EAAE,SAAS,WAAW,GAAG,KAAK,IAAI;IAC1D,IAAI,EAAE,EAAE,CAAA;IACR,MAAM,EAAE,WAAW,CAAA;IACnB,KAAK,EAAE,YAAY,CAAA;IACnB,GAAG,EAAE,OAAO,CAAC,OAAO,CAAA;IACpB,GAAG,EAAE,OAAO,CAAC,QAAQ,CAAA;CACtB,CAAA;AACD,MAAM,MAAM,OAAO,CAAC,EAAE,SAAS,WAAW,GAAG,KAAK,IAAI,CACpD,GAAG,EAAE,aAAa,CAAC,EAAE,CAAC,KACnB,OAAO,CAAC,aAAa,CAAC,GAAG,aAAa,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"deleteAccount.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/chat/bsky/actor/deleteAccount.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,32 @@
|
|
1
|
+
/// <reference types="node" />
|
2
|
+
/**
|
3
|
+
* GENERATED CODE - DO NOT MODIFY
|
4
|
+
*/
|
5
|
+
import express from 'express';
|
6
|
+
import stream from 'stream';
|
7
|
+
import { HandlerAuth, HandlerPipeThrough } from '@atproto/xrpc-server';
|
8
|
+
export interface QueryParams {
|
9
|
+
}
|
10
|
+
export type InputSchema = undefined;
|
11
|
+
export type HandlerInput = undefined;
|
12
|
+
export interface HandlerSuccess {
|
13
|
+
encoding: 'application/jsonl';
|
14
|
+
body: Uint8Array | stream.Readable;
|
15
|
+
headers?: {
|
16
|
+
[key: string]: string;
|
17
|
+
};
|
18
|
+
}
|
19
|
+
export interface HandlerError {
|
20
|
+
status: number;
|
21
|
+
message?: string;
|
22
|
+
}
|
23
|
+
export type HandlerOutput = HandlerError | HandlerSuccess | HandlerPipeThrough;
|
24
|
+
export type HandlerReqCtx<HA extends HandlerAuth = never> = {
|
25
|
+
auth: HA;
|
26
|
+
params: QueryParams;
|
27
|
+
input: HandlerInput;
|
28
|
+
req: express.Request;
|
29
|
+
res: express.Response;
|
30
|
+
};
|
31
|
+
export type Handler<HA extends HandlerAuth = never> = (ctx: HandlerReqCtx<HA>) => Promise<HandlerOutput> | HandlerOutput;
|
32
|
+
//# sourceMappingURL=exportAccountData.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"exportAccountData.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/chat/bsky/actor/exportAccountData.ts"],"names":[],"mappings":";AAAA;;GAEG;AACH,OAAO,OAAO,MAAM,SAAS,CAAA;AAC7B,OAAO,MAAM,MAAM,QAAQ,CAAA;AAK3B,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AAEtE,MAAM,WAAW,WAAW;CAAG;AAE/B,MAAM,MAAM,WAAW,GAAG,SAAS,CAAA;AACnC,MAAM,MAAM,YAAY,GAAG,SAAS,CAAA;AAEpC,MAAM,WAAW,cAAc;IAC7B,QAAQ,EAAE,mBAAmB,CAAA;IAC7B,IAAI,EAAE,UAAU,GAAG,MAAM,CAAC,QAAQ,CAAA;IAClC,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAA;CACpC;AAED,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB;AAED,MAAM,MAAM,aAAa,GAAG,YAAY,GAAG,cAAc,GAAG,kBAAkB,CAAA;AAC9E,MAAM,MAAM,aAAa,CAAC,EAAE,SAAS,WAAW,GAAG,KAAK,IAAI;IAC1D,IAAI,EAAE,EAAE,CAAA;IACR,MAAM,EAAE,WAAW,CAAA;IACnB,KAAK,EAAE,YAAY,CAAA;IACnB,GAAG,EAAE,OAAO,CAAC,OAAO,CAAA;IACpB,GAAG,EAAE,OAAO,CAAC,QAAQ,CAAA;CACtB,CAAA;AACD,MAAM,MAAM,OAAO,CAAC,EAAE,SAAS,WAAW,GAAG,KAAK,IAAI,CACpD,GAAG,EAAE,aAAa,CAAC,EAAE,CAAC,KACnB,OAAO,CAAC,aAAa,CAAC,GAAG,aAAa,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"exportAccountData.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/chat/bsky/actor/exportAccountData.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,109 @@
|
|
1
|
+
/**
|
2
|
+
* GENERATED CODE - DO NOT MODIFY
|
3
|
+
*/
|
4
|
+
import { ValidationResult } from '@atproto/lexicon';
|
5
|
+
import * as AppBskyRichtextFacet from '../../../app/bsky/richtext/facet';
|
6
|
+
import * as AppBskyEmbedRecord from '../../../app/bsky/embed/record';
|
7
|
+
import * as ChatBskyActorDefs from '../actor/defs';
|
8
|
+
export interface MessageRef {
|
9
|
+
did: string;
|
10
|
+
convoId: string;
|
11
|
+
messageId: string;
|
12
|
+
[k: string]: unknown;
|
13
|
+
}
|
14
|
+
export declare function isMessageRef(v: unknown): v is MessageRef;
|
15
|
+
export declare function validateMessageRef(v: unknown): ValidationResult;
|
16
|
+
export interface MessageInput {
|
17
|
+
text: string;
|
18
|
+
/** Annotations of text (mentions, URLs, hashtags, etc) */
|
19
|
+
facets?: AppBskyRichtextFacet.Main[];
|
20
|
+
embed?: AppBskyEmbedRecord.Main | {
|
21
|
+
$type: string;
|
22
|
+
[k: string]: unknown;
|
23
|
+
};
|
24
|
+
[k: string]: unknown;
|
25
|
+
}
|
26
|
+
export declare function isMessageInput(v: unknown): v is MessageInput;
|
27
|
+
export declare function validateMessageInput(v: unknown): ValidationResult;
|
28
|
+
export interface MessageView {
|
29
|
+
id: string;
|
30
|
+
rev: string;
|
31
|
+
text: string;
|
32
|
+
/** Annotations of text (mentions, URLs, hashtags, etc) */
|
33
|
+
facets?: AppBskyRichtextFacet.Main[];
|
34
|
+
embed?: AppBskyEmbedRecord.Main | {
|
35
|
+
$type: string;
|
36
|
+
[k: string]: unknown;
|
37
|
+
};
|
38
|
+
sender: MessageViewSender;
|
39
|
+
sentAt: string;
|
40
|
+
[k: string]: unknown;
|
41
|
+
}
|
42
|
+
export declare function isMessageView(v: unknown): v is MessageView;
|
43
|
+
export declare function validateMessageView(v: unknown): ValidationResult;
|
44
|
+
export interface DeletedMessageView {
|
45
|
+
id: string;
|
46
|
+
rev: string;
|
47
|
+
sender: MessageViewSender;
|
48
|
+
sentAt: string;
|
49
|
+
[k: string]: unknown;
|
50
|
+
}
|
51
|
+
export declare function isDeletedMessageView(v: unknown): v is DeletedMessageView;
|
52
|
+
export declare function validateDeletedMessageView(v: unknown): ValidationResult;
|
53
|
+
export interface MessageViewSender {
|
54
|
+
did: string;
|
55
|
+
[k: string]: unknown;
|
56
|
+
}
|
57
|
+
export declare function isMessageViewSender(v: unknown): v is MessageViewSender;
|
58
|
+
export declare function validateMessageViewSender(v: unknown): ValidationResult;
|
59
|
+
export interface ConvoView {
|
60
|
+
id: string;
|
61
|
+
rev: string;
|
62
|
+
members: ChatBskyActorDefs.ProfileViewBasic[];
|
63
|
+
lastMessage?: MessageView | DeletedMessageView | {
|
64
|
+
$type: string;
|
65
|
+
[k: string]: unknown;
|
66
|
+
};
|
67
|
+
muted: boolean;
|
68
|
+
unreadCount: number;
|
69
|
+
[k: string]: unknown;
|
70
|
+
}
|
71
|
+
export declare function isConvoView(v: unknown): v is ConvoView;
|
72
|
+
export declare function validateConvoView(v: unknown): ValidationResult;
|
73
|
+
export interface LogBeginConvo {
|
74
|
+
rev: string;
|
75
|
+
convoId: string;
|
76
|
+
[k: string]: unknown;
|
77
|
+
}
|
78
|
+
export declare function isLogBeginConvo(v: unknown): v is LogBeginConvo;
|
79
|
+
export declare function validateLogBeginConvo(v: unknown): ValidationResult;
|
80
|
+
export interface LogLeaveConvo {
|
81
|
+
rev: string;
|
82
|
+
convoId: string;
|
83
|
+
[k: string]: unknown;
|
84
|
+
}
|
85
|
+
export declare function isLogLeaveConvo(v: unknown): v is LogLeaveConvo;
|
86
|
+
export declare function validateLogLeaveConvo(v: unknown): ValidationResult;
|
87
|
+
export interface LogCreateMessage {
|
88
|
+
rev: string;
|
89
|
+
convoId: string;
|
90
|
+
message: MessageView | DeletedMessageView | {
|
91
|
+
$type: string;
|
92
|
+
[k: string]: unknown;
|
93
|
+
};
|
94
|
+
[k: string]: unknown;
|
95
|
+
}
|
96
|
+
export declare function isLogCreateMessage(v: unknown): v is LogCreateMessage;
|
97
|
+
export declare function validateLogCreateMessage(v: unknown): ValidationResult;
|
98
|
+
export interface LogDeleteMessage {
|
99
|
+
rev: string;
|
100
|
+
convoId: string;
|
101
|
+
message: MessageView | DeletedMessageView | {
|
102
|
+
$type: string;
|
103
|
+
[k: string]: unknown;
|
104
|
+
};
|
105
|
+
[k: string]: unknown;
|
106
|
+
}
|
107
|
+
export declare function isLogDeleteMessage(v: unknown): v is LogDeleteMessage;
|
108
|
+
export declare function validateLogDeleteMessage(v: unknown): ValidationResult;
|
109
|
+
//# sourceMappingURL=defs.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"defs.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/chat/bsky/convo/defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAI5D,OAAO,KAAK,oBAAoB,MAAM,kCAAkC,CAAA;AACxE,OAAO,KAAK,kBAAkB,MAAM,gCAAgC,CAAA;AACpE,OAAO,KAAK,iBAAiB,MAAM,eAAe,CAAA;AAElD,MAAM,WAAW,UAAU;IACzB,GAAG,EAAE,MAAM,CAAA;IACX,OAAO,EAAE,MAAM,CAAA;IACf,SAAS,EAAE,MAAM,CAAA;IACjB,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAED,wBAAgB,YAAY,CAAC,CAAC,EAAE,OAAO,GAAG,CAAC,IAAI,UAAU,CAMxD;AAED,wBAAgB,kBAAkB,CAAC,CAAC,EAAE,OAAO,GAAG,gBAAgB,CAE/D;AAED,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,MAAM,CAAA;IACZ,0DAA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CAAA;IACf,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAED,wBAAgB,eAAe,CAAC,CAAC,EAAE,OAAO,GAAG,CAAC,IAAI,aAAa,CAM9D;AAED,wBAAgB,qBAAqB,CAAC,CAAC,EAAE,OAAO,GAAG,gBAAgB,CAElE;AAED,MAAM,WAAW,gBAAgB;IAC/B,GAAG,EAAE,MAAM,CAAA;IACX,OAAO,EAAE,MAAM,CAAA;IACf,OAAO,EACH,WAAW,GACX,kBAAkB,GAClB;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;KAAE,CAAA;IAC3C,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAED,wBAAgB,kBAAkB,CAAC,CAAC,EAAE,OAAO,GAAG,CAAC,IAAI,gBAAgB,CAMpE;AAED,wBAAgB,wBAAwB,CAAC,CAAC,EAAE,OAAO,GAAG,gBAAgB,CAErE;AAED,MAAM,WAAW,gBAAgB;IAC/B,GAAG,EAAE,MAAM,CAAA;IACX,OAAO,EAAE,MAAM,CAAA;IACf,OAAO,EACH,WAAW,GACX,kBAAkB,GAClB;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;KAAE,CAAA;IAC3C,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAED,wBAAgB,kBAAkB,CAAC,CAAC,EAAE,OAAO,GAAG,CAAC,IAAI,gBAAgB,CAMpE;AAED,wBAAgB,wBAAwB,CAAC,CAAC,EAAE,OAAO,GAAG,gBAAgB,CAErE"}
|
@@ -0,0 +1,106 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.validateLogDeleteMessage = exports.isLogDeleteMessage = exports.validateLogCreateMessage = exports.isLogCreateMessage = exports.validateLogLeaveConvo = exports.isLogLeaveConvo = exports.validateLogBeginConvo = exports.isLogBeginConvo = exports.validateConvoView = exports.isConvoView = exports.validateMessageViewSender = exports.isMessageViewSender = exports.validateDeletedMessageView = exports.isDeletedMessageView = exports.validateMessageView = exports.isMessageView = exports.validateMessageInput = exports.isMessageInput = exports.validateMessageRef = exports.isMessageRef = void 0;
|
4
|
+
const lexicons_1 = require("../../../../lexicons");
|
5
|
+
const util_1 = require("../../../../util");
|
6
|
+
function isMessageRef(v) {
|
7
|
+
return ((0, util_1.isObj)(v) &&
|
8
|
+
(0, util_1.hasProp)(v, '$type') &&
|
9
|
+
v.$type === 'chat.bsky.convo.defs#messageRef');
|
10
|
+
}
|
11
|
+
exports.isMessageRef = isMessageRef;
|
12
|
+
function validateMessageRef(v) {
|
13
|
+
return lexicons_1.lexicons.validate('chat.bsky.convo.defs#messageRef', v);
|
14
|
+
}
|
15
|
+
exports.validateMessageRef = validateMessageRef;
|
16
|
+
function isMessageInput(v) {
|
17
|
+
return ((0, util_1.isObj)(v) &&
|
18
|
+
(0, util_1.hasProp)(v, '$type') &&
|
19
|
+
v.$type === 'chat.bsky.convo.defs#messageInput');
|
20
|
+
}
|
21
|
+
exports.isMessageInput = isMessageInput;
|
22
|
+
function validateMessageInput(v) {
|
23
|
+
return lexicons_1.lexicons.validate('chat.bsky.convo.defs#messageInput', v);
|
24
|
+
}
|
25
|
+
exports.validateMessageInput = validateMessageInput;
|
26
|
+
function isMessageView(v) {
|
27
|
+
return ((0, util_1.isObj)(v) &&
|
28
|
+
(0, util_1.hasProp)(v, '$type') &&
|
29
|
+
v.$type === 'chat.bsky.convo.defs#messageView');
|
30
|
+
}
|
31
|
+
exports.isMessageView = isMessageView;
|
32
|
+
function validateMessageView(v) {
|
33
|
+
return lexicons_1.lexicons.validate('chat.bsky.convo.defs#messageView', v);
|
34
|
+
}
|
35
|
+
exports.validateMessageView = validateMessageView;
|
36
|
+
function isDeletedMessageView(v) {
|
37
|
+
return ((0, util_1.isObj)(v) &&
|
38
|
+
(0, util_1.hasProp)(v, '$type') &&
|
39
|
+
v.$type === 'chat.bsky.convo.defs#deletedMessageView');
|
40
|
+
}
|
41
|
+
exports.isDeletedMessageView = isDeletedMessageView;
|
42
|
+
function validateDeletedMessageView(v) {
|
43
|
+
return lexicons_1.lexicons.validate('chat.bsky.convo.defs#deletedMessageView', v);
|
44
|
+
}
|
45
|
+
exports.validateDeletedMessageView = validateDeletedMessageView;
|
46
|
+
function isMessageViewSender(v) {
|
47
|
+
return ((0, util_1.isObj)(v) &&
|
48
|
+
(0, util_1.hasProp)(v, '$type') &&
|
49
|
+
v.$type === 'chat.bsky.convo.defs#messageViewSender');
|
50
|
+
}
|
51
|
+
exports.isMessageViewSender = isMessageViewSender;
|
52
|
+
function validateMessageViewSender(v) {
|
53
|
+
return lexicons_1.lexicons.validate('chat.bsky.convo.defs#messageViewSender', v);
|
54
|
+
}
|
55
|
+
exports.validateMessageViewSender = validateMessageViewSender;
|
56
|
+
function isConvoView(v) {
|
57
|
+
return ((0, util_1.isObj)(v) &&
|
58
|
+
(0, util_1.hasProp)(v, '$type') &&
|
59
|
+
v.$type === 'chat.bsky.convo.defs#convoView');
|
60
|
+
}
|
61
|
+
exports.isConvoView = isConvoView;
|
62
|
+
function validateConvoView(v) {
|
63
|
+
return lexicons_1.lexicons.validate('chat.bsky.convo.defs#convoView', v);
|
64
|
+
}
|
65
|
+
exports.validateConvoView = validateConvoView;
|
66
|
+
function isLogBeginConvo(v) {
|
67
|
+
return ((0, util_1.isObj)(v) &&
|
68
|
+
(0, util_1.hasProp)(v, '$type') &&
|
69
|
+
v.$type === 'chat.bsky.convo.defs#logBeginConvo');
|
70
|
+
}
|
71
|
+
exports.isLogBeginConvo = isLogBeginConvo;
|
72
|
+
function validateLogBeginConvo(v) {
|
73
|
+
return lexicons_1.lexicons.validate('chat.bsky.convo.defs#logBeginConvo', v);
|
74
|
+
}
|
75
|
+
exports.validateLogBeginConvo = validateLogBeginConvo;
|
76
|
+
function isLogLeaveConvo(v) {
|
77
|
+
return ((0, util_1.isObj)(v) &&
|
78
|
+
(0, util_1.hasProp)(v, '$type') &&
|
79
|
+
v.$type === 'chat.bsky.convo.defs#logLeaveConvo');
|
80
|
+
}
|
81
|
+
exports.isLogLeaveConvo = isLogLeaveConvo;
|
82
|
+
function validateLogLeaveConvo(v) {
|
83
|
+
return lexicons_1.lexicons.validate('chat.bsky.convo.defs#logLeaveConvo', v);
|
84
|
+
}
|
85
|
+
exports.validateLogLeaveConvo = validateLogLeaveConvo;
|
86
|
+
function isLogCreateMessage(v) {
|
87
|
+
return ((0, util_1.isObj)(v) &&
|
88
|
+
(0, util_1.hasProp)(v, '$type') &&
|
89
|
+
v.$type === 'chat.bsky.convo.defs#logCreateMessage');
|
90
|
+
}
|
91
|
+
exports.isLogCreateMessage = isLogCreateMessage;
|
92
|
+
function validateLogCreateMessage(v) {
|
93
|
+
return lexicons_1.lexicons.validate('chat.bsky.convo.defs#logCreateMessage', v);
|
94
|
+
}
|
95
|
+
exports.validateLogCreateMessage = validateLogCreateMessage;
|
96
|
+
function isLogDeleteMessage(v) {
|
97
|
+
return ((0, util_1.isObj)(v) &&
|
98
|
+
(0, util_1.hasProp)(v, '$type') &&
|
99
|
+
v.$type === 'chat.bsky.convo.defs#logDeleteMessage');
|
100
|
+
}
|
101
|
+
exports.isLogDeleteMessage = isLogDeleteMessage;
|
102
|
+
function validateLogDeleteMessage(v) {
|
103
|
+
return lexicons_1.lexicons.validate('chat.bsky.convo.defs#logDeleteMessage', v);
|
104
|
+
}
|
105
|
+
exports.validateLogDeleteMessage = validateLogDeleteMessage;
|
106
|
+
//# sourceMappingURL=defs.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"defs.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/chat/bsky/convo/defs.ts"],"names":[],"mappings":";;;AAIA,mDAA+C;AAC/C,2CAAiD;AAajD,SAAgB,YAAY,CAAC,CAAU;IACrC,OAAO,CACL,IAAA,YAAK,EAAC,CAAC,CAA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C,CAAU;IAC9C,OAAO,mBAAQ,CAAC,QAAQ,CAAC,oCAAoC,EAAE,CAAC,CAAC,CAAA;AACnE,CAAC;AAFD,sDAEC;AAYD,SAAgB,kBAAkB,CAAC,CAAU;IAC3C,OAAO,CACL,IAAA,YAAK,EAAC,CAAC,CAAC;QACR,IAAA,cAAO,EAAC,CAAC,EAAE,OAAO,CAAC;QACnB,CAAC,CAAC,KAAK,KAAK,uCAAuC,CACpD,CAAA;AACH,CAAC;AAND,gDAMC;AAED,SAAgB,wBAAwB,CAAC,CAAU;IACjD,OAAO,mBAAQ,CAAC,QAAQ,CAAC,uCAAuC,EAAE,CAAC,CAAC,CAAA;AACtE,CAAC;AAFD,4DAEC;AAYD,SAAgB,kBAAkB,CAAC,CAAU;IAC3C,OAAO,CACL,IAAA,YAAK,EAAC,CAAC,CAAC;QACR,IAAA,cAAO,EAAC,CAAC,EAAE,OAAO,CAAC;QACnB,CAAC,CAAC,KAAK,KAAK,uCAAuC,CACpD,CAAA;AACH,CAAC;AAND,gDAMC;AAED,SAAgB,wBAAwB,CAAC,CAAU;IACjD,OAAO,mBAAQ,CAAC,QAAQ,CAAC,uCAAuC,EAAE,CAAC,CAAC,CAAA;AACtE,CAAC;AAFD,4DAEC"}
|
@@ -0,0 +1,39 @@
|
|
1
|
+
/**
|
2
|
+
* GENERATED CODE - DO NOT MODIFY
|
3
|
+
*/
|
4
|
+
import express from 'express';
|
5
|
+
import { HandlerAuth, HandlerPipeThrough } from '@atproto/xrpc-server';
|
6
|
+
import * as ChatBskyConvoDefs from './defs';
|
7
|
+
export interface QueryParams {
|
8
|
+
}
|
9
|
+
export interface InputSchema {
|
10
|
+
convoId: string;
|
11
|
+
messageId: string;
|
12
|
+
[k: string]: unknown;
|
13
|
+
}
|
14
|
+
export type OutputSchema = ChatBskyConvoDefs.DeletedMessageView;
|
15
|
+
export interface HandlerInput {
|
16
|
+
encoding: 'application/json';
|
17
|
+
body: InputSchema;
|
18
|
+
}
|
19
|
+
export interface HandlerSuccess {
|
20
|
+
encoding: 'application/json';
|
21
|
+
body: OutputSchema;
|
22
|
+
headers?: {
|
23
|
+
[key: string]: string;
|
24
|
+
};
|
25
|
+
}
|
26
|
+
export interface HandlerError {
|
27
|
+
status: number;
|
28
|
+
message?: string;
|
29
|
+
}
|
30
|
+
export type HandlerOutput = HandlerError | HandlerSuccess | HandlerPipeThrough;
|
31
|
+
export type HandlerReqCtx<HA extends HandlerAuth = never> = {
|
32
|
+
auth: HA;
|
33
|
+
params: QueryParams;
|
34
|
+
input: HandlerInput;
|
35
|
+
req: express.Request;
|
36
|
+
res: express.Response;
|
37
|
+
};
|
38
|
+
export type Handler<HA extends HandlerAuth = never> = (ctx: HandlerReqCtx<HA>) => Promise<HandlerOutput> | HandlerOutput;
|
39
|
+
//# sourceMappingURL=deleteMessageForSelf.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"deleteMessageForSelf.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/chat/bsky/convo/deleteMessageForSelf.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,OAAO,MAAM,SAAS,CAAA;AAK7B,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AACtE,OAAO,KAAK,iBAAiB,MAAM,QAAQ,CAAA;AAE3C,MAAM,WAAW,WAAW;CAAG;AAE/B,MAAM,WAAW,WAAW;IAC1B,OAAO,EAAE,MAAM,CAAA;IACf,SAAS,EAAE,MAAM,CAAA;IACjB,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAED,MAAM,MAAM,YAAY,GAAG,iBAAiB,CAAC,kBAAkB,CAAA;AAE/D,MAAM,WAAW,YAAY;IAC3B,QAAQ,EAAE,kBAAkB,CAAA;IAC5B,IAAI,EAAE,WAAW,CAAA;CAClB;AAED,MAAM,WAAW,cAAc;IAC7B,QAAQ,EAAE,kBAAkB,CAAA;IAC5B,IAAI,EAAE,YAAY,CAAA;IAClB,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAA;CACpC;AAED,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB;AAED,MAAM,MAAM,aAAa,GAAG,YAAY,GAAG,cAAc,GAAG,kBAAkB,CAAA;AAC9E,MAAM,MAAM,aAAa,CAAC,EAAE,SAAS,WAAW,GAAG,KAAK,IAAI;IAC1D,IAAI,EAAE,EAAE,CAAA;IACR,MAAM,EAAE,WAAW,CAAA;IACnB,KAAK,EAAE,YAAY,CAAA;IACnB,GAAG,EAAE,OAAO,CAAC,OAAO,CAAA;IACpB,GAAG,EAAE,OAAO,CAAC,QAAQ,CAAA;CACtB,CAAA;AACD,MAAM,MAAM,OAAO,CAAC,EAAE,SAAS,WAAW,GAAG,KAAK,IAAI,CACpD,GAAG,EAAE,aAAa,CAAC,EAAE,CAAC,KACnB,OAAO,CAAC,aAAa,CAAC,GAAG,aAAa,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"deleteMessageForSelf.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/chat/bsky/convo/deleteMessageForSelf.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,36 @@
|
|
1
|
+
/**
|
2
|
+
* GENERATED CODE - DO NOT MODIFY
|
3
|
+
*/
|
4
|
+
import express from 'express';
|
5
|
+
import { HandlerAuth, HandlerPipeThrough } from '@atproto/xrpc-server';
|
6
|
+
import * as ChatBskyConvoDefs from './defs';
|
7
|
+
export interface QueryParams {
|
8
|
+
convoId: string;
|
9
|
+
}
|
10
|
+
export type InputSchema = undefined;
|
11
|
+
export interface OutputSchema {
|
12
|
+
convo: ChatBskyConvoDefs.ConvoView;
|
13
|
+
[k: string]: unknown;
|
14
|
+
}
|
15
|
+
export type HandlerInput = undefined;
|
16
|
+
export interface HandlerSuccess {
|
17
|
+
encoding: 'application/json';
|
18
|
+
body: OutputSchema;
|
19
|
+
headers?: {
|
20
|
+
[key: string]: string;
|
21
|
+
};
|
22
|
+
}
|
23
|
+
export interface HandlerError {
|
24
|
+
status: number;
|
25
|
+
message?: string;
|
26
|
+
}
|
27
|
+
export type HandlerOutput = HandlerError | HandlerSuccess | HandlerPipeThrough;
|
28
|
+
export type HandlerReqCtx<HA extends HandlerAuth = never> = {
|
29
|
+
auth: HA;
|
30
|
+
params: QueryParams;
|
31
|
+
input: HandlerInput;
|
32
|
+
req: express.Request;
|
33
|
+
res: express.Response;
|
34
|
+
};
|
35
|
+
export type Handler<HA extends HandlerAuth = never> = (ctx: HandlerReqCtx<HA>) => Promise<HandlerOutput> | HandlerOutput;
|
36
|
+
//# sourceMappingURL=getConvo.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"getConvo.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/chat/bsky/convo/getConvo.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,OAAO,MAAM,SAAS,CAAA;AAK7B,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AACtE,OAAO,KAAK,iBAAiB,MAAM,QAAQ,CAAA;AAE3C,MAAM,WAAW,WAAW;IAC1B,OAAO,EAAE,MAAM,CAAA;CAChB;AAED,MAAM,MAAM,WAAW,GAAG,SAAS,CAAA;AAEnC,MAAM,WAAW,YAAY;IAC3B,KAAK,EAAE,iBAAiB,CAAC,SAAS,CAAA;IAClC,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAED,MAAM,MAAM,YAAY,GAAG,SAAS,CAAA;AAEpC,MAAM,WAAW,cAAc;IAC7B,QAAQ,EAAE,kBAAkB,CAAA;IAC5B,IAAI,EAAE,YAAY,CAAA;IAClB,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAA;CACp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