Skip to content

tenant\_db/neon-branch-utils

tenant_db/neon-branch-utils

Type Aliases

NeonBranchRow

type NeonBranchRow = object;

Defined in: platform-utils/src/tenant_db/neon-branch-utils.ts:1

Properties

Property Type Defined in
id string platform-utils/src/tenant_db/neon-branch-utils.ts:2
name string platform-utils/src/tenant_db/neon-branch-utils.ts:3
parent_id string | null platform-utils/src/tenant_db/neon-branch-utils.ts:4

Functions

resolveBranchByNames()

function resolveBranchByNames(branches, names): 
  | NeonBranchRow
  | null;

Defined in: platform-utils/src/tenant_db/neon-branch-utils.ts:7

Parameters

Parameter Type
branches NeonBranchRow[]
names readonly string[]

Returns

| NeonBranchRow | null


resolveSystemDevBranch()

function resolveSystemDevBranch(branches): NeonBranchRow;

Defined in: platform-utils/src/tenant_db/neon-branch-utils.ts:19

Local dev + e2e fork parent — prefer the long-lived dev branch over prod main.

Parameters

Parameter Type
branches NeonBranchRow[]

Returns

NeonBranchRow