@terrantula/sdk 0.9.1 → 0.9.2
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/index.d.mts +17 -0
- package/dist/index.d.ts +17 -0
- package/dist/local.d.mts +16 -0
- package/dist/local.d.ts +16 -0
- package/package.json +8 -8
package/dist/index.d.mts
CHANGED
|
@@ -2460,6 +2460,7 @@ declare const projectApp: hono_hono_base.HonoBase<{
|
|
|
2460
2460
|
syncSource: string | null;
|
|
2461
2461
|
};
|
|
2462
2462
|
metricValue: number | null;
|
|
2463
|
+
metricName: string | null;
|
|
2463
2464
|
}[];
|
|
2464
2465
|
outputFormat: "json";
|
|
2465
2466
|
status: hono_utils_http_status.ContentfulStatusCode;
|
|
@@ -8528,6 +8529,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
8528
8529
|
state: zod.ZodOptional<zod.ZodString>;
|
|
8529
8530
|
properties: zod.ZodDefault<zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>>;
|
|
8530
8531
|
labels: zod.ZodDefault<zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
|
|
8532
|
+
syncSource: zod.ZodOptional<zod.ZodString>;
|
|
8533
|
+
lastSyncedAt: zod.ZodOptional<zod.ZodString>;
|
|
8531
8534
|
} & {
|
|
8532
8535
|
orgId: zod.ZodString;
|
|
8533
8536
|
projectId: zod.ZodString;
|
|
@@ -8542,6 +8545,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
8542
8545
|
kind: "Entity";
|
|
8543
8546
|
labels: Record<string, string>;
|
|
8544
8547
|
state?: string | undefined;
|
|
8548
|
+
lastSyncedAt?: string | undefined;
|
|
8549
|
+
syncSource?: string | undefined;
|
|
8545
8550
|
}, {
|
|
8546
8551
|
name: string;
|
|
8547
8552
|
orgId: string;
|
|
@@ -8552,6 +8557,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
8552
8557
|
state?: string | undefined;
|
|
8553
8558
|
properties?: Record<string, unknown> | undefined;
|
|
8554
8559
|
labels?: Record<string, string> | undefined;
|
|
8560
|
+
lastSyncedAt?: string | undefined;
|
|
8561
|
+
syncSource?: string | undefined;
|
|
8555
8562
|
}>, {
|
|
8556
8563
|
error: string;
|
|
8557
8564
|
} | {
|
|
@@ -22330,6 +22337,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
22330
22337
|
state: zod.ZodOptional<zod.ZodString>;
|
|
22331
22338
|
properties: zod.ZodDefault<zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>>;
|
|
22332
22339
|
labels: zod.ZodDefault<zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
|
|
22340
|
+
syncSource: zod.ZodOptional<zod.ZodString>;
|
|
22341
|
+
lastSyncedAt: zod.ZodOptional<zod.ZodString>;
|
|
22333
22342
|
}, "strip", zod.ZodTypeAny, {
|
|
22334
22343
|
name: string;
|
|
22335
22344
|
properties: Record<string, unknown>;
|
|
@@ -22337,6 +22346,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
22337
22346
|
kind: "Entity";
|
|
22338
22347
|
labels: Record<string, string>;
|
|
22339
22348
|
state?: string | undefined;
|
|
22349
|
+
lastSyncedAt?: string | undefined;
|
|
22350
|
+
syncSource?: string | undefined;
|
|
22340
22351
|
}, {
|
|
22341
22352
|
name: string;
|
|
22342
22353
|
entityType: string;
|
|
@@ -22344,6 +22355,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
22344
22355
|
state?: string | undefined;
|
|
22345
22356
|
properties?: Record<string, unknown> | undefined;
|
|
22346
22357
|
labels?: Record<string, string> | undefined;
|
|
22358
|
+
lastSyncedAt?: string | undefined;
|
|
22359
|
+
syncSource?: string | undefined;
|
|
22347
22360
|
}>, zod.ZodObject<{
|
|
22348
22361
|
kind: zod.ZodLiteral<"Relationship">;
|
|
22349
22362
|
relationshipType: zod.ZodString;
|
|
@@ -22947,6 +22960,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
22947
22960
|
kind: "Entity";
|
|
22948
22961
|
labels: Record<string, string>;
|
|
22949
22962
|
state?: string | undefined;
|
|
22963
|
+
lastSyncedAt?: string | undefined;
|
|
22964
|
+
syncSource?: string | undefined;
|
|
22950
22965
|
} | {
|
|
22951
22966
|
from: string;
|
|
22952
22967
|
properties: Record<string, unknown>;
|
|
@@ -23510,6 +23525,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
23510
23525
|
state?: string | undefined;
|
|
23511
23526
|
properties?: Record<string, unknown> | undefined;
|
|
23512
23527
|
labels?: Record<string, string> | undefined;
|
|
23528
|
+
lastSyncedAt?: string | undefined;
|
|
23529
|
+
syncSource?: string | undefined;
|
|
23513
23530
|
} | {
|
|
23514
23531
|
from: string;
|
|
23515
23532
|
relationshipType: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -2460,6 +2460,7 @@ declare const projectApp: hono_hono_base.HonoBase<{
|
|
|
2460
2460
|
syncSource: string | null;
|
|
2461
2461
|
};
|
|
2462
2462
|
metricValue: number | null;
|
|
2463
|
+
metricName: string | null;
|
|
2463
2464
|
}[];
|
|
2464
2465
|
outputFormat: "json";
|
|
2465
2466
|
status: hono_utils_http_status.ContentfulStatusCode;
|
|
@@ -8528,6 +8529,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
8528
8529
|
state: zod.ZodOptional<zod.ZodString>;
|
|
8529
8530
|
properties: zod.ZodDefault<zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>>;
|
|
8530
8531
|
labels: zod.ZodDefault<zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
|
|
8532
|
+
syncSource: zod.ZodOptional<zod.ZodString>;
|
|
8533
|
+
lastSyncedAt: zod.ZodOptional<zod.ZodString>;
|
|
8531
8534
|
} & {
|
|
8532
8535
|
orgId: zod.ZodString;
|
|
8533
8536
|
projectId: zod.ZodString;
|
|
@@ -8542,6 +8545,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
8542
8545
|
kind: "Entity";
|
|
8543
8546
|
labels: Record<string, string>;
|
|
8544
8547
|
state?: string | undefined;
|
|
8548
|
+
lastSyncedAt?: string | undefined;
|
|
8549
|
+
syncSource?: string | undefined;
|
|
8545
8550
|
}, {
|
|
8546
8551
|
name: string;
|
|
8547
8552
|
orgId: string;
|
|
@@ -8552,6 +8557,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
8552
8557
|
state?: string | undefined;
|
|
8553
8558
|
properties?: Record<string, unknown> | undefined;
|
|
8554
8559
|
labels?: Record<string, string> | undefined;
|
|
8560
|
+
lastSyncedAt?: string | undefined;
|
|
8561
|
+
syncSource?: string | undefined;
|
|
8555
8562
|
}>, {
|
|
8556
8563
|
error: string;
|
|
8557
8564
|
} | {
|
|
@@ -22330,6 +22337,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
22330
22337
|
state: zod.ZodOptional<zod.ZodString>;
|
|
22331
22338
|
properties: zod.ZodDefault<zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>>;
|
|
22332
22339
|
labels: zod.ZodDefault<zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
|
|
22340
|
+
syncSource: zod.ZodOptional<zod.ZodString>;
|
|
22341
|
+
lastSyncedAt: zod.ZodOptional<zod.ZodString>;
|
|
22333
22342
|
}, "strip", zod.ZodTypeAny, {
|
|
22334
22343
|
name: string;
|
|
22335
22344
|
properties: Record<string, unknown>;
|
|
@@ -22337,6 +22346,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
22337
22346
|
kind: "Entity";
|
|
22338
22347
|
labels: Record<string, string>;
|
|
22339
22348
|
state?: string | undefined;
|
|
22349
|
+
lastSyncedAt?: string | undefined;
|
|
22350
|
+
syncSource?: string | undefined;
|
|
22340
22351
|
}, {
|
|
22341
22352
|
name: string;
|
|
22342
22353
|
entityType: string;
|
|
@@ -22344,6 +22355,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
22344
22355
|
state?: string | undefined;
|
|
22345
22356
|
properties?: Record<string, unknown> | undefined;
|
|
22346
22357
|
labels?: Record<string, string> | undefined;
|
|
22358
|
+
lastSyncedAt?: string | undefined;
|
|
22359
|
+
syncSource?: string | undefined;
|
|
22347
22360
|
}>, zod.ZodObject<{
|
|
22348
22361
|
kind: zod.ZodLiteral<"Relationship">;
|
|
22349
22362
|
relationshipType: zod.ZodString;
|
|
@@ -22947,6 +22960,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
22947
22960
|
kind: "Entity";
|
|
22948
22961
|
labels: Record<string, string>;
|
|
22949
22962
|
state?: string | undefined;
|
|
22963
|
+
lastSyncedAt?: string | undefined;
|
|
22964
|
+
syncSource?: string | undefined;
|
|
22950
22965
|
} | {
|
|
22951
22966
|
from: string;
|
|
22952
22967
|
properties: Record<string, unknown>;
|
|
@@ -23510,6 +23525,8 @@ declare const createClient: (baseUrl: string, options?: CreateClientOptions | To
|
|
|
23510
23525
|
state?: string | undefined;
|
|
23511
23526
|
properties?: Record<string, unknown> | undefined;
|
|
23512
23527
|
labels?: Record<string, string> | undefined;
|
|
23528
|
+
lastSyncedAt?: string | undefined;
|
|
23529
|
+
syncSource?: string | undefined;
|
|
23513
23530
|
} | {
|
|
23514
23531
|
from: string;
|
|
23515
23532
|
relationshipType: string;
|
package/dist/local.d.mts
CHANGED
|
@@ -1781,6 +1781,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
1781
1781
|
state: zod.ZodOptional<zod.ZodString>;
|
|
1782
1782
|
properties: zod.ZodDefault<zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>>;
|
|
1783
1783
|
labels: zod.ZodDefault<zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
|
|
1784
|
+
syncSource: zod.ZodOptional<zod.ZodString>;
|
|
1785
|
+
lastSyncedAt: zod.ZodOptional<zod.ZodString>;
|
|
1784
1786
|
} & {
|
|
1785
1787
|
orgId: zod.ZodString;
|
|
1786
1788
|
projectId: zod.ZodString;
|
|
@@ -1795,6 +1797,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
1795
1797
|
kind: "Entity";
|
|
1796
1798
|
labels: Record<string, string>;
|
|
1797
1799
|
state?: string | undefined;
|
|
1800
|
+
lastSyncedAt?: string | undefined;
|
|
1801
|
+
syncSource?: string | undefined;
|
|
1798
1802
|
}, {
|
|
1799
1803
|
name: string;
|
|
1800
1804
|
orgId: string;
|
|
@@ -1805,6 +1809,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
1805
1809
|
state?: string | undefined;
|
|
1806
1810
|
properties?: Record<string, unknown> | undefined;
|
|
1807
1811
|
labels?: Record<string, string> | undefined;
|
|
1812
|
+
lastSyncedAt?: string | undefined;
|
|
1813
|
+
syncSource?: string | undefined;
|
|
1808
1814
|
}>, {
|
|
1809
1815
|
error: string;
|
|
1810
1816
|
} | {
|
|
@@ -15583,6 +15589,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
15583
15589
|
state: zod.ZodOptional<zod.ZodString>;
|
|
15584
15590
|
properties: zod.ZodDefault<zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>>;
|
|
15585
15591
|
labels: zod.ZodDefault<zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
|
|
15592
|
+
syncSource: zod.ZodOptional<zod.ZodString>;
|
|
15593
|
+
lastSyncedAt: zod.ZodOptional<zod.ZodString>;
|
|
15586
15594
|
}, "strip", zod.ZodTypeAny, {
|
|
15587
15595
|
name: string;
|
|
15588
15596
|
properties: Record<string, unknown>;
|
|
@@ -15590,6 +15598,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
15590
15598
|
kind: "Entity";
|
|
15591
15599
|
labels: Record<string, string>;
|
|
15592
15600
|
state?: string | undefined;
|
|
15601
|
+
lastSyncedAt?: string | undefined;
|
|
15602
|
+
syncSource?: string | undefined;
|
|
15593
15603
|
}, {
|
|
15594
15604
|
name: string;
|
|
15595
15605
|
entityType: string;
|
|
@@ -15597,6 +15607,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
15597
15607
|
state?: string | undefined;
|
|
15598
15608
|
properties?: Record<string, unknown> | undefined;
|
|
15599
15609
|
labels?: Record<string, string> | undefined;
|
|
15610
|
+
lastSyncedAt?: string | undefined;
|
|
15611
|
+
syncSource?: string | undefined;
|
|
15600
15612
|
}>, zod.ZodObject<{
|
|
15601
15613
|
kind: zod.ZodLiteral<"Relationship">;
|
|
15602
15614
|
relationshipType: zod.ZodString;
|
|
@@ -16200,6 +16212,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
16200
16212
|
kind: "Entity";
|
|
16201
16213
|
labels: Record<string, string>;
|
|
16202
16214
|
state?: string | undefined;
|
|
16215
|
+
lastSyncedAt?: string | undefined;
|
|
16216
|
+
syncSource?: string | undefined;
|
|
16203
16217
|
} | {
|
|
16204
16218
|
from: string;
|
|
16205
16219
|
properties: Record<string, unknown>;
|
|
@@ -16763,6 +16777,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
16763
16777
|
state?: string | undefined;
|
|
16764
16778
|
properties?: Record<string, unknown> | undefined;
|
|
16765
16779
|
labels?: Record<string, string> | undefined;
|
|
16780
|
+
lastSyncedAt?: string | undefined;
|
|
16781
|
+
syncSource?: string | undefined;
|
|
16766
16782
|
} | {
|
|
16767
16783
|
from: string;
|
|
16768
16784
|
relationshipType: string;
|
package/dist/local.d.ts
CHANGED
|
@@ -1781,6 +1781,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
1781
1781
|
state: zod.ZodOptional<zod.ZodString>;
|
|
1782
1782
|
properties: zod.ZodDefault<zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>>;
|
|
1783
1783
|
labels: zod.ZodDefault<zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
|
|
1784
|
+
syncSource: zod.ZodOptional<zod.ZodString>;
|
|
1785
|
+
lastSyncedAt: zod.ZodOptional<zod.ZodString>;
|
|
1784
1786
|
} & {
|
|
1785
1787
|
orgId: zod.ZodString;
|
|
1786
1788
|
projectId: zod.ZodString;
|
|
@@ -1795,6 +1797,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
1795
1797
|
kind: "Entity";
|
|
1796
1798
|
labels: Record<string, string>;
|
|
1797
1799
|
state?: string | undefined;
|
|
1800
|
+
lastSyncedAt?: string | undefined;
|
|
1801
|
+
syncSource?: string | undefined;
|
|
1798
1802
|
}, {
|
|
1799
1803
|
name: string;
|
|
1800
1804
|
orgId: string;
|
|
@@ -1805,6 +1809,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
1805
1809
|
state?: string | undefined;
|
|
1806
1810
|
properties?: Record<string, unknown> | undefined;
|
|
1807
1811
|
labels?: Record<string, string> | undefined;
|
|
1812
|
+
lastSyncedAt?: string | undefined;
|
|
1813
|
+
syncSource?: string | undefined;
|
|
1808
1814
|
}>, {
|
|
1809
1815
|
error: string;
|
|
1810
1816
|
} | {
|
|
@@ -15583,6 +15589,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
15583
15589
|
state: zod.ZodOptional<zod.ZodString>;
|
|
15584
15590
|
properties: zod.ZodDefault<zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>>;
|
|
15585
15591
|
labels: zod.ZodDefault<zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
|
|
15592
|
+
syncSource: zod.ZodOptional<zod.ZodString>;
|
|
15593
|
+
lastSyncedAt: zod.ZodOptional<zod.ZodString>;
|
|
15586
15594
|
}, "strip", zod.ZodTypeAny, {
|
|
15587
15595
|
name: string;
|
|
15588
15596
|
properties: Record<string, unknown>;
|
|
@@ -15590,6 +15598,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
15590
15598
|
kind: "Entity";
|
|
15591
15599
|
labels: Record<string, string>;
|
|
15592
15600
|
state?: string | undefined;
|
|
15601
|
+
lastSyncedAt?: string | undefined;
|
|
15602
|
+
syncSource?: string | undefined;
|
|
15593
15603
|
}, {
|
|
15594
15604
|
name: string;
|
|
15595
15605
|
entityType: string;
|
|
@@ -15597,6 +15607,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
15597
15607
|
state?: string | undefined;
|
|
15598
15608
|
properties?: Record<string, unknown> | undefined;
|
|
15599
15609
|
labels?: Record<string, string> | undefined;
|
|
15610
|
+
lastSyncedAt?: string | undefined;
|
|
15611
|
+
syncSource?: string | undefined;
|
|
15600
15612
|
}>, zod.ZodObject<{
|
|
15601
15613
|
kind: zod.ZodLiteral<"Relationship">;
|
|
15602
15614
|
relationshipType: zod.ZodString;
|
|
@@ -16200,6 +16212,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
16200
16212
|
kind: "Entity";
|
|
16201
16213
|
labels: Record<string, string>;
|
|
16202
16214
|
state?: string | undefined;
|
|
16215
|
+
lastSyncedAt?: string | undefined;
|
|
16216
|
+
syncSource?: string | undefined;
|
|
16203
16217
|
} | {
|
|
16204
16218
|
from: string;
|
|
16205
16219
|
properties: Record<string, unknown>;
|
|
@@ -16763,6 +16777,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
|
|
|
16763
16777
|
state?: string | undefined;
|
|
16764
16778
|
properties?: Record<string, unknown> | undefined;
|
|
16765
16779
|
labels?: Record<string, string> | undefined;
|
|
16780
|
+
lastSyncedAt?: string | undefined;
|
|
16781
|
+
syncSource?: string | undefined;
|
|
16766
16782
|
} | {
|
|
16767
16783
|
from: string;
|
|
16768
16784
|
relationshipType: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@terrantula/sdk",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.2",
|
|
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,17 +60,17 @@
|
|
|
60
60
|
"test": "bun test"
|
|
61
61
|
},
|
|
62
62
|
"dependencies": {
|
|
63
|
-
"@terrantula/local": "^0.
|
|
64
|
-
"@terrantula/types": "^0.
|
|
63
|
+
"@terrantula/local": "^0.3.0",
|
|
64
|
+
"@terrantula/types": "^0.3.0",
|
|
65
65
|
"hono": "^4.4.0",
|
|
66
66
|
"zod": "^3.22.0"
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|
|
69
|
-
"@terrantula/api": "
|
|
70
|
-
"@terrantula/auth": "
|
|
71
|
-
"@terrantula/orgs": "
|
|
72
|
-
"@terrantula/projects": "
|
|
73
|
-
"@terrantula/github": "
|
|
69
|
+
"@terrantula/api": "0.1.0",
|
|
70
|
+
"@terrantula/auth": "0.1.0",
|
|
71
|
+
"@terrantula/orgs": "0.1.0",
|
|
72
|
+
"@terrantula/projects": "0.1.0",
|
|
73
|
+
"@terrantula/github": "0.1.0",
|
|
74
74
|
"bun-types": "latest",
|
|
75
75
|
"tsup": "^8.0.0",
|
|
76
76
|
"typescript": "^5.4.0"
|