Skip to content

Commit 0f8582b

Browse files
committed
feat(contract): expose per-plan limits across surfaces; fix Go SDK tag drop; add IaC domain-verify (#1101)
Synced from sferarc/pgbeam@d9ac816
1 parent c17f324 commit 0f8582b

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

src/spendLimit.gen.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@ interface Limits {
1414
bytesPerMonth: number;
1515
maxQueryShapes: number;
1616
includedSeats: number;
17+
maxAgentCredentials: number;
18+
auditRetentionDays: number;
19+
sandboxMaxBranches: number;
20+
sandboxMaxUpstreamBytes: number;
21+
sandboxIdleSeconds: number;
22+
sandboxTtlSeconds: number;
1723
}
1824

1925
export interface SpendLimitArgs {
@@ -45,6 +51,12 @@ function spendLimitToState(r: OrganizationPlan) {
4551
bytesPerMonth: r.limits.bytes_per_month,
4652
maxQueryShapes: r.limits.max_query_shapes,
4753
includedSeats: r.limits.included_seats,
54+
maxAgentCredentials: r.limits.max_agent_credentials,
55+
auditRetentionDays: r.limits.audit_retention_days,
56+
sandboxMaxBranches: r.limits.sandbox_max_branches,
57+
sandboxMaxUpstreamBytes: r.limits.sandbox_max_upstream_bytes,
58+
sandboxIdleSeconds: r.limits.sandbox_idle_seconds,
59+
sandboxTtlSeconds: r.limits.sandbox_ttl_seconds,
4860
}
4961
: undefined,
5062
createdAt: r.created_at ?? undefined,

0 commit comments

Comments
 (0)