@sorokchat-messenger/contracts 1.0.0 → 1.0.2

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 (63) hide show
  1. package/dist/authorization/codes.d.ts +6 -0
  2. package/dist/authorization/codes.d.ts.map +1 -0
  3. package/dist/authorization/codes.js +8 -0
  4. package/dist/authorization/codes.js.map +1 -0
  5. package/dist/authorization/index.d.ts +4 -0
  6. package/dist/authorization/index.d.ts.map +1 -0
  7. package/dist/authorization/index.js +4 -0
  8. package/dist/authorization/index.js.map +1 -0
  9. package/dist/authorization/login.schema.d.ts +7 -0
  10. package/dist/authorization/login.schema.d.ts.map +1 -0
  11. package/dist/authorization/login.schema.js +6 -0
  12. package/dist/authorization/login.schema.js.map +1 -0
  13. package/dist/authorization/register.schema.d.ts +8 -0
  14. package/dist/authorization/register.schema.d.ts.map +1 -0
  15. package/dist/authorization/register.schema.js +7 -0
  16. package/dist/authorization/register.schema.js.map +1 -0
  17. package/dist/common/codes.d.ts.map +1 -0
  18. package/dist/common/codes.js.map +1 -0
  19. package/dist/common/index.d.ts.map +1 -0
  20. package/dist/common/index.js.map +1 -0
  21. package/dist/index.d.ts +3 -0
  22. package/dist/index.d.ts.map +1 -0
  23. package/dist/index.js +3 -0
  24. package/dist/index.js.map +1 -0
  25. package/dist/{src/users → users}/codes.d.ts +2 -2
  26. package/dist/users/codes.d.ts.map +1 -0
  27. package/dist/{src/users → users}/codes.js +2 -2
  28. package/dist/users/codes.js.map +1 -0
  29. package/dist/users/index.d.ts +4 -0
  30. package/dist/users/index.d.ts.map +1 -0
  31. package/dist/users/index.js +4 -0
  32. package/dist/users/index.js.map +1 -0
  33. package/dist/users/new-user.schema.d.ts +8 -0
  34. package/dist/users/new-user.schema.d.ts.map +1 -0
  35. package/dist/users/new-user.schema.js +23 -0
  36. package/dist/users/new-user.schema.js.map +1 -0
  37. package/dist/users/role.d.ts +7 -0
  38. package/dist/users/role.d.ts.map +1 -0
  39. package/dist/users/role.js +6 -0
  40. package/dist/users/role.js.map +1 -0
  41. package/package.json +8 -2
  42. package/dist/prettierrc.config.d.mts +0 -3
  43. package/dist/prettierrc.config.d.mts.map +0 -1
  44. package/dist/prettierrc.config.mjs +0 -3
  45. package/dist/prettierrc.config.mjs.map +0 -1
  46. package/dist/src/common/codes.d.ts.map +0 -1
  47. package/dist/src/common/codes.js.map +0 -1
  48. package/dist/src/common/index.d.ts.map +0 -1
  49. package/dist/src/common/index.js.map +0 -1
  50. package/dist/src/index.d.ts +0 -2
  51. package/dist/src/index.d.ts.map +0 -1
  52. package/dist/src/index.js +0 -2
  53. package/dist/src/index.js.map +0 -1
  54. package/dist/src/users/codes.d.ts.map +0 -1
  55. package/dist/src/users/codes.js.map +0 -1
  56. package/dist/src/users/index.d.ts +0 -2
  57. package/dist/src/users/index.d.ts.map +0 -1
  58. package/dist/src/users/index.js +0 -2
  59. package/dist/src/users/index.js.map +0 -1
  60. /package/dist/{src/common → common}/codes.d.ts +0 -0
  61. /package/dist/{src/common → common}/codes.js +0 -0
  62. /package/dist/{src/common → common}/index.d.ts +0 -0
  63. /package/dist/{src/common → common}/index.js +0 -0
