@veruna/api-contracts 1.0.11 → 1.0.12

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.
@@ -19,7 +19,7 @@ export declare const REST_API: {
19
19
  readonly ME_PASSWORD: "/api/v1/users/me/password";
20
20
  };
21
21
  readonly UNREG: {
22
- readonly AUTHENTICATE: "/api/v1/unreg/";
22
+ readonly AUTHENTICATE: `/api/v1/unreg${string}`;
23
23
  };
24
24
  readonly BLOG: {
25
25
  readonly ADMIN: {
package/build/rest-api.js CHANGED
@@ -27,7 +27,7 @@ exports.REST_API = {
27
27
  },
28
28
  // Unregistered Users
29
29
  UNREG: {
30
- AUTHENTICATE: `${exports.ROOT}/${controllers_1.UNREG_USERS_CONTROLLER}/${routes_1.UNREG_USERS_ROUTES.AUTHENTICATE}`,
30
+ AUTHENTICATE: `${exports.ROOT}/${controllers_1.UNREG_USERS_CONTROLLER}${routes_1.UNREG_USERS_ROUTES.AUTHENTICATE ? `/${routes_1.UNREG_USERS_ROUTES.AUTHENTICATE}` : ''}`,
31
31
  },
32
32
  // Blog module
33
33
  BLOG: {
@@ -17,7 +17,7 @@ export declare namespace UnregAuthenticateCommand {
17
17
  nextResetAt: z.ZodString;
18
18
  status: z.ZodEnum<typeof import("../schemas").UnregUserStatus>;
19
19
  }, z.core.$strip>;
20
- const URL: "/api/v1/unreg/";
20
+ const URL: `/api/v1/unreg${string}`;
21
21
  const METHOD = HttpMethod.PUT;
22
22
  type RequestType = z.infer<typeof Request>;
23
23
  type ResponseType = z.infer<typeof Response>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veruna/api-contracts",
3
- "version": "1.0.11",
3
+ "version": "1.0.12",
4
4
  "description": "API contracts for Veruna project - Zod schemas, types, and paths",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",