@atproto/lex-password-session 0.1.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.
Files changed (58) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/dist/error.d.ts.map +1 -1
  3. package/dist/lexicons/com/atproto/server/createAccount.d.ts +0 -1
  4. package/dist/lexicons/com/atproto/server/createAccount.d.ts.map +1 -1
  5. package/dist/lexicons/com/atproto/server/createAccount.defs.d.ts +16 -13
  6. package/dist/lexicons/com/atproto/server/createAccount.defs.d.ts.map +1 -1
  7. package/dist/lexicons/com/atproto/server/createAccount.defs.js +8 -10
  8. package/dist/lexicons/com/atproto/server/createAccount.defs.js.map +1 -1
  9. package/dist/lexicons/com/atproto/server/createAccount.js +0 -1
  10. package/dist/lexicons/com/atproto/server/createAccount.js.map +1 -1
  11. package/dist/lexicons/com/atproto/server/createSession.d.ts +0 -1
  12. package/dist/lexicons/com/atproto/server/createSession.d.ts.map +1 -1
  13. package/dist/lexicons/com/atproto/server/createSession.defs.d.ts +16 -13
  14. package/dist/lexicons/com/atproto/server/createSession.defs.d.ts.map +1 -1
  15. package/dist/lexicons/com/atproto/server/createSession.defs.js +11 -10
  16. package/dist/lexicons/com/atproto/server/createSession.defs.js.map +1 -1
  17. package/dist/lexicons/com/atproto/server/createSession.js +0 -1
  18. package/dist/lexicons/com/atproto/server/createSession.js.map +1 -1
  19. package/dist/lexicons/com/atproto/server/deleteSession.d.ts +0 -1
  20. package/dist/lexicons/com/atproto/server/deleteSession.d.ts.map +1 -1
  21. package/dist/lexicons/com/atproto/server/deleteSession.defs.d.ts +9 -6
  22. package/dist/lexicons/com/atproto/server/deleteSession.defs.d.ts.map +1 -1
  23. package/dist/lexicons/com/atproto/server/deleteSession.defs.js +8 -7
  24. package/dist/lexicons/com/atproto/server/deleteSession.defs.js.map +1 -1
  25. package/dist/lexicons/com/atproto/server/deleteSession.js +0 -1
  26. package/dist/lexicons/com/atproto/server/deleteSession.js.map +1 -1
  27. package/dist/lexicons/com/atproto/server/getSession.d.ts +0 -1
  28. package/dist/lexicons/com/atproto/server/getSession.d.ts.map +1 -1
  29. package/dist/lexicons/com/atproto/server/getSession.defs.d.ts +11 -9
  30. package/dist/lexicons/com/atproto/server/getSession.defs.d.ts.map +1 -1
  31. package/dist/lexicons/com/atproto/server/getSession.defs.js +6 -8
  32. package/dist/lexicons/com/atproto/server/getSession.defs.js.map +1 -1
  33. package/dist/lexicons/com/atproto/server/getSession.js +0 -1
  34. package/dist/lexicons/com/atproto/server/getSession.js.map +1 -1
  35. package/dist/lexicons/com/atproto/server/refreshSession.d.ts +0 -1
  36. package/dist/lexicons/com/atproto/server/refreshSession.d.ts.map +1 -1
  37. package/dist/lexicons/com/atproto/server/refreshSession.defs.d.ts +14 -11
  38. package/dist/lexicons/com/atproto/server/refreshSession.defs.d.ts.map +1 -1
  39. package/dist/lexicons/com/atproto/server/refreshSession.defs.js +11 -9
  40. package/dist/lexicons/com/atproto/server/refreshSession.defs.js.map +1 -1
  41. package/dist/lexicons/com/atproto/server/refreshSession.js +0 -1
  42. package/dist/lexicons/com/atproto/server/refreshSession.js.map +1 -1
  43. package/dist/password-session.d.ts.map +1 -1
  44. package/dist/password-session.js.map +1 -1
  45. package/package.json +6 -6
  46. package/src/lexicons/com/atproto/server/createAccount.defs.ts +43 -48
  47. package/src/lexicons/com/atproto/server/createAccount.ts +0 -1
  48. package/src/lexicons/com/atproto/server/createSession.defs.ts +42 -44
  49. package/src/lexicons/com/atproto/server/createSession.ts +0 -1
  50. package/src/lexicons/com/atproto/server/deleteSession.defs.ts +22 -24
  51. package/src/lexicons/com/atproto/server/deleteSession.ts +0 -1
  52. package/src/lexicons/com/atproto/server/getSession.defs.ts +27 -29
  53. package/src/lexicons/com/atproto/server/getSession.ts +0 -1
  54. package/src/lexicons/com/atproto/server/refreshSession.defs.ts +38 -39
  55. package/src/lexicons/com/atproto/server/refreshSession.ts +0 -1
  56. package/tsconfig.build.json +2 -2
  57. package/tsconfig.json +2 -2
  58. package/tsconfig.tests.json +1 -2
