forked from scaleway/scaleway-sdk-js
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(serverless): validate trigger queries (scaleway#940)
- Loading branch information
1 parent
cbc69a3
commit aa54478
Showing
4 changed files
with
92 additions
and
0 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
45 changes: 45 additions & 0 deletions
45
packages/clients/src/api/container/v1beta1/validation-rules.gen.ts
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,45 @@ | ||
// This file was automatically generated. DO NOT EDIT. | ||
// If you have any remark or suggestion do not hesitate to open an issue. | ||
|
||
export const CreateTriggerRequest = { | ||
description: { | ||
maxLength: 255, | ||
}, | ||
name: { | ||
maxLength: 50, | ||
minLength: 1, | ||
}, | ||
} | ||
|
||
export const CreateTriggerRequestMnqNatsClientConfig = { | ||
mnqRegion: { | ||
maxLength: 20, | ||
minLength: 1, | ||
}, | ||
subject: { | ||
maxLength: 100, | ||
minLength: 1, | ||
pattern: /^[^\s]+$/, | ||
}, | ||
} | ||
|
||
export const CreateTriggerRequestMnqSqsClientConfig = { | ||
mnqRegion: { | ||
maxLength: 20, | ||
minLength: 1, | ||
}, | ||
queue: { | ||
maxLength: 100, | ||
minLength: 1, | ||
}, | ||
} | ||
|
||
export const UpdateTriggerRequest = { | ||
description: { | ||
maxLength: 255, | ||
}, | ||
name: { | ||
maxLength: 50, | ||
minLength: 1, | ||
}, | ||
} |
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
45 changes: 45 additions & 0 deletions
45
packages/clients/src/api/function/v1beta1/validation-rules.gen.ts
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,45 @@ | ||
// This file was automatically generated. DO NOT EDIT. | ||
// If you have any remark or suggestion do not hesitate to open an issue. | ||
|
||
export const CreateTriggerRequest = { | ||
description: { | ||
maxLength: 255, | ||
}, | ||
name: { | ||
maxLength: 50, | ||
minLength: 1, | ||
}, | ||
} | ||
|
||
export const CreateTriggerRequestMnqNatsClientConfig = { | ||
mnqRegion: { | ||
maxLength: 20, | ||
minLength: 1, | ||
}, | ||
subject: { | ||
maxLength: 100, | ||
minLength: 1, | ||
pattern: /^[^\s]+$/, | ||
}, | ||
} | ||
|
||
export const CreateTriggerRequestMnqSqsClientConfig = { | ||
mnqRegion: { | ||
maxLength: 20, | ||
minLength: 1, | ||
}, | ||
queue: { | ||
maxLength: 100, | ||
minLength: 1, | ||
}, | ||
} | ||
|
||
export const UpdateTriggerRequest = { | ||
description: { | ||
maxLength: 255, | ||
}, | ||
name: { | ||
maxLength: 50, | ||
minLength: 1, | ||
}, | ||
} |