@polinetwork/backend 0.17.1 → 0.17.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.
package/dist/index.js CHANGED
@@ -8,7 +8,8 @@ var USER_ROLE = {
8
8
  PRESIDENT: "president",
9
9
  DIRETTIVO: "direttivo",
10
10
  CREATOR: "creator",
11
- OWNER: "owner"
11
+ OWNER: "owner",
12
+ WEB: "web"
12
13
  };
13
14
  export {
14
15
  AUTH_PATH,
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/constants.ts"],"sourcesContent":["export const TRPC_PATH = \"/api/trpc\"\nexport const AUTH_PATH = \"/api/auth\"\nexport const WS_PATH = \"/ws\"\n\nexport const TRUSTED_ORIGINS = [\n \"http://localhost:3001\",\n \"http://localhost:3002\",\n \"http://localhost:3003\",\n \"http://localhost:5173\",\n \"http://localhost:5174\",\n \"http://localhost:5175\",\n]\n\nexport const MESSAGES_RETENTION_DAYS = 7\n\nexport const USER_ROLE = {\n ADMIN: \"admin\",\n HR: \"hr\",\n PRESIDENT: \"president\",\n DIRETTIVO: \"direttivo\",\n CREATOR: \"creator\",\n OWNER: \"owner\",\n} as const\n"],"mappings":";AAAO,IAAM,YAAY;AAClB,IAAM,YAAY;AAClB,IAAM,UAAU;AAahB,IAAM,YAAY;AAAA,EACvB,OAAO;AAAA,EACP,IAAI;AAAA,EACJ,WAAW;AAAA,EACX,WAAW;AAAA,EACX,SAAS;AAAA,EACT,OAAO;AACT;","names":[]}
1
+ {"version":3,"sources":["../../src/constants.ts"],"sourcesContent":["export const TRPC_PATH = \"/api/trpc\"\nexport const AUTH_PATH = \"/api/auth\"\nexport const WS_PATH = \"/ws\"\n\nexport const TRUSTED_ORIGINS = [\n \"http://localhost:3001\",\n \"http://localhost:3002\",\n \"http://localhost:3003\",\n \"http://localhost:5173\",\n \"http://localhost:5174\",\n \"http://localhost:5175\",\n]\n\nexport const MESSAGES_RETENTION_DAYS = 7\n\nexport const USER_ROLE = {\n ADMIN: \"admin\",\n HR: \"hr\",\n PRESIDENT: \"president\",\n DIRETTIVO: \"direttivo\",\n CREATOR: \"creator\",\n OWNER: \"owner\",\n WEB: \"web\",\n} as const\n"],"mappings":";AAAO,IAAM,YAAY;AAClB,IAAM,YAAY;AAClB,IAAM,UAAU;AAahB,IAAM,YAAY;AAAA,EACvB,OAAO;AAAA,EACP,IAAI;AAAA,EACJ,WAAW;AAAA,EACX,WAAW;AAAA,EACX,SAAS;AAAA,EACT,OAAO;AAAA,EACP,KAAK;AACP;","names":[]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@polinetwork/backend",
3
- "version": "0.17.1",
3
+ "version": "0.17.2",
4
4
  "description": "Utils to interact with the backend.",
5
5
  "repository": {
6
6
  "type": "git",