@@ -0,0 +1,6 @@
1
+ export declare const AuthorizationCodes: {
2
+ readonly BAD_CREDENTIALS: `${string}.bad-credentials`;
3
+ readonly ACCESS_DENIED: `${string}.access-denied`;
4
+ readonly UNAUTHORIZED: `${string}.unauthorized`;
5
+ };
6
+ //# sourceMappingURL=codes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"codes.d.ts","sourceRoot":"","sources":["../../src/authorization/codes.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,kBAAkB;aAC7B,eAAe;aACf,aAAa;aACb,YAAY;CACJ,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { ERROR_CODE } from "../common/index.js";
2
+ const AUTHORIZATION_ERROR = `${ERROR_CODE}.authorization`;
3
+ export const AuthorizationCodes = {
4
+ BAD_CREDENTIALS: `${AUTHORIZATION_ERROR}.bad-credentials`,
5
+ ACCESS_DENIED: `${AUTHORIZATION_ERROR}.access-denied`,
6
+ UNAUTHORIZED: `${AUTHORIZATION_ERROR}.unauthorized`,
7
+ };
8
+ //# sourceMappingURL=codes.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"codes.js","sourceRoot":"","sources":["../../src/authorization/codes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAEhD,MAAM,mBAAmB,GAAW,GAAG,UAAU,gBAAgB,CAAC;AAElE,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC,eAAe,EAAE,GAAG,mBAAmB,kBAAkB;IACzD,aAAa,EAAE,GAAG,mBAAmB,gBAAgB;IACrD,YAAY,EAAE,GAAG,mBAAmB,eAAe;CAC3C,CAAC"}
@@ -0,0 +1,4 @@
1
+ export * from "./codes.js";
2
+ export * from "./register.schema.js";
3
+ export * from "./login.schema.js";
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/authorization/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,sBAAsB,CAAC;AACrC,cAAc,mBAAmB,CAAC"}
@@ -0,0 +1,4 @@
1
+ export * from "./codes.js";
2
+ export * from "./register.schema.js";
3
+ export * from "./login.schema.js";
4
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/authorization/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,sBAAsB,CAAC;AACrC,cAAc,mBAAmB,CAAC"}
@@ -0,0 +1,7 @@
1
+ import type z from "zod";
2
+ export declare const LoginSchema: z.ZodObject<{
3
+ login: z.ZodNonOptional<z.ZodString>;
4
+ password: z.ZodNonOptional<z.ZodString>;
5
+ }, z.core.$strip>;
6
+ export type LoginPayload = z.infer<typeof LoginSchema>;
7
+ //# sourceMappingURL=login.schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"login.schema.d.ts","sourceRoot":"","sources":["../../src/authorization/login.schema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,eAAO,MAAM,WAAW;;;iBAGtB,CAAC;AACH,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,WAAW,CAAC,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { NewUserSchema } from "../users/index.js";
2
+ export const LoginSchema = NewUserSchema.pick({
3
+ login: true,
4
+ password: true,
5
+ });
6
+ //# sourceMappingURL=login.schema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"login.schema.js","sourceRoot":"","sources":["../../src/authorization/login.schema.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAElD,MAAM,CAAC,MAAM,WAAW,GAAG,aAAa,CAAC,IAAI,CAAC;IAC5C,KAAK,EAAE,IAAI;IACX,QAAQ,EAAE,IAAI;CACf,CAAC,CAAC"}
@@ -0,0 +1,8 @@
1
+ import type z from "zod";
2
+ export declare const RegisterSchema: z.ZodObject<{
3
+ login: z.ZodNonOptional<z.ZodString>;
4
+ password: z.ZodNonOptional<z.ZodString>;
5
+ displayName: z.ZodOptional<z.ZodString>;
6
+ }, z.core.$strip>;
7
+ export type RegisterPayload = z.infer<typeof RegisterSchema>;
8
+ //# sourceMappingURL=register.schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"register.schema.d.ts","sourceRoot":"","sources":["../../src/authorization/register.schema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,eAAO,MAAM,cAAc;;;;iBAIzB,CAAC;AACH,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { NewUserSchema } from "../users/index.js";
2
+ export const RegisterSchema = NewUserSchema.pick({
3
+ login: true,
4
+ password: true,
5
+ displayName: true,
6
+ });
7
+ //# sourceMappingURL=register.schema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"register.schema.js","sourceRoot":"","sources":["../../src/authorization/register.schema.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAElD,MAAM,CAAC,MAAM,cAAc,GAAG,aAAa,CAAC,IAAI,CAAC;IAC/C,KAAK,EAAE,IAAI;IACX,QAAQ,EAAE,IAAI;IACd,WAAW,EAAE,IAAI;CAClB,CAAC,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"codes.d.ts","sourceRoot":"","sources":["../../src/common/codes.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU,EAAE,MAAiB,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"codes.js","sourceRoot":"","sources":["../../src/common/codes.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,UAAU,GAAW,QAAQ,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/common/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/common/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC"}
@@ -0,0 +1,3 @@
1
+ export * from "./users/index.js";
2
+ export * from "./authorization/index.js";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,0BAA0B,CAAC"}
package/dist/index.js ADDED
@@ -0,0 +1,3 @@
1
+ export * from "./users/index.js";
2
+ export * from "./authorization/index.js";
3
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,0BAA0B,CAAC"}
@@ -10,11 +10,11 @@ export declare const UserCodes: {
10
10
  readonly EMPTY: `${string}.empty`;
11
11
  readonly MIN_LENGTH: {
12
12
  readonly VALUE: number;
13
- readonly code: `${string}.min-length`;
13
+ readonly CODE: `${string}.min-length`;
14
14
  };
15
15
  readonly MAX_LENGTH: {
16
16
  readonly VALUE: number;
17
- readonly code: `${string}.max-length`;
17
+ readonly CODE: `${string}.max-length`;
18
18
  };
19
19
  };
