@stackframe/stack-shared 2.8.10 → 2.8.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.
- package/CHANGELOG.md +12 -0
- package/dist/config/{schema.d.cts → schema.d.mts} +38 -33
- package/dist/config/schema.d.ts +37 -32
- package/dist/config/schema.js +5 -3
- package/dist/config/schema.js.map +1 -1
- package/dist/{crud.d.cts → crud.d.mts} +1 -1
- package/dist/esm/config/schema.js +5 -3
- package/dist/esm/config/schema.js.map +1 -1
- package/dist/esm/interface/clientInterface.js +8 -6
- package/dist/esm/interface/clientInterface.js.map +1 -1
- package/dist/esm/interface/crud/project-api-keys.js +20 -15
- package/dist/esm/interface/crud/project-api-keys.js.map +1 -1
- package/dist/esm/interface/crud/projects.js +5 -12
- package/dist/esm/interface/crud/projects.js.map +1 -1
- package/dist/esm/interface/serverInterface.js +28 -2
- package/dist/esm/interface/serverInterface.js.map +1 -1
- package/dist/esm/known-errors.js +43 -1
- package/dist/esm/known-errors.js.map +1 -1
- package/dist/esm/schema-fields.js +2 -0
- package/dist/esm/schema-fields.js.map +1 -1
- package/dist/esm/utils/errors.js +4 -0
- package/dist/esm/utils/errors.js.map +1 -1
- package/dist/esm/utils/hashes.js +1 -1
- package/dist/esm/utils/hashes.js.map +1 -1
- package/dist/esm/utils/objects.js +24 -0
- package/dist/esm/utils/objects.js.map +1 -1
- package/dist/esm/utils/promises.js +1 -1
- package/dist/esm/utils/promises.js.map +1 -1
- package/dist/esm/utils/strings.js +1 -0
- package/dist/esm/utils/strings.js.map +1 -1
- package/dist/helpers/password.d.mts +11 -0
- package/dist/helpers/{production-mode.d.cts → production-mode.d.mts} +3 -3
- package/dist/hooks/use-async-callback.js +1 -1
- package/dist/hooks/{use-async-external-store.d.cts → use-async-external-store.d.mts} +1 -1
- package/dist/index.d.mts +30 -0
- package/dist/interface/{adminInterface.d.cts → adminInterface.d.mts} +26 -26
- package/dist/interface/{clientInterface.d.cts → clientInterface.d.mts} +18 -18
- package/dist/interface/clientInterface.js +8 -6
- package/dist/interface/clientInterface.js.map +1 -1
- package/dist/interface/crud/{contact-channels.d.cts → contact-channels.d.mts} +2 -2
- package/dist/interface/crud/{current-user.d.cts → current-user.d.mts} +2 -2
- package/dist/interface/crud/{email-templates.d.cts → email-templates.d.mts} +2 -2
- package/dist/interface/crud/{emails.d.cts → emails.d.mts} +2 -2
- package/dist/interface/crud/emails.js +1 -1
- package/dist/interface/crud/{internal-api-keys.d.cts → internal-api-keys.d.mts} +2 -2
- package/dist/interface/crud/{oauth.d.cts → oauth.d.mts} +2 -2
- package/dist/interface/crud/{project-api-keys.d.cts → project-api-keys.d.mts} +14 -4
- package/dist/interface/crud/project-api-keys.d.ts +12 -2
- package/dist/interface/crud/project-api-keys.js +20 -15
- package/dist/interface/crud/project-api-keys.js.map +1 -1
- package/dist/interface/crud/{project-permissions.d.cts → project-permissions.d.mts} +2 -2
- package/dist/interface/crud/project-permissions.js +1 -1
- package/dist/interface/crud/{projects.d.cts → projects.d.mts} +9 -22
- package/dist/interface/crud/projects.d.ts +7 -20
- package/dist/interface/crud/projects.js +6 -13
- package/dist/interface/crud/projects.js.map +1 -1
- package/dist/interface/crud/{sessions.d.cts → sessions.d.mts} +2 -2
- package/dist/interface/crud/{svix-token.d.cts → svix-token.d.mts} +2 -2
- package/dist/interface/crud/{team-invitation-details.d.cts → team-invitation-details.d.mts} +2 -2
- package/dist/interface/crud/team-invitation-details.js +1 -1
- package/dist/interface/crud/{team-invitation.d.cts → team-invitation.d.mts} +2 -2
- package/dist/interface/crud/team-invitation.js +1 -1
- package/dist/interface/crud/{team-member-profiles.d.cts → team-member-profiles.d.mts} +2 -2
- package/dist/interface/crud/team-member-profiles.js +1 -1
- package/dist/interface/crud/{team-memberships.d.cts → team-memberships.d.mts} +2 -2
- package/dist/interface/crud/{team-permissions.d.cts → team-permissions.d.mts} +2 -2
- package/dist/interface/crud/team-permissions.js +1 -1
- package/dist/interface/crud/{teams.d.cts → teams.d.mts} +2 -2
- package/dist/interface/crud/teams.js +1 -1
- package/dist/interface/crud/{users.d.cts → users.d.mts} +2 -2
- package/dist/interface/crud/users.js +1 -1
- package/dist/interface/{serverInterface.d.cts → serverInterface.d.mts} +23 -21
- package/dist/interface/serverInterface.d.ts +2 -0
- package/dist/interface/serverInterface.js +28 -2
- package/dist/interface/serverInterface.js.map +1 -1
- package/dist/{known-errors.d.cts → known-errors.d.mts} +14 -3
- package/dist/known-errors.d.ts +11 -0
- package/dist/known-errors.js +43 -1
- package/dist/known-errors.js.map +1 -1
- package/dist/{schema-fields.d.cts → schema-fields.d.mts} +2 -1
- package/dist/schema-fields.d.ts +2 -1
- package/dist/schema-fields.js +4 -1
- package/dist/schema-fields.js.map +1 -1
- package/dist/sessions.js +1 -1
- package/dist/utils/api-keys.js +1 -1
- package/dist/utils/{caches.d.cts → caches.d.mts} +2 -2
- package/dist/utils/{errors.d.cts → errors.d.mts} +4 -2
- package/dist/utils/errors.d.ts +2 -0
- package/dist/utils/errors.js +4 -0
- package/dist/utils/errors.js.map +1 -1
- package/dist/utils/fs.js +2 -2
- package/dist/utils/hashes.js +6 -6
- package/dist/utils/hashes.js.map +1 -1
- package/dist/utils/ips.js +1 -1
- package/dist/utils/{json.d.cts → json.d.mts} +1 -1
- package/dist/utils/jwt.js +3 -3
- package/dist/utils/{objects.d.cts → objects.d.mts} +9 -5
- package/dist/utils/objects.d.ts +9 -5
- package/dist/utils/objects.js +28 -0
- package/dist/utils/objects.js.map +1 -1
- package/dist/utils/{promises.d.cts → promises.d.mts} +1 -1
- package/dist/utils/promises.js +1 -1
- package/dist/utils/promises.js.map +1 -1
- package/dist/utils/react.js +1 -1
- package/dist/utils/{stores.d.cts → stores.d.mts} +3 -3
- package/dist/utils/strings.js +1 -0
- package/dist/utils/strings.js.map +1 -1
- package/package.json +9 -6
- package/dist/helpers/password.d.cts +0 -11
- package/dist/index.d.cts +0 -30
- /package/dist/config/{format.d.cts → format.d.mts} +0 -0
- /package/dist/{global.d.d.cts → global.d.d.mts} +0 -0
- /package/dist/hooks/{use-async-callback.d.cts → use-async-callback.d.mts} +0 -0
- /package/dist/hooks/{use-hash.d.cts → use-hash.d.mts} +0 -0
- /package/dist/hooks/{use-strict-memo.d.cts → use-strict-memo.d.mts} +0 -0
- /package/dist/interface/{webhooks.d.cts → webhooks.d.mts} +0 -0
- /package/dist/{sessions.d.cts → sessions.d.mts} +0 -0
- /package/dist/utils/{api-keys.d.cts → api-keys.d.mts} +0 -0
- /package/dist/utils/{arrays.d.cts → arrays.d.mts} +0 -0
- /package/dist/utils/{base64.d.cts → base64.d.mts} +0 -0
- /package/dist/utils/{booleans.d.cts → booleans.d.mts} +0 -0
- /package/dist/utils/{browser-compat.d.cts → browser-compat.d.mts} +0 -0
- /package/dist/utils/{bytes.d.cts → bytes.d.mts} +0 -0
- /package/dist/utils/{compile-time.d.cts → compile-time.d.mts} +0 -0
- /package/dist/utils/{crypto.d.cts → crypto.d.mts} +0 -0
- /package/dist/utils/{dates.d.cts → dates.d.mts} +0 -0
- /package/dist/utils/{dom.d.cts → dom.d.mts} +0 -0
- /package/dist/utils/{env.d.cts → env.d.mts} +0 -0
- /package/dist/utils/{fs.d.cts → fs.d.mts} +0 -0
- /package/dist/utils/{functions.d.cts → functions.d.mts} +0 -0
- /package/dist/utils/{geo.d.cts → geo.d.mts} +0 -0
- /package/dist/utils/{globals.d.cts → globals.d.mts} +0 -0
- /package/dist/utils/{hashes.d.cts → hashes.d.mts} +0 -0
- /package/dist/utils/{html.d.cts → html.d.mts} +0 -0
- /package/dist/utils/{http.d.cts → http.d.mts} +0 -0
- /package/dist/utils/{ips.d.cts → ips.d.mts} +0 -0
- /package/dist/utils/{jwt.d.cts → jwt.d.mts} +0 -0
- /package/dist/utils/{locks.d.cts → locks.d.mts} +0 -0
- /package/dist/utils/{maps.d.cts → maps.d.mts} +0 -0
- /package/dist/utils/{math.d.cts → math.d.mts} +0 -0
- /package/dist/utils/{node-http.d.cts → node-http.d.mts} +0 -0
- /package/dist/utils/{numbers.d.cts → numbers.d.mts} +0 -0
- /package/dist/utils/{oauth.d.cts → oauth.d.mts} +0 -0
- /package/dist/utils/{passkey.d.cts → passkey.d.mts} +0 -0
- /package/dist/utils/{proxies.d.cts → proxies.d.mts} +0 -0
- /package/dist/utils/{react.d.cts → react.d.mts} +0 -0
- /package/dist/utils/{results.d.cts → results.d.mts} +0 -0
- /package/dist/utils/{sentry.d.cts → sentry.d.mts} +0 -0
- /package/dist/utils/{strings.d.cts → strings.d.mts} +0 -0
- /package/dist/utils/{strings.nicify.test.d.cts → strings.nicify.test.d.mts} +0 -0
- /package/dist/utils/{types.d.cts → types.d.mts} +0 -0
- /package/dist/utils/{unicode.d.cts → unicode.d.mts} +0 -0
- /package/dist/utils/{urls.d.cts → urls.d.mts} +0 -0
- /package/dist/utils/{uuids.d.cts → uuids.d.mts} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { CrudSchemaFromOptions, CrudTypeOf } from '../../crud.
|
|
1
|
+
import { CrudSchemaFromOptions, CrudTypeOf } from '../../crud.mjs';
|
|
2
2
|
import * as yup from 'yup';
|
|
3
|
-
import '../../utils/types.
|
|
3
|
+
import '../../utils/types.mjs';
|
|
4
4
|
|
|
5
5
|
declare const contactChannelsClientReadSchema: yup.ObjectSchema<{
|
|
6
6
|
user_id: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { CrudSchemaFromOptions, CrudTypeOf } from '../../crud.
|
|
1
|
+
import { CrudSchemaFromOptions, CrudTypeOf } from '../../crud.mjs';
|
|
2
2
|
import * as yup from 'yup';
|
|
3
|
-
import '../../utils/types.
|
|
3
|
+
import '../../utils/types.mjs';
|
|
4
4
|
|
|
5
5
|
declare const currentUserCrud: CrudSchemaFromOptions<{
|
|
6
6
|
clientReadSchema: yup.ObjectSchema<{
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { CrudSchemaFromOptions, CrudTypeOf } from '../../crud.
|
|
1
|
+
import { CrudSchemaFromOptions, CrudTypeOf } from '../../crud.mjs';
|
|
2
2
|
import * as yup from 'yup';
|
|
3
|
-
import '../../utils/types.
|
|
3
|
+
import '../../utils/types.mjs';
|
|
4
4
|
|
|
5
5
|
type EmailTemplateType = typeof emailTemplateTypes[number];
|
|
6
6
|
declare const emailTemplateTypes: readonly ["email_verification", "password_reset", "magic_link", "team_invitation"];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { CrudSchemaFromOptions, CrudTypeOf } from '../../crud.
|
|
1
|
+
import { CrudSchemaFromOptions, CrudTypeOf } from '../../crud.mjs';
|
|
2
2
|
import * as yup from 'yup';
|
|
3
|
-
import '../../utils/types.
|
|
3
|
+
import '../../utils/types.mjs';
|
|
4
4
|
|
|
5
5
|
declare const sentEmailReadSchema: yup.ObjectSchema<{
|
|
6
6
|
id: string;
|
|
@@ -35,7 +35,7 @@ __export(emails_exports, {
|
|
|
35
35
|
});
|
|
36
36
|
module.exports = __toCommonJS(emails_exports);
|
|
37
37
|
var import_crud = require("../../crud");
|
|
38
|
-
var fieldSchema = __toESM(require("../../schema-fields")
|
|
38
|
+
var fieldSchema = __toESM(require("../../schema-fields"));
|
|
39
39
|
var import_projects = require("./projects");
|
|
40
40
|
var sentEmailReadSchema = fieldSchema.yupObject({
|
|
41
41
|
id: fieldSchema.yupString().defined(),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { CrudSchemaFromOptions, CrudTypeOf } from '../../crud.
|
|
1
|
+
import { CrudSchemaFromOptions, CrudTypeOf } from '../../crud.mjs';
|
|
2
2
|
import * as yup from 'yup';
|
|
3
|
-
import '../../utils/types.
|
|
3
|
+
import '../../utils/types.mjs';
|
|
4
4
|
|
|
5
5
|
declare const internalApiKeysCreateInputSchema: yup.ObjectSchema<{
|
|
6
6
|
description: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { CrudSchemaFromOptions, CrudTypeOf } from '../../crud.
|
|
1
|
+
import { CrudSchemaFromOptions, CrudTypeOf } from '../../crud.mjs';
|
|
2
2
|
import * as yup from 'yup';
|
|
3
|
-
import '../../utils/types.
|
|
3
|
+
import '../../utils/types.mjs';
|
|
4
4
|
|
|
5
5
|
declare const connectedAccountAccessTokenReadSchema: yup.ObjectSchema<{
|
|
6
6
|
access_token: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { CrudSchemaFromOptions, CrudTypeOf } from '../../crud.
|
|
1
|
+
import { CrudSchemaFromOptions, CrudTypeOf } from '../../crud.mjs';
|
|
2
2
|
import * as yup from 'yup';
|
|
3
|
-
import '../../utils/types.
|
|
3
|
+
import '../../utils/types.mjs';
|
|
4
4
|
|
|
5
5
|
declare const userApiKeysCrud: CrudSchemaFromOptions<{
|
|
6
6
|
clientReadSchema: yup.ObjectSchema<{
|
|
@@ -39,27 +39,32 @@ declare const userApiKeysCrud: CrudSchemaFromOptions<{
|
|
|
39
39
|
clientCreate: {
|
|
40
40
|
description: string;
|
|
41
41
|
displayName: string;
|
|
42
|
+
tags: string[];
|
|
42
43
|
summary: string;
|
|
43
44
|
};
|
|
44
45
|
clientList: {
|
|
45
46
|
description: string;
|
|
46
47
|
displayName: string;
|
|
47
48
|
summary: string;
|
|
49
|
+
tags: string[];
|
|
48
50
|
};
|
|
49
51
|
clientRead: {
|
|
50
52
|
description: string;
|
|
51
53
|
displayName: string;
|
|
52
54
|
summary: string;
|
|
55
|
+
tags: string[];
|
|
53
56
|
};
|
|
54
57
|
clientUpdate: {
|
|
55
58
|
description: string;
|
|
56
59
|
displayName: string;
|
|
57
60
|
summary: string;
|
|
61
|
+
tags: string[];
|
|
58
62
|
};
|
|
59
63
|
serverDelete: {
|
|
60
64
|
description: string;
|
|
61
65
|
displayName: string;
|
|
62
66
|
summary: string;
|
|
67
|
+
tags: string[];
|
|
63
68
|
};
|
|
64
69
|
};
|
|
65
70
|
}>;
|
|
@@ -75,9 +80,9 @@ declare const userApiKeysCreateInputSchema: yup.ObjectSchema<{
|
|
|
75
80
|
user_id: undefined;
|
|
76
81
|
}, "">;
|
|
77
82
|
declare const userApiKeysCreateOutputSchema: yup.ObjectSchema<{
|
|
78
|
-
id: string;
|
|
79
83
|
type: "user";
|
|
80
84
|
description: string;
|
|
85
|
+
id: string;
|
|
81
86
|
created_at_millis: number;
|
|
82
87
|
expires_at_millis: number | undefined;
|
|
83
88
|
manually_revoked_at_millis: number | undefined;
|
|
@@ -134,27 +139,32 @@ declare const teamApiKeysCrud: CrudSchemaFromOptions<{
|
|
|
134
139
|
clientCreate: {
|
|
135
140
|
description: string;
|
|
136
141
|
displayName: string;
|
|
142
|
+
tags: string[];
|
|
137
143
|
summary: string;
|
|
138
144
|
};
|
|
139
145
|
clientList: {
|
|
140
146
|
description: string;
|
|
141
147
|
displayName: string;
|
|
142
148
|
summary: string;
|
|
149
|
+
tags: string[];
|
|
143
150
|
};
|
|
144
151
|
clientRead: {
|
|
145
152
|
description: string;
|
|
146
153
|
displayName: string;
|
|
147
154
|
summary: string;
|
|
155
|
+
tags: string[];
|
|
148
156
|
};
|
|
149
157
|
clientUpdate: {
|
|
150
158
|
description: string;
|
|
151
159
|
displayName: string;
|
|
152
160
|
summary: string;
|
|
161
|
+
tags: string[];
|
|
153
162
|
};
|
|
154
163
|
serverDelete: {
|
|
155
164
|
description: string;
|
|
156
165
|
displayName: string;
|
|
157
166
|
summary: string;
|
|
167
|
+
tags: string[];
|
|
158
168
|
};
|
|
159
169
|
};
|
|
160
170
|
}>;
|
|
@@ -170,9 +180,9 @@ declare const teamApiKeysCreateInputSchema: yup.ObjectSchema<{
|
|
|
170
180
|
team_id: undefined;
|
|
171
181
|
}, "">;
|
|
172
182
|
declare const teamApiKeysCreateOutputSchema: yup.ObjectSchema<{
|
|
173
|
-
id: string;
|
|
174
183
|
type: "team";
|
|
175
184
|
description: string;
|
|
185
|
+
id: string;
|
|
176
186
|
created_at_millis: number;
|
|
177
187
|
expires_at_millis: number | undefined;
|
|
178
188
|
manually_revoked_at_millis: number | undefined;
|
|
@@ -39,27 +39,32 @@ declare const userApiKeysCrud: CrudSchemaFromOptions<{
|
|
|
39
39
|
clientCreate: {
|
|
40
40
|
description: string;
|
|
41
41
|
displayName: string;
|
|
42
|
+
tags: string[];
|
|
42
43
|
summary: string;
|
|
43
44
|
};
|
|
44
45
|
clientList: {
|
|
45
46
|
description: string;
|
|
46
47
|
displayName: string;
|
|
47
48
|
summary: string;
|
|
49
|
+
tags: string[];
|
|
48
50
|
};
|
|
49
51
|
clientRead: {
|
|
50
52
|
description: string;
|
|
51
53
|
displayName: string;
|
|
52
54
|
summary: string;
|
|
55
|
+
tags: string[];
|
|
53
56
|
};
|
|
54
57
|
clientUpdate: {
|
|
55
58
|
description: string;
|
|
56
59
|
displayName: string;
|
|
57
60
|
summary: string;
|
|
61
|
+
tags: string[];
|
|
58
62
|
};
|
|
59
63
|
serverDelete: {
|
|
60
64
|
description: string;
|
|
61
65
|
displayName: string;
|
|
62
66
|
summary: string;
|
|
67
|
+
tags: string[];
|
|
63
68
|
};
|
|
64
69
|
};
|
|
65
70
|
}>;
|
|
@@ -75,9 +80,9 @@ declare const userApiKeysCreateInputSchema: yup.ObjectSchema<{
|
|
|
75
80
|
user_id: undefined;
|
|
76
81
|
}, "">;
|
|
77
82
|
declare const userApiKeysCreateOutputSchema: yup.ObjectSchema<{
|
|
78
|
-
id: string;
|
|
79
83
|
type: "user";
|
|
80
84
|
description: string;
|
|
85
|
+
id: string;
|
|
81
86
|
created_at_millis: number;
|
|
82
87
|
expires_at_millis: number | undefined;
|
|
83
88
|
manually_revoked_at_millis: number | undefined;
|
|
@@ -134,27 +139,32 @@ declare const teamApiKeysCrud: CrudSchemaFromOptions<{
|
|
|
134
139
|
clientCreate: {
|
|
135
140
|
description: string;
|
|
136
141
|
displayName: string;
|
|
142
|
+
tags: string[];
|
|
137
143
|
summary: string;
|
|
138
144
|
};
|
|
139
145
|
clientList: {
|
|
140
146
|
description: string;
|
|
141
147
|
displayName: string;
|
|
142
148
|
summary: string;
|
|
149
|
+
tags: string[];
|
|
143
150
|
};
|
|
144
151
|
clientRead: {
|
|
145
152
|
description: string;
|
|
146
153
|
displayName: string;
|
|
147
154
|
summary: string;
|
|
155
|
+
tags: string[];
|
|
148
156
|
};
|
|
149
157
|
clientUpdate: {
|
|
150
158
|
description: string;
|
|
151
159
|
displayName: string;
|
|
152
160
|
summary: string;
|
|
161
|
+
tags: string[];
|
|
153
162
|
};
|
|
154
163
|
serverDelete: {
|
|
155
164
|
description: string;
|
|
156
165
|
displayName: string;
|
|
157
166
|
summary: string;
|
|
167
|
+
tags: string[];
|
|
158
168
|
};
|
|
159
169
|
};
|
|
160
170
|
}>;
|
|
@@ -170,9 +180,9 @@ declare const teamApiKeysCreateInputSchema: yup.ObjectSchema<{
|
|
|
170
180
|
team_id: undefined;
|
|
171
181
|
}, "">;
|
|
172
182
|
declare const teamApiKeysCreateOutputSchema: yup.ObjectSchema<{
|
|
173
|
-
id: string;
|
|
174
183
|
type: "team";
|
|
175
184
|
description: string;
|
|
185
|
+
id: string;
|
|
176
186
|
created_at_millis: number;
|
|
177
187
|
expires_at_millis: number | undefined;
|
|
178
188
|
manually_revoked_at_millis: number | undefined;
|
|
@@ -54,29 +54,34 @@ function createApiKeyCrud(type, idFieldName, idSchema) {
|
|
|
54
54
|
clientUpdateSchema: projectApiKeysUpdateSchema,
|
|
55
55
|
docs: {
|
|
56
56
|
clientCreate: {
|
|
57
|
-
description:
|
|
58
|
-
displayName:
|
|
59
|
-
|
|
57
|
+
description: `Create a new ${type} API key`,
|
|
58
|
+
displayName: `Create ${type} API key`,
|
|
59
|
+
tags: ["API Keys"],
|
|
60
|
+
summary: `Create ${type} API key`
|
|
60
61
|
},
|
|
61
62
|
clientList: {
|
|
62
|
-
description:
|
|
63
|
-
displayName:
|
|
64
|
-
summary:
|
|
63
|
+
description: `List all ${type} API keys for the project with their metadata and status`,
|
|
64
|
+
displayName: `List ${type} API keys`,
|
|
65
|
+
summary: `List ${type} API keys`,
|
|
66
|
+
tags: ["API Keys"]
|
|
65
67
|
},
|
|
66
68
|
clientRead: {
|
|
67
|
-
description:
|
|
68
|
-
displayName:
|
|
69
|
-
summary:
|
|
69
|
+
description: `Get details of a specific ${type} API key`,
|
|
70
|
+
displayName: `Get ${type} API key`,
|
|
71
|
+
summary: `Get ${type} API key details`,
|
|
72
|
+
tags: ["API Keys"]
|
|
70
73
|
},
|
|
71
74
|
clientUpdate: {
|
|
72
|
-
description:
|
|
73
|
-
displayName:
|
|
74
|
-
summary:
|
|
75
|
+
description: `Update an ${type} API key`,
|
|
76
|
+
displayName: `Update ${type} API key`,
|
|
77
|
+
summary: `Update ${type} API key`,
|
|
78
|
+
tags: ["API Keys"]
|
|
75
79
|
},
|
|
76
80
|
serverDelete: {
|
|
77
|
-
description:
|
|
78
|
-
displayName:
|
|
79
|
-
summary:
|
|
81
|
+
description: `Delete an ${type} API key`,
|
|
82
|
+
displayName: `Delete ${type} API key`,
|
|
83
|
+
summary: `Delete ${type} API key`,
|
|
84
|
+
tags: ["API Keys"]
|
|
80
85
|
}
|
|
81
86
|
}
|
|
82
87
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/interface/crud/project-api-keys.ts"],"sourcesContent":["import * as yup from \"yup\";\nimport { CrudTypeOf, createCrud } from \"../../crud\";\nimport { userIdOrMeSchema, yupBoolean, yupNumber, yupObject, yupString } from \"../../schema-fields\";\nimport { typedFromEntries } from \"../../utils/objects\";\n\nfunction createApiKeyCrud<T extends string, IdFieldName extends string, IdSchema extends yup.Schema<any>>(type: T, idFieldName: IdFieldName, idSchema: IdSchema) {\n const projectApiKeysReadSchema = yupObject({\n id: yupString().defined(),\n description: yupString().defined(),\n expires_at_millis: yupNumber().optional(),\n manually_revoked_at_millis: yupNumber().optional(),\n created_at_millis: yupNumber().defined(),\n is_public: yupBoolean().defined(),\n value: yupObject({\n last_four: yupString().defined(),\n }).defined(),\n type: yupString().oneOf([type]).defined(),\n ...typedFromEntries([[idFieldName, idSchema]]),\n });\n\n const projectApiKeysUpdateSchema = yupObject({\n description: yupString().optional(),\n revoked: yupBoolean().oneOf([true]).optional(),\n }).defined();\n\n const projectApiKeysCrud = createCrud({\n clientReadSchema: projectApiKeysReadSchema,\n clientUpdateSchema: projectApiKeysUpdateSchema,\n docs: {\n clientCreate: {\n description:
|
|
1
|
+
{"version":3,"sources":["../../../src/interface/crud/project-api-keys.ts"],"sourcesContent":["import * as yup from \"yup\";\nimport { CrudTypeOf, createCrud } from \"../../crud\";\nimport { userIdOrMeSchema, yupBoolean, yupNumber, yupObject, yupString } from \"../../schema-fields\";\nimport { typedFromEntries } from \"../../utils/objects\";\n\nfunction createApiKeyCrud<T extends string, IdFieldName extends string, IdSchema extends yup.Schema<any>>(type: T, idFieldName: IdFieldName, idSchema: IdSchema) {\n const projectApiKeysReadSchema = yupObject({\n id: yupString().defined(),\n description: yupString().defined(),\n expires_at_millis: yupNumber().optional(),\n manually_revoked_at_millis: yupNumber().optional(),\n created_at_millis: yupNumber().defined(),\n is_public: yupBoolean().defined(),\n value: yupObject({\n last_four: yupString().defined(),\n }).defined(),\n type: yupString().oneOf([type]).defined(),\n ...typedFromEntries([[idFieldName, idSchema]]),\n });\n\n const projectApiKeysUpdateSchema = yupObject({\n description: yupString().optional(),\n revoked: yupBoolean().oneOf([true]).optional(),\n }).defined();\n\n const projectApiKeysCrud = createCrud({\n clientReadSchema: projectApiKeysReadSchema,\n clientUpdateSchema: projectApiKeysUpdateSchema,\n docs: {\n clientCreate: {\n description: `Create a new ${type} API key`,\n displayName: `Create ${type} API key`,\n tags: [\"API Keys\"],\n summary: `Create ${type} API key`,\n },\n clientList: {\n description: `List all ${type} API keys for the project with their metadata and status`,\n displayName: `List ${type} API keys`,\n summary: `List ${type} API keys`,\n tags: [\"API Keys\"],\n },\n clientRead: {\n description: `Get details of a specific ${type} API key`,\n displayName: `Get ${type} API key`,\n summary: `Get ${type} API key details`,\n tags: [\"API Keys\"],\n },\n clientUpdate: {\n description: `Update an ${type} API key`,\n displayName: `Update ${type} API key`,\n summary: `Update ${type} API key`,\n tags: [\"API Keys\"],\n },\n serverDelete: {\n description: `Delete an ${type} API key`,\n displayName: `Delete ${type} API key`,\n summary: `Delete ${type} API key`,\n tags: [\"API Keys\"],\n },\n },\n });\n\n // Used for the result of the create endpoint\n const projectApiKeysCreateInputSchema = yupObject({\n description: yupString().defined(),\n expires_at_millis: yupNumber().nullable().defined(),\n is_public: yupBoolean().optional(),\n /*\n prefix: yupString().optional().nonEmpty().test(\"prefix\", \"Prefix must contain only alphanumeric characters and underscores\", (value) => {\n if (!value) return true;\n return /^[a-zA-Z0-9_]+$/.test(value);\n }),\n */\n ...typedFromEntries([[idFieldName, idSchema]]),\n });\n const projectApiKeysCreateOutputSchema = projectApiKeysReadSchema.omit([\"value\"]).concat(yupObject({\n value: yupString().defined(),\n }));\n\n return {\n crud: projectApiKeysCrud,\n createInputSchema: projectApiKeysCreateInputSchema,\n createOutputSchema: projectApiKeysCreateOutputSchema,\n };\n}\n\n\nexport const {\n crud: userApiKeysCrud,\n createInputSchema: userApiKeysCreateInputSchema,\n createOutputSchema: userApiKeysCreateOutputSchema,\n} = createApiKeyCrud(\"user\", \"user_id\", userIdOrMeSchema.defined());\nexport type UserApiKeysCrud = CrudTypeOf<typeof userApiKeysCrud>;\n\nexport const {\n crud: teamApiKeysCrud,\n createInputSchema: teamApiKeysCreateInputSchema,\n createOutputSchema: teamApiKeysCreateOutputSchema,\n} = createApiKeyCrud(\"team\", \"team_id\", yupString().defined());\nexport type TeamApiKeysCrud = CrudTypeOf<typeof teamApiKeysCrud>;\n"],"mappings":"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","names":[]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { CrudSchemaFromOptions, CrudTypeOf } from '../../crud.
|
|
1
|
+
import { CrudSchemaFromOptions, CrudTypeOf } from '../../crud.mjs';
|
|
2
2
|
import * as yup from 'yup';
|
|
3
|
-
import '../../utils/types.
|
|
3
|
+
import '../../utils/types.mjs';
|
|
4
4
|
|
|
5
5
|
declare const projectPermissionsCrudClientReadSchema: yup.ObjectSchema<{
|
|
6
6
|
id: string;
|
|
@@ -44,7 +44,7 @@ __export(project_permissions_exports, {
|
|
|
44
44
|
});
|
|
45
45
|
module.exports = __toCommonJS(project_permissions_exports);
|
|
46
46
|
var import_crud = require("../../crud");
|
|
47
|
-
var schemaFields = __toESM(require("../../schema-fields")
|
|
47
|
+
var schemaFields = __toESM(require("../../schema-fields"));
|
|
48
48
|
var import_schema_fields = require("../../schema-fields");
|
|
49
49
|
var projectPermissionsCrudClientReadSchema = (0, import_schema_fields.yupObject)({
|
|
50
50
|
id: schemaFields.permissionDefinitionIdSchema.defined(),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { CrudSchemaFromOptions, CrudTypeOf } from '../../crud.
|
|
1
|
+
import { CrudSchemaFromOptions, CrudTypeOf } from '../../crud.mjs';
|
|
2
2
|
import * as yup from 'yup';
|
|
3
|
-
import '../../utils/types.
|
|
3
|
+
import '../../utils/types.mjs';
|
|
4
4
|
|
|
5
5
|
declare const emailConfigSchema: yup.ObjectSchema<{
|
|
6
6
|
type: "shared" | "standard";
|
|
@@ -43,7 +43,6 @@ declare const projectsCrudAdminReadSchema: yup.ObjectSchema<{
|
|
|
43
43
|
user_count: number;
|
|
44
44
|
is_production_mode: boolean;
|
|
45
45
|
config: {
|
|
46
|
-
id: string;
|
|
47
46
|
allow_localhost: boolean;
|
|
48
47
|
sign_up_enabled: boolean;
|
|
49
48
|
credential_enabled: boolean;
|
|
@@ -58,9 +57,8 @@ declare const projectsCrudAdminReadSchema: yup.ObjectSchema<{
|
|
|
58
57
|
client_secret?: string | undefined;
|
|
59
58
|
facebook_config_id?: string | undefined;
|
|
60
59
|
microsoft_tenant_id?: string | undefined;
|
|
61
|
-
id: "apple" | "x" | "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin";
|
|
62
60
|
type: "shared" | "standard";
|
|
63
|
-
|
|
61
|
+
id: "apple" | "x" | "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin";
|
|
64
62
|
}[];
|
|
65
63
|
enabled_oauth_providers: {
|
|
66
64
|
id: "apple" | "x" | "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin";
|
|
@@ -98,7 +96,6 @@ declare const projectsCrudAdminReadSchema: yup.ObjectSchema<{
|
|
|
98
96
|
user_count: undefined;
|
|
99
97
|
is_production_mode: undefined;
|
|
100
98
|
config: {
|
|
101
|
-
id: undefined;
|
|
102
99
|
allow_localhost: undefined;
|
|
103
100
|
sign_up_enabled: undefined;
|
|
104
101
|
credential_enabled: undefined;
|
|
@@ -177,9 +174,8 @@ declare const projectsCrudAdminUpdateSchema: yup.ObjectSchema<{
|
|
|
177
174
|
client_secret?: string | undefined;
|
|
178
175
|
facebook_config_id?: string | undefined;
|
|
179
176
|
microsoft_tenant_id?: string | undefined;
|
|
180
|
-
id: "apple" | "x" | "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin";
|
|
181
177
|
type: "shared" | "standard";
|
|
182
|
-
|
|
178
|
+
id: "apple" | "x" | "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin";
|
|
183
179
|
}[] | undefined;
|
|
184
180
|
domains?: {
|
|
185
181
|
domain: string;
|
|
@@ -231,9 +227,8 @@ declare const projectsCrudAdminCreateSchema: yup.ObjectSchema<{
|
|
|
231
227
|
client_secret?: string | undefined;
|
|
232
228
|
facebook_config_id?: string | undefined;
|
|
233
229
|
microsoft_tenant_id?: string | undefined;
|
|
234
|
-
id: "apple" | "x" | "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin";
|
|
235
230
|
type: "shared" | "standard";
|
|
236
|
-
|
|
231
|
+
id: "apple" | "x" | "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin";
|
|
237
232
|
}[] | undefined;
|
|
238
233
|
domains?: {
|
|
239
234
|
domain: string;
|
|
@@ -319,7 +314,6 @@ declare const projectsCrud: CrudSchemaFromOptions<{
|
|
|
319
314
|
user_count: number;
|
|
320
315
|
is_production_mode: boolean;
|
|
321
316
|
config: {
|
|
322
|
-
id: string;
|
|
323
317
|
allow_localhost: boolean;
|
|
324
318
|
sign_up_enabled: boolean;
|
|
325
319
|
credential_enabled: boolean;
|
|
@@ -334,9 +328,8 @@ declare const projectsCrud: CrudSchemaFromOptions<{
|
|
|
334
328
|
client_secret?: string | undefined;
|
|
335
329
|
facebook_config_id?: string | undefined;
|
|
336
330
|
microsoft_tenant_id?: string | undefined;
|
|
337
|
-
id: "apple" | "x" | "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin";
|
|
338
331
|
type: "shared" | "standard";
|
|
339
|
-
|
|
332
|
+
id: "apple" | "x" | "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin";
|
|
340
333
|
}[];
|
|
341
334
|
enabled_oauth_providers: {
|
|
342
335
|
id: "apple" | "x" | "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin";
|
|
@@ -374,7 +367,6 @@ declare const projectsCrud: CrudSchemaFromOptions<{
|
|
|
374
367
|
user_count: undefined;
|
|
375
368
|
is_production_mode: undefined;
|
|
376
369
|
config: {
|
|
377
|
-
id: undefined;
|
|
378
370
|
allow_localhost: undefined;
|
|
379
371
|
sign_up_enabled: undefined;
|
|
380
372
|
credential_enabled: undefined;
|
|
@@ -422,9 +414,8 @@ declare const projectsCrud: CrudSchemaFromOptions<{
|
|
|
422
414
|
client_secret?: string | undefined;
|
|
423
415
|
facebook_config_id?: string | undefined;
|
|
424
416
|
microsoft_tenant_id?: string | undefined;
|
|
425
|
-
id: "apple" | "x" | "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin";
|
|
426
417
|
type: "shared" | "standard";
|
|
427
|
-
|
|
418
|
+
id: "apple" | "x" | "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin";
|
|
428
419
|
}[] | undefined;
|
|
429
420
|
domains?: {
|
|
430
421
|
domain: string;
|
|
@@ -486,7 +477,6 @@ declare const adminUserProjectsCrud: CrudSchemaFromOptions<{
|
|
|
486
477
|
user_count: number;
|
|
487
478
|
is_production_mode: boolean;
|
|
488
479
|
config: {
|
|
489
|
-
id: string;
|
|
490
480
|
allow_localhost: boolean;
|
|
491
481
|
sign_up_enabled: boolean;
|
|
492
482
|
credential_enabled: boolean;
|
|
@@ -501,9 +491,8 @@ declare const adminUserProjectsCrud: CrudSchemaFromOptions<{
|
|
|
501
491
|
client_secret?: string | undefined;
|
|
502
492
|
facebook_config_id?: string | undefined;
|
|
503
493
|
microsoft_tenant_id?: string | undefined;
|
|
504
|
-
id: "apple" | "x" | "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin";
|
|
505
494
|
type: "shared" | "standard";
|
|
506
|
-
|
|
495
|
+
id: "apple" | "x" | "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin";
|
|
507
496
|
}[];
|
|
508
497
|
enabled_oauth_providers: {
|
|
509
498
|
id: "apple" | "x" | "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin";
|
|
@@ -541,7 +530,6 @@ declare const adminUserProjectsCrud: CrudSchemaFromOptions<{
|
|
|
541
530
|
user_count: undefined;
|
|
542
531
|
is_production_mode: undefined;
|
|
543
532
|
config: {
|
|
544
|
-
id: undefined;
|
|
545
533
|
allow_localhost: undefined;
|
|
546
534
|
sign_up_enabled: undefined;
|
|
547
535
|
credential_enabled: undefined;
|
|
@@ -589,9 +577,8 @@ declare const adminUserProjectsCrud: CrudSchemaFromOptions<{
|
|
|
589
577
|
client_secret?: string | undefined;
|
|
590
578
|
facebook_config_id?: string | undefined;
|
|
591
579
|
microsoft_tenant_id?: string | undefined;
|
|
592
|
-
id: "apple" | "x" | "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin";
|
|
593
580
|
type: "shared" | "standard";
|
|
594
|
-
|
|
581
|
+
id: "apple" | "x" | "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin";
|
|
595
582
|
}[] | undefined;
|
|
596
583
|
domains?: {
|
|
597
584
|
domain: string;
|
|
@@ -43,7 +43,6 @@ declare const projectsCrudAdminReadSchema: yup.ObjectSchema<{
|
|
|
43
43
|
user_count: number;
|
|
44
44
|
is_production_mode: boolean;
|
|
45
45
|
config: {
|
|
46
|
-
id: string;
|
|
47
46
|
allow_localhost: boolean;
|
|
48
47
|
sign_up_enabled: boolean;
|
|
49
48
|
credential_enabled: boolean;
|
|
@@ -58,9 +57,8 @@ declare const projectsCrudAdminReadSchema: yup.ObjectSchema<{
|
|
|
58
57
|
client_secret?: string | undefined;
|
|
59
58
|
facebook_config_id?: string | undefined;
|
|
60
59
|
microsoft_tenant_id?: string | undefined;
|
|
61
|
-
id: "apple" | "x" | "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin";
|
|
62
60
|
type: "shared" | "standard";
|
|
63
|
-
|
|
61
|
+
id: "apple" | "x" | "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin";
|
|
64
62
|
}[];
|
|
65
63
|
enabled_oauth_providers: {
|
|
66
64
|
id: "apple" | "x" | "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin";
|
|
@@ -98,7 +96,6 @@ declare const projectsCrudAdminReadSchema: yup.ObjectSchema<{
|
|
|
98
96
|
user_count: undefined;
|
|
99
97
|
is_production_mode: undefined;
|
|
100
98
|
config: {
|
|
101
|
-
id: undefined;
|
|
102
99
|
allow_localhost: undefined;
|
|
103
100
|
sign_up_enabled: undefined;
|
|
104
101
|
credential_enabled: undefined;
|
|
@@ -177,9 +174,8 @@ declare const projectsCrudAdminUpdateSchema: yup.ObjectSchema<{
|
|
|
177
174
|
client_secret?: string | undefined;
|
|
178
175
|
facebook_config_id?: string | undefined;
|
|
179
176
|
microsoft_tenant_id?: string | undefined;
|
|
180
|
-
id: "apple" | "x" | "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin";
|
|
181
177
|
type: "shared" | "standard";
|
|
182
|
-
|
|
178
|
+
id: "apple" | "x" | "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin";
|
|
183
179
|
}[] | undefined;
|
|
184
180
|
domains?: {
|
|
185
181
|
domain: string;
|
|
@@ -231,9 +227,8 @@ declare const projectsCrudAdminCreateSchema: yup.ObjectSchema<{
|
|
|
231
227
|
client_secret?: string | undefined;
|
|
232
228
|
facebook_config_id?: string | undefined;
|
|
233
229
|
microsoft_tenant_id?: string | undefined;
|
|
234
|
-
id: "apple" | "x" | "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin";
|
|
235
230
|
type: "shared" | "standard";
|
|
236
|
-
|
|
231
|
+
id: "apple" | "x" | "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin";
|
|
237
232
|
}[] | undefined;
|
|
238
233
|
domains?: {
|
|
239
234
|
domain: string;
|
|
@@ -319,7 +314,6 @@ declare const projectsCrud: CrudSchemaFromOptions<{
|
|
|
319
314
|
user_count: number;
|
|
320
315
|
is_production_mode: boolean;
|
|
321
316
|
config: {
|
|
322
|
-
id: string;
|
|
323
317
|
allow_localhost: boolean;
|
|
324
318
|
sign_up_enabled: boolean;
|
|
325
319
|
credential_enabled: boolean;
|
|
@@ -334,9 +328,8 @@ declare const projectsCrud: CrudSchemaFromOptions<{
|
|
|
334
328
|
client_secret?: string | undefined;
|
|
335
329
|
facebook_config_id?: string | undefined;
|
|
336
330
|
microsoft_tenant_id?: string | undefined;
|
|
337
|
-
id: "apple" | "x" | "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin";
|
|
338
331
|
type: "shared" | "standard";
|
|
339
|
-
|
|
332
|
+
id: "apple" | "x" | "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin";
|
|
340
333
|
}[];
|
|
341
334
|
enabled_oauth_providers: {
|
|
342
335
|
id: "apple" | "x" | "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin";
|
|
@@ -374,7 +367,6 @@ declare const projectsCrud: CrudSchemaFromOptions<{
|
|
|
374
367
|
user_count: undefined;
|
|
375
368
|
is_production_mode: undefined;
|
|
376
369
|
config: {
|
|
377
|
-
id: undefined;
|
|
378
370
|
allow_localhost: undefined;
|
|
379
371
|
sign_up_enabled: undefined;
|
|
380
372
|
credential_enabled: undefined;
|
|
@@ -422,9 +414,8 @@ declare const projectsCrud: CrudSchemaFromOptions<{
|
|
|
422
414
|
client_secret?: string | undefined;
|
|
423
415
|
facebook_config_id?: string | undefined;
|
|
424
416
|
microsoft_tenant_id?: string | undefined;
|
|
425
|
-
id: "apple" | "x" | "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin";
|
|
426
417
|
type: "shared" | "standard";
|
|
427
|
-
|
|
418
|
+
id: "apple" | "x" | "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin";
|
|
428
419
|
}[] | undefined;
|
|
429
420
|
domains?: {
|
|
430
421
|
domain: string;
|
|
@@ -486,7 +477,6 @@ declare const adminUserProjectsCrud: CrudSchemaFromOptions<{
|
|
|
486
477
|
user_count: number;
|
|
487
478
|
is_production_mode: boolean;
|
|
488
479
|
config: {
|
|
489
|
-
id: string;
|
|
490
480
|
allow_localhost: boolean;
|
|
491
481
|
sign_up_enabled: boolean;
|
|
492
482
|
credential_enabled: boolean;
|
|
@@ -501,9 +491,8 @@ declare const adminUserProjectsCrud: CrudSchemaFromOptions<{
|
|
|
501
491
|
client_secret?: string | undefined;
|
|
502
492
|
facebook_config_id?: string | undefined;
|
|
503
493
|
microsoft_tenant_id?: string | undefined;
|
|
504
|
-
id: "apple" | "x" | "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin";
|
|
505
494
|
type: "shared" | "standard";
|
|
506
|
-
|
|
495
|
+
id: "apple" | "x" | "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin";
|
|
507
496
|
}[];
|
|
508
497
|
enabled_oauth_providers: {
|
|
509
498
|
id: "apple" | "x" | "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin";
|
|
@@ -541,7 +530,6 @@ declare const adminUserProjectsCrud: CrudSchemaFromOptions<{
|
|
|
541
530
|
user_count: undefined;
|
|
542
531
|
is_production_mode: undefined;
|
|
543
532
|
config: {
|
|
544
|
-
id: undefined;
|
|
545
533
|
allow_localhost: undefined;
|
|
546
534
|
sign_up_enabled: undefined;
|
|
547
535
|
credential_enabled: undefined;
|
|
@@ -589,9 +577,8 @@ declare const adminUserProjectsCrud: CrudSchemaFromOptions<{
|
|
|
589
577
|
client_secret?: string | undefined;
|
|
590
578
|
facebook_config_id?: string | undefined;
|
|
591
579
|
microsoft_tenant_id?: string | undefined;
|
|
592
|
-
id: "apple" | "x" | "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin";
|
|
593
580
|
type: "shared" | "standard";
|
|
594
|
-
|
|
581
|
+
id: "apple" | "x" | "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin";
|
|
595
582
|
}[] | undefined;
|
|
596
583
|
domains?: {
|
|
597
584
|
domain: string;
|