@qelos/global-types 3.10.0 → 3.11.0

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.
@@ -21,9 +21,12 @@ export interface IAuthConfigurationMetadata {
21
21
  showLoginPage: boolean,
22
22
  showRegisterPage: boolean,
23
23
  backgroundImage?: string,
24
+ verticalBackgroundImage?: string,
24
25
  socialLoginsSources?: {
25
26
  linkedin?: string,
26
27
  facebook?: string,
28
+ google?: string,
29
+ github?: string,
27
30
  }
28
31
  allowSocialAutoRegistration?: boolean,
29
32
  additionalUserFields: Array<IUserAdditionalField>
@@ -7,7 +7,9 @@ export enum IntegrationSourceKind {
7
7
  LinkedIn = 'linkedin',
8
8
  Http = 'http',
9
9
  ClaudeAi = 'claudeai',
10
- Facebook = 'facebook'
10
+ Facebook = 'facebook',
11
+ Google = 'google',
12
+ GitHub = 'github'
11
13
  }
12
14
 
13
15
  export interface IIntegrationSource {
@@ -149,3 +151,27 @@ export interface IHttpSource extends IIntegrationSource {
149
151
  query: Record<string, string>;
150
152
  };
151
153
  }
154
+
155
+ export interface IGoogleSource extends IIntegrationSource {
156
+ _id?: string;
157
+ kind: IntegrationSourceKind.Google;
158
+ authentication: {
159
+ clientSecret: string;
160
+ };
161
+ metadata: {
162
+ clientId: string;
163
+ scope: string;
164
+ };
165
+ }
166
+
167
+ export interface IGithubSource extends IIntegrationSource {
168
+ _id?: string;
169
+ kind: IntegrationSourceKind.GitHub;
170
+ authentication: {
171
+ clientSecret: string;
172
+ };
173
+ metadata: {
174
+ clientId: string;
175
+ scope: string;
176
+ };
177
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qelos/global-types",
3
- "version": "3.10.0",
3
+ "version": "3.11.0",
4
4
  "description": "",
5
5
  "main": "index.ts",
6
6
  "types": "index.ts",