package/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # @atproto/lex-password-session
2
2
 
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
+
3
13
  ## 0.1.0
4
14
 
5
15
  ### Minor Changes
@@ -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;gBACkB,KAAK,EAAE,WAAW;CAGxC"}
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,3 +1,2 @@
1
1
  export * from './createAccount.defs.js';
2
- export * as $defs from './createAccount.defs.js';
3
2
  //# sourceMappingURL=createAccount.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"createAccount.d.ts","sourceRoot":"","sources":["../../../../../src/lexicons/com/atproto/server/createAccount.ts"],"names":[],"mappings":"AAIA,cAAc,yBAAyB,CAAA;AACvC,OAAO,KAAK,KAAK,MAAM,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
- /** Create an account. Implemented by PDS. */
5
- declare const main: l.Procedure<"com.atproto.server.createAccount", l.ParamsSchema<{}>, l.Payload<"application/json", l.ObjectSchema<{
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
- }>>, l.Payload<"application/json", l.ObjectSchema<{
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
- }>>, readonly ["InvalidHandle", "InvalidPassword", "InvalidInviteCode", "HandleNotAvailable", "UnsupportedDomain", "UnresolvableDid", "IncompatibleDidDoc"]>;
30
- export { main };
31
- export type $Params = l.InferMethodParams<typeof main>;
32
- export type $Input<B = l.BinaryData> = l.InferMethodInput<typeof main, B>;
33
- export type $InputBody<B = l.BinaryData> = l.InferMethodInputBody<typeof main, B>;
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
- }>>, $output: l.Payload<"application/json", l.ObjectSchema<{
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,6CAA6C;AAC7C,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;4JAgCP,CAAA;AACH,OAAO,EAAE,IAAI,EAAE,CAAA;AAEf,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,iBAAiB,CAAC,OAAO,IAAI,CAAC,CAAA;AACtD,MAAM,MAAM,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,gBAAgB,CAAC,OAAO,IAAI,EAAE,CAAC,CAAC,CAAA;AACzE,MAAM,MAAM,UAAU,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,oBAAoB,CAC/D,OAAO,IAAI,EACX,CAAC,CACF,CAAA;AACD,MAAM,MAAM,OAAO,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,iBAAiB,CAAC,OAAO,IAAI,EAAE,CAAC,CAAC,CAAA;AAC3E,MAAM,MAAM,WAAW,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,qBAAqB,CACjE,OAAO,IAAI,EACX,CAAC,CACF,CAAA;AAED,eAAO,MAAM,IAAI,oCAA0B,EACz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{ l } from '@atproto/lex-schema';
5
5
  const $nsid = 'com.atproto.server.createAccount';
6
6
  export { $nsid };
7
- /** Create an account. Implemented by PDS. */
8
- const main =
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 = /*#__PURE__*/ main.nsid, $params = /*#__PURE__*/ main.parameters, $input = /*#__PURE__*/ main.input, $output = /*#__PURE__*/ main.output;
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,6CAA6C;AAC7C,MAAM,IAAI;AACR,aAAa;AACb,CAAC,CAAC,SAAS,CACT,KAAK;AACL,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE;AACxB,aAAa,CAAC,CAAC,CAAC,WAAW,CAAC;IAC1B,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;AACF,aAAa,CAAC,CAAC,CAAC,WAAW,CAAC;IAC1B,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,EACF;IACE,eAAe;IACf,iBAAiB;IACjB,mBAAmB;IACnB,oBAAoB;IACpB,mBAAmB;IACnB,iBAAiB;IACjB,oBAAoB;CACrB,CACF,CAAA;AACH,OAAO,EAAE,IAAI,EAAE,CAAA;AAcf,MAAM,CAAC,MAAM,IAAI,GAAG,aAAa,CAAC,IAAI,CAAC,IAAI,EACzC,OAAO,GAAG,aAAa,CAAC,IAAI,CAAC,UAAU,EACvC,MAAM,GAAG,aAAa,CAAC,IAAI,CAAC,KAAK,EACjC,OAAO,GAAG,aAAa,CAAC,IAAI,CAAC,MAAM,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\n/** Create an account. Implemented by PDS. */\nconst main =\n /*#__PURE__*/\n l.procedure(\n $nsid,\n /*#__PURE__*/ l.params(),\n /*#__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 /*#__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 [\n 'InvalidHandle',\n 'InvalidPassword',\n 'InvalidInviteCode',\n 'HandleNotAvailable',\n 'UnsupportedDomain',\n 'UnresolvableDid',\n 'IncompatibleDidDoc',\n ],\n )\nexport { main }\n\nexport type $Params = l.InferMethodParams<typeof main>\nexport type $Input<B = l.BinaryData> = l.InferMethodInput<typeof main, B>\nexport type $InputBody<B = l.BinaryData> = l.InferMethodInputBody<\n typeof main,\n B\n>\nexport type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>\nexport type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<\n typeof main,\n B\n>\n\nexport const $lxm = /*#__PURE__*/ main.nsid,\n $params = /*#__PURE__*/ main.parameters,\n $input = /*#__PURE__*/ main.input,\n $output = /*#__PURE__*/ main.output\n"]}
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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AC,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"]}
@@ -2,5 +2,4 @@
2
2
  * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
3
3
  */
4
4
  export * from './createAccount.defs.js';
5
- export * as $defs from './createAccount.defs.js';
6
5
  //# sourceMappingURL=createAccount.js.map
@@ -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;AACvC,OAAO,KAAK,KAAK,MAAM,yBAAyB,CAAA","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './createAccount.defs.js'\nexport * as $defs from './createAccount.defs.js'\n"]}
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,3 +1,2 @@
1
1
  export * from './createSession.defs.js';
2
- export * as $defs from './createSession.defs.js';
3
2
  //# sourceMappingURL=createSession.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"createSession.d.ts","sourceRoot":"","sources":["../../../../../src/lexicons/com/atproto/server/createSession.ts"],"names":[],"mappings":"AAIA,cAAc,yBAAyB,CAAA;AACvC,OAAO,KAAK,KAAK,MAAM,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
- /** Create an authentication session. */
5
- declare const main: l.Procedure<"com.atproto.server.createSession", l.ParamsSchema<{}>, l.Payload<"application/json", l.ObjectSchema<{
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
- }>>, l.Payload<"application/json", l.ObjectSchema<{
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
- }>>, readonly ["AccountTakedown", "AuthFactorTokenRequired"]>;
28
- export { main };
29
- export type $Params = l.InferMethodParams<typeof main>;
30
- export type $Input<B = l.BinaryData> = l.InferMethodInput<typeof main, B>;
31
- export type $InputBody<B = l.BinaryData> = l.InferMethodInputBody<typeof main, B>;
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
- }>>, $output: l.Payload<"application/json", l.ObjectSchema<{
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,wCAAwC;AACxC,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;6DA4BP,CAAA;AACH,OAAO,EAAE,IAAI,EAAE,CAAA;AAEf,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,iBAAiB,CAAC,OAAO,IAAI,CAAC,CAAA;AACtD,MAAM,MAAM,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,gBAAgB,CAAC,OAAO,IAAI,EAAE,CAAC,CAAC,CAAA;AACzE,MAAM,MAAM,UAAU,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,oBAAoB,CAC/D,OAAO,IAAI,EACX,CAAC,CACF,CAAA;AACD,MAAM,MAAM,OAAO,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,iBAAiB,CAAC,OAAO,IAAI,EAAE,CAAC,CAAC,CAAA;AAC3E,MAAM,MAAM,WAAW,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,qBAAqB,CACjE,OAAO,IAAI,EACX,CAAC,CACF,CAAA;AAED,eAAO,MAAM,IAAI,oCAA0B,EACzC,OAAO,oBAAgC,EACvC,MAAM;;;;;GAA2B,EACjC,OAAO;;;;;;;;;;;;;;;;;GAA4B,CAAA"}
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
- /** Create an authentication session. */
8
- const main =
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
- }), ['AccountTakedown', 'AuthFactorTokenRequired']);
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 = /*#__PURE__*/ main.nsid, $params = /*#__PURE__*/ main.parameters, $input = /*#__PURE__*/ main.input, $output = /*#__PURE__*/ main.output;
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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E,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,EACF,CAAC,iBAAiB,EAAE,yBAAyB,CAAC,CAC/C,CAAA;AACH,OAAO,EAAE,IAAI,EAAE,CAAA;AAcf,MAAM,CAAC,MAAM,IAAI,GAAG,aAAa,CAAC,IAAI,CAAC,IAAI,EACzC,OAAO,GAAG,aAAa,CAAC,IAAI,CAAC,UAAU,EACvC,MAAM,GAAG,aAAa,CAAC,IAAI,CAAC,KAAK,EACjC,OAAO,GAAG,aAAa,CAAC,IAAI,CAAC,MAAM,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\n/** Create an authentication session. */\nconst main =\n /*#__PURE__*/\n l.procedure(\n $nsid,\n /*#__PURE__*/ l.params(),\n /*#__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 /*#__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 ['AccountTakedown', 'AuthFactorTokenRequired'],\n )\nexport { main }\n\nexport type $Params = l.InferMethodParams<typeof main>\nexport type $Input<B = l.BinaryData> = l.InferMethodInput<typeof main, B>\nexport type $InputBody<B = l.BinaryData> = l.InferMethodInputBody<\n typeof main,\n B\n>\nexport type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>\nexport type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<\n typeof main,\n B\n>\n\nexport const $lxm = /*#__PURE__*/ main.nsid,\n $params = /*#__PURE__*/ main.parameters,\n $input = /*#__PURE__*/ main.input,\n $output = /*#__PURE__*/ main.output\n"]}
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,OAA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AAI,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"]}
@@ -2,5 +2,4 @@
2
2
  * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
3
3
  */
4
4
  export * from './createSession.defs.js';
5
- export * as $defs from './createSession.defs.js';
6
5
  //# sourceMappingURL=createSession.js.map
@@ -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;AACvC,OAAO,KAAK,KAAK,MAAM,yBAAyB,CAAA","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './createSession.defs.js'\nexport * as $defs from './createSession.defs.js'\n"]}
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,3 +1,2 @@
1
1
  export * from './deleteSession.defs.js';
2
- export * as $defs from './deleteSession.defs.js';
3
2
  //# sourceMappingURL=deleteSession.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"deleteSession.d.ts","sourceRoot":"","sources":["../../../../../src/lexicons/com/atproto/server/deleteSession.ts"],"names":[],"mappings":"AAIA,cAAc,yBAAyB,CAAA;AACvC,OAAO,KAAK,KAAK,MAAM,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 type $Params = l.InferMethodParams<typeof main>;
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,8FAA8F;AAC9F,QAAA,MAAM,IAAI,kLAQP,CAAA;AACH,OAAO,EAAE,IAAI,EAAE,CAAA;AAEf,MAAM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C,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
- /*#__PURE__*/
10
- l.procedure($nsid,
11
- /*#__PURE__*/ l.params(),
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 = /*#__PURE__*/ main.nsid, $params = /*#__PURE__*/ main.parameters, $input = /*#__PURE__*/ main.input, $output = /*#__PURE__*/ main.output;
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,8FAA8F;AAC9F,MAAM,IAAI;AACR,aAAa;AACb,CAAC,CAAC,SAAS,CACT,KAAK;AACL,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE;AACxB,aAAa,CAAC,CAAC,CAAC,OAAO,EAAE;AACzB,aAAa,CAAC,CAAC,CAAC,OAAO,EAAE,EACzB,CAAC,cAAc,EAAE,cAAc,CAAC,CACjC,CAAA;AACH,OAAO,EAAE,IAAI,EAAE,CAAA;AAcf,MAAM,CAAC,MAAM,IAAI,GAAG,aAAa,CAAC,IAAI,CAAC,IAAI,EACzC,OAAO,GAAG,aAAa,CAAC,IAAI,CAAC,UAAU,EACvC,MAAM,GAAG,aAAa,CAAC,IAAI,CAAC,KAAK,EACjC,OAAO,GAAG,aAAa,CAAC,IAAI,CAAC,MAAM,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\n/** Delete the current session. Requires auth using the 'refreshJwt' (not the 'accessJwt'). */\nconst main =\n /*#__PURE__*/\n l.procedure(\n $nsid,\n /*#__PURE__*/ l.params(),\n /*#__PURE__*/ l.payload(),\n /*#__PURE__*/ l.payload(),\n ['InvalidToken', 'ExpiredToken'],\n )\nexport { main }\n\nexport type $Params = l.InferMethodParams<typeof main>\nexport type $Input<B = l.BinaryData> = l.InferMethodInput<typeof main, B>\nexport type $InputBody<B = l.BinaryData> = l.InferMethodInputBody<\n typeof main,\n B\n>\nexport type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>\nexport type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<\n typeof main,\n B\n>\n\nexport const $lxm = /*#__PURE__*/ main.nsid,\n $params = /*#__PURE__*/ main.parameters,\n $input = /*#__PURE__*/ main.input,\n $output = /*#__PURE__*/ main.output\n"]}
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"]}
@@ -2,5 +2,4 @@
2
2
  * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
3
3
  */
4
4
  export * from './deleteSession.defs.js';
5
- export * as $defs from './deleteSession.defs.js';
6
5
  //# sourceMappingURL=deleteSession.js.map
@@ -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;AACvC,OAAO,KAAK,KAAK,MAAM,yBAAyB,CAAA","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './deleteSession.defs.js'\nexport * as $defs from './deleteSession.defs.js'\n"]}
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,3 +1,2 @@
1
1
  export * from './getSession.defs.js';
2
- export * as $defs from './getSession.defs.js';
3
2
  //# sourceMappingURL=getSession.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getSession.d.ts","sourceRoot":"","sources":["../../../../../src/lexicons/com/atproto/server/getSession.ts"],"names":[],"mappings":"AAIA,cAAc,sBAAsB,CAAA;AACpC,OAAO,KAAK,KAAK,MAAM,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
- /** Get information about the current auth session. Requires auth. */
5
- declare const main: l.Query<"com.atproto.server.getSession", l.ParamsSchema<{}>, l.Payload<"application/json", l.ObjectSchema<{
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
- }>>, undefined>;
21
- export { main };
22
- export type $Params = l.InferMethodParams<typeof main>;
23
- export type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>;
24
- export type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<typeof main, B>;
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,qEAAqE;AACrE,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;eAmBP,CAAA;AACH,OAAO,EAAE,IAAI,EAAE,CAAA;AAEf,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,iBAAiB,CAAC,OAAO,IAAI,CAAC,CAAA;AACtD,MAAM,MAAM,OAAO,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,iBAAiB,CAAC,OAAO,IAAI,EAAE,CAAC,CAAC,CAAA;AAC3E,MAAM,MAAM,WAAW,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,qBAAqB,CACjE,OAAO,IAAI,EACX,CAAC,CACF,CAAA;AAED,eAAO,MAAM,IAAI,iCAA0B,EACzC,OAAO,oBAAkB,EACzB,OAAO;;;;;;;;;;;;;;;GAAc,CAAA"}
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
- /** Get information about the current auth session. Requires auth. */
8
- const main =
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 = /*#__PURE__*/ main.nsid, $params = main.parameters, $output = main.output;
22
+ export const $lxm = $nsid;
25
23
  //# sourceMappingURL=getSession.defs.js.map
@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AA;AASf,MAAM,CAAC,MAAM,IAAI,GAAG,aAAa,CAAC,IAAI,CAAC,IAAI,EACzC,OAAO,GAAG,IAAI,CAAC,UAAU,EACzB,OAAO,GAAG,IAAI,CAAC,MAAM,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\n/** Get information about the current auth session. Requires auth. */\nconst main =\n /*#__PURE__*/\n l.query(\n $nsid,\n /*#__PURE__*/ l.params(),\n /*#__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 { main }\n\nexport type $Params = l.InferMethodParams<typeof main>\nexport type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>\nexport type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<\n typeof main,\n B\n>\n\nexport const $lxm = /*#__PURE__*/ main.nsid,\n $params = main.parameters,\n $output = main.output\n"]}
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,EAA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port { 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"]}
@@ -2,5 +2,4 @@
2
2
  * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
3
3
  */
4
4
  export * from './getSession.defs.js';
5
- export * as $defs from './getSession.defs.js';
6
5
  //# sourceMappingURL=getSession.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getSession.js","sourceRoot":"","sources":["../../../../../src/lexicons/com/atproto/server/getSession.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,sBAAsB,CAAA;AACpC,OAAO,KAAK,KAAK,MAAM,sBAAsB,CAAA","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './getSession.defs.js'\nexport * as $defs from './getSession.defs.js'\n"]}
1
+ {"version":3,"file":"getSession.js","sourceRoot":"","sources":["../../../../../src/lexicons/com/atproto/server/getSession.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,sBAAsB,CAAA","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './getSession.defs.js'\n"]}
@@ -1,3 +1,2 @@
1
1
  export * from './refreshSession.defs.js';
2
- export * as $defs from './refreshSession.defs.js';
3
2
  //# sourceMappingURL=refreshSession.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"refreshSession.d.ts","sourceRoot":"","sources":["../../../../../src/lexicons/com/atproto/server/refreshSession.ts"],"names":[],"mappings":"AAIA,cAAc,0BAA0B,CAAA;AACxC,OAAO,KAAK,KAAK,MAAM,0BAA0B,CAAA"}
1
+ {"version":3,"file":"refreshSession.d.ts","sourceRoot":"","sources":["../../../../../src/lexicons/com/atproto/server/refreshSession.ts"],"names":[],"mappings":"AAIA,cAAc,0BAA0B,CAAA"}