@terrantula/sdk 0.11.2 → 0.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/local.js CHANGED
@@ -1382,7 +1382,8 @@ function createCatalogRevisionsClient(proj) {
1382
1382
  import_zod13.z.object({
1383
1383
  orgId: import_zod13.z.string().describe("Organization slug"),
1384
1384
  projectId: import_zod13.z.string().describe("Project ID"),
1385
- limit: import_zod13.z.coerce.number().int().min(1).max(200).optional().describe("Max revisions to return (1-200)")
1385
+ limit: import_zod13.z.coerce.number().int().min(1).max(200).optional().describe("Max revisions to return (1-200)"),
1386
+ before: import_zod13.z.string().datetime().optional().describe("ISO timestamp; only revisions with appliedAt strictly before this are returned (keyset upper-bound)")
1386
1387
  }),
1387
1388
  (params) => {
1388
1389
  const { orgId, projectId, ...query } = params;
@@ -1454,6 +1455,7 @@ function createAuditEventsClient(proj) {
1454
1455
  action: import_zod14.z.string().optional().describe('Comma-separated actions (e.g. "create,delete")'),
1455
1456
  resourceKind: import_zod14.z.string().optional().describe("Filter to one resource kind (Entity | Token | Member | \u2026)"),
1456
1457
  since: import_zod14.z.string().datetime().optional().describe("ISO timestamp; only events strictly after this are returned"),
1458
+ before: import_zod14.z.string().datetime().optional().describe("ISO timestamp; only events strictly before this are returned (keyset upper-bound)"),
1457
1459
  limit: import_zod14.z.coerce.number().int().min(1).max(500).optional().describe("Max rows (1-500)")
1458
1460
  }).describe("List audit events for a project \u2014 auditor-friendly read-only feed"),
1459
1461
  (params) => {
@@ -1514,6 +1516,7 @@ function createDriftEventsClient(projEnv) {
1514
1516
  kind: import_zod16.z.string().optional().describe("Filter by entity type name"),
1515
1517
  entityName: import_zod16.z.string().optional().describe("Filter by entity name"),
1516
1518
  since: import_zod16.z.string().optional().describe("ISO timestamp lower bound on detectedAt"),
1519
+ before: import_zod16.z.string().datetime().optional().describe("ISO timestamp upper bound on detectedAt (keyset cursor)"),
1517
1520
  limit: import_zod16.z.coerce.number().int().min(1).max(500).optional()
1518
1521
  }),
1519
1522
  (params) => {
package/dist/local.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createClient
3
- } from "./chunk-M7S27EER.mjs";
3
+ } from "./chunk-665GEJRV.mjs";
4
4
 
5
5
  // src/local.ts
6
6
  import { createLocalApp, openLocalDb } from "@terrantula/local";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@terrantula/sdk",
3
- "version": "0.11.2",
3
+ "version": "0.12.0",
4
4
  "description": "TypeScript SDK for Terrantula — the multi-tenant entity-graph control plane that herds Terraform/OpenTofu cattle.",
5
5
  "keywords": [
6
6
  "terrantula",
@@ -60,8 +60,8 @@
60
60
  "test": "bun test"
61
61
  },
62
62
  "dependencies": {
63
- "@terrantula/local": "^0.4.2",
64
- "@terrantula/types": "^0.4.3",
63
+ "@terrantula/local": "0.4.2",
64
+ "@terrantula/types": "0.6.0",
65
65
  "hono": "^4.4.0",
66
66
  "zod": "^3.22.0"
67
67
  },