Skip to content

Commit c7c5463

Browse files
committed
fix(tinybird): align token-scope descriptions with Tinybird's plural scope names
- events/query/query_pipe used singular DATASOURCE:/PIPE: scope names; Tinybird's Token API uses plural DATASOURCES:/PIPES: - append_datasource now notes DATASOURCES:APPEND also suffices, not just CREATE
1 parent 8c29fd2 commit c7c5463

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

apps/sim/tools/tinybird/append_datasource.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export const appendDatasourceTool: ToolConfig<
5555
type: 'string',
5656
required: true,
5757
visibility: 'user-only',
58-
description: 'Tinybird API Token with DATASOURCES:CREATE scope',
58+
description: 'Tinybird API Token with DATASOURCES:APPEND or DATASOURCES:CREATE scope',
5959
},
6060
},
6161

apps/sim/tools/tinybird/events.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ export const eventsTool: ToolConfig<TinybirdEventsParams, TinybirdEventsResponse
5858
type: 'string',
5959
required: true,
6060
visibility: 'user-only',
61-
description: 'Tinybird API Token with DATASOURCE:APPEND or DATASOURCE:CREATE scope',
61+
description: 'Tinybird API Token with DATASOURCES:APPEND or DATASOURCES:CREATE scope',
6262
},
6363
},
6464

apps/sim/tools/tinybird/query.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export const queryTool: ToolConfig<TinybirdQueryParams, TinybirdQueryResponse> =
4646
type: 'string',
4747
required: true,
4848
visibility: 'user-only',
49-
description: 'Tinybird API Token with PIPE:READ scope',
49+
description: 'Tinybird API Token with PIPES:READ scope',
5050
},
5151
},
5252

apps/sim/tools/tinybird/query_pipe.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ export const queryPipeTool: ToolConfig<TinybirdQueryPipeParams, TinybirdQueryPip
8080
type: 'string',
8181
required: true,
8282
visibility: 'user-only',
83-
description: 'Tinybird API Token with PIPE:READ scope',
83+
description: 'Tinybird API Token with PIPES:READ scope',
8484
},
8585
},
8686

0 commit comments

Comments
 (0)