Skip to content

Commit 705a065

Browse files
committed
docs(catalog): a sunset block whose id is a base type with a visible newer version reads as that version
1 parent 7c11885 commit 705a065

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

‎apps/sim/lib/catalog/application/get-block.ts‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,10 @@ export interface GetCatalogBlockResult {
3838
* enumerate unrevealed blocks one id at a time. The one exception is a sunset
3939
* (legacy or deprecated) block hidden only for its lifecycle: placed instances
4040
* keep running, so it reads by its exact id (`starter`), its description leading
41-
* with the block that replaces it (`start_trigger`).
41+
* with the block that replaces it (`start_trigger`). An exact id that is also a
42+
* base type with a visible newer version (`cursor`, beside `cursor_v3`) reads
43+
* as that version, the name the list publishes it under, and the response
44+
* echoes the resolved id.
4245
*/
4346
export const getCatalogBlock = defineAuthorizedWorkspaceUseCase({
4447
operation: catalogOperations.readBlock,

0 commit comments

Comments
 (0)