@atproto/lex-password-session 0.1.0-next.0 → 0.1.1
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 +23 -8
- package/dist/error.d.ts.map +1 -1
- package/dist/lexicons/com/atproto/server/createAccount.d.ts +0 -1
- package/dist/lexicons/com/atproto/server/createAccount.d.ts.map +1 -1
- package/dist/lexicons/com/atproto/server/createAccount.defs.d.ts +16 -13
- package/dist/lexicons/com/atproto/server/createAccount.defs.d.ts.map +1 -1
- package/dist/lexicons/com/atproto/server/createAccount.defs.js +8 -10
- package/dist/lexicons/com/atproto/server/createAccount.defs.js.map +1 -1
- package/dist/lexicons/com/atproto/server/createAccount.js +0 -1
- package/dist/lexicons/com/atproto/server/createAccount.js.map +1 -1
- package/dist/lexicons/com/atproto/server/createSession.d.ts +0 -1
- package/dist/lexicons/com/atproto/server/createSession.d.ts.map +1 -1
- package/dist/lexicons/com/atproto/server/createSession.defs.d.ts +16 -13
- package/dist/lexicons/com/atproto/server/createSession.defs.d.ts.map +1 -1
- package/dist/lexicons/com/atproto/server/createSession.defs.js +11 -10
- package/dist/lexicons/com/atproto/server/createSession.defs.js.map +1 -1
- package/dist/lexicons/com/atproto/server/createSession.js +0 -1
- package/dist/lexicons/com/atproto/server/createSession.js.map +1 -1
- package/dist/lexicons/com/atproto/server/deleteSession.d.ts +0 -1
- package/dist/lexicons/com/atproto/server/deleteSession.d.ts.map +1 -1
- package/dist/lexicons/com/atproto/server/deleteSession.defs.d.ts +9 -6
- package/dist/lexicons/com/atproto/server/deleteSession.defs.d.ts.map +1 -1
- package/dist/lexicons/com/atproto/server/deleteSession.defs.js +8 -7
- package/dist/lexicons/com/atproto/server/deleteSession.defs.js.map +1 -1
- package/dist/lexicons/com/atproto/server/deleteSession.js +0 -1
- package/dist/lexicons/com/atproto/server/deleteSession.js.map +1 -1
- package/dist/lexicons/com/atproto/server/getSession.d.ts +0 -1
- package/dist/lexicons/com/atproto/server/getSession.d.ts.map +1 -1
- package/dist/lexicons/com/atproto/server/getSession.defs.d.ts +11 -9
- package/dist/lexicons/com/atproto/server/getSession.defs.d.ts.map +1 -1
- package/dist/lexicons/com/atproto/server/getSession.defs.js +6 -8
- package/dist/lexicons/com/atproto/server/getSession.defs.js.map +1 -1
- package/dist/lexicons/com/atproto/server/getSession.js +0 -1
- package/dist/lexicons/com/atproto/server/getSession.js.map +1 -1
- package/dist/lexicons/com/atproto/server/refreshSession.d.ts +0 -1
- package/dist/lexicons/com/atproto/server/refreshSession.d.ts.map +1 -1
- package/dist/lexicons/com/atproto/server/refreshSession.defs.d.ts +14 -11
- package/dist/lexicons/com/atproto/server/refreshSession.defs.d.ts.map +1 -1
- package/dist/lexicons/com/atproto/server/refreshSession.defs.js +11 -9
- package/dist/lexicons/com/atproto/server/refreshSession.defs.js.map +1 -1
- package/dist/lexicons/com/atproto/server/refreshSession.js +0 -1
- package/dist/lexicons/com/atproto/server/refreshSession.js.map +1 -1
- package/dist/password-session.d.ts.map +1 -1
- package/dist/password-session.js.map +1 -1
- package/package.json +6 -6
- package/src/lexicons/com/atproto/server/createAccount.defs.ts +43 -48
- package/src/lexicons/com/atproto/server/createAccount.ts +0 -1
- package/src/lexicons/com/atproto/server/createSession.defs.ts +42 -44
- package/src/lexicons/com/atproto/server/createSession.ts +0 -1
- package/src/lexicons/com/atproto/server/deleteSession.defs.ts +22 -24
- package/src/lexicons/com/atproto/server/deleteSession.ts +0 -1
- package/src/lexicons/com/atproto/server/getSession.defs.ts +27 -29
- package/src/lexicons/com/atproto/server/getSession.ts +0 -1
- package/src/lexicons/com/atproto/server/refreshSession.defs.ts +38 -39
- package/src/lexicons/com/atproto/server/refreshSession.ts +0 -1
- package/tsconfig.build.json +2 -2
- package/tsconfig.json +2 -2
- package/tsconfig.tests.json +1 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,24 +1,39 @@
|
|
|
1
1
|
# @atproto/lex-password-session
|
|
2
2
|
|
|
3
|
-
## 0.1.
|
|
3
|
+
## 0.1.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#4967](https://github.com/bluesky-social/atproto/pull/4967) [`9fc720c`](https://github.com/bluesky-social/atproto/commit/9fc720ce75f3ee88a5e48a9be919b07c7647f6f5) Thanks [@matthieusieben](https://github.com/matthieusieben)! - Use TypeScript 7 to build package
|
|
8
|
+
|
|
9
|
+
- Updated dependencies [[`9fc720c`](https://github.com/bluesky-social/atproto/commit/9fc720ce75f3ee88a5e48a9be919b07c7647f6f5)]:
|
|
10
|
+
- @atproto/lex-client@0.1.4
|
|
11
|
+
- @atproto/lex-schema@0.1.4
|
|
12
|
+
|
|
13
|
+
## 0.1.0
|
|
4
14
|
|
|
5
15
|
### Minor Changes
|
|
6
16
|
|
|
7
|
-
- [#4929](https://github.com/bluesky-social/atproto/pull/4929) [`
|
|
17
|
+
- [#4929](https://github.com/bluesky-social/atproto/pull/4929) [`f01c59f`](https://github.com/bluesky-social/atproto/commit/f01c59f5bd3f75fb8b47a9eecd4858b84033fb7c) Thanks [@devinivy](https://github.com/devinivy)! - **BREAKING:** Drop support for Node.js 18 and 20. Node.js 22 is now the minimum supported version. Docker images now use Node.js 24.
|
|
8
18
|
|
|
9
|
-
- [#4943](https://github.com/bluesky-social/atproto/pull/4943) [`
|
|
19
|
+
- [#4943](https://github.com/bluesky-social/atproto/pull/4943) [`c459153`](https://github.com/bluesky-social/atproto/commit/c459153395a30ce89e050892c8fab7dc98e019b9) Thanks [@devinivy](https://github.com/devinivy)! - **BREAKING:** Convert to pure ESM. All packages now ship `"type": "module"` with ES module output and Node16 module resolution.
|
|
10
20
|
|
|
11
21
|
Node.js 22's `require()` compatibility layer can still load these packages in CommonJS code.
|
|
12
22
|
|
|
13
|
-
- [#4930](https://github.com/bluesky-social/atproto/pull/4930) [`
|
|
23
|
+
- [#4930](https://github.com/bluesky-social/atproto/pull/4930) [`908bece`](https://github.com/bluesky-social/atproto/commit/908bece169258bff5ad121e5eec157d6ded6f705) Thanks [@devinivy](https://github.com/devinivy)! - Build with TypeScript 6.0.
|
|
24
|
+
|
|
25
|
+
### Patch Changes
|
|
26
|
+
|
|
27
|
+
- Updated dependencies [[`f01c59f`](https://github.com/bluesky-social/atproto/commit/f01c59f5bd3f75fb8b47a9eecd4858b84033fb7c), [`c459153`](https://github.com/bluesky-social/atproto/commit/c459153395a30ce89e050892c8fab7dc98e019b9), [`affb50c`](https://github.com/bluesky-social/atproto/commit/affb50c040b497a12631df99a6310f8e78cab557), [`908bece`](https://github.com/bluesky-social/atproto/commit/908bece169258bff5ad121e5eec157d6ded6f705)]:
|
|
28
|
+
- @atproto/lex-client@0.1.0
|
|
29
|
+
- @atproto/lex-schema@0.1.0
|
|
14
30
|
|
|
15
|
-
|
|
31
|
+
## 0.0.15
|
|
16
32
|
|
|
17
33
|
### Patch Changes
|
|
18
34
|
|
|
19
|
-
- Updated dependencies [[`
|
|
20
|
-
- @atproto/lex-client@0.
|
|
21
|
-
- @atproto/lex-schema@0.1.0-next.0
|
|
35
|
+
- Updated dependencies [[`d8b2374`](https://github.com/bluesky-social/atproto/commit/d8b2374e1592d1dec65a33439791bc141f02397a)]:
|
|
36
|
+
- @atproto/lex-client@0.0.22
|
|
22
37
|
|
|
23
38
|
## 0.0.14
|
|
24
39
|
|
package/dist/error.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"error.d.ts","sourceRoot":"","sources":["../src/error.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA;AAE3D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,qBAAa,kBAAmB,SAAQ,QAAQ;IAQlC,QAAQ,CAAC,KAAK,EAAE,WAAW;IAPvC,IAAI,SAAuB;IAE3B;;;;OAIG;
|
|
1
|
+
{"version":3,"file":"error.d.ts","sourceRoot":"","sources":["../src/error.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA;AAE3D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,qBAAa,kBAAmB,SAAQ,QAAQ;IAQlC,QAAQ,CAAC,KAAK,EAAE,WAAW;IAPvC,IAAI,SAAuB;IAE3B;;;;OAIG;IACH,YAAqB,KAAK,EAAE,WAAW,EAEtC;CACF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createAccount.d.ts","sourceRoot":"","sources":["../../../../../src/lexicons/com/atproto/server/createAccount.ts"],"names":[],"mappings":"AAIA,cAAc,yBAAyB,CAAA
|
|
1
|
+
{"version":3,"file":"createAccount.d.ts","sourceRoot":"","sources":["../../../../../src/lexicons/com/atproto/server/createAccount.ts"],"names":[],"mappings":"AAIA,cAAc,yBAAyB,CAAA"}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { l } from '@atproto/lex-schema';
|
|
2
2
|
declare const $nsid = "com.atproto.server.createAccount";
|
|
3
3
|
export { $nsid };
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
export declare const $params: l.ParamsSchema<{}>;
|
|
5
|
+
export type $Params = l.InferOutput<typeof $params>;
|
|
6
|
+
export declare const $input: l.Payload<"application/json", l.ObjectSchema<{
|
|
6
7
|
email: l.OptionalSchema<l.StringSchema<{}>>;
|
|
7
8
|
handle: l.StringSchema<{
|
|
8
9
|
readonly format: "handle";
|
|
@@ -16,7 +17,10 @@ declare const main: l.Procedure<"com.atproto.server.createAccount", l.ParamsSche
|
|
|
16
17
|
password: l.OptionalSchema<l.StringSchema<{}>>;
|
|
17
18
|
recoveryKey: l.OptionalSchema<l.StringSchema<{}>>;
|
|
18
19
|
plcOp: l.OptionalSchema<l.LexMapSchema>;
|
|
19
|
-
}
|
|
20
|
+
}>>;
|
|
21
|
+
export type $Input<B = l.BinaryData> = l.InferPayload<typeof $input, B>;
|
|
22
|
+
export type $InputBody<B = l.BinaryData> = l.InferPayloadBody<typeof $input, B>;
|
|
23
|
+
export declare const $output: l.Payload<"application/json", l.ObjectSchema<{
|
|
20
24
|
accessJwt: l.StringSchema<{}>;
|
|
21
25
|
refreshJwt: l.StringSchema<{}>;
|
|
22
26
|
handle: l.StringSchema<{
|
|
@@ -26,14 +30,11 @@ declare const main: l.Procedure<"com.atproto.server.createAccount", l.ParamsSche
|
|
|
26
30
|
readonly format: "did";
|
|
27
31
|
}>;
|
|
28
32
|
didDoc: l.OptionalSchema<l.LexMapSchema>;
|
|
29
|
-
}
|
|
30
|
-
export
|
|
31
|
-
export type $
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
export type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>;
|
|
35
|
-
export type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<typeof main, B>;
|
|
36
|
-
export declare const $lxm: "com.atproto.server.createAccount", $params: l.ParamsSchema<{}>, $input: l.Payload<"application/json", l.ObjectSchema<{
|
|
33
|
+
}>>;
|
|
34
|
+
export type $Output<B = l.BinaryData> = l.InferPayload<typeof $output, B>;
|
|
35
|
+
export type $OutputBody<B = l.BinaryData> = l.InferPayloadBody<typeof $output, B>;
|
|
36
|
+
/** Create an account. Implemented by PDS. */
|
|
37
|
+
declare const main: l.Procedure<"com.atproto.server.createAccount", l.ParamsSchema<{}>, l.Payload<"application/json", l.ObjectSchema<{
|
|
37
38
|
email: l.OptionalSchema<l.StringSchema<{}>>;
|
|
38
39
|
handle: l.StringSchema<{
|
|
39
40
|
readonly format: "handle";
|
|
@@ -47,7 +48,7 @@ export declare const $lxm: "com.atproto.server.createAccount", $params: l.Params
|
|
|
47
48
|
password: l.OptionalSchema<l.StringSchema<{}>>;
|
|
48
49
|
recoveryKey: l.OptionalSchema<l.StringSchema<{}>>;
|
|
49
50
|
plcOp: l.OptionalSchema<l.LexMapSchema>;
|
|
50
|
-
}>>,
|
|
51
|
+
}>>, l.Payload<"application/json", l.ObjectSchema<{
|
|
51
52
|
accessJwt: l.StringSchema<{}>;
|
|
52
53
|
refreshJwt: l.StringSchema<{}>;
|
|
53
54
|
handle: l.StringSchema<{
|
|
@@ -57,5 +58,7 @@ export declare const $lxm: "com.atproto.server.createAccount", $params: l.Params
|
|
|
57
58
|
readonly format: "did";
|
|
58
59
|
}>;
|
|
59
60
|
didDoc: l.OptionalSchema<l.LexMapSchema>;
|
|
60
|
-
}
|
|
61
|
+
}>>, readonly ["InvalidHandle", "InvalidPassword", "InvalidInviteCode", "HandleNotAvailable", "UnsupportedDomain", "UnresolvableDid", "IncompatibleDidDoc"]>;
|
|
62
|
+
export { main };
|
|
63
|
+
export declare const $lxm = "com.atproto.server.createAccount";
|
|
61
64
|
//# sourceMappingURL=createAccount.defs.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createAccount.defs.d.ts","sourceRoot":"","sources":["../../../../../src/lexicons/com/atproto/server/createAccount.defs.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,qBAAqB,CAAA;AAEvC,QAAA,MAAM,KAAK,qCAAqC,CAAA;AAEhD,OAAO,EAAE,KAAK,EAAE,CAAA;AAEhB,
|
|
1
|
+
{"version":3,"file":"createAccount.defs.d.ts","sourceRoot":"","sources":["../../../../../src/lexicons/com/atproto/server/createAccount.defs.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,qBAAqB,CAAA;AAEvC,QAAA,MAAM,KAAK,qCAAqC,CAAA;AAEhD,OAAO,EAAE,KAAK,EAAE,CAAA;AAEhB,eAAO,MAAM,OAAO,oBAA2B,CAAA;AAE/C,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,OAAO,CAAC,CAAA;AAEnD,eAAO,MAAM,MAAM;;;;;;;;;;;;;;GAUjB,CAAA;AAEF,MAAM,MAAM,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,YAAY,CAAC,OAAO,MAAM,EAAE,CAAC,CAAC,CAAA;AACvE,MAAM,MAAM,UAAU,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,gBAAgB,CAAC,OAAO,MAAM,EAAE,CAAC,CAAC,CAAA;AAE/E,eAAO,MAAM,OAAO;;;;;;;;;;GAMlB,CAAA;AAEF,MAAM,MAAM,OAAO,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,YAAY,CAAC,OAAO,OAAO,EAAE,CAAC,CAAC,CAAA;AACzE,MAAM,MAAM,WAAW,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,gBAAgB,CAC5D,OAAO,OAAO,EACd,CAAC,CACF,CAAA;AAED,6CAA6C;AAC7C,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;4JAQR,CAAA;AAEF,OAAO,EAAE,IAAI,EAAE,CAAA;AAEf,eAAO,MAAM,IAAI,qCAAQ,CAAA"}
|
|
@@ -4,12 +4,8 @@
|
|
|
4
4
|
import { l } from '@atproto/lex-schema';
|
|
5
5
|
const $nsid = 'com.atproto.server.createAccount';
|
|
6
6
|
export { $nsid };
|
|
7
|
-
|
|
8
|
-
const
|
|
9
|
-
/*#__PURE__*/
|
|
10
|
-
l.procedure($nsid,
|
|
11
|
-
/*#__PURE__*/ l.params(),
|
|
12
|
-
/*#__PURE__*/ l.jsonPayload({
|
|
7
|
+
export const $params = /*#__PURE__*/ l.params();
|
|
8
|
+
export const $input = /*#__PURE__*/ l.jsonPayload({
|
|
13
9
|
email: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string()),
|
|
14
10
|
handle: /*#__PURE__*/ l.string({ format: 'handle' }),
|
|
15
11
|
did: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({ format: 'did' })),
|
|
@@ -19,14 +15,16 @@ l.procedure($nsid,
|
|
|
19
15
|
password: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string()),
|
|
20
16
|
recoveryKey: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string()),
|
|
21
17
|
plcOp: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.lexMap()),
|
|
22
|
-
})
|
|
23
|
-
/*#__PURE__*/ l.jsonPayload({
|
|
18
|
+
});
|
|
19
|
+
export const $output = /*#__PURE__*/ l.jsonPayload({
|
|
24
20
|
accessJwt: /*#__PURE__*/ l.string(),
|
|
25
21
|
refreshJwt: /*#__PURE__*/ l.string(),
|
|
26
22
|
handle: /*#__PURE__*/ l.string({ format: 'handle' }),
|
|
27
23
|
did: /*#__PURE__*/ l.string({ format: 'did' }),
|
|
28
24
|
didDoc: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.lexMap()),
|
|
29
|
-
})
|
|
25
|
+
});
|
|
26
|
+
/** Create an account. Implemented by PDS. */
|
|
27
|
+
const main = /*#__PURE__*/ l.procedure($nsid, $params, $input, $output, [
|
|
30
28
|
'InvalidHandle',
|
|
31
29
|
'InvalidPassword',
|
|
32
30
|
'InvalidInviteCode',
|
|
@@ -36,5 +34,5 @@ l.procedure($nsid,
|
|
|
36
34
|
'IncompatibleDidDoc',
|
|
37
35
|
]);
|
|
38
36
|
export { main };
|
|
39
|
-
export const $lxm =
|
|
37
|
+
export const $lxm = $nsid;
|
|
40
38
|
//# sourceMappingURL=createAccount.defs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createAccount.defs.js","sourceRoot":"","sources":["../../../../../src/lexicons/com/atproto/server/createAccount.defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,qBAAqB,CAAA;AAEvC,MAAM,KAAK,GAAG,kCAAkC,CAAA;AAEhD,OAAO,EAAE,KAAK,EAAE,CAAA;AAEhB,
|
|
1
|
+
{"version":3,"file":"createAccount.defs.js","sourceRoot":"","sources":["../../../../../src/lexicons/com/atproto/server/createAccount.defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,qBAAqB,CAAA;AAEvC,MAAM,KAAK,GAAG,kCAAkC,CAAA;AAEhD,OAAO,EAAE,KAAK,EAAE,CAAA;AAEhB,MAAM,CAAC,MAAM,OAAO,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAA;AAI/C,MAAM,CAAC,MAAM,MAAM,GAAG,aAAa,CAAC,CAAC,CAAC,WAAW,CAAC;IAChD,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IACzD,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC;IACpD,GAAG,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,CAAC;IACxE,UAAU,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IAC9D,gBAAgB,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IACpE,iBAAiB,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IACrE,QAAQ,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IAC5D,WAAW,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IAC/D,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;CAC1D,CAAC,CAAA;AAKF,MAAM,CAAC,MAAM,OAAO,GAAG,aAAa,CAAC,CAAC,CAAC,WAAW,CAAC;IACjD,SAAS,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE;IACnC,UAAU,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE;IACpC,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC;IACpD,GAAG,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC;IAC9C,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;CAC3D,CAAC,CAAA;AAQF,6CAA6C;AAC7C,MAAM,IAAI,GAAG,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE;IACtE,eAAe;IACf,iBAAiB;IACjB,mBAAmB;IACnB,oBAAoB;IACpB,mBAAmB;IACnB,iBAAiB;IACjB,oBAAoB;CACrB,CAAC,CAAA;AAEF,OAAO,EAAE,IAAI,EAAE,CAAA;AAEf,MAAM,CAAC,MAAM,IAAI,GAAG,KAAK,CAAA","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex-schema'\n\nconst $nsid = 'com.atproto.server.createAccount'\n\nexport { $nsid }\n\nexport const $params = /*#__PURE__*/ l.params()\n\nexport type $Params = l.InferOutput<typeof $params>\n\nexport const $input = /*#__PURE__*/ l.jsonPayload({\n email: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string()),\n handle: /*#__PURE__*/ l.string({ format: 'handle' }),\n did: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({ format: 'did' })),\n inviteCode: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string()),\n verificationCode: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string()),\n verificationPhone: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string()),\n password: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string()),\n recoveryKey: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string()),\n plcOp: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.lexMap()),\n})\n\nexport type $Input<B = l.BinaryData> = l.InferPayload<typeof $input, B>\nexport type $InputBody<B = l.BinaryData> = l.InferPayloadBody<typeof $input, B>\n\nexport const $output = /*#__PURE__*/ l.jsonPayload({\n accessJwt: /*#__PURE__*/ l.string(),\n refreshJwt: /*#__PURE__*/ l.string(),\n handle: /*#__PURE__*/ l.string({ format: 'handle' }),\n did: /*#__PURE__*/ l.string({ format: 'did' }),\n didDoc: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.lexMap()),\n})\n\nexport type $Output<B = l.BinaryData> = l.InferPayload<typeof $output, B>\nexport type $OutputBody<B = l.BinaryData> = l.InferPayloadBody<\n typeof $output,\n B\n>\n\n/** Create an account. Implemented by PDS. */\nconst main = /*#__PURE__*/ l.procedure($nsid, $params, $input, $output, [\n 'InvalidHandle',\n 'InvalidPassword',\n 'InvalidInviteCode',\n 'HandleNotAvailable',\n 'UnsupportedDomain',\n 'UnresolvableDid',\n 'IncompatibleDidDoc',\n])\n\nexport { main }\n\nexport const $lxm = $nsid\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createAccount.js","sourceRoot":"","sources":["../../../../../src/lexicons/com/atproto/server/createAccount.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,yBAAyB,CAAA
|
|
1
|
+
{"version":3,"file":"createAccount.js","sourceRoot":"","sources":["../../../../../src/lexicons/com/atproto/server/createAccount.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,yBAAyB,CAAA","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './createAccount.defs.js'\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createSession.d.ts","sourceRoot":"","sources":["../../../../../src/lexicons/com/atproto/server/createSession.ts"],"names":[],"mappings":"AAIA,cAAc,yBAAyB,CAAA
|
|
1
|
+
{"version":3,"file":"createSession.d.ts","sourceRoot":"","sources":["../../../../../src/lexicons/com/atproto/server/createSession.ts"],"names":[],"mappings":"AAIA,cAAc,yBAAyB,CAAA"}
|
|
@@ -1,13 +1,17 @@
|
|
|
1
1
|
import { l } from '@atproto/lex-schema';
|
|
2
2
|
declare const $nsid = "com.atproto.server.createSession";
|
|
3
3
|
export { $nsid };
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
export declare const $params: l.ParamsSchema<{}>;
|
|
5
|
+
export type $Params = l.InferOutput<typeof $params>;
|
|
6
|
+
export declare const $input: l.Payload<"application/json", l.ObjectSchema<{
|
|
6
7
|
identifier: l.StringSchema<{}>;
|
|
7
8
|
password: l.StringSchema<{}>;
|
|
8
9
|
authFactorToken: l.OptionalSchema<l.StringSchema<{}>>;
|
|
9
10
|
allowTakendown: l.OptionalSchema<l.BooleanSchema>;
|
|
10
|
-
}
|
|
11
|
+
}>>;
|
|
12
|
+
export type $Input<B = l.BinaryData> = l.InferPayload<typeof $input, B>;
|
|
13
|
+
export type $InputBody<B = l.BinaryData> = l.InferPayloadBody<typeof $input, B>;
|
|
14
|
+
export declare const $output: l.Payload<"application/json", l.ObjectSchema<{
|
|
11
15
|
accessJwt: l.StringSchema<{}>;
|
|
12
16
|
refreshJwt: l.StringSchema<{}>;
|
|
13
17
|
handle: l.StringSchema<{
|
|
@@ -24,19 +28,16 @@ declare const main: l.Procedure<"com.atproto.server.createSession", l.ParamsSche
|
|
|
24
28
|
status: l.OptionalSchema<l.StringSchema<{
|
|
25
29
|
knownValues: ["takendown", "suspended", "deactivated"];
|
|
26
30
|
}>>;
|
|
27
|
-
}
|
|
28
|
-
export
|
|
29
|
-
export type $
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
export type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>;
|
|
33
|
-
export type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<typeof main, B>;
|
|
34
|
-
export declare const $lxm: "com.atproto.server.createSession", $params: l.ParamsSchema<{}>, $input: l.Payload<"application/json", l.ObjectSchema<{
|
|
31
|
+
}>>;
|
|
32
|
+
export type $Output<B = l.BinaryData> = l.InferPayload<typeof $output, B>;
|
|
33
|
+
export type $OutputBody<B = l.BinaryData> = l.InferPayloadBody<typeof $output, B>;
|
|
34
|
+
/** Create an authentication session. */
|
|
35
|
+
declare const main: l.Procedure<"com.atproto.server.createSession", l.ParamsSchema<{}>, l.Payload<"application/json", l.ObjectSchema<{
|
|
35
36
|
identifier: l.StringSchema<{}>;
|
|
36
37
|
password: l.StringSchema<{}>;
|
|
37
38
|
authFactorToken: l.OptionalSchema<l.StringSchema<{}>>;
|
|
38
39
|
allowTakendown: l.OptionalSchema<l.BooleanSchema>;
|
|
39
|
-
}>>,
|
|
40
|
+
}>>, l.Payload<"application/json", l.ObjectSchema<{
|
|
40
41
|
accessJwt: l.StringSchema<{}>;
|
|
41
42
|
refreshJwt: l.StringSchema<{}>;
|
|
42
43
|
handle: l.StringSchema<{
|
|
@@ -53,5 +54,7 @@ export declare const $lxm: "com.atproto.server.createSession", $params: l.Params
|
|
|
53
54
|
status: l.OptionalSchema<l.StringSchema<{
|
|
54
55
|
knownValues: ["takendown", "suspended", "deactivated"];
|
|
55
56
|
}>>;
|
|
56
|
-
}
|
|
57
|
+
}>>, readonly ["AccountTakedown", "AuthFactorTokenRequired"]>;
|
|
58
|
+
export { main };
|
|
59
|
+
export declare const $lxm = "com.atproto.server.createSession";
|
|
57
60
|
//# sourceMappingURL=createSession.defs.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createSession.defs.d.ts","sourceRoot":"","sources":["../../../../../src/lexicons/com/atproto/server/createSession.defs.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,qBAAqB,CAAA;AAEvC,QAAA,MAAM,KAAK,qCAAqC,CAAA;AAEhD,OAAO,EAAE,KAAK,EAAE,CAAA;AAEhB,
|
|
1
|
+
{"version":3,"file":"createSession.defs.d.ts","sourceRoot":"","sources":["../../../../../src/lexicons/com/atproto/server/createSession.defs.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,qBAAqB,CAAA;AAEvC,QAAA,MAAM,KAAK,qCAAqC,CAAA;AAEhD,OAAO,EAAE,KAAK,EAAE,CAAA;AAEhB,eAAO,MAAM,OAAO,oBAA2B,CAAA;AAE/C,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,OAAO,CAAC,CAAA;AAEnD,eAAO,MAAM,MAAM;;;;;GAKjB,CAAA;AAEF,MAAM,MAAM,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,YAAY,CAAC,OAAO,MAAM,EAAE,CAAC,CAAC,CAAA;AACvE,MAAM,MAAM,UAAU,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,gBAAgB,CAAC,OAAO,MAAM,EAAE,CAAC,CAAC,CAAA;AAE/E,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;GAelB,CAAA;AAEF,MAAM,MAAM,OAAO,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,YAAY,CAAC,OAAO,OAAO,EAAE,CAAC,CAAC,CAAA;AACzE,MAAM,MAAM,WAAW,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,gBAAgB,CAC5D,OAAO,OAAO,EACd,CAAC,CACF,CAAA;AAED,wCAAwC;AACxC,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;6DAGR,CAAA;AAEF,OAAO,EAAE,IAAI,EAAE,CAAA;AAEf,eAAO,MAAM,IAAI,qCAAQ,CAAA"}
|
|
@@ -4,18 +4,14 @@
|
|
|
4
4
|
import { l } from '@atproto/lex-schema';
|
|
5
5
|
const $nsid = 'com.atproto.server.createSession';
|
|
6
6
|
export { $nsid };
|
|
7
|
-
|
|
8
|
-
const
|
|
9
|
-
/*#__PURE__*/
|
|
10
|
-
l.procedure($nsid,
|
|
11
|
-
/*#__PURE__*/ l.params(),
|
|
12
|
-
/*#__PURE__*/ l.jsonPayload({
|
|
7
|
+
export const $params = /*#__PURE__*/ l.params();
|
|
8
|
+
export const $input = /*#__PURE__*/ l.jsonPayload({
|
|
13
9
|
identifier: /*#__PURE__*/ l.string(),
|
|
14
10
|
password: /*#__PURE__*/ l.string(),
|
|
15
11
|
authFactorToken: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string()),
|
|
16
12
|
allowTakendown: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.boolean()),
|
|
17
|
-
})
|
|
18
|
-
/*#__PURE__*/ l.jsonPayload({
|
|
13
|
+
});
|
|
14
|
+
export const $output = /*#__PURE__*/ l.jsonPayload({
|
|
19
15
|
accessJwt: /*#__PURE__*/ l.string(),
|
|
20
16
|
refreshJwt: /*#__PURE__*/ l.string(),
|
|
21
17
|
handle: /*#__PURE__*/ l.string({ format: 'handle' }),
|
|
@@ -27,7 +23,12 @@ l.procedure($nsid,
|
|
|
27
23
|
active: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.boolean()),
|
|
28
24
|
status: /*#__PURE__*/ l.optional(
|
|
29
25
|
/*#__PURE__*/ l.string()),
|
|
30
|
-
})
|
|
26
|
+
});
|
|
27
|
+
/** Create an authentication session. */
|
|
28
|
+
const main = /*#__PURE__*/ l.procedure($nsid, $params, $input, $output, [
|
|
29
|
+
'AccountTakedown',
|
|
30
|
+
'AuthFactorTokenRequired',
|
|
31
|
+
]);
|
|
31
32
|
export { main };
|
|
32
|
-
export const $lxm =
|
|
33
|
+
export const $lxm = $nsid;
|
|
33
34
|
//# sourceMappingURL=createSession.defs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createSession.defs.js","sourceRoot":"","sources":["../../../../../src/lexicons/com/atproto/server/createSession.defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,qBAAqB,CAAA;AAEvC,MAAM,KAAK,GAAG,kCAAkC,CAAA;AAEhD,OAAO,EAAE,KAAK,EAAE,CAAA;AAEhB,
|
|
1
|
+
{"version":3,"file":"createSession.defs.js","sourceRoot":"","sources":["../../../../../src/lexicons/com/atproto/server/createSession.defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,qBAAqB,CAAA;AAEvC,MAAM,KAAK,GAAG,kCAAkC,CAAA;AAEhD,OAAO,EAAE,KAAK,EAAE,CAAA;AAEhB,MAAM,CAAC,MAAM,OAAO,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAA;AAI/C,MAAM,CAAC,MAAM,MAAM,GAAG,aAAa,CAAC,CAAC,CAAC,WAAW,CAAC;IAChD,UAAU,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE;IACpC,QAAQ,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE;IAClC,eAAe,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IACnE,cAAc,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC;CACpE,CAAC,CAAA;AAKF,MAAM,CAAC,MAAM,OAAO,GAAG,aAAa,CAAC,CAAC,CAAC,WAAW,CAAC;IACjD,SAAS,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE;IACnC,UAAU,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE;IACpC,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC;IACpD,GAAG,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC;IAC9C,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IAC1D,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IACzD,cAAc,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC;IACnE,eAAe,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC;IACpE,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC;IAC3D,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ;IAC9B,aAAa,CAAC,CAAC,CAAC,MAAM,EAElB,CACL;CACF,CAAC,CAAA;AAQF,wCAAwC;AACxC,MAAM,IAAI,GAAG,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE;IACtE,iBAAiB;IACjB,yBAAyB;CAC1B,CAAC,CAAA;AAEF,OAAO,EAAE,IAAI,EAAE,CAAA;AAEf,MAAM,CAAC,MAAM,IAAI,GAAG,KAAK,CAAA","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex-schema'\n\nconst $nsid = 'com.atproto.server.createSession'\n\nexport { $nsid }\n\nexport const $params = /*#__PURE__*/ l.params()\n\nexport type $Params = l.InferOutput<typeof $params>\n\nexport const $input = /*#__PURE__*/ l.jsonPayload({\n identifier: /*#__PURE__*/ l.string(),\n password: /*#__PURE__*/ l.string(),\n authFactorToken: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string()),\n allowTakendown: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.boolean()),\n})\n\nexport type $Input<B = l.BinaryData> = l.InferPayload<typeof $input, B>\nexport type $InputBody<B = l.BinaryData> = l.InferPayloadBody<typeof $input, B>\n\nexport const $output = /*#__PURE__*/ l.jsonPayload({\n accessJwt: /*#__PURE__*/ l.string(),\n refreshJwt: /*#__PURE__*/ l.string(),\n handle: /*#__PURE__*/ l.string({ format: 'handle' }),\n did: /*#__PURE__*/ l.string({ format: 'did' }),\n didDoc: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.lexMap()),\n email: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string()),\n emailConfirmed: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.boolean()),\n emailAuthFactor: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.boolean()),\n active: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.boolean()),\n status: /*#__PURE__*/ l.optional(\n /*#__PURE__*/ l.string<{\n knownValues: ['takendown', 'suspended', 'deactivated']\n }>(),\n ),\n})\n\nexport type $Output<B = l.BinaryData> = l.InferPayload<typeof $output, B>\nexport type $OutputBody<B = l.BinaryData> = l.InferPayloadBody<\n typeof $output,\n B\n>\n\n/** Create an authentication session. */\nconst main = /*#__PURE__*/ l.procedure($nsid, $params, $input, $output, [\n 'AccountTakedown',\n 'AuthFactorTokenRequired',\n])\n\nexport { main }\n\nexport const $lxm = $nsid\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createSession.js","sourceRoot":"","sources":["../../../../../src/lexicons/com/atproto/server/createSession.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,yBAAyB,CAAA
|
|
1
|
+
{"version":3,"file":"createSession.js","sourceRoot":"","sources":["../../../../../src/lexicons/com/atproto/server/createSession.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,yBAAyB,CAAA","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './createSession.defs.js'\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deleteSession.d.ts","sourceRoot":"","sources":["../../../../../src/lexicons/com/atproto/server/deleteSession.ts"],"names":[],"mappings":"AAIA,cAAc,yBAAyB,CAAA
|
|
1
|
+
{"version":3,"file":"deleteSession.d.ts","sourceRoot":"","sources":["../../../../../src/lexicons/com/atproto/server/deleteSession.ts"],"names":[],"mappings":"AAIA,cAAc,yBAAyB,CAAA"}
|
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
import { l } from '@atproto/lex-schema';
|
|
2
2
|
declare const $nsid = "com.atproto.server.deleteSession";
|
|
3
3
|
export { $nsid };
|
|
4
|
+
export declare const $params: l.ParamsSchema<{}>;
|
|
5
|
+
export type $Params = l.InferOutput<typeof $params>;
|
|
6
|
+
export declare const $input: l.Payload<undefined, undefined>;
|
|
7
|
+
export type $Input<B = l.BinaryData> = l.InferPayload<typeof $input, B>;
|
|
8
|
+
export type $InputBody<B = l.BinaryData> = l.InferPayloadBody<typeof $input, B>;
|
|
9
|
+
export declare const $output: l.Payload<undefined, undefined>;
|
|
10
|
+
export type $Output<B = l.BinaryData> = l.InferPayload<typeof $output, B>;
|
|
11
|
+
export type $OutputBody<B = l.BinaryData> = l.InferPayloadBody<typeof $output, B>;
|
|
4
12
|
/** Delete the current session. Requires auth using the 'refreshJwt' (not the 'accessJwt'). */
|
|
5
13
|
declare const main: l.Procedure<"com.atproto.server.deleteSession", l.ParamsSchema<{}>, l.Payload<undefined, undefined>, l.Payload<undefined, undefined>, readonly ["InvalidToken", "ExpiredToken"]>;
|
|
6
14
|
export { main };
|
|
7
|
-
export
|
|
8
|
-
export type $Input<B = l.BinaryData> = l.InferMethodInput<typeof main, B>;
|
|
9
|
-
export type $InputBody<B = l.BinaryData> = l.InferMethodInputBody<typeof main, B>;
|
|
10
|
-
export type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>;
|
|
11
|
-
export type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<typeof main, B>;
|
|
12
|
-
export declare const $lxm: "com.atproto.server.deleteSession", $params: l.ParamsSchema<{}>, $input: l.Payload<undefined, undefined>, $output: l.Payload<undefined, undefined>;
|
|
15
|
+
export declare const $lxm = "com.atproto.server.deleteSession";
|
|
13
16
|
//# sourceMappingURL=deleteSession.defs.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deleteSession.defs.d.ts","sourceRoot":"","sources":["../../../../../src/lexicons/com/atproto/server/deleteSession.defs.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,qBAAqB,CAAA;AAEvC,QAAA,MAAM,KAAK,qCAAqC,CAAA;AAEhD,OAAO,EAAE,KAAK,EAAE,CAAA;AAEhB,
|
|
1
|
+
{"version":3,"file":"deleteSession.defs.d.ts","sourceRoot":"","sources":["../../../../../src/lexicons/com/atproto/server/deleteSession.defs.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,qBAAqB,CAAA;AAEvC,QAAA,MAAM,KAAK,qCAAqC,CAAA;AAEhD,OAAO,EAAE,KAAK,EAAE,CAAA;AAEhB,eAAO,MAAM,OAAO,oBAA2B,CAAA;AAE/C,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,OAAO,CAAC,CAAA;AAEnD,eAAO,MAAM,MAAM,iCAA4B,CAAA;AAE/C,MAAM,MAAM,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,YAAY,CAAC,OAAO,MAAM,EAAE,CAAC,CAAC,CAAA;AACvE,MAAM,MAAM,UAAU,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,gBAAgB,CAAC,OAAO,MAAM,EAAE,CAAC,CAAC,CAAA;AAE/E,eAAO,MAAM,OAAO,iCAA4B,CAAA;AAEhD,MAAM,MAAM,OAAO,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,YAAY,CAAC,OAAO,OAAO,EAAE,CAAC,CAAC,CAAA;AACzE,MAAM,MAAM,WAAW,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,gBAAgB,CAC5D,OAAO,OAAO,EACd,CAAC,CACF,CAAA;AAED,8FAA8F;AAC9F,QAAA,MAAM,IAAI,kLAGR,CAAA;AAEF,OAAO,EAAE,IAAI,EAAE,CAAA;AAEf,eAAO,MAAM,IAAI,qCAAQ,CAAA"}
|
|
@@ -4,13 +4,14 @@
|
|
|
4
4
|
import { l } from '@atproto/lex-schema';
|
|
5
5
|
const $nsid = 'com.atproto.server.deleteSession';
|
|
6
6
|
export { $nsid };
|
|
7
|
+
export const $params = /*#__PURE__*/ l.params();
|
|
8
|
+
export const $input = /*#__PURE__*/ l.payload();
|
|
9
|
+
export const $output = /*#__PURE__*/ l.payload();
|
|
7
10
|
/** Delete the current session. Requires auth using the 'refreshJwt' (not the 'accessJwt'). */
|
|
8
|
-
const main =
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
/*#__PURE__*/ l.payload(),
|
|
13
|
-
/*#__PURE__*/ l.payload(), ['InvalidToken', 'ExpiredToken']);
|
|
11
|
+
const main = /*#__PURE__*/ l.procedure($nsid, $params, $input, $output, [
|
|
12
|
+
'InvalidToken',
|
|
13
|
+
'ExpiredToken',
|
|
14
|
+
]);
|
|
14
15
|
export { main };
|
|
15
|
-
export const $lxm =
|
|
16
|
+
export const $lxm = $nsid;
|
|
16
17
|
//# sourceMappingURL=deleteSession.defs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deleteSession.defs.js","sourceRoot":"","sources":["../../../../../src/lexicons/com/atproto/server/deleteSession.defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,qBAAqB,CAAA;AAEvC,MAAM,KAAK,GAAG,kCAAkC,CAAA;AAEhD,OAAO,EAAE,KAAK,EAAE,CAAA;AAEhB,
|
|
1
|
+
{"version":3,"file":"deleteSession.defs.js","sourceRoot":"","sources":["../../../../../src/lexicons/com/atproto/server/deleteSession.defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,qBAAqB,CAAA;AAEvC,MAAM,KAAK,GAAG,kCAAkC,CAAA;AAEhD,OAAO,EAAE,KAAK,EAAE,CAAA;AAEhB,MAAM,CAAC,MAAM,OAAO,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAA;AAI/C,MAAM,CAAC,MAAM,MAAM,GAAG,aAAa,CAAC,CAAC,CAAC,OAAO,EAAE,CAAA;AAK/C,MAAM,CAAC,MAAM,OAAO,GAAG,aAAa,CAAC,CAAC,CAAC,OAAO,EAAE,CAAA;AAQhD,8FAA8F;AAC9F,MAAM,IAAI,GAAG,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE;IACtE,cAAc;IACd,cAAc;CACf,CAAC,CAAA;AAEF,OAAO,EAAE,IAAI,EAAE,CAAA;AAEf,MAAM,CAAC,MAAM,IAAI,GAAG,KAAK,CAAA","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex-schema'\n\nconst $nsid = 'com.atproto.server.deleteSession'\n\nexport { $nsid }\n\nexport const $params = /*#__PURE__*/ l.params()\n\nexport type $Params = l.InferOutput<typeof $params>\n\nexport const $input = /*#__PURE__*/ l.payload()\n\nexport type $Input<B = l.BinaryData> = l.InferPayload<typeof $input, B>\nexport type $InputBody<B = l.BinaryData> = l.InferPayloadBody<typeof $input, B>\n\nexport const $output = /*#__PURE__*/ l.payload()\n\nexport type $Output<B = l.BinaryData> = l.InferPayload<typeof $output, B>\nexport type $OutputBody<B = l.BinaryData> = l.InferPayloadBody<\n typeof $output,\n B\n>\n\n/** Delete the current session. Requires auth using the 'refreshJwt' (not the 'accessJwt'). */\nconst main = /*#__PURE__*/ l.procedure($nsid, $params, $input, $output, [\n 'InvalidToken',\n 'ExpiredToken',\n])\n\nexport { main }\n\nexport const $lxm = $nsid\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deleteSession.js","sourceRoot":"","sources":["../../../../../src/lexicons/com/atproto/server/deleteSession.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,yBAAyB,CAAA
|
|
1
|
+
{"version":3,"file":"deleteSession.js","sourceRoot":"","sources":["../../../../../src/lexicons/com/atproto/server/deleteSession.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,yBAAyB,CAAA","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './deleteSession.defs.js'\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getSession.d.ts","sourceRoot":"","sources":["../../../../../src/lexicons/com/atproto/server/getSession.ts"],"names":[],"mappings":"AAIA,cAAc,sBAAsB,CAAA
|
|
1
|
+
{"version":3,"file":"getSession.d.ts","sourceRoot":"","sources":["../../../../../src/lexicons/com/atproto/server/getSession.ts"],"names":[],"mappings":"AAIA,cAAc,sBAAsB,CAAA"}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { l } from '@atproto/lex-schema';
|
|
2
2
|
declare const $nsid = "com.atproto.server.getSession";
|
|
3
3
|
export { $nsid };
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
export declare const $params: l.ParamsSchema<{}>;
|
|
5
|
+
export type $Params = l.InferOutput<typeof $params>;
|
|
6
|
+
export declare const $output: l.Payload<"application/json", l.ObjectSchema<{
|
|
6
7
|
handle: l.StringSchema<{
|
|
7
8
|
readonly format: "handle";
|
|
8
9
|
}>;
|
|
@@ -17,12 +18,11 @@ declare const main: l.Query<"com.atproto.server.getSession", l.ParamsSchema<{}>,
|
|
|
17
18
|
status: l.OptionalSchema<l.StringSchema<{
|
|
18
19
|
knownValues: ["takendown", "suspended", "deactivated"];
|
|
19
20
|
}>>;
|
|
20
|
-
}
|
|
21
|
-
export
|
|
22
|
-
export type $
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
export declare const $lxm: "com.atproto.server.getSession", $params: l.ParamsSchema<{}>, $output: l.Payload<"application/json", l.ObjectSchema<{
|
|
21
|
+
}>>;
|
|
22
|
+
export type $Output<B = l.BinaryData> = l.InferPayload<typeof $output, B>;
|
|
23
|
+
export type $OutputBody<B = l.BinaryData> = l.InferPayloadBody<typeof $output, B>;
|
|
24
|
+
/** Get information about the current auth session. Requires auth. */
|
|
25
|
+
declare const main: l.Query<"com.atproto.server.getSession", l.ParamsSchema<{}>, l.Payload<"application/json", l.ObjectSchema<{
|
|
26
26
|
handle: l.StringSchema<{
|
|
27
27
|
readonly format: "handle";
|
|
28
28
|
}>;
|
|
@@ -37,5 +37,7 @@ export declare const $lxm: "com.atproto.server.getSession", $params: l.ParamsSch
|
|
|
37
37
|
status: l.OptionalSchema<l.StringSchema<{
|
|
38
38
|
knownValues: ["takendown", "suspended", "deactivated"];
|
|
39
39
|
}>>;
|
|
40
|
-
}
|
|
40
|
+
}>>, undefined>;
|
|
41
|
+
export { main };
|
|
42
|
+
export declare const $lxm = "com.atproto.server.getSession";
|
|
41
43
|
//# sourceMappingURL=getSession.defs.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getSession.defs.d.ts","sourceRoot":"","sources":["../../../../../src/lexicons/com/atproto/server/getSession.defs.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,qBAAqB,CAAA;AAEvC,QAAA,MAAM,KAAK,kCAAkC,CAAA;AAE7C,OAAO,EAAE,KAAK,EAAE,CAAA;AAEhB,
|
|
1
|
+
{"version":3,"file":"getSession.defs.d.ts","sourceRoot":"","sources":["../../../../../src/lexicons/com/atproto/server/getSession.defs.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,qBAAqB,CAAA;AAEvC,QAAA,MAAM,KAAK,kCAAkC,CAAA;AAE7C,OAAO,EAAE,KAAK,EAAE,CAAA;AAEhB,eAAO,MAAM,OAAO,oBAA2B,CAAA;AAE/C,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,OAAO,CAAC,CAAA;AAEnD,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;GAalB,CAAA;AAEF,MAAM,MAAM,OAAO,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,YAAY,CAAC,OAAO,OAAO,EAAE,CAAC,CAAC,CAAA;AACzE,MAAM,MAAM,WAAW,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,gBAAgB,CAC5D,OAAO,OAAO,EACd,CAAC,CACF,CAAA;AAED,qEAAqE;AACrE,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;eAAiD,CAAA;AAE3D,OAAO,EAAE,IAAI,EAAE,CAAA;AAEf,eAAO,MAAM,IAAI,kCAAQ,CAAA"}
|
|
@@ -4,12 +4,8 @@
|
|
|
4
4
|
import { l } from '@atproto/lex-schema';
|
|
5
5
|
const $nsid = 'com.atproto.server.getSession';
|
|
6
6
|
export { $nsid };
|
|
7
|
-
|
|
8
|
-
const
|
|
9
|
-
/*#__PURE__*/
|
|
10
|
-
l.query($nsid,
|
|
11
|
-
/*#__PURE__*/ l.params(),
|
|
12
|
-
/*#__PURE__*/ l.jsonPayload({
|
|
7
|
+
export const $params = /*#__PURE__*/ l.params();
|
|
8
|
+
export const $output = /*#__PURE__*/ l.jsonPayload({
|
|
13
9
|
handle: /*#__PURE__*/ l.string({ format: 'handle' }),
|
|
14
10
|
did: /*#__PURE__*/ l.string({ format: 'did' }),
|
|
15
11
|
didDoc: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.lexMap()),
|
|
@@ -19,7 +15,9 @@ l.query($nsid,
|
|
|
19
15
|
active: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.boolean()),
|
|
20
16
|
status: /*#__PURE__*/ l.optional(
|
|
21
17
|
/*#__PURE__*/ l.string()),
|
|
22
|
-
})
|
|
18
|
+
});
|
|
19
|
+
/** Get information about the current auth session. Requires auth. */
|
|
20
|
+
const main = /*#__PURE__*/ l.query($nsid, $params, $output);
|
|
23
21
|
export { main };
|
|
24
|
-
export const $lxm =
|
|
22
|
+
export const $lxm = $nsid;
|
|
25
23
|
//# sourceMappingURL=getSession.defs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getSession.defs.js","sourceRoot":"","sources":["../../../../../src/lexicons/com/atproto/server/getSession.defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,qBAAqB,CAAA;AAEvC,MAAM,KAAK,GAAG,+BAA+B,CAAA;AAE7C,OAAO,EAAE,KAAK,EAAE,CAAA;AAEhB,
|
|
1
|
+
{"version":3,"file":"getSession.defs.js","sourceRoot":"","sources":["../../../../../src/lexicons/com/atproto/server/getSession.defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,qBAAqB,CAAA;AAEvC,MAAM,KAAK,GAAG,+BAA+B,CAAA;AAE7C,OAAO,EAAE,KAAK,EAAE,CAAA;AAEhB,MAAM,CAAC,MAAM,OAAO,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAA;AAI/C,MAAM,CAAC,MAAM,OAAO,GAAG,aAAa,CAAC,CAAC,CAAC,WAAW,CAAC;IACjD,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC;IACpD,GAAG,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC;IAC9C,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IAC1D,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IACzD,cAAc,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC;IACnE,eAAe,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC;IACpE,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC;IAC3D,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ;IAC9B,aAAa,CAAC,CAAC,CAAC,MAAM,EAElB,CACL;CACF,CAAC,CAAA;AAQF,qEAAqE;AACrE,MAAM,IAAI,GAAG,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,EAAE,OAAO,EAAE,OAAO,CAAC,CAAA;AAE3D,OAAO,EAAE,IAAI,EAAE,CAAA;AAEf,MAAM,CAAC,MAAM,IAAI,GAAG,KAAK,CAAA","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex-schema'\n\nconst $nsid = 'com.atproto.server.getSession'\n\nexport { $nsid }\n\nexport const $params = /*#__PURE__*/ l.params()\n\nexport type $Params = l.InferOutput<typeof $params>\n\nexport const $output = /*#__PURE__*/ l.jsonPayload({\n handle: /*#__PURE__*/ l.string({ format: 'handle' }),\n did: /*#__PURE__*/ l.string({ format: 'did' }),\n didDoc: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.lexMap()),\n email: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string()),\n emailConfirmed: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.boolean()),\n emailAuthFactor: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.boolean()),\n active: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.boolean()),\n status: /*#__PURE__*/ l.optional(\n /*#__PURE__*/ l.string<{\n knownValues: ['takendown', 'suspended', 'deactivated']\n }>(),\n ),\n})\n\nexport type $Output<B = l.BinaryData> = l.InferPayload<typeof $output, B>\nexport type $OutputBody<B = l.BinaryData> = l.InferPayloadBody<\n typeof $output,\n B\n>\n\n/** Get information about the current auth session. Requires auth. */\nconst main = /*#__PURE__*/ l.query($nsid, $params, $output)\n\nexport { main }\n\nexport const $lxm = $nsid\n"]}
|