mirror of
https://github.com/eigent-ai/eigent.git
synced 2026-04-29 12:10:24 +00:00
Initial commit of eigent-main
This commit is contained in:
commit
723df5a03e
1144 changed files with 103478 additions and 0 deletions
205
package/@stackframe/stack-shared/dist/interface/crud/current-user.d.ts
vendored
Normal file
205
package/@stackframe/stack-shared/dist/interface/crud/current-user.d.ts
vendored
Normal file
|
|
@ -0,0 +1,205 @@
|
|||
import { CrudSchemaFromOptions, CrudTypeOf } from '../../crud.js';
|
||||
import * as yup from 'yup';
|
||||
import '../../utils/types.js';
|
||||
|
||||
declare const currentUserCrud: CrudSchemaFromOptions<{
|
||||
clientReadSchema: yup.ObjectSchema<{
|
||||
id: string;
|
||||
display_name: string | null;
|
||||
oauth_providers: {
|
||||
email?: string | null | undefined;
|
||||
id: string;
|
||||
account_id: string;
|
||||
}[];
|
||||
profile_image_url: string | null;
|
||||
client_metadata: {} | null;
|
||||
client_read_only_metadata: {} | null;
|
||||
primary_email: string | null;
|
||||
primary_email_verified: boolean;
|
||||
passkey_auth_enabled: boolean;
|
||||
otp_auth_enabled: boolean;
|
||||
selected_team_id: string | null;
|
||||
is_anonymous: boolean;
|
||||
signed_up_at_millis: number;
|
||||
has_password: boolean;
|
||||
auth_with_email: boolean;
|
||||
requires_totp_mfa: boolean;
|
||||
} & {
|
||||
selected_team: {
|
||||
client_metadata?: {} | null | undefined;
|
||||
client_read_only_metadata?: {} | null | undefined;
|
||||
id: string;
|
||||
display_name: string;
|
||||
profile_image_url: string | null;
|
||||
} | null;
|
||||
}, yup.AnyObject, {
|
||||
id: undefined;
|
||||
primary_email: undefined;
|
||||
primary_email_verified: undefined;
|
||||
primary_email_auth_enabled: undefined;
|
||||
display_name: undefined;
|
||||
selected_team: {
|
||||
id: undefined;
|
||||
display_name: undefined;
|
||||
profile_image_url: undefined;
|
||||
client_metadata: undefined;
|
||||
client_read_only_metadata: undefined;
|
||||
};
|
||||
selected_team_id: undefined;
|
||||
profile_image_url: undefined;
|
||||
signed_up_at_millis: undefined;
|
||||
has_password: undefined;
|
||||
otp_auth_enabled: undefined;
|
||||
passkey_auth_enabled: undefined;
|
||||
client_metadata: undefined;
|
||||
client_read_only_metadata: undefined;
|
||||
server_metadata: undefined;
|
||||
last_active_at_millis: undefined;
|
||||
is_anonymous: undefined;
|
||||
oauth_providers: undefined;
|
||||
auth_with_email: undefined;
|
||||
requires_totp_mfa: undefined;
|
||||
}, "">;
|
||||
serverReadSchema: yup.ObjectSchema<{
|
||||
id: string;
|
||||
primary_email: string | null;
|
||||
primary_email_verified: boolean;
|
||||
primary_email_auth_enabled: boolean;
|
||||
display_name: string | null;
|
||||
selected_team: {
|
||||
client_metadata?: {} | null | undefined;
|
||||
client_read_only_metadata?: {} | null | undefined;
|
||||
server_metadata?: {} | null | undefined;
|
||||
id: string;
|
||||
display_name: string;
|
||||
created_at_millis: number;
|
||||
profile_image_url: string | null;
|
||||
} | null;
|
||||
selected_team_id: string | null;
|
||||
profile_image_url: string | null;
|
||||
signed_up_at_millis: number;
|
||||
has_password: boolean;
|
||||
otp_auth_enabled: boolean;
|
||||
passkey_auth_enabled: boolean;
|
||||
client_metadata: {} | null;
|
||||
client_read_only_metadata: {} | null;
|
||||
server_metadata: {} | null;
|
||||
last_active_at_millis: number;
|
||||
is_anonymous: boolean;
|
||||
oauth_providers: {
|
||||
email?: string | null | undefined;
|
||||
id: string;
|
||||
account_id: string;
|
||||
}[];
|
||||
auth_with_email: boolean;
|
||||
requires_totp_mfa: boolean;
|
||||
}, yup.AnyObject, {
|
||||
id: undefined;
|
||||
primary_email: undefined;
|
||||
primary_email_verified: undefined;
|
||||
primary_email_auth_enabled: undefined;
|
||||
display_name: undefined;
|
||||
selected_team: {
|
||||
id: undefined;
|
||||
display_name: undefined;
|
||||
profile_image_url: undefined;
|
||||
client_metadata: undefined;
|
||||
client_read_only_metadata: undefined;
|
||||
created_at_millis: undefined;
|
||||
server_metadata: undefined;
|
||||
};
|
||||
selected_team_id: undefined;
|
||||
profile_image_url: undefined;
|
||||
signed_up_at_millis: undefined;
|
||||
has_password: undefined;
|
||||
otp_auth_enabled: undefined;
|
||||
passkey_auth_enabled: undefined;
|
||||
client_metadata: undefined;
|
||||
client_read_only_metadata: undefined;
|
||||
server_metadata: undefined;
|
||||
last_active_at_millis: undefined;
|
||||
is_anonymous: undefined;
|
||||
oauth_providers: undefined;
|
||||
auth_with_email: undefined;
|
||||
requires_totp_mfa: undefined;
|
||||
}, "">;
|
||||
clientUpdateSchema: yup.ObjectSchema<{
|
||||
display_name: string | null | undefined;
|
||||
profile_image_url: string | null | undefined;
|
||||
client_metadata: {} | null | undefined;
|
||||
passkey_auth_enabled: boolean | undefined;
|
||||
otp_auth_enabled: boolean | undefined;
|
||||
totp_secret_base64: string | null | undefined;
|
||||
selected_team_id: string | null | undefined;
|
||||
}, yup.AnyObject, {
|
||||
display_name: undefined;
|
||||
profile_image_url: undefined;
|
||||
client_metadata: undefined;
|
||||
client_read_only_metadata: undefined;
|
||||
server_metadata: undefined;
|
||||
primary_email: undefined;
|
||||
primary_email_verified: undefined;
|
||||
primary_email_auth_enabled: undefined;
|
||||
passkey_auth_enabled: undefined;
|
||||
password: undefined;
|
||||
password_hash: undefined;
|
||||
otp_auth_enabled: undefined;
|
||||
totp_secret_base64: undefined;
|
||||
selected_team_id: undefined;
|
||||
is_anonymous: undefined;
|
||||
}, "">;
|
||||
serverUpdateSchema: yup.ObjectSchema<{
|
||||
display_name: string | null | undefined;
|
||||
profile_image_url: string | null | undefined;
|
||||
client_metadata: {} | null | undefined;
|
||||
client_read_only_metadata: {} | null | undefined;
|
||||
server_metadata: {} | null | undefined;
|
||||
primary_email: string | null | undefined;
|
||||
primary_email_verified: boolean | undefined;
|
||||
primary_email_auth_enabled: boolean | undefined;
|
||||
passkey_auth_enabled: boolean | undefined;
|
||||
password: string | null | undefined;
|
||||
password_hash: string | undefined;
|
||||
otp_auth_enabled: boolean | undefined;
|
||||
totp_secret_base64: string | null | undefined;
|
||||
selected_team_id: string | null | undefined;
|
||||
is_anonymous: boolean | undefined;
|
||||
}, yup.AnyObject, {
|
||||
display_name: undefined;
|
||||
profile_image_url: undefined;
|
||||
client_metadata: undefined;
|
||||
client_read_only_metadata: undefined;
|
||||
server_metadata: undefined;
|
||||
primary_email: undefined;
|
||||
primary_email_verified: undefined;
|
||||
primary_email_auth_enabled: undefined;
|
||||
passkey_auth_enabled: undefined;
|
||||
password: undefined;
|
||||
password_hash: undefined;
|
||||
otp_auth_enabled: undefined;
|
||||
totp_secret_base64: undefined;
|
||||
selected_team_id: undefined;
|
||||
is_anonymous: undefined;
|
||||
}, "">;
|
||||
clientDeleteSchema: yup.MixedSchema<{} | undefined, yup.AnyObject, undefined, "">;
|
||||
docs: {
|
||||
clientRead: {
|
||||
summary: string;
|
||||
description: string;
|
||||
tags: string[];
|
||||
};
|
||||
clientUpdate: {
|
||||
summary: string;
|
||||
description: string;
|
||||
tags: string[];
|
||||
};
|
||||
clientDelete: {
|
||||
summary: string;
|
||||
description: string;
|
||||
tags: string[];
|
||||
};
|
||||
};
|
||||
}>;
|
||||
type CurrentUserCrud = CrudTypeOf<typeof currentUserCrud>;
|
||||
|
||||
export { type CurrentUserCrud, currentUserCrud };
|
||||
Loading…
Add table
Add a link
Reference in a new issue