@remnawave/backend-contract 2.5.17 → 2.5.18

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.
@@ -31,7 +31,7 @@ export declare namespace GetStatusCommand {
31
31
  readonly POCKETID: "pocketid";
32
32
  readonly YANDEX: "yandex";
33
33
  readonly KEYCLOAK: "keycloak";
34
- readonly GENERIC_OAUTH2: "generic";
34
+ readonly GENERIC: "generic";
35
35
  }>, z.ZodBoolean>;
36
36
  }, "strip", z.ZodTypeAny, {
37
37
  providers: Partial<Record<"github" | "pocketid" | "yandex" | "keycloak" | "generic", boolean>>;
@@ -9,7 +9,7 @@ export declare namespace OAuth2AuthorizeCommand {
9
9
  readonly POCKETID: "pocketid";
10
10
  readonly YANDEX: "yandex";
11
11
  readonly KEYCLOAK: "keycloak";
12
- readonly GENERIC_OAUTH2: "generic";
12
+ readonly GENERIC: "generic";
13
13
  }>;
14
14
  }, "strip", z.ZodTypeAny, {
15
15
  provider: "github" | "pocketid" | "yandex" | "keycloak" | "generic";
@@ -9,7 +9,7 @@ export declare namespace OAuth2CallbackCommand {
9
9
  readonly POCKETID: "pocketid";
10
10
  readonly YANDEX: "yandex";
11
11
  readonly KEYCLOAK: "keycloak";
12
- readonly GENERIC_OAUTH2: "generic";
12
+ readonly GENERIC: "generic";
13
13
  }>;
14
14
  code: z.ZodString;
15
15
  state: z.ZodString;
@@ -3,7 +3,7 @@ export declare const OAUTH2_PROVIDERS: {
3
3
  readonly POCKETID: "pocketid";
4
4
  readonly YANDEX: "yandex";
5
5
  readonly KEYCLOAK: "keycloak";
6
- readonly GENERIC_OAUTH2: "generic";
6
+ readonly GENERIC: "generic";
7
7
  };
8
8
  export type TOAuth2Providers = [keyof typeof OAUTH2_PROVIDERS][number];
9
9
  export type TOAuth2ProvidersKeys = (typeof OAUTH2_PROVIDERS)[keyof typeof OAUTH2_PROVIDERS];
@@ -6,6 +6,6 @@ exports.OAUTH2_PROVIDERS = {
6
6
  POCKETID: 'pocketid',
7
7
  YANDEX: 'yandex',
8
8
  KEYCLOAK: 'keycloak',
9
- GENERIC_OAUTH2: 'generic',
9
+ GENERIC: 'generic',
10
10
  };
11
11
  exports.OAUTH2_PROVIDERS_VALUES = Object.values(exports.OAUTH2_PROVIDERS);
@@ -6,6 +6,6 @@ exports.OAUTH2_PROVIDERS = {
6
6
  POCKETID: 'pocketid',
7
7
  YANDEX: 'yandex',
8
8
  KEYCLOAK: 'keycloak',
9
- GENERIC_OAUTH2: 'generic',
9
+ GENERIC: 'generic',
10
10
  };
11
11
  exports.OAUTH2_PROVIDERS_VALUES = Object.values(exports.OAUTH2_PROVIDERS);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remnawave/backend-contract",
3
- "version": "2.5.17",
3
+ "version": "2.5.18",
4
4
  "public": true,
5
5
  "license": "AGPL-3.0-only",
6
6
  "description": "A contract library for Remnawave Backend. It can be used in backend and frontend.",