File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
packages/app/src/cli/models/extensions/specifications
app_config_webhook_schemas Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ export const WebhookSubscriptionSchema = zod.object({
2020 include_fields : zod . array ( zod . string ( { invalid_type_error : 'Value must be a string' } ) ) . optional ( ) ,
2121 filter : zod . string ( { invalid_type_error : 'Value must be a string' } ) . optional ( ) ,
2222 payload_query : zod . string ( { invalid_type_error : 'Value must be a string' } ) . trim ( ) . min ( 1 ) . optional ( ) ,
23- name : zod . string ( { invalid_type_error : 'Value must be a string' } ) . min ( 1 ) . optional ( ) ,
23+ name : zod . string ( { invalid_type_error : 'Value must be a string' } ) . min ( 1 ) . max ( 50 ) . optional ( ) ,
2424
2525 compliance_topics : zod
2626 . array (
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ export const SingleWebhookSubscriptionSchema = zod.object({
2929 include_fields : zod . array ( zod . string ( { invalid_type_error : 'Value must be a string' } ) ) . optional ( ) ,
3030 filter : zod . string ( { invalid_type_error : 'Value must be a string' } ) . optional ( ) ,
3131 payload_query : zod . string ( { invalid_type_error : 'Value must be a string' } ) . trim ( ) . min ( 1 ) . optional ( ) ,
32- name : zod . string ( { invalid_type_error : 'Value must be a string' } ) . min ( 1 ) . optional ( ) ,
32+ name : zod . string ( { invalid_type_error : 'Value must be a string' } ) . min ( 1 ) . max ( 50 ) . optional ( ) ,
3333} )
3434
3535/* this transforms webhooks remotely to be accepted by the TOML
You can’t perform that action at this time.
0 commit comments