-
-
Notifications
You must be signed in to change notification settings - Fork 685
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(web): build error, change pnpm to npm(#520)
* feat: function deploy * feat: add file upload * update: edit bucket modal * refactor: react query best practice * fix: add nextjs env viriable & fix next build errors * fix: build error, change pnpm to npm
- Loading branch information
Showing
11 changed files
with
642 additions
and
11,359 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
NEXT_PUBLIC_API_SERVER=http://localhost:3000 | ||
NEXT_PUBLIC_LOGIN_PATH=http://localhost:3000/v1/login | ||
NEXT_PUBLIC_API_SERVER=http://api.192.168.64.6.nip.io | ||
NEXT_PUBLIC_LOGIN_PATH=http://api.192.168.64.6.nip.io/v1/login |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,236 @@ | ||
export interface TApplication { | ||
id: string; | ||
name: string; | ||
appid: string; | ||
regionName: string; | ||
bundleName: string; | ||
runtimeName: string; | ||
state: string; | ||
phase: string; | ||
tags: any[]; | ||
createdAt: string; | ||
updatedAt: string; | ||
createdBy: string; | ||
region: Region; | ||
bundle: Bundle; | ||
runtime: Runtime; | ||
configuration: Configuration; | ||
database: Database; | ||
oss: Oss; | ||
gateway: Gateway; | ||
} | ||
|
||
export interface Region { | ||
id: string; | ||
name: string; | ||
desc: any; | ||
} | ||
|
||
export interface Bundle { | ||
id: string; | ||
name: string; | ||
displayName: string; | ||
limitCPU: number; | ||
limitMemory: number; | ||
requestCPU: number; | ||
requestMemory: number; | ||
databaseCapacity: number; | ||
storageCapacity: number; | ||
networkTrafficOutbound: number; | ||
networkTrafficInbound: any; | ||
priority: number; | ||
} | ||
|
||
export interface Runtime { | ||
id: string; | ||
name: string; | ||
type: string; | ||
image: Image; | ||
version: string; | ||
latest: boolean; | ||
} | ||
|
||
export interface Image { | ||
main: string; | ||
init: string; | ||
sidecar: any; | ||
} | ||
|
||
export interface Configuration { | ||
id: string; | ||
appid: string; | ||
environments: Environment[]; | ||
createdAt: string; | ||
updatedAt: string; | ||
} | ||
|
||
export interface Environment { | ||
name: string; | ||
value: string; | ||
} | ||
|
||
export interface Database { | ||
apiVersion: string; | ||
kind: string; | ||
metadata: Metadata; | ||
spec: Spec; | ||
status: Status; | ||
} | ||
|
||
export interface Metadata { | ||
creationTimestamp: string; | ||
finalizers: string[]; | ||
generation: number; | ||
labels: Labels; | ||
name: string; | ||
namespace: string; | ||
resourceVersion: string; | ||
uid: string; | ||
} | ||
|
||
export interface Labels { | ||
"laf.dev/appid": string; | ||
"laf.dev/database.store.name": string; | ||
"laf.dev/database.store.namespace": string; | ||
} | ||
|
||
export interface Spec { | ||
capacity: Capacity; | ||
password: string; | ||
provider: string; | ||
region: string; | ||
username: string; | ||
} | ||
|
||
export interface Capacity { | ||
storage: string; | ||
} | ||
|
||
export interface Status { | ||
capacity: Capacity2; | ||
conditions: Condition[]; | ||
connectionUri: string; | ||
storeName: string; | ||
storeNamespace: string; | ||
} | ||
|
||
export interface Capacity2 { | ||
storage: string; | ||
} | ||
|
||
export interface Condition { | ||
lastTransitionTime: string; | ||
message: string; | ||
reason: string; | ||
status: string; | ||
type: string; | ||
} | ||
|
||
export interface Oss { | ||
apiVersion: string; | ||
kind: string; | ||
metadata: Metadata2; | ||
spec: Spec2; | ||
status: Status2; | ||
} | ||
|
||
export interface Metadata2 { | ||
creationTimestamp: string; | ||
finalizers: string[]; | ||
generation: number; | ||
labels: Labels2; | ||
name: string; | ||
namespace: string; | ||
resourceVersion: string; | ||
uid: string; | ||
} | ||
|
||
export interface Labels2 { | ||
"laf.dev/appid": string; | ||
"laf.dev/oss.store.name": string; | ||
"laf.dev/oss.store.namespace": string; | ||
} | ||
|
||
export interface Spec2 { | ||
appid: string; | ||
capacity: Capacity3; | ||
password: string; | ||
provider: string; | ||
region: string; | ||
} | ||
|
||
export interface Capacity3 { | ||
bucketCount: number; | ||
objectCount: number; | ||
storage: string; | ||
} | ||
|
||
export interface Status2 { | ||
accessKey: string; | ||
capacity: Capacity4; | ||
conditions: Condition2[]; | ||
endpoint: string; | ||
region: string; | ||
secretKey: string; | ||
storeName: string; | ||
storeNamespace: string; | ||
} | ||
|
||
export interface Capacity4 { | ||
bucketCount: number; | ||
objectCount: number; | ||
storage: string; | ||
} | ||
|
||
export interface Condition2 { | ||
lastTransitionTime: string; | ||
message: string; | ||
reason: string; | ||
status: string; | ||
type: string; | ||
} | ||
|
||
export interface Gateway { | ||
apiVersion: string; | ||
kind: string; | ||
metadata: Metadata3; | ||
spec: Spec3; | ||
status: Status3; | ||
} | ||
|
||
export interface Metadata3 { | ||
creationTimestamp: string; | ||
generation: number; | ||
labels: Labels3; | ||
name: string; | ||
namespace: string; | ||
resourceVersion: string; | ||
uid: string; | ||
} | ||
|
||
export interface Labels3 { | ||
"laf.dev/appid": string; | ||
} | ||
|
||
export interface Spec3 { | ||
appid: string; | ||
} | ||
|
||
export interface Status3 { | ||
appRoute: AppRoute; | ||
conditions: Condition3[]; | ||
} | ||
|
||
export interface AppRoute { | ||
domain: string; | ||
domainName: string; | ||
domainNamespace: string; | ||
} | ||
|
||
export interface Condition3 { | ||
lastTransitionTime: string; | ||
message: string; | ||
reason: string; | ||
status: string; | ||
type: string; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.