@atproto/pds 0.4.197 → 0.4.198
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/CHANGELOG.md +17 -0
- package/dist/lexicon/index.d.ts +19 -0
- package/dist/lexicon/index.d.ts.map +1 -1
- package/dist/lexicon/index.js +48 -1
- package/dist/lexicon/index.js.map +1 -1
- package/dist/lexicon/lexicons.d.ts +668 -0
- package/dist/lexicon/lexicons.d.ts.map +1 -1
- package/dist/lexicon/lexicons.js +356 -0
- package/dist/lexicon/lexicons.js.map +1 -1
- package/dist/lexicon/types/app/bsky/contact/defs.d.ts +24 -0
- package/dist/lexicon/types/app/bsky/contact/defs.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/contact/defs.js +25 -0
- package/dist/lexicon/types/app/bsky/contact/defs.js.map +1 -0
- package/dist/lexicon/types/app/bsky/contact/dismissMatch.d.ts +25 -0
- package/dist/lexicon/types/app/bsky/contact/dismissMatch.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/contact/dismissMatch.js +7 -0
- package/dist/lexicon/types/app/bsky/contact/dismissMatch.js.map +1 -0
- package/dist/lexicon/types/app/bsky/contact/getMatches.d.ts +25 -0
- package/dist/lexicon/types/app/bsky/contact/getMatches.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/contact/getMatches.js +7 -0
- package/dist/lexicon/types/app/bsky/contact/getMatches.js.map +1 -0
- package/dist/lexicon/types/app/bsky/contact/getSyncStatus.d.ts +21 -0
- package/dist/lexicon/types/app/bsky/contact/getSyncStatus.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/contact/getSyncStatus.js +7 -0
- package/dist/lexicon/types/app/bsky/contact/getSyncStatus.js.map +1 -0
- package/dist/lexicon/types/app/bsky/contact/importContacts.d.ts +30 -0
- package/dist/lexicon/types/app/bsky/contact/importContacts.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/contact/importContacts.js +7 -0
- package/dist/lexicon/types/app/bsky/contact/importContacts.js.map +1 -0
- package/dist/lexicon/types/app/bsky/contact/removeData.d.ts +23 -0
- package/dist/lexicon/types/app/bsky/contact/removeData.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/contact/removeData.js +7 -0
- package/dist/lexicon/types/app/bsky/contact/removeData.js.map +1 -0
- package/dist/lexicon/types/app/bsky/contact/startPhoneVerification.d.ts +25 -0
- package/dist/lexicon/types/app/bsky/contact/startPhoneVerification.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/contact/startPhoneVerification.js +7 -0
- package/dist/lexicon/types/app/bsky/contact/startPhoneVerification.js.map +1 -0
- package/dist/lexicon/types/app/bsky/contact/verifyPhone.d.ts +29 -0
- package/dist/lexicon/types/app/bsky/contact/verifyPhone.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/contact/verifyPhone.js +7 -0
- package/dist/lexicon/types/app/bsky/contact/verifyPhone.js.map +1 -0
- package/dist/lexicon/types/app/bsky/graph/defs.d.ts +8 -0
- package/dist/lexicon/types/app/bsky/graph/defs.d.ts.map +1 -1
- package/dist/lexicon/types/app/bsky/graph/defs.js.map +1 -1
- package/package.json +13 -13
- package/src/lexicon/index.ts +101 -0
- package/src/lexicon/lexicons.ts +377 -0
- package/src/lexicon/types/app/bsky/contact/defs.ts +52 -0
- package/src/lexicon/types/app/bsky/contact/dismissMatch.ts +43 -0
- package/src/lexicon/types/app/bsky/contact/getMatches.ts +43 -0
- package/src/lexicon/types/app/bsky/contact/getSyncStatus.ts +39 -0
- package/src/lexicon/types/app/bsky/contact/importContacts.ts +49 -0
- package/src/lexicon/types/app/bsky/contact/removeData.ts +40 -0
- package/src/lexicon/types/app/bsky/contact/startPhoneVerification.ts +43 -0
- package/src/lexicon/types/app/bsky/contact/verifyPhone.ts +48 -0
- package/src/lexicon/types/app/bsky/graph/defs.ts +8 -0
- package/tsconfig.build.tsbuildinfo +1 -1
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
+
*/
|
|
4
|
+
import { type ValidationResult } from '@atproto/lexicon';
|
|
5
|
+
import type * as AppBskyActorDefs from '../actor/defs.js';
|
|
6
|
+
/** Associates a profile with the positional index of the contact import input in the call to `app.bsky.contact.importContacts`, so clients can know which phone caused a particular match. */
|
|
7
|
+
export interface MatchAndContactIndex {
|
|
8
|
+
$type?: 'app.bsky.contact.defs#matchAndContactIndex';
|
|
9
|
+
match: AppBskyActorDefs.ProfileView;
|
|
10
|
+
/** The index of this match in the import contact input. */
|
|
11
|
+
contactIndex: number;
|
|
12
|
+
}
|
|
13
|
+
export declare function isMatchAndContactIndex<V>(v: V): v is import("../../../../util").$TypedObject<V, "app.bsky.contact.defs", "matchAndContactIndex">;
|
|
14
|
+
export declare function validateMatchAndContactIndex<V>(v: V): ValidationResult<MatchAndContactIndex & V>;
|
|
15
|
+
export interface SyncStatus {
|
|
16
|
+
$type?: 'app.bsky.contact.defs#syncStatus';
|
|
17
|
+
/** Last date when contacts where imported. */
|
|
18
|
+
syncedAt: string;
|
|
19
|
+
/** Number of existing contact matches resulting of the user imports and of their imported contacts having imported the user. Matches stop being counted when the user either follows the matched contact or dismisses the match. */
|
|
20
|
+
matchesCount: number;
|
|
21
|
+
}
|
|
22
|
+
export declare function isSyncStatus<V>(v: V): v is import("../../../../util").$TypedObject<V, "app.bsky.contact.defs", "syncStatus">;
|
|
23
|
+
export declare function validateSyncStatus<V>(v: V): ValidationResult<SyncStatus & V>;
|
|
24
|
+
//# sourceMappingURL=defs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"defs.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/contact/defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAQjE,OAAO,KAAK,KAAK,gBAAgB,MAAM,kBAAkB,CAAA;AAMzD,8LAA8L;AAC9L,MAAM,WAAW,oBAAoB;IACnC,KAAK,CAAC,EAAE,4CAA4C,CAAA;IACpD,KAAK,EAAE,gBAAgB,CAAC,WAAW,CAAA;IACnC,2DAA2D;IAC3D,YAAY,EAAE,MAAM,CAAA;CACrB;AAID,wBAAgB,sBAAsB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,oGAE7C;AAED,wBAAgB,4BAA4B,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,8CAEnD;AAED,MAAM,WAAW,UAAU;IACzB,KAAK,CAAC,EAAE,kCAAkC,CAAA;IAC1C,8CAA8C;IAC9C,QAAQ,EAAE,MAAM,CAAA;IAChB,oOAAoO;IACpO,YAAY,EAAE,MAAM,CAAA;CACrB;AAID,wBAAgB,YAAY,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,0FAEnC;AAED,wBAAgB,kBAAkB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,oCAEzC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.isMatchAndContactIndex = isMatchAndContactIndex;
|
|
4
|
+
exports.validateMatchAndContactIndex = validateMatchAndContactIndex;
|
|
5
|
+
exports.isSyncStatus = isSyncStatus;
|
|
6
|
+
exports.validateSyncStatus = validateSyncStatus;
|
|
7
|
+
const lexicons_1 = require("../../../../lexicons");
|
|
8
|
+
const util_1 = require("../../../../util");
|
|
9
|
+
const is$typed = util_1.is$typed, validate = lexicons_1.validate;
|
|
10
|
+
const id = 'app.bsky.contact.defs';
|
|
11
|
+
const hashMatchAndContactIndex = 'matchAndContactIndex';
|
|
12
|
+
function isMatchAndContactIndex(v) {
|
|
13
|
+
return is$typed(v, id, hashMatchAndContactIndex);
|
|
14
|
+
}
|
|
15
|
+
function validateMatchAndContactIndex(v) {
|
|
16
|
+
return validate(v, id, hashMatchAndContactIndex);
|
|
17
|
+
}
|
|
18
|
+
const hashSyncStatus = 'syncStatus';
|
|
19
|
+
function isSyncStatus(v) {
|
|
20
|
+
return is$typed(v, id, hashSyncStatus);
|
|
21
|
+
}
|
|
22
|
+
function validateSyncStatus(v) {
|
|
23
|
+
return validate(v, id, hashSyncStatus);
|
|
24
|
+
}
|
|
25
|
+
//# sourceMappingURL=defs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"defs.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/contact/defs.ts"],"names":[],"mappings":";;AA2BA,wDAEC;AAED,oEAEC;AAYD,oCAEC;AAED,gDAEC;AA9CD,mDAA4D;AAC5D,2CAIyB;AAGzB,MAAM,QAAQ,GAAG,eAAS,EACxB,QAAQ,GAAG,mBAAS,CAAA;AACtB,MAAM,EAAE,GAAG,uBAAuB,CAAA;AAUlC,MAAM,wBAAwB,GAAG,sBAAsB,CAAA;AAEvD,SAAgB,sBAAsB,CAAI,CAAI;IAC5C,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,wBAAwB,CAAC,CAAA;AAClD,CAAC;AAED,SAAgB,4BAA4B,CAAI,CAAI;IAClD,OAAO,QAAQ,CAA2B,CAAC,EAAE,EAAE,EAAE,wBAAwB,CAAC,CAAA;AAC5E,CAAC;AAUD,MAAM,cAAc,GAAG,YAAY,CAAA;AAEnC,SAAgB,YAAY,CAAI,CAAI;IAClC,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,cAAc,CAAC,CAAA;AACxC,CAAC;AAED,SAAgB,kBAAkB,CAAI,CAAI;IACxC,OAAO,QAAQ,CAAiB,CAAC,EAAE,EAAE,EAAE,cAAc,CAAC,CAAA;AACxD,CAAC","sourcesContent":["/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport { type ValidationResult, BlobRef } from '@atproto/lexicon'\nimport { CID } from 'multiformats/cid'\nimport { validate as _validate } from '../../../../lexicons'\nimport {\n type $Typed,\n is$typed as _is$typed,\n type OmitKey,\n} from '../../../../util'\nimport type * as AppBskyActorDefs from '../actor/defs.js'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'app.bsky.contact.defs'\n\n/** Associates a profile with the positional index of the contact import input in the call to `app.bsky.contact.importContacts`, so clients can know which phone caused a particular match. */\nexport interface MatchAndContactIndex {\n $type?: 'app.bsky.contact.defs#matchAndContactIndex'\n match: AppBskyActorDefs.ProfileView\n /** The index of this match in the import contact input. */\n contactIndex: number\n}\n\nconst hashMatchAndContactIndex = 'matchAndContactIndex'\n\nexport function isMatchAndContactIndex<V>(v: V) {\n return is$typed(v, id, hashMatchAndContactIndex)\n}\n\nexport function validateMatchAndContactIndex<V>(v: V) {\n return validate<MatchAndContactIndex & V>(v, id, hashMatchAndContactIndex)\n}\n\nexport interface SyncStatus {\n $type?: 'app.bsky.contact.defs#syncStatus'\n /** Last date when contacts where imported. */\n syncedAt: string\n /** Number of existing contact matches resulting of the user imports and of their imported contacts having imported the user. Matches stop being counted when the user either follows the matched contact or dismisses the match. */\n matchesCount: number\n}\n\nconst hashSyncStatus = 'syncStatus'\n\nexport function isSyncStatus<V>(v: V) {\n return is$typed(v, id, hashSyncStatus)\n}\n\nexport function validateSyncStatus<V>(v: V) {\n return validate<SyncStatus & V>(v, id, hashSyncStatus)\n}\n"]}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export type QueryParams = {};
|
|
2
|
+
export interface InputSchema {
|
|
3
|
+
/** The subject's DID to dismiss the match with. */
|
|
4
|
+
subject: string;
|
|
5
|
+
}
|
|
6
|
+
export interface OutputSchema {
|
|
7
|
+
}
|
|
8
|
+
export interface HandlerInput {
|
|
9
|
+
encoding: 'application/json';
|
|
10
|
+
body: InputSchema;
|
|
11
|
+
}
|
|
12
|
+
export interface HandlerSuccess {
|
|
13
|
+
encoding: 'application/json';
|
|
14
|
+
body: OutputSchema;
|
|
15
|
+
headers?: {
|
|
16
|
+
[key: string]: string;
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
export interface HandlerError {
|
|
20
|
+
status: number;
|
|
21
|
+
message?: string;
|
|
22
|
+
error?: 'TODO';
|
|
23
|
+
}
|
|
24
|
+
export type HandlerOutput = HandlerError | HandlerSuccess;
|
|
25
|
+
//# sourceMappingURL=dismissMatch.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dismissMatch.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/contact/dismissMatch.ts"],"names":[],"mappings":"AAgBA,MAAM,MAAM,WAAW,GAAG,EAAE,CAAA;AAE5B,MAAM,WAAW,WAAW;IAC1B,mDAAmD;IACnD,OAAO,EAAE,MAAM,CAAA;CAChB;AAED,MAAM,WAAW,YAAY;CAAG;AAEhC,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;IAChB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,MAAM,MAAM,aAAa,GAAG,YAAY,GAAG,cAAc,CAAA"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const lexicons_1 = require("../../../../lexicons");
|
|
4
|
+
const util_1 = require("../../../../util");
|
|
5
|
+
const is$typed = util_1.is$typed, validate = lexicons_1.validate;
|
|
6
|
+
const id = 'app.bsky.contact.dismissMatch';
|
|
7
|
+
//# sourceMappingURL=dismissMatch.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dismissMatch.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/contact/dismissMatch.ts"],"names":[],"mappings":";;AAKA,mDAA4D;AAC5D,2CAIyB;AAEzB,MAAM,QAAQ,GAAG,eAAS,EACxB,QAAQ,GAAG,mBAAS,CAAA;AACtB,MAAM,EAAE,GAAG,+BAA+B,CAAA","sourcesContent":["/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport { type ValidationResult, BlobRef } from '@atproto/lexicon'\nimport { CID } from 'multiformats/cid'\nimport { validate as _validate } from '../../../../lexicons'\nimport {\n type $Typed,\n is$typed as _is$typed,\n type OmitKey,\n} from '../../../../util'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'app.bsky.contact.dismissMatch'\n\nexport type QueryParams = {}\n\nexport interface InputSchema {\n /** The subject's DID to dismiss the match with. */\n subject: string\n}\n\nexport interface OutputSchema {}\n\nexport interface HandlerInput {\n encoding: 'application/json'\n body: InputSchema\n}\n\nexport interface HandlerSuccess {\n encoding: 'application/json'\n body: OutputSchema\n headers?: { [key: string]: string }\n}\n\nexport interface HandlerError {\n status: number\n message?: string\n error?: 'TODO'\n}\n\nexport type HandlerOutput = HandlerError | HandlerSuccess\n"]}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type * as AppBskyActorDefs from '../actor/defs.js';
|
|
2
|
+
export type QueryParams = {
|
|
3
|
+
limit: number;
|
|
4
|
+
cursor?: string;
|
|
5
|
+
};
|
|
6
|
+
export type InputSchema = undefined;
|
|
7
|
+
export interface OutputSchema {
|
|
8
|
+
cursor?: string;
|
|
9
|
+
matches: AppBskyActorDefs.ProfileView[];
|
|
10
|
+
}
|
|
11
|
+
export type HandlerInput = void;
|
|
12
|
+
export interface HandlerSuccess {
|
|
13
|
+
encoding: 'application/json';
|
|
14
|
+
body: OutputSchema;
|
|
15
|
+
headers?: {
|
|
16
|
+
[key: string]: string;
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
export interface HandlerError {
|
|
20
|
+
status: number;
|
|
21
|
+
message?: string;
|
|
22
|
+
error?: 'TODO';
|
|
23
|
+
}
|
|
24
|
+
export type HandlerOutput = HandlerError | HandlerSuccess;
|
|
25
|
+
//# sourceMappingURL=getMatches.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getMatches.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/contact/getMatches.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,KAAK,gBAAgB,MAAM,kBAAkB,CAAA;AAMzD,MAAM,MAAM,WAAW,GAAG;IACxB,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB,CAAA;AACD,MAAM,MAAM,WAAW,GAAG,SAAS,CAAA;AAEnC,MAAM,WAAW,YAAY;IAC3B,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,OAAO,EAAE,gBAAgB,CAAC,WAAW,EAAE,CAAA;CACxC;AAED,MAAM,MAAM,YAAY,GAAG,IAAI,CAAA;AAE/B,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;IAChB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,MAAM,MAAM,aAAa,GAAG,YAAY,GAAG,cAAc,CAAA"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const lexicons_1 = require("../../../../lexicons");
|
|
4
|
+
const util_1 = require("../../../../util");
|
|
5
|
+
const is$typed = util_1.is$typed, validate = lexicons_1.validate;
|
|
6
|
+
const id = 'app.bsky.contact.getMatches';
|
|
7
|
+
//# sourceMappingURL=getMatches.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getMatches.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/contact/getMatches.ts"],"names":[],"mappings":";;AAKA,mDAA4D;AAC5D,2CAIyB;AAGzB,MAAM,QAAQ,GAAG,eAAS,EACxB,QAAQ,GAAG,mBAAS,CAAA;AACtB,MAAM,EAAE,GAAG,6BAA6B,CAAA","sourcesContent":["/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport { type ValidationResult, BlobRef } from '@atproto/lexicon'\nimport { CID } from 'multiformats/cid'\nimport { validate as _validate } from '../../../../lexicons'\nimport {\n type $Typed,\n is$typed as _is$typed,\n type OmitKey,\n} from '../../../../util'\nimport type * as AppBskyActorDefs from '../actor/defs.js'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'app.bsky.contact.getMatches'\n\nexport type QueryParams = {\n limit: number\n cursor?: string\n}\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\n cursor?: string\n matches: AppBskyActorDefs.ProfileView[]\n}\n\nexport type HandlerInput = void\n\nexport interface HandlerSuccess {\n encoding: 'application/json'\n body: OutputSchema\n headers?: { [key: string]: string }\n}\n\nexport interface HandlerError {\n status: number\n message?: string\n error?: 'TODO'\n}\n\nexport type HandlerOutput = HandlerError | HandlerSuccess\n"]}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type * as AppBskyContactDefs from './defs.js';
|
|
2
|
+
export type QueryParams = {};
|
|
3
|
+
export type InputSchema = undefined;
|
|
4
|
+
export interface OutputSchema {
|
|
5
|
+
syncStatus?: AppBskyContactDefs.SyncStatus;
|
|
6
|
+
}
|
|
7
|
+
export type HandlerInput = void;
|
|
8
|
+
export interface HandlerSuccess {
|
|
9
|
+
encoding: 'application/json';
|
|
10
|
+
body: OutputSchema;
|
|
11
|
+
headers?: {
|
|
12
|
+
[key: string]: string;
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
export interface HandlerError {
|
|
16
|
+
status: number;
|
|
17
|
+
message?: string;
|
|
18
|
+
error?: 'TODO';
|
|
19
|
+
}
|
|
20
|
+
export type HandlerOutput = HandlerError | HandlerSuccess;
|
|
21
|
+
//# sourceMappingURL=getSyncStatus.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getSyncStatus.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/contact/getSyncStatus.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,KAAK,kBAAkB,MAAM,WAAW,CAAA;AAMpD,MAAM,MAAM,WAAW,GAAG,EAAE,CAAA;AAC5B,MAAM,MAAM,WAAW,GAAG,SAAS,CAAA;AAEnC,MAAM,WAAW,YAAY;IAC3B,UAAU,CAAC,EAAE,kBAAkB,CAAC,UAAU,CAAA;CAC3C;AAED,MAAM,MAAM,YAAY,GAAG,IAAI,CAAA;AAE/B,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;IAChB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,MAAM,MAAM,aAAa,GAAG,YAAY,GAAG,cAAc,CAAA"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const lexicons_1 = require("../../../../lexicons");
|
|
4
|
+
const util_1 = require("../../../../util");
|
|
5
|
+
const is$typed = util_1.is$typed, validate = lexicons_1.validate;
|
|
6
|
+
const id = 'app.bsky.contact.getSyncStatus';
|
|
7
|
+
//# sourceMappingURL=getSyncStatus.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getSyncStatus.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/contact/getSyncStatus.ts"],"names":[],"mappings":";;AAKA,mDAA4D;AAC5D,2CAIyB;AAGzB,MAAM,QAAQ,GAAG,eAAS,EACxB,QAAQ,GAAG,mBAAS,CAAA;AACtB,MAAM,EAAE,GAAG,gCAAgC,CAAA","sourcesContent":["/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport { type ValidationResult, BlobRef } from '@atproto/lexicon'\nimport { CID } from 'multiformats/cid'\nimport { validate as _validate } from '../../../../lexicons'\nimport {\n type $Typed,\n is$typed as _is$typed,\n type OmitKey,\n} from '../../../../util'\nimport type * as AppBskyContactDefs from './defs.js'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'app.bsky.contact.getSyncStatus'\n\nexport type QueryParams = {}\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\n syncStatus?: AppBskyContactDefs.SyncStatus\n}\n\nexport type HandlerInput = void\n\nexport interface HandlerSuccess {\n encoding: 'application/json'\n body: OutputSchema\n headers?: { [key: string]: string }\n}\n\nexport interface HandlerError {\n status: number\n message?: string\n error?: 'TODO'\n}\n\nexport type HandlerOutput = HandlerError | HandlerSuccess\n"]}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type * as AppBskyContactDefs from './defs.js';
|
|
2
|
+
export type QueryParams = {};
|
|
3
|
+
export interface InputSchema {
|
|
4
|
+
/** JWT to authenticate the call. Use the JWT received as a response to the call to `app.bsky.contact.verifyPhone`. */
|
|
5
|
+
token: string;
|
|
6
|
+
/** List of phone numbers in global E.164 format (e.g., '+12125550123'). Phone numbers that cannot be normalized into a valid phone number will be discarded. Should not repeat the 'phone' input used in `app.bsky.contact.verifyPhone`. */
|
|
7
|
+
contacts: string[];
|
|
8
|
+
}
|
|
9
|
+
export interface OutputSchema {
|
|
10
|
+
/** The users that matched during import and their indexes on the input contacts, so the client can correlate with its local list. */
|
|
11
|
+
matchesAndContactIndexes: AppBskyContactDefs.MatchAndContactIndex[];
|
|
12
|
+
}
|
|
13
|
+
export interface HandlerInput {
|
|
14
|
+
encoding: 'application/json';
|
|
15
|
+
body: InputSchema;
|
|
16
|
+
}
|
|
17
|
+
export interface HandlerSuccess {
|
|
18
|
+
encoding: 'application/json';
|
|
19
|
+
body: OutputSchema;
|
|
20
|
+
headers?: {
|
|
21
|
+
[key: string]: string;
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
export interface HandlerError {
|
|
25
|
+
status: number;
|
|
26
|
+
message?: string;
|
|
27
|
+
error?: 'TODO';
|
|
28
|
+
}
|
|
29
|
+
export type HandlerOutput = HandlerError | HandlerSuccess;
|
|
30
|
+
//# sourceMappingURL=importContacts.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"importContacts.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/contact/importContacts.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,KAAK,kBAAkB,MAAM,WAAW,CAAA;AAMpD,MAAM,MAAM,WAAW,GAAG,EAAE,CAAA;AAE5B,MAAM,WAAW,WAAW;IAC1B,sHAAsH;IACtH,KAAK,EAAE,MAAM,CAAA;IACb,4OAA4O;IAC5O,QAAQ,EAAE,MAAM,EAAE,CAAA;CACnB;AAED,MAAM,WAAW,YAAY;IAC3B,qIAAqI;IACrI,wBAAwB,EAAE,kBAAkB,CAAC,oBAAoB,EAAE,CAAA;CACpE;AAED,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;IAChB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,MAAM,MAAM,aAAa,GAAG,YAAY,GAAG,cAAc,CAAA"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const lexicons_1 = require("../../../../lexicons");
|
|
4
|
+
const util_1 = require("../../../../util");
|
|
5
|
+
const is$typed = util_1.is$typed, validate = lexicons_1.validate;
|
|
6
|
+
const id = 'app.bsky.contact.importContacts';
|
|
7
|
+
//# sourceMappingURL=importContacts.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"importContacts.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/contact/importContacts.ts"],"names":[],"mappings":";;AAKA,mDAA4D;AAC5D,2CAIyB;AAGzB,MAAM,QAAQ,GAAG,eAAS,EACxB,QAAQ,GAAG,mBAAS,CAAA;AACtB,MAAM,EAAE,GAAG,iCAAiC,CAAA","sourcesContent":["/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport { type ValidationResult, BlobRef } from '@atproto/lexicon'\nimport { CID } from 'multiformats/cid'\nimport { validate as _validate } from '../../../../lexicons'\nimport {\n type $Typed,\n is$typed as _is$typed,\n type OmitKey,\n} from '../../../../util'\nimport type * as AppBskyContactDefs from './defs.js'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'app.bsky.contact.importContacts'\n\nexport type QueryParams = {}\n\nexport interface InputSchema {\n /** JWT to authenticate the call. Use the JWT received as a response to the call to `app.bsky.contact.verifyPhone`. */\n token: string\n /** List of phone numbers in global E.164 format (e.g., '+12125550123'). Phone numbers that cannot be normalized into a valid phone number will be discarded. Should not repeat the 'phone' input used in `app.bsky.contact.verifyPhone`. */\n contacts: string[]\n}\n\nexport interface OutputSchema {\n /** The users that matched during import and their indexes on the input contacts, so the client can correlate with its local list. */\n matchesAndContactIndexes: AppBskyContactDefs.MatchAndContactIndex[]\n}\n\nexport interface HandlerInput {\n encoding: 'application/json'\n body: InputSchema\n}\n\nexport interface HandlerSuccess {\n encoding: 'application/json'\n body: OutputSchema\n headers?: { [key: string]: string }\n}\n\nexport interface HandlerError {\n status: number\n message?: string\n error?: 'TODO'\n}\n\nexport type HandlerOutput = HandlerError | HandlerSuccess\n"]}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export type QueryParams = {};
|
|
2
|
+
export interface InputSchema {
|
|
3
|
+
}
|
|
4
|
+
export interface OutputSchema {
|
|
5
|
+
}
|
|
6
|
+
export interface HandlerInput {
|
|
7
|
+
encoding: 'application/json';
|
|
8
|
+
body: InputSchema;
|
|
9
|
+
}
|
|
10
|
+
export interface HandlerSuccess {
|
|
11
|
+
encoding: 'application/json';
|
|
12
|
+
body: OutputSchema;
|
|
13
|
+
headers?: {
|
|
14
|
+
[key: string]: string;
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
export interface HandlerError {
|
|
18
|
+
status: number;
|
|
19
|
+
message?: string;
|
|
20
|
+
error?: 'TODO';
|
|
21
|
+
}
|
|
22
|
+
export type HandlerOutput = HandlerError | HandlerSuccess;
|
|
23
|
+
//# sourceMappingURL=removeData.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"removeData.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/contact/removeData.ts"],"names":[],"mappings":"AAgBA,MAAM,MAAM,WAAW,GAAG,EAAE,CAAA;AAE5B,MAAM,WAAW,WAAW;CAAG;AAE/B,MAAM,WAAW,YAAY;CAAG;AAEhC,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;IAChB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,MAAM,MAAM,aAAa,GAAG,YAAY,GAAG,cAAc,CAAA"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const lexicons_1 = require("../../../../lexicons");
|
|
4
|
+
const util_1 = require("../../../../util");
|
|
5
|
+
const is$typed = util_1.is$typed, validate = lexicons_1.validate;
|
|
6
|
+
const id = 'app.bsky.contact.removeData';
|
|
7
|
+
//# sourceMappingURL=removeData.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"removeData.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/contact/removeData.ts"],"names":[],"mappings":";;AAKA,mDAA4D;AAC5D,2CAIyB;AAEzB,MAAM,QAAQ,GAAG,eAAS,EACxB,QAAQ,GAAG,mBAAS,CAAA;AACtB,MAAM,EAAE,GAAG,6BAA6B,CAAA","sourcesContent":["/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport { type ValidationResult, BlobRef } from '@atproto/lexicon'\nimport { CID } from 'multiformats/cid'\nimport { validate as _validate } from '../../../../lexicons'\nimport {\n type $Typed,\n is$typed as _is$typed,\n type OmitKey,\n} from '../../../../util'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'app.bsky.contact.removeData'\n\nexport type QueryParams = {}\n\nexport interface InputSchema {}\n\nexport interface OutputSchema {}\n\nexport interface HandlerInput {\n encoding: 'application/json'\n body: InputSchema\n}\n\nexport interface HandlerSuccess {\n encoding: 'application/json'\n body: OutputSchema\n headers?: { [key: string]: string }\n}\n\nexport interface HandlerError {\n status: number\n message?: string\n error?: 'TODO'\n}\n\nexport type HandlerOutput = HandlerError | HandlerSuccess\n"]}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export type QueryParams = {};
|
|
2
|
+
export interface InputSchema {
|
|
3
|
+
/** The phone number to receive the code via SMS. */
|
|
4
|
+
phone: string;
|
|
5
|
+
}
|
|
6
|
+
export interface OutputSchema {
|
|
7
|
+
}
|
|
8
|
+
export interface HandlerInput {
|
|
9
|
+
encoding: 'application/json';
|
|
10
|
+
body: InputSchema;
|
|
11
|
+
}
|
|
12
|
+
export interface HandlerSuccess {
|
|
13
|
+
encoding: 'application/json';
|
|
14
|
+
body: OutputSchema;
|
|
15
|
+
headers?: {
|
|
16
|
+
[key: string]: string;
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
export interface HandlerError {
|
|
20
|
+
status: number;
|
|
21
|
+
message?: string;
|
|
22
|
+
error?: 'TODO';
|
|
23
|
+
}
|
|
24
|
+
export type HandlerOutput = HandlerError | HandlerSuccess;
|
|
25
|
+
//# sourceMappingURL=startPhoneVerification.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"startPhoneVerification.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/contact/startPhoneVerification.ts"],"names":[],"mappings":"AAgBA,MAAM,MAAM,WAAW,GAAG,EAAE,CAAA;AAE5B,MAAM,WAAW,WAAW;IAC1B,oDAAoD;IACpD,KAAK,EAAE,MAAM,CAAA;CACd;AAED,MAAM,WAAW,YAAY;CAAG;AAEhC,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;IAChB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,MAAM,MAAM,aAAa,GAAG,YAAY,GAAG,cAAc,CAAA"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const lexicons_1 = require("../../../../lexicons");
|
|
4
|
+
const util_1 = require("../../../../util");
|
|
5
|
+
const is$typed = util_1.is$typed, validate = lexicons_1.validate;
|
|
6
|
+
const id = 'app.bsky.contact.startPhoneVerification';
|
|
7
|
+
//# sourceMappingURL=startPhoneVerification.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"startPhoneVerification.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/contact/startPhoneVerification.ts"],"names":[],"mappings":";;AAKA,mDAA4D;AAC5D,2CAIyB;AAEzB,MAAM,QAAQ,GAAG,eAAS,EACxB,QAAQ,GAAG,mBAAS,CAAA;AACtB,MAAM,EAAE,GAAG,yCAAyC,CAAA","sourcesContent":["/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport { type ValidationResult, BlobRef } from '@atproto/lexicon'\nimport { CID } from 'multiformats/cid'\nimport { validate as _validate } from '../../../../lexicons'\nimport {\n type $Typed,\n is$typed as _is$typed,\n type OmitKey,\n} from '../../../../util'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'app.bsky.contact.startPhoneVerification'\n\nexport type QueryParams = {}\n\nexport interface InputSchema {\n /** The phone number to receive the code via SMS. */\n phone: string\n}\n\nexport interface OutputSchema {}\n\nexport interface HandlerInput {\n encoding: 'application/json'\n body: InputSchema\n}\n\nexport interface HandlerSuccess {\n encoding: 'application/json'\n body: OutputSchema\n headers?: { [key: string]: string }\n}\n\nexport interface HandlerError {\n status: number\n message?: string\n error?: 'TODO'\n}\n\nexport type HandlerOutput = HandlerError | HandlerSuccess\n"]}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export type QueryParams = {};
|
|
2
|
+
export interface InputSchema {
|
|
3
|
+
/** The phone number to verify. Should be the same as the one passed to `app.bsky.contact.startPhoneVerification`. */
|
|
4
|
+
phone: string;
|
|
5
|
+
/** The code received via SMS as a result of the call to `app.bsky.contact.startPhoneVerification`. */
|
|
6
|
+
code: string;
|
|
7
|
+
}
|
|
8
|
+
export interface OutputSchema {
|
|
9
|
+
/** JWT to be used in a call to `app.bsky.contact.importContacts`. It is only valid for a single call. */
|
|
10
|
+
token: string;
|
|
11
|
+
}
|
|
12
|
+
export interface HandlerInput {
|
|
13
|
+
encoding: 'application/json';
|
|
14
|
+
body: InputSchema;
|
|
15
|
+
}
|
|
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
|
+
error?: 'TODO';
|
|
27
|
+
}
|
|
28
|
+
export type HandlerOutput = HandlerError | HandlerSuccess;
|
|
29
|
+
//# sourceMappingURL=verifyPhone.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"verifyPhone.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/contact/verifyPhone.ts"],"names":[],"mappings":"AAgBA,MAAM,MAAM,WAAW,GAAG,EAAE,CAAA;AAE5B,MAAM,WAAW,WAAW;IAC1B,qHAAqH;IACrH,KAAK,EAAE,MAAM,CAAA;IACb,sGAAsG;IACtG,IAAI,EAAE,MAAM,CAAA;CACb;AAED,MAAM,WAAW,YAAY;IAC3B,yGAAyG;IACzG,KAAK,EAAE,MAAM,CAAA;CACd;AAED,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;IAChB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,MAAM,MAAM,aAAa,GAAG,YAAY,GAAG,cAAc,CAAA"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const lexicons_1 = require("../../../../lexicons");
|
|
4
|
+
const util_1 = require("../../../../util");
|
|
5
|
+
const is$typed = util_1.is$typed, validate = lexicons_1.validate;
|
|
6
|
+
const id = 'app.bsky.contact.verifyPhone';
|
|
7
|
+
//# sourceMappingURL=verifyPhone.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"verifyPhone.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/contact/verifyPhone.ts"],"names":[],"mappings":";;AAKA,mDAA4D;AAC5D,2CAIyB;AAEzB,MAAM,QAAQ,GAAG,eAAS,EACxB,QAAQ,GAAG,mBAAS,CAAA;AACtB,MAAM,EAAE,GAAG,8BAA8B,CAAA","sourcesContent":["/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport { type ValidationResult, BlobRef } from '@atproto/lexicon'\nimport { CID } from 'multiformats/cid'\nimport { validate as _validate } from '../../../../lexicons'\nimport {\n type $Typed,\n is$typed as _is$typed,\n type OmitKey,\n} from '../../../../util'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'app.bsky.contact.verifyPhone'\n\nexport type QueryParams = {}\n\nexport interface InputSchema {\n /** The phone number to verify. Should be the same as the one passed to `app.bsky.contact.startPhoneVerification`. */\n phone: string\n /** The code received via SMS as a result of the call to `app.bsky.contact.startPhoneVerification`. */\n code: string\n}\n\nexport interface OutputSchema {\n /** JWT to be used in a call to `app.bsky.contact.importContacts`. It is only valid for a single call. */\n token: string\n}\n\nexport interface HandlerInput {\n encoding: 'application/json'\n body: InputSchema\n}\n\nexport interface HandlerSuccess {\n encoding: 'application/json'\n body: OutputSchema\n headers?: { [key: string]: string }\n}\n\nexport interface HandlerError {\n status: number\n message?: string\n error?: 'TODO'\n}\n\nexport type HandlerOutput = HandlerError | HandlerSuccess\n"]}
|
|
@@ -108,6 +108,14 @@ export interface Relationship {
|
|
|
108
108
|
following?: string;
|
|
109
109
|
/** if the actor is followed by this DID, contains the AT-URI of the follow record */
|
|
110
110
|
followedBy?: string;
|
|
111
|
+
/** if the actor blocks this DID, this is the AT-URI of the block record */
|
|
112
|
+
blocking?: string;
|
|
113
|
+
/** if the actor is blocked by this DID, contains the AT-URI of the block record */
|
|
114
|
+
blockedBy?: string;
|
|
115
|
+
/** if the actor blocks this DID via a block list, this is the AT-URI of the listblock record */
|
|
116
|
+
blockingByList?: string;
|
|
117
|
+
/** if the actor is blocked by this DID via a block list, contains the AT-URI of the listblock record */
|
|
118
|
+
blockedByList?: string;
|
|
111
119
|
}
|
|
112
120
|
export declare function isRelationship<V>(v: V): v is import("../../../../util").$TypedObject<V, "app.bsky.graph.defs", "relationship">;
|
|
113
121
|
export declare function validateRelationship<V>(v: V): ValidationResult<Relationship & V>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"defs.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/graph/defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAQjE,OA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SAAgB,qBAAqB,CAAI,CAAI;IAC3C,OAAO,QAAQ,CAAoB,CAAC,EAAE,EAAE,EAAE,iBAAiB,CAAC,CAAA;AAC9D,CAAC;AAoBD,MAAM,gBAAgB,GAAG,cAAc,CAAA;AAEvC,SAAgB,cAAc,CAAI,CAAI;IACpC,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,gBAAgB,CAAC,CAAA;AAC1C,CAAC;AAED,SAAgB,oBAAoB,CAAI,CAAI;IAC1C,OAAO,QAAQ,CAAmB,CAAC,EAAE,EAAE,EAAE,gBAAgB,CAAC,CAAA;AAC5D,CAAC","sourcesContent":["/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport { type ValidationResult, BlobRef } from '@atproto/lexicon'\nimport { CID } from 'multiformats/cid'\nimport { validate as _validate } from '../../../../lexicons'\nimport {\n type $Typed,\n is$typed as _is$typed,\n type OmitKey,\n} from '../../../../util'\nimport type * as ComAtprotoLabelDefs from '../../../com/atproto/label/defs.js'\nimport type * as AppBskyActorDefs from '../actor/defs.js'\nimport type * as AppBskyRichtextFacet from '../richtext/facet.js'\nimport type * as AppBskyFeedDefs from '../feed/defs.js'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'app.bsky.graph.defs'\n\nexport interface ListViewBasic {\n $type?: 'app.bsky.graph.defs#listViewBasic'\n uri: string\n cid: string\n name: string\n purpose: ListPurpose\n avatar?: string\n listItemCount?: number\n labels?: ComAtprotoLabelDefs.Label[]\n viewer?: ListViewerState\n indexedAt?: string\n}\n\nconst hashListViewBasic = 'listViewBasic'\n\nexport function isListViewBasic<V>(v: V) {\n return is$typed(v, id, hashListViewBasic)\n}\n\nexport function validateListViewBasic<V>(v: V) {\n return validate<ListViewBasic & V>(v, id, hashListViewBasic)\n}\n\nexport interface ListView {\n $type?: 'app.bsky.graph.defs#listView'\n uri: string\n cid: string\n creator: AppBskyActorDefs.ProfileView\n name: string\n purpose: ListPurpose\n description?: string\n descriptionFacets?: AppBskyRichtextFacet.Main[]\n avatar?: string\n listItemCount?: number\n labels?: ComAtprotoLabelDefs.Label[]\n viewer?: ListViewerState\n indexedAt: string\n}\n\nconst hashListView = 'listView'\n\nexport function isListView<V>(v: V) {\n return is$typed(v, id, hashListView)\n}\n\nexport function validateListView<V>(v: V) {\n return validate<ListView & V>(v, id, hashListView)\n}\n\nexport interface ListItemView {\n $type?: 'app.bsky.graph.defs#listItemView'\n uri: string\n subject: AppBskyActorDefs.ProfileView\n}\n\nconst hashListItemView = 'listItemView'\n\nexport function isListItemView<V>(v: V) {\n return is$typed(v, id, hashListItemView)\n}\n\nexport function validateListItemView<V>(v: V) {\n return validate<ListItemView & V>(v, id, hashListItemView)\n}\n\nexport interface StarterPackView {\n $type?: 'app.bsky.graph.defs#starterPackView'\n uri: string\n cid: string\n record: { [_ in string]: unknown }\n creator: AppBskyActorDefs.ProfileViewBasic\n list?: ListViewBasic\n listItemsSample?: ListItemView[]\n feeds?: AppBskyFeedDefs.GeneratorView[]\n joinedWeekCount?: number\n joinedAllTimeCount?: number\n labels?: ComAtprotoLabelDefs.Label[]\n indexedAt: string\n}\n\nconst hashStarterPackView = 'starterPackView'\n\nexport function isStarterPackView<V>(v: V) {\n return is$typed(v, id, hashStarterPackView)\n}\n\nexport function validateStarterPackView<V>(v: V) {\n return validate<StarterPackView & V>(v, id, hashStarterPackView)\n}\n\nexport interface StarterPackViewBasic {\n $type?: 'app.bsky.graph.defs#starterPackViewBasic'\n uri: string\n cid: string\n record: { [_ in string]: unknown }\n creator: AppBskyActorDefs.ProfileViewBasic\n listItemCount?: number\n joinedWeekCount?: number\n joinedAllTimeCount?: number\n labels?: ComAtprotoLabelDefs.Label[]\n indexedAt: string\n}\n\nconst hashStarterPackViewBasic = 'starterPackViewBasic'\n\nexport function isStarterPackViewBasic<V>(v: V) {\n return is$typed(v, id, hashStarterPackViewBasic)\n}\n\nexport function validateStarterPackViewBasic<V>(v: V) {\n return validate<StarterPackViewBasic & V>(v, id, hashStarterPackViewBasic)\n}\n\nexport type ListPurpose =\n | 'app.bsky.graph.defs#modlist'\n | 'app.bsky.graph.defs#curatelist'\n | 'app.bsky.graph.defs#referencelist'\n | (string & {})\n\n/** A list of actors to apply an aggregate moderation action (mute/block) on. */\nexport const MODLIST = `${id}#modlist`\n/** A list of actors used for curation purposes such as list feeds or interaction gating. */\nexport const CURATELIST = `${id}#curatelist`\n/** A list of actors used for only for reference purposes such as within a starter pack. */\nexport const REFERENCELIST = `${id}#referencelist`\n\nexport interface ListViewerState {\n $type?: 'app.bsky.graph.defs#listViewerState'\n muted?: boolean\n blocked?: string\n}\n\nconst hashListViewerState = 'listViewerState'\n\nexport function isListViewerState<V>(v: V) {\n return is$typed(v, id, hashListViewerState)\n}\n\nexport function validateListViewerState<V>(v: V) {\n return validate<ListViewerState & V>(v, id, hashListViewerState)\n}\n\n/** indicates that a handle or DID could not be resolved */\nexport interface NotFoundActor {\n $type?: 'app.bsky.graph.defs#notFoundActor'\n actor: string\n notFound: true\n}\n\nconst hashNotFoundActor = 'notFoundActor'\n\nexport function isNotFoundActor<V>(v: V) {\n return is$typed(v, id, hashNotFoundActor)\n}\n\nexport function validateNotFoundActor<V>(v: V) {\n return validate<NotFoundActor & V>(v, id, hashNotFoundActor)\n}\n\n/** lists the bi-directional graph relationships between one actor (not indicated in the object), and the target actors (the DID included in the object) */\nexport interface Relationship {\n $type?: 'app.bsky.graph.defs#relationship'\n did: string\n /** if the actor follows this DID, this is the AT-URI of the follow record */\n following?: string\n /** if the actor is followed by this DID, contains the AT-URI of the follow record */\n followedBy?: string\n /** if the actor blocks this DID, this is the AT-URI of the block record */\n blocking?: string\n /** if the actor is blocked by this DID, contains the AT-URI of the block record */\n blockedBy?: string\n /** if the actor blocks this DID via a block list, this is the AT-URI of the listblock record */\n blockingByList?: string\n /** if the actor is blocked by this DID via a block list, contains the AT-URI of the listblock record */\n blockedByList?: string\n}\n\nconst hashRelationship = 'relationship'\n\nexport function isRelationship<V>(v: V) {\n return is$typed(v, id, hashRelationship)\n}\n\nexport function validateRelationship<V>(v: V) {\n return validate<Relationship & V>(v, id, hashRelationship)\n}\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atproto/pds",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.198",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "Reference implementation of atproto Personal Data Server (PDS)",
|
|
6
6
|
"keywords": [
|
|
@@ -52,20 +52,20 @@
|
|
|
52
52
|
"@atproto-labs/simple-store-memory": "0.1.4",
|
|
53
53
|
"@atproto-labs/simple-store-redis": "0.0.1",
|
|
54
54
|
"@atproto-labs/xrpc-utils": "0.0.24",
|
|
55
|
-
"@atproto/api": "^0.18.
|
|
55
|
+
"@atproto/api": "^0.18.5",
|
|
56
56
|
"@atproto/aws": "^0.2.31",
|
|
57
|
-
"@atproto/common": "^0.5.
|
|
57
|
+
"@atproto/common": "^0.5.3",
|
|
58
58
|
"@atproto/crypto": "^0.4.5",
|
|
59
59
|
"@atproto/identity": "^0.4.10",
|
|
60
|
-
"@atproto/lex-cbor": "^0.0.
|
|
61
|
-
"@atproto/lex-data": "^0.0.
|
|
62
|
-
"@atproto/lexicon": "^0.
|
|
63
|
-
"@atproto/oauth-provider": "^0.14.
|
|
60
|
+
"@atproto/lex-cbor": "^0.0.3",
|
|
61
|
+
"@atproto/lex-data": "^0.0.3",
|
|
62
|
+
"@atproto/lexicon": "^0.6.0",
|
|
63
|
+
"@atproto/oauth-provider": "^0.14.1",
|
|
64
64
|
"@atproto/oauth-scopes": "^0.3.0",
|
|
65
|
-
"@atproto/repo": "^0.8.
|
|
65
|
+
"@atproto/repo": "^0.8.12",
|
|
66
66
|
"@atproto/syntax": "^0.4.2",
|
|
67
|
-
"@atproto/xrpc": "^0.7.
|
|
68
|
-
"@atproto/xrpc-server": "^0.10.
|
|
67
|
+
"@atproto/xrpc": "^0.7.7",
|
|
68
|
+
"@atproto/xrpc-server": "^0.10.3"
|
|
69
69
|
},
|
|
70
70
|
"devDependencies": {
|
|
71
71
|
"@atproto/pds-entryway": "npm:@atproto/pds@0.3.0-entryway.3",
|
|
@@ -83,9 +83,9 @@
|
|
|
83
83
|
"ts-node": "^10.8.2",
|
|
84
84
|
"typescript": "^5.6.3",
|
|
85
85
|
"ws": "^8.12.0",
|
|
86
|
-
"@atproto/api": "^0.18.
|
|
87
|
-
"@atproto/bsky": "^0.0.
|
|
88
|
-
"@atproto/lex-cli": "^0.9.
|
|
86
|
+
"@atproto/api": "^0.18.5",
|
|
87
|
+
"@atproto/bsky": "^0.0.200",
|
|
88
|
+
"@atproto/lex-cli": "^0.9.8",
|
|
89
89
|
"@atproto/oauth-client-browser-example": "0.0.8"
|
|
90
90
|
},
|
|
91
91
|
"scripts": {
|