mirror of
https://github.com/chriswritescode-dev/opencode-manager.git
synced 2026-12-05 20:34:18 +01:00
section 1: Phase 1: Shell environment owner and repo working-directory
This commit is contained in:
1 parent
52b6147ed3
commit
b494ee9f4a
11 files changed
+280
-17
No files matched your search
@@ -106,6 +106,12 @@ export const GitIdentitySchema = z.object({
|
||||
|
||||
export type GitIdentity = z.infer<typeof GitIdentitySchema>;
|
||||
|
||||
export const GitIdentityProfileSchema = GitIdentitySchema.extend({
|
||||
id: z.string().min(1),
|
||||
});
|
||||
|
||||
export type GitIdentityProfile = z.infer<typeof GitIdentityProfileSchema>;
|
||||
|
||||
export const ServerEnvVarSchema = z.object({
|
||||
key: z.string().min(1),
|
||||
value: z.string(),
|
||||
@@ -160,6 +166,7 @@ export const UserPreferencesSchema = z.object({
|
||||
gitCredentials: z.array(GitCredentialSchema).optional(),
|
||||
defaultGitCredentialId: z.string().optional(),
|
||||
gitIdentity: GitIdentitySchema.optional(),
|
||||
gitIdentities: z.array(GitIdentityProfileSchema).optional(),
|
||||
tts: TTSConfigSchema.optional(),
|
||||
stt: STTConfigSchema.optional(),
|
||||
notifications: NotificationPreferencesSchema.optional(),
|
||||
|
||||
@@ -111,7 +111,7 @@ export interface SuccessResponse {
|
||||
}
|
||||
|
||||
export type { SSHHostKeyRequest, SSHHostKeyResponse, TrustedSSHHost } from '../schemas/ssh'
|
||||
export type { GitCredential } from '../schemas/settings'
|
||||
export type { GitCredential, GitIdentity, GitIdentityProfile } from '../schemas/settings'
|
||||
export type {
|
||||
ProviderApiConfig,
|
||||
ModelConfig,
|
||||
|
||||
Reference in new issue
Block a user