20
20
  readonly DISPLAY_NAME: {
@@ -0,0 +1 @@
1
+ {"version":3,"file":"codes.d.ts","sourceRoot":"","sources":["../../src/users/codes.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,SAAS;aACpB,SAAS;aACT,MAAM;aACN,KAAK;iBACH,SAAS;iBACT,KAAK;;aAEP,QAAQ;iBACN,SAAS;iBACT,KAAK;iBACL,UAAU;qBACR,KAAK;qBACL,IAAI;;iBAEN,UAAU;qBACR,KAAK;qBACL,IAAI;;;aAGR,YAAY;iBACV,KAAK;;CAEC,CAAC"}
@@ -16,11 +16,11 @@ export const UserCodes = {
16
16
  EMPTY: `${ERROR_PASSWORD}.empty`,
17
17
  MIN_LENGTH: {
18
18
  VALUE: MIN_LENGTH,
19
- code: `${ERROR_PASSWORD}.min-length`,
19
+ CODE: `${ERROR_PASSWORD}.min-length`,
20
20
  },
21
21
  MAX_LENGTH: {
22
22
  VALUE: MAX_LENGTH,
23
- code: `${ERROR_PASSWORD}.max-length`,
23
+ CODE: `${ERROR_PASSWORD}.max-length`,
24
24
  },
25
25
  },
26
26
  DISPLAY_NAME: {
@@ -0,0 +1 @@
1
+ {"version":3,"file":"codes.js","sourceRoot":"","sources":["../../src/users/codes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAEhD,MAAM,UAAU,GAAW,GAAG,UAAU,OAAO,CAAC;AAChD,MAAM,WAAW,GAAW,GAAG,UAAU,QAAQ,CAAC;AAClD,MAAM,cAAc,GAAW,GAAG,UAAU,WAAW,CAAC;AAExD,MAAM,UAAU,GAAW,CAAC,CAAC;AAC7B,MAAM,UAAU,GAAW,GAAG,CAAC;AAE/B,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,SAAS,EAAE,GAAG,UAAU,YAAY;IACpC,MAAM,EAAE,GAAG,UAAU,SAAS;IAC9B,KAAK,EAAE;QACL,SAAS,EAAE,GAAG,WAAW,YAAY;QACrC,KAAK,EAAE,GAAG,WAAW,QAAQ;KAC9B;IACD,QAAQ,EAAE;QACR,SAAS,EAAE,GAAG,cAAc,YAAY;QACxC,KAAK,EAAE,GAAG,cAAc,QAAQ;QAChC,UAAU,EAAE;YACV,KAAK,EAAE,UAAU;YACjB,IAAI,EAAE,GAAG,cAAc,aAAa;SACrC;QACD,UAAU,EAAE;YACV,KAAK,EAAE,UAAU;YACjB,IAAI,EAAE,GAAG,cAAc,aAAa;SACrC;KACF;IACD,YAAY,EAAE;QACZ,KAAK,EAAE,GAAG,cAAc,QAAQ;KACjC;CACO,CAAC"}
@@ -0,0 +1,4 @@
1
+ export * from "./codes.js";
2
+ export * from "./new-user.schema.js";
3
+ export * from "./role.js";
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/users/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,sBAAsB,CAAC;AACrC,cAAc,WAAW,CAAC"}
@@ -0,0 +1,4 @@
1
+ export * from "./codes.js";
2
+ export * from "./new-user.schema.js";
3
+ export * from "./role.js";
4
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/users/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,sBAAsB,CAAC;AACrC,cAAc,WAAW,CAAC"}
@@ -0,0 +1,8 @@
1
+ import z from "zod";
2
+ export declare const NewUserSchema: z.ZodObject<{
3
+ login: z.ZodNonOptional<z.ZodString>;
4
+ password: z.ZodNonOptional<z.ZodString>;
5
+ displayName: z.ZodOptional<z.ZodString>;
6
+ }, z.core.$strip>;
7
+ export type NewUserPayload = z.infer<typeof NewUserSchema>;
8
+ //# sourceMappingURL=new-user.schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"new-user.schema.d.ts","sourceRoot":"","sources":["../../src/users/new-user.schema.ts"],"names":[],"mappings":"AACA,OAAO,CAAC,MAAM,KAAK,CAAC;AAEpB,eAAO,MAAM,aAAa;;;;iBAmBxB,CAAC;AACH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC"}
@@ -0,0 +1,23 @@
1
+ import { UserCodes } from "./codes.js";
2
+ import z from "zod";
3
+ export const NewUserSchema = z.object({
4
+ login: z
5
+ .string()
6
+ .nonempty({ message: UserCodes.LOGIN.EMPTY })
7
+ .nonoptional({ message: UserCodes.LOGIN.UNDEFINED }),
8
+ password: z
9
+ .string()
10
+ .min(UserCodes.PASSWORD.MIN_LENGTH.VALUE, {
11
+ message: UserCodes.PASSWORD.MIN_LENGTH.CODE,
12
+ })
13
+ .max(UserCodes.PASSWORD.MAX_LENGTH.VALUE, {
14
+ message: UserCodes.PASSWORD.MAX_LENGTH.CODE,
15
+ })
16
+ .nonempty({ message: UserCodes.PASSWORD.EMPTY })
17
+ .nonoptional({ message: UserCodes.PASSWORD.UNDEFINED }),
18
+ displayName: z
19
+ .string()
20
+ .nonempty({ message: UserCodes.DISPLAY_NAME.EMPTY })
21
+ .optional(),
22
+ });
23
+ //# sourceMappingURL=new-user.schema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"new-user.schema.js","sourceRoot":"","sources":["../../src/users/new-user.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AACvC,OAAO,CAAC,MAAM,KAAK,CAAC;AAEpB,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,CAAC,MAAM,CAAC;IACpC,KAAK,EAAE,CAAC;SACL,MAAM,EAAE;SACR,QAAQ,CAAC,EAAE,OAAO,EAAE,SAAS,CAAC,KAAK,CAAC,KAAK,EAAE,CAAC;SAC5C,WAAW,CAAC,EAAE,OAAO,EAAE,SAAS,CAAC,KAAK,CAAC,SAAS,EAAE,CAAC;IACtD,QAAQ,EAAE,CAAC;SACR,MAAM,EAAE;SACR,GAAG,CAAC,SAAS,CAAC,QAAQ,CAAC,UAAU,CAAC,KAAK,EAAE;QACxC,OAAO,EAAE,SAAS,CAAC,QAAQ,CAAC,UAAU,CAAC,IAAI;KAC5C,CAAC;SACD,GAAG,CAAC,SAAS,CAAC,QAAQ,CAAC,UAAU,CAAC,KAAK,EAAE;QACxC,OAAO,EAAE,SAAS,CAAC,QAAQ,CAAC,UAAU,CAAC,IAAI;KAC5C,CAAC;SACD,QAAQ,CAAC,EAAE,OAAO,EAAE,SAAS,CAAC,QAAQ,CAAC,KAAK,EAAE,CAAC;SAC/C,WAAW,CAAC,EAAE,OAAO,EAAE,SAAS,CAAC,QAAQ,CAAC,SAAS,EAAE,CAAC;IACzD,WAAW,EAAE,CAAC;SACX,MAAM,EAAE;SACR,QAAQ,CAAC,EAAE,OAAO,EAAE,SAAS,CAAC,YAAY,CAAC,KAAK,EAAE,CAAC;SACnD,QAAQ,EAAE;CACd,CAAC,CAAC"}
@@ -0,0 +1,7 @@
1
+ export declare const Role: {
2
+ readonly ADMIN: "ADMIN";
3
+ readonly USER: "USER";
4
+ readonly PRO: "PRO";
5
+ };
6
+ export type Role = (typeof Role)[keyof typeof Role];
7
+ //# sourceMappingURL=role.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"role.d.ts","sourceRoot":"","sources":["../../src/users/role.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,IAAI;aACf,KAAK,EAAE,OAAO;aACd,IAAI,EAAE,MAAM;aACZ,GAAG,EAAE,KAAK;CACF,CAAC;AAEX,MAAM,MAAM,IAAI,GAAG,CAAC,OAAO,IAAI,CAAC,CAAC,MAAM,OAAO,IAAI,CAAC,CAAC"}
@@ -0,0 +1,6 @@
1
+ export const Role = {
2
+ ADMIN: "ADMIN",
3
+ USER: "USER",
4
+ PRO: "PRO",
5
+ };
6
+ //# sourceMappingURL=role.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"role.js","sourceRoot":"","sources":["../../src/users/role.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,IAAI,GAAG;IAClB,KAAK,EAAE,OAAO;IACd,IAAI,EAAE,MAAM;IACZ,GAAG,EAAE,KAAK;CACF,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sorokchat-messenger/contracts",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "Frontend and backend contracts",
5
5
  "keywords": [
6
6
  "frontend",
@@ -24,7 +24,9 @@
24
24
  "type": "module",
25
25
  "main": "./dist/index.js",
26
26
  "types": "./dist/index.d.ts",
27
- "files": ["dist"],
27
+ "files": [
28
+ "dist"
29
+ ],
28
30
  "exports": {
29
31
  ".": {
30
32
  "import": "./dist/index.js",
@@ -37,5 +39,9 @@
37
39
  "devDependencies": {
38
40
  "@sorokchat-messenger/core": "^1.0.0",
39
41
  "prettier": "^3.9.6"
42
+ },
43
+ "dependencies": {
44
+ "reflect-metadata": "^0.2.2",
45
+ "zod": "^4.5.4"
40
46
  }
41
47
  }
@@ -1,3 +0,0 @@
1
- import { prettierConfig } from "@sorokchat-messenger/core/prettier";
2
- export default prettierConfig;
3
- //# sourceMappingURL=prettierrc.config.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"prettierrc.config.d.mts","sourceRoot":"","sources":["../prettierrc.config.mts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;eAErD,cAAc"}
@@ -1,3 +0,0 @@
1
- import { prettierConfig } from "@sorokchat-messenger/core/prettier";
2
- export default prettierConfig;
3
- //# sourceMappingURL=prettierrc.config.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"prettierrc.config.mjs","sourceRoot":"","sources":["../prettierrc.config.mts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AAEpE,eAAe,cAAc,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"codes.d.ts","sourceRoot":"","sources":["../../../src/common/codes.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU,EAAE,MAAiB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"codes.js","sourceRoot":"","sources":["../../../src/common/codes.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,UAAU,GAAW,QAAQ,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/common/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/common/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC"}
@@ -1,2 +0,0 @@
1
- export * from "./users/index.js";
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC"}
package/dist/src/index.js DELETED
@@ -1,2 +0,0 @@
1
- export * from "./users/index.js";
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"codes.d.ts","sourceRoot":"","sources":["../../../src/users/codes.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,SAAS;aACpB,SAAS;aACT,MAAM;aACN,KAAK;iBACH,SAAS;iBACT,KAAK;;aAEP,QAAQ;iBACN,SAAS;iBACT,KAAK;iBACL,UAAU;qBACR,KAAK;qBACL,IAAI;;iBAEN,UAAU;qBACR,KAAK;qBACL,IAAI;;;aAGR,YAAY;iBACV,KAAK;;CAEC,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"codes.js","sourceRoot":"","sources":["../../../src/users/codes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAEhD,MAAM,UAAU,GAAW,GAAG,UAAU,OAAO,CAAC;AAChD,MAAM,WAAW,GAAW,GAAG,UAAU,QAAQ,CAAC;AAClD,MAAM,cAAc,GAAW,GAAG,UAAU,WAAW,CAAC;AAExD,MAAM,UAAU,GAAW,CAAC,CAAC;AAC7B,MAAM,UAAU,GAAW,GAAG,CAAC;AAE/B,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,SAAS,EAAE,GAAG,UAAU,YAAY;IACpC,MAAM,EAAE,GAAG,UAAU,SAAS;IAC9B,KAAK,EAAE;QACL,SAAS,EAAE,GAAG,WAAW,YAAY;QACrC,KAAK,EAAE,GAAG,WAAW,QAAQ;KAC9B;IACD,QAAQ,EAAE;QACR,SAAS,EAAE,GAAG,cAAc,YAAY;QACxC,KAAK,EAAE,GAAG,cAAc,QAAQ;QAChC,UAAU,EAAE;YACV,KAAK,EAAE,UAAU;YACjB,IAAI,EAAE,GAAG,cAAc,aAAa;SACrC;QACD,UAAU,EAAE;YACV,KAAK,EAAE,UAAU;YACjB,IAAI,EAAE,GAAG,cAAc,aAAa;SACrC;KACF;IACD,YAAY,EAAE;QACZ,KAAK,EAAE,GAAG,cAAc,QAAQ;KACjC;CACO,CAAC"}
@@ -1,2 +0,0 @@
1
- export * from "./codes.js";
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/users/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC"}
@@ -1,2 +0,0 @@
1
- export * from "./codes.js";
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/users/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC"}
File without changes
File without changes
File without changes
File without changes