mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-11 00:28:49 +00:00
feat(infisical-pg: completed webhook and service token
This commit is contained in:
@@ -27,6 +27,8 @@ export enum TableName {
|
||||
SecretTag = "secret_tags",
|
||||
Integration = "integrations",
|
||||
IntegrationAuth = "integration_auths",
|
||||
ServiceToken = "service_tokens",
|
||||
Webhook = "webhooks",
|
||||
JnSecretTag = "secret_tag_junction",
|
||||
JnSecretVersionTag = "secret_version_tag_junction"
|
||||
}
|
||||
@@ -41,6 +43,13 @@ export const UserDeviceSchema = z
|
||||
.array()
|
||||
.default([]);
|
||||
|
||||
export const ServiceTokenScopes = z
|
||||
.object({
|
||||
environment: z.string(),
|
||||
secretPath: z.string().default("/")
|
||||
})
|
||||
.array();
|
||||
|
||||
export enum OrgMembershipRole {
|
||||
Admin = "admin",
|
||||
Member = "member",
|
||||
|
||||
Reference in New Issue
Block a user