Skip to content

Commit

Permalink
feat(web): new ui function page (#615)
Browse files Browse the repository at this point in the history
  • Loading branch information
LeezQ authored Jan 11, 2023
1 parent e4c524a commit 593481a
Show file tree
Hide file tree
Showing 12 changed files with 342 additions and 88 deletions.
124 changes: 122 additions & 2 deletions web/src/apis/v1/api-auto.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,15 @@ declare namespace Definitions {
websocket?: boolean;
methods?: string[];
code?: string /* The source code of the function */;
tags?: string[];
};

export type UpdateFunctionDto = {
description?: string;
websocket?: boolean;
methods?: string[];
code?: string /* The source code of the function */;
tags?: string[];
};

export type CompileFunctionDto = {
Expand All @@ -31,10 +33,24 @@ declare namespace Definitions {
state?: string;
};

export type CreateEnvironmentDto = {
name?: string;
value?: string;
};

export type CreateWebsiteDto = {};

export type UpdateWebsiteDto = {};

export type Pat2TokenDto = {
pat?: string /* PAT */;
};

export type CreatePATDto = {
name?: string;
expiresIn?: number;
};

export type CreateCollectionDto = {
name?: string;
};
Expand All @@ -46,11 +62,19 @@ declare namespace Definitions {

export type CreatePolicyDto = {
name?: string;
rules?: string;
};

export type UpdatePolicyDto = {
rules?: string;
injector?: string;
};

export type CreatePolicyRuleDto = {
collectionName?: string;
value?: string;
};

export type UpdatePolicyRuleDto = {
value?: string;
};

export type CreateBucketDto = {
Expand Down Expand Up @@ -184,6 +208,30 @@ declare namespace Paths {
export type Responses = any;
}

namespace EnvironmentVariableControllerAdd {
export type QueryParameters = any;

export type BodyParameters = Definitions.CreateEnvironmentDto;

export type Responses = any;
}

namespace EnvironmentVariableControllerGet {
export type QueryParameters = any;

export type BodyParameters = any;

export type Responses = any;
}

namespace EnvironmentVariableControllerDelete {
export type QueryParameters = any;

export type BodyParameters = any;

export type Responses = any;
}

namespace WebsitesControllerCreate {
export type QueryParameters = any;

Expand Down Expand Up @@ -248,6 +296,14 @@ declare namespace Paths {
export type Responses = any;
}

namespace AuthControllerPat2token {
export type QueryParameters = any;

export type BodyParameters = Definitions.Pat2TokenDto;

export type Responses = any;
}

namespace AuthControllerGetProfile {
export type QueryParameters = any;

Expand All @@ -256,6 +312,30 @@ declare namespace Paths {
export type Responses = any;
}

namespace PatControllerCreate {
export type QueryParameters = any;

export type BodyParameters = Definitions.CreatePATDto;

export type Responses = any;
}

namespace PatControllerFindAll {
export type QueryParameters = any;

export type BodyParameters = any;

export type Responses = any;
}

namespace PatControllerRemove {
export type QueryParameters = any;

export type BodyParameters = any;

export type Responses = any;
}

namespace CollectionControllerCreate {
export type QueryParameters = any;

Expand Down Expand Up @@ -336,6 +416,38 @@ declare namespace Paths {
export type Responses = any;
}

namespace PolicyRuleControllerCreate {
export type QueryParameters = any;

export type BodyParameters = Definitions.CreatePolicyRuleDto;

export type Responses = any;
}

namespace PolicyRuleControllerFindAll {
export type QueryParameters = any;

export type BodyParameters = any;

export type Responses = any;
}

namespace PolicyRuleControllerUpdate {
export type QueryParameters = any;

export type BodyParameters = Definitions.UpdatePolicyRuleDto;

export type Responses = any;
}

namespace PolicyRuleControllerRemove {
export type QueryParameters = any;

export type BodyParameters = any;

export type Responses = any;
}

namespace BucketControllerCreate {
export type QueryParameters = any;

Expand Down Expand Up @@ -392,6 +504,14 @@ declare namespace Paths {
export type Responses = any;
}

namespace DependencyControllerUpdate {
export type QueryParameters = any;

export type BodyParameters = any;

export type Responses = any;
}

namespace DependencyControllerGetDependencies {
export type QueryParameters = any;

Expand Down
Loading

0 comments on commit 593481a

Please sign in to comment.