mirror of
https://github.com/aljazceru/opencode.git
synced 2025-12-19 16:54:22 +01:00
wip: zen
This commit is contained in:
120
cloud/function/sst-env.d.ts
vendored
120
cloud/function/sst-env.d.ts
vendored
@@ -6,85 +6,89 @@
|
|||||||
import "sst"
|
import "sst"
|
||||||
declare module "sst" {
|
declare module "sst" {
|
||||||
export interface Resource {
|
export interface Resource {
|
||||||
ANTHROPIC_API_KEY: {
|
"ANTHROPIC_API_KEY": {
|
||||||
type: "sst.sst.Secret"
|
"type": "sst.sst.Secret"
|
||||||
value: string
|
"value": string
|
||||||
}
|
}
|
||||||
AUTH_API_URL: {
|
"AUTH_API_URL": {
|
||||||
type: "sst.sst.Linkable"
|
"type": "sst.sst.Linkable"
|
||||||
value: string
|
"value": string
|
||||||
}
|
}
|
||||||
BASETEN_API_KEY: {
|
"BASETEN_API_KEY": {
|
||||||
type: "sst.sst.Secret"
|
"type": "sst.sst.Secret"
|
||||||
value: string
|
"value": string
|
||||||
}
|
}
|
||||||
Console: {
|
"Console": {
|
||||||
type: "sst.cloudflare.SolidStart"
|
"type": "sst.cloudflare.SolidStart"
|
||||||
url: string
|
"url": string
|
||||||
}
|
}
|
||||||
Database: {
|
"Database": {
|
||||||
database: string
|
"database": string
|
||||||
host: string
|
"host": string
|
||||||
password: string
|
"password": string
|
||||||
port: number
|
"port": number
|
||||||
type: "sst.sst.Linkable"
|
"type": "sst.sst.Linkable"
|
||||||
username: string
|
"username": string
|
||||||
}
|
}
|
||||||
GITHUB_APP_ID: {
|
"FIREWORKS_API_KEY": {
|
||||||
type: "sst.sst.Secret"
|
"type": "sst.sst.Secret"
|
||||||
value: string
|
"value": string
|
||||||
}
|
}
|
||||||
GITHUB_APP_PRIVATE_KEY: {
|
"GITHUB_APP_ID": {
|
||||||
type: "sst.sst.Secret"
|
"type": "sst.sst.Secret"
|
||||||
value: string
|
"value": string
|
||||||
}
|
}
|
||||||
GITHUB_CLIENT_ID_CONSOLE: {
|
"GITHUB_APP_PRIVATE_KEY": {
|
||||||
type: "sst.sst.Secret"
|
"type": "sst.sst.Secret"
|
||||||
value: string
|
"value": string
|
||||||
}
|
}
|
||||||
GITHUB_CLIENT_SECRET_CONSOLE: {
|
"GITHUB_CLIENT_ID_CONSOLE": {
|
||||||
type: "sst.sst.Secret"
|
"type": "sst.sst.Secret"
|
||||||
value: string
|
"value": string
|
||||||
}
|
}
|
||||||
GOOGLE_CLIENT_ID: {
|
"GITHUB_CLIENT_SECRET_CONSOLE": {
|
||||||
type: "sst.sst.Secret"
|
"type": "sst.sst.Secret"
|
||||||
value: string
|
"value": string
|
||||||
}
|
}
|
||||||
HONEYCOMB_API_KEY: {
|
"GOOGLE_CLIENT_ID": {
|
||||||
type: "sst.sst.Secret"
|
"type": "sst.sst.Secret"
|
||||||
value: string
|
"value": string
|
||||||
}
|
}
|
||||||
OPENAI_API_KEY: {
|
"HONEYCOMB_API_KEY": {
|
||||||
type: "sst.sst.Secret"
|
"type": "sst.sst.Secret"
|
||||||
value: string
|
"value": string
|
||||||
}
|
}
|
||||||
STRIPE_SECRET_KEY: {
|
"OPENAI_API_KEY": {
|
||||||
type: "sst.sst.Secret"
|
"type": "sst.sst.Secret"
|
||||||
value: string
|
"value": string
|
||||||
}
|
}
|
||||||
STRIPE_WEBHOOK_SECRET: {
|
"STRIPE_SECRET_KEY": {
|
||||||
type: "sst.sst.Linkable"
|
"type": "sst.sst.Secret"
|
||||||
value: string
|
"value": string
|
||||||
}
|
}
|
||||||
Web: {
|
"STRIPE_WEBHOOK_SECRET": {
|
||||||
type: "sst.cloudflare.Astro"
|
"type": "sst.sst.Linkable"
|
||||||
url: string
|
"value": string
|
||||||
}
|
}
|
||||||
XAI_API_KEY: {
|
"Web": {
|
||||||
type: "sst.sst.Secret"
|
"type": "sst.cloudflare.Astro"
|
||||||
value: string
|
"url": string
|
||||||
|
}
|
||||||
|
"XAI_API_KEY": {
|
||||||
|
"type": "sst.sst.Secret"
|
||||||
|
"value": string
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// cloudflare
|
// cloudflare
|
||||||
import * as cloudflare from "@cloudflare/workers-types"
|
import * as cloudflare from "@cloudflare/workers-types";
|
||||||
declare module "sst" {
|
declare module "sst" {
|
||||||
export interface Resource {
|
export interface Resource {
|
||||||
Api: cloudflare.Service
|
"Api": cloudflare.Service
|
||||||
AuthApi: cloudflare.Service
|
"AuthApi": cloudflare.Service
|
||||||
AuthStorage: cloudflare.KVNamespace
|
"AuthStorage": cloudflare.KVNamespace
|
||||||
Bucket: cloudflare.R2Bucket
|
"Bucket": cloudflare.R2Bucket
|
||||||
LogProcessor: cloudflare.Service
|
"LogProcessor": cloudflare.Service
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
120
cloud/resource/sst-env.d.ts
vendored
120
cloud/resource/sst-env.d.ts
vendored
@@ -6,85 +6,89 @@
|
|||||||
import "sst"
|
import "sst"
|
||||||
declare module "sst" {
|
declare module "sst" {
|
||||||
export interface Resource {
|
export interface Resource {
|
||||||
ANTHROPIC_API_KEY: {
|
"ANTHROPIC_API_KEY": {
|
||||||
type: "sst.sst.Secret"
|
"type": "sst.sst.Secret"
|
||||||
value: string
|
"value": string
|
||||||
}
|
}
|
||||||
AUTH_API_URL: {
|
"AUTH_API_URL": {
|
||||||
type: "sst.sst.Linkable"
|
"type": "sst.sst.Linkable"
|
||||||
value: string
|
"value": string
|
||||||
}
|
}
|
||||||
BASETEN_API_KEY: {
|
"BASETEN_API_KEY": {
|
||||||
type: "sst.sst.Secret"
|
"type": "sst.sst.Secret"
|
||||||
value: string
|
"value": string
|
||||||
}
|
}
|
||||||
Console: {
|
"Console": {
|
||||||
type: "sst.cloudflare.SolidStart"
|
"type": "sst.cloudflare.SolidStart"
|
||||||
url: string
|
"url": string
|
||||||
}
|
}
|
||||||
Database: {
|
"Database": {
|
||||||
database: string
|
"database": string
|
||||||
host: string
|
"host": string
|
||||||
password: string
|
"password": string
|
||||||
port: number
|
"port": number
|
||||||
type: "sst.sst.Linkable"
|
"type": "sst.sst.Linkable"
|
||||||
username: string
|
"username": string
|
||||||
}
|
}
|
||||||
GITHUB_APP_ID: {
|
"FIREWORKS_API_KEY": {
|
||||||
type: "sst.sst.Secret"
|
"type": "sst.sst.Secret"
|
||||||
value: string
|
"value": string
|
||||||
}
|
}
|
||||||
GITHUB_APP_PRIVATE_KEY: {
|
"GITHUB_APP_ID": {
|
||||||
type: "sst.sst.Secret"
|
"type": "sst.sst.Secret"
|
||||||
value: string
|
"value": string
|
||||||
}
|
}
|
||||||
GITHUB_CLIENT_ID_CONSOLE: {
|
"GITHUB_APP_PRIVATE_KEY": {
|
||||||
type: "sst.sst.Secret"
|
"type": "sst.sst.Secret"
|
||||||
value: string
|
"value": string
|
||||||
}
|
}
|
||||||
GITHUB_CLIENT_SECRET_CONSOLE: {
|
"GITHUB_CLIENT_ID_CONSOLE": {
|
||||||
type: "sst.sst.Secret"
|
"type": "sst.sst.Secret"
|
||||||
value: string
|
"value": string
|
||||||
}
|
}
|
||||||
GOOGLE_CLIENT_ID: {
|
"GITHUB_CLIENT_SECRET_CONSOLE": {
|
||||||
type: "sst.sst.Secret"
|
"type": "sst.sst.Secret"
|
||||||
value: string
|
"value": string
|
||||||
}
|
}
|
||||||
HONEYCOMB_API_KEY: {
|
"GOOGLE_CLIENT_ID": {
|
||||||
type: "sst.sst.Secret"
|
"type": "sst.sst.Secret"
|
||||||
value: string
|
"value": string
|
||||||
}
|
}
|
||||||
OPENAI_API_KEY: {
|
"HONEYCOMB_API_KEY": {
|
||||||
type: "sst.sst.Secret"
|
"type": "sst.sst.Secret"
|
||||||
value: string
|
"value": string
|
||||||
}
|
}
|
||||||
STRIPE_SECRET_KEY: {
|
"OPENAI_API_KEY": {
|
||||||
type: "sst.sst.Secret"
|
"type": "sst.sst.Secret"
|
||||||
value: string
|
"value": string
|
||||||
}
|
}
|
||||||
STRIPE_WEBHOOK_SECRET: {
|
"STRIPE_SECRET_KEY": {
|
||||||
type: "sst.sst.Linkable"
|
"type": "sst.sst.Secret"
|
||||||
value: string
|
"value": string
|
||||||
}
|
}
|
||||||
Web: {
|
"STRIPE_WEBHOOK_SECRET": {
|
||||||
type: "sst.cloudflare.Astro"
|
"type": "sst.sst.Linkable"
|
||||||
url: string
|
"value": string
|
||||||
}
|
}
|
||||||
XAI_API_KEY: {
|
"Web": {
|
||||||
type: "sst.sst.Secret"
|
"type": "sst.cloudflare.Astro"
|
||||||
value: string
|
"url": string
|
||||||
|
}
|
||||||
|
"XAI_API_KEY": {
|
||||||
|
"type": "sst.sst.Secret"
|
||||||
|
"value": string
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// cloudflare
|
// cloudflare
|
||||||
import * as cloudflare from "@cloudflare/workers-types"
|
import * as cloudflare from "@cloudflare/workers-types";
|
||||||
declare module "sst" {
|
declare module "sst" {
|
||||||
export interface Resource {
|
export interface Resource {
|
||||||
Api: cloudflare.Service
|
"Api": cloudflare.Service
|
||||||
AuthApi: cloudflare.Service
|
"AuthApi": cloudflare.Service
|
||||||
AuthStorage: cloudflare.KVNamespace
|
"AuthStorage": cloudflare.KVNamespace
|
||||||
Bucket: cloudflare.R2Bucket
|
"Bucket": cloudflare.R2Bucket
|
||||||
LogProcessor: cloudflare.Service
|
"LogProcessor": cloudflare.Service
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
120
packages/function/sst-env.d.ts
vendored
120
packages/function/sst-env.d.ts
vendored
@@ -6,85 +6,89 @@
|
|||||||
import "sst"
|
import "sst"
|
||||||
declare module "sst" {
|
declare module "sst" {
|
||||||
export interface Resource {
|
export interface Resource {
|
||||||
ANTHROPIC_API_KEY: {
|
"ANTHROPIC_API_KEY": {
|
||||||
type: "sst.sst.Secret"
|
"type": "sst.sst.Secret"
|
||||||
value: string
|
"value": string
|
||||||
}
|
}
|
||||||
AUTH_API_URL: {
|
"AUTH_API_URL": {
|
||||||
type: "sst.sst.Linkable"
|
"type": "sst.sst.Linkable"
|
||||||
value: string
|
"value": string
|
||||||
}
|
}
|
||||||
BASETEN_API_KEY: {
|
"BASETEN_API_KEY": {
|
||||||
type: "sst.sst.Secret"
|
"type": "sst.sst.Secret"
|
||||||
value: string
|
"value": string
|
||||||
}
|
}
|
||||||
Console: {
|
"Console": {
|
||||||
type: "sst.cloudflare.SolidStart"
|
"type": "sst.cloudflare.SolidStart"
|
||||||
url: string
|
"url": string
|
||||||
}
|
}
|
||||||
Database: {
|
"Database": {
|
||||||
database: string
|
"database": string
|
||||||
host: string
|
"host": string
|
||||||
password: string
|
"password": string
|
||||||
port: number
|
"port": number
|
||||||
type: "sst.sst.Linkable"
|
"type": "sst.sst.Linkable"
|
||||||
username: string
|
"username": string
|
||||||
}
|
}
|
||||||
GITHUB_APP_ID: {
|
"FIREWORKS_API_KEY": {
|
||||||
type: "sst.sst.Secret"
|
"type": "sst.sst.Secret"
|
||||||
value: string
|
"value": string
|
||||||
}
|
}
|
||||||
GITHUB_APP_PRIVATE_KEY: {
|
"GITHUB_APP_ID": {
|
||||||
type: "sst.sst.Secret"
|
"type": "sst.sst.Secret"
|
||||||
value: string
|
"value": string
|
||||||
}
|
}
|
||||||
GITHUB_CLIENT_ID_CONSOLE: {
|
"GITHUB_APP_PRIVATE_KEY": {
|
||||||
type: "sst.sst.Secret"
|
"type": "sst.sst.Secret"
|
||||||
value: string
|
"value": string
|
||||||
}
|
}
|
||||||
GITHUB_CLIENT_SECRET_CONSOLE: {
|
"GITHUB_CLIENT_ID_CONSOLE": {
|
||||||
type: "sst.sst.Secret"
|
"type": "sst.sst.Secret"
|
||||||
value: string
|
"value": string
|
||||||
}
|
}
|
||||||
GOOGLE_CLIENT_ID: {
|
"GITHUB_CLIENT_SECRET_CONSOLE": {
|
||||||
type: "sst.sst.Secret"
|
"type": "sst.sst.Secret"
|
||||||
value: string
|
"value": string
|
||||||
}
|
}
|
||||||
HONEYCOMB_API_KEY: {
|
"GOOGLE_CLIENT_ID": {
|
||||||
type: "sst.sst.Secret"
|
"type": "sst.sst.Secret"
|
||||||
value: string
|
"value": string
|
||||||
}
|
}
|
||||||
OPENAI_API_KEY: {
|
"HONEYCOMB_API_KEY": {
|
||||||
type: "sst.sst.Secret"
|
"type": "sst.sst.Secret"
|
||||||
value: string
|
"value": string
|
||||||
}
|
}
|
||||||
STRIPE_SECRET_KEY: {
|
"OPENAI_API_KEY": {
|
||||||
type: "sst.sst.Secret"
|
"type": "sst.sst.Secret"
|
||||||
value: string
|
"value": string
|
||||||
}
|
}
|
||||||
STRIPE_WEBHOOK_SECRET: {
|
"STRIPE_SECRET_KEY": {
|
||||||
type: "sst.sst.Linkable"
|
"type": "sst.sst.Secret"
|
||||||
value: string
|
"value": string
|
||||||
}
|
}
|
||||||
Web: {
|
"STRIPE_WEBHOOK_SECRET": {
|
||||||
type: "sst.cloudflare.Astro"
|
"type": "sst.sst.Linkable"
|
||||||
url: string
|
"value": string
|
||||||
}
|
}
|
||||||
XAI_API_KEY: {
|
"Web": {
|
||||||
type: "sst.sst.Secret"
|
"type": "sst.cloudflare.Astro"
|
||||||
value: string
|
"url": string
|
||||||
|
}
|
||||||
|
"XAI_API_KEY": {
|
||||||
|
"type": "sst.sst.Secret"
|
||||||
|
"value": string
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// cloudflare
|
// cloudflare
|
||||||
import * as cloudflare from "@cloudflare/workers-types"
|
import * as cloudflare from "@cloudflare/workers-types";
|
||||||
declare module "sst" {
|
declare module "sst" {
|
||||||
export interface Resource {
|
export interface Resource {
|
||||||
Api: cloudflare.Service
|
"Api": cloudflare.Service
|
||||||
AuthApi: cloudflare.Service
|
"AuthApi": cloudflare.Service
|
||||||
AuthStorage: cloudflare.KVNamespace
|
"AuthStorage": cloudflare.KVNamespace
|
||||||
Bucket: cloudflare.R2Bucket
|
"Bucket": cloudflare.R2Bucket
|
||||||
LogProcessor: cloudflare.Service
|
"LogProcessor": cloudflare.Service
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
134
sst-env.d.ts
vendored
134
sst-env.d.ts
vendored
@@ -5,91 +5,95 @@
|
|||||||
|
|
||||||
declare module "sst" {
|
declare module "sst" {
|
||||||
export interface Resource {
|
export interface Resource {
|
||||||
ANTHROPIC_API_KEY: {
|
"ANTHROPIC_API_KEY": {
|
||||||
type: "sst.sst.Secret"
|
"type": "sst.sst.Secret"
|
||||||
value: string
|
"value": string
|
||||||
}
|
}
|
||||||
AUTH_API_URL: {
|
"AUTH_API_URL": {
|
||||||
type: "sst.sst.Linkable"
|
"type": "sst.sst.Linkable"
|
||||||
value: string
|
"value": string
|
||||||
}
|
}
|
||||||
Api: {
|
"Api": {
|
||||||
type: "sst.cloudflare.Worker"
|
"type": "sst.cloudflare.Worker"
|
||||||
url: string
|
"url": string
|
||||||
}
|
}
|
||||||
AuthApi: {
|
"AuthApi": {
|
||||||
type: "sst.cloudflare.Worker"
|
"type": "sst.cloudflare.Worker"
|
||||||
url: string
|
"url": string
|
||||||
}
|
}
|
||||||
AuthStorage: {
|
"AuthStorage": {
|
||||||
type: "sst.cloudflare.Kv"
|
"type": "sst.cloudflare.Kv"
|
||||||
}
|
}
|
||||||
BASETEN_API_KEY: {
|
"BASETEN_API_KEY": {
|
||||||
type: "sst.sst.Secret"
|
"type": "sst.sst.Secret"
|
||||||
value: string
|
"value": string
|
||||||
}
|
}
|
||||||
Bucket: {
|
"Bucket": {
|
||||||
name: string
|
"name": string
|
||||||
type: "sst.cloudflare.Bucket"
|
"type": "sst.cloudflare.Bucket"
|
||||||
}
|
}
|
||||||
Console: {
|
"Console": {
|
||||||
type: "sst.cloudflare.SolidStart"
|
"type": "sst.cloudflare.SolidStart"
|
||||||
url: string
|
"url": string
|
||||||
}
|
}
|
||||||
Database: {
|
"Database": {
|
||||||
database: string
|
"database": string
|
||||||
host: string
|
"host": string
|
||||||
password: string
|
"password": string
|
||||||
port: number
|
"port": number
|
||||||
type: "sst.sst.Linkable"
|
"type": "sst.sst.Linkable"
|
||||||
username: string
|
"username": string
|
||||||
}
|
}
|
||||||
GITHUB_APP_ID: {
|
"FIREWORKS_API_KEY": {
|
||||||
type: "sst.sst.Secret"
|
"type": "sst.sst.Secret"
|
||||||
value: string
|
"value": string
|
||||||
}
|
}
|
||||||
GITHUB_APP_PRIVATE_KEY: {
|
"GITHUB_APP_ID": {
|
||||||
type: "sst.sst.Secret"
|
"type": "sst.sst.Secret"
|
||||||
value: string
|
"value": string
|
||||||
}
|
}
|
||||||
GITHUB_CLIENT_ID_CONSOLE: {
|
"GITHUB_APP_PRIVATE_KEY": {
|
||||||
type: "sst.sst.Secret"
|
"type": "sst.sst.Secret"
|
||||||
value: string
|
"value": string
|
||||||
}
|
}
|
||||||
GITHUB_CLIENT_SECRET_CONSOLE: {
|
"GITHUB_CLIENT_ID_CONSOLE": {
|
||||||
type: "sst.sst.Secret"
|
"type": "sst.sst.Secret"
|
||||||
value: string
|
"value": string
|
||||||
}
|
}
|
||||||
GOOGLE_CLIENT_ID: {
|
"GITHUB_CLIENT_SECRET_CONSOLE": {
|
||||||
type: "sst.sst.Secret"
|
"type": "sst.sst.Secret"
|
||||||
value: string
|
"value": string
|
||||||
}
|
}
|
||||||
HONEYCOMB_API_KEY: {
|
"GOOGLE_CLIENT_ID": {
|
||||||
type: "sst.sst.Secret"
|
"type": "sst.sst.Secret"
|
||||||
value: string
|
"value": string
|
||||||
}
|
}
|
||||||
LogProcessor: {
|
"HONEYCOMB_API_KEY": {
|
||||||
type: "sst.cloudflare.Worker"
|
"type": "sst.sst.Secret"
|
||||||
|
"value": string
|
||||||
}
|
}
|
||||||
OPENAI_API_KEY: {
|
"LogProcessor": {
|
||||||
type: "sst.sst.Secret"
|
"type": "sst.cloudflare.Worker"
|
||||||
value: string
|
|
||||||
}
|
}
|
||||||
STRIPE_SECRET_KEY: {
|
"OPENAI_API_KEY": {
|
||||||
type: "sst.sst.Secret"
|
"type": "sst.sst.Secret"
|
||||||
value: string
|
"value": string
|
||||||
}
|
}
|
||||||
STRIPE_WEBHOOK_SECRET: {
|
"STRIPE_SECRET_KEY": {
|
||||||
type: "sst.sst.Linkable"
|
"type": "sst.sst.Secret"
|
||||||
value: string
|
"value": string
|
||||||
}
|
}
|
||||||
Web: {
|
"STRIPE_WEBHOOK_SECRET": {
|
||||||
type: "sst.cloudflare.Astro"
|
"type": "sst.sst.Linkable"
|
||||||
url: string
|
"value": string
|
||||||
}
|
}
|
||||||
XAI_API_KEY: {
|
"Web": {
|
||||||
type: "sst.sst.Secret"
|
"type": "sst.cloudflare.Astro"
|
||||||
value: string
|
"url": string
|
||||||
|
}
|
||||||
|
"XAI_API_KEY": {
|
||||||
|
"type": "sst.sst.Secret"
|
||||||
|
"value": string
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user