@tai42/studio-sdk 14.0.0 → 15.0.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.
Files changed (63) hide show
  1. package/dist/components/components.css +19 -0
  2. package/dist/components/templated-text-field.d.ts +98 -0
  3. package/dist/components/templated-text-field.d.ts.map +1 -0
  4. package/dist/components/templated-text-field.js +217 -0
  5. package/dist/components/templated-text-field.js.map +1 -0
  6. package/dist/hooks/useApi.d.ts +310 -83
  7. package/dist/hooks/useApi.d.ts.map +1 -1
  8. package/dist/index.d.ts +4 -2
  9. package/dist/index.d.ts.map +1 -1
  10. package/dist/index.js +2 -1
  11. package/dist/index.js.map +1 -1
  12. package/dist/state-binding/BindingJqField.d.ts +8 -1
  13. package/dist/state-binding/BindingJqField.d.ts.map +1 -1
  14. package/dist/state-binding/BindingJqField.js +5 -2
  15. package/dist/state-binding/BindingJqField.js.map +1 -1
  16. package/dist/state-binding/BindingTemplatedJqField.d.ts +24 -0
  17. package/dist/state-binding/BindingTemplatedJqField.d.ts.map +1 -0
  18. package/dist/state-binding/BindingTemplatedJqField.js +7 -0
  19. package/dist/state-binding/BindingTemplatedJqField.js.map +1 -0
  20. package/dist/state-binding/InputInjectionRow.d.ts +4 -3
  21. package/dist/state-binding/InputInjectionRow.d.ts.map +1 -1
  22. package/dist/state-binding/InputInjectionRow.js +9 -9
  23. package/dist/state-binding/InputInjectionRow.js.map +1 -1
  24. package/dist/state-binding/StateAttachRow.d.ts +6 -4
  25. package/dist/state-binding/StateAttachRow.d.ts.map +1 -1
  26. package/dist/state-binding/StateAttachRow.js +13 -12
  27. package/dist/state-binding/StateAttachRow.js.map +1 -1
  28. package/dist/state-binding/StateBindingEditor.d.ts +4 -2
  29. package/dist/state-binding/StateBindingEditor.d.ts.map +1 -1
  30. package/dist/state-binding/StateBindingEditor.js +10 -8
  31. package/dist/state-binding/StateBindingEditor.js.map +1 -1
  32. package/dist/state-binding/SubjectScopeFields.d.ts +12 -9
  33. package/dist/state-binding/SubjectScopeFields.d.ts.map +1 -1
  34. package/dist/state-binding/SubjectScopeFields.js +5 -5
  35. package/dist/state-binding/SubjectScopeFields.js.map +1 -1
  36. package/dist/state-binding/UpdateRow.d.ts +4 -3
  37. package/dist/state-binding/UpdateRow.d.ts.map +1 -1
  38. package/dist/state-binding/UpdateRow.js +29 -16
  39. package/dist/state-binding/UpdateRow.js.map +1 -1
  40. package/dist/state-binding/index.d.ts +5 -1
  41. package/dist/state-binding/index.d.ts.map +1 -1
  42. package/dist/state-binding/index.js +2 -0
  43. package/dist/state-binding/index.js.map +1 -1
  44. package/dist/state-binding/templated-text-catalog.d.ts +21 -0
  45. package/dist/state-binding/templated-text-catalog.d.ts.map +1 -0
  46. package/dist/state-binding/templated-text-catalog.js +48 -0
  47. package/dist/state-binding/templated-text-catalog.js.map +1 -0
  48. package/dist/state-binding/types.d.ts +23 -2
  49. package/dist/state-binding/types.d.ts.map +1 -1
  50. package/package.json +2 -2
  51. package/src/components/components.css +19 -0
  52. package/src/components/templated-text-field.tsx +508 -0
  53. package/src/index.ts +13 -0
  54. package/src/state-binding/BindingJqField.tsx +12 -0
  55. package/src/state-binding/BindingTemplatedJqField.tsx +73 -0
  56. package/src/state-binding/InputInjectionRow.tsx +16 -7
  57. package/src/state-binding/StateAttachRow.tsx +19 -11
  58. package/src/state-binding/StateBindingEditor.tsx +14 -6
  59. package/src/state-binding/SubjectScopeFields.tsx +23 -15
  60. package/src/state-binding/UpdateRow.tsx +57 -24
  61. package/src/state-binding/index.ts +6 -0
  62. package/src/state-binding/templated-text-catalog.ts +69 -0
  63. package/src/state-binding/types.ts +31 -2
@@ -129,18 +129,42 @@ export declare const ApiProvider: import("react").Provider<{
129
129
  states: {
130
130
  state: string;
131
131
  templates: string[];
132
- subject_expr: string;
133
- scope_expr: string | null;
132
+ subject_expr: {
133
+ content?: string | undefined;
134
+ id?: string | undefined;
135
+ kwargs?: Record<string, unknown> | undefined;
136
+ };
137
+ scope_expr: {
138
+ content?: string | undefined;
139
+ id?: string | undefined;
140
+ kwargs?: Record<string, unknown> | undefined;
141
+ } | null;
134
142
  input_injections: {
135
143
  template_jq: string | null;
136
- jq: string | null;
144
+ jq: {
145
+ content?: string | undefined;
146
+ id?: string | undefined;
147
+ kwargs?: Record<string, unknown> | undefined;
148
+ } | null;
137
149
  into: string;
138
150
  }[];
139
151
  updates: {
140
152
  template_jq: string | null;
141
- jq: string | null;
142
- adapter: string | null;
143
- op_id: string | null;
153
+ jq: {
154
+ content?: string | undefined;
155
+ id?: string | undefined;
156
+ kwargs?: Record<string, unknown> | undefined;
157
+ } | null;
158
+ adapter: {
159
+ content?: string | undefined;
160
+ id?: string | undefined;
161
+ kwargs?: Record<string, unknown> | undefined;
162
+ } | null;
163
+ op_id: {
164
+ content?: string | undefined;
165
+ id?: string | undefined;
166
+ kwargs?: Record<string, unknown> | undefined;
167
+ } | null;
144
168
  }[];
145
169
  }[];
146
170
  } | null;
@@ -165,18 +189,42 @@ export declare const ApiProvider: import("react").Provider<{
165
189
  states: {
166
190
  state: string;
167
191
  templates: string[];
168
- subject_expr: string;
169
- scope_expr: string | null;
192
+ subject_expr: {
193
+ content?: string | undefined;
194
+ id?: string | undefined;
195
+ kwargs?: Record<string, unknown> | undefined;
196
+ };
197
+ scope_expr: {
198
+ content?: string | undefined;
199
+ id?: string | undefined;
200
+ kwargs?: Record<string, unknown> | undefined;
201
+ } | null;
170
202
  input_injections: {
171
203
  template_jq: string | null;
172
- jq: string | null;
204
+ jq: {
205
+ content?: string | undefined;
206
+ id?: string | undefined;
207
+ kwargs?: Record<string, unknown> | undefined;
208
+ } | null;
173
209
  into: string;
174
210
  }[];
175
211
  updates: {
176
212
  template_jq: string | null;
177
- jq: string | null;
178
- adapter: string | null;
179
- op_id: string | null;
213
+ jq: {
214
+ content?: string | undefined;
215
+ id?: string | undefined;
216
+ kwargs?: Record<string, unknown> | undefined;
217
+ } | null;
218
+ adapter: {
219
+ content?: string | undefined;
220
+ id?: string | undefined;
221
+ kwargs?: Record<string, unknown> | undefined;
222
+ } | null;
223
+ op_id: {
224
+ content?: string | undefined;
225
+ id?: string | undefined;
226
+ kwargs?: Record<string, unknown> | undefined;
227
+ } | null;
180
228
  }[];
181
229
  }[];
182
230
  } | null;
@@ -201,18 +249,42 @@ export declare const ApiProvider: import("react").Provider<{
201
249
  states: {
202
250
  state: string;
203
251
  templates: string[];
204
- subject_expr: string;
205
- scope_expr: string | null;
252
+ subject_expr: {
253
+ content?: string | undefined;
254
+ id?: string | undefined;
255
+ kwargs?: Record<string, unknown> | undefined;
256
+ };
257
+ scope_expr: {
258
+ content?: string | undefined;
259
+ id?: string | undefined;
260
+ kwargs?: Record<string, unknown> | undefined;
261
+ } | null;
206
262
  input_injections: {
207
263
  template_jq: string | null;
208
- jq: string | null;
264
+ jq: {
265
+ content?: string | undefined;
266
+ id?: string | undefined;
267
+ kwargs?: Record<string, unknown> | undefined;
268
+ } | null;
209
269
  into: string;
210
270
  }[];
211
271
  updates: {
212
272
  template_jq: string | null;
213
- jq: string | null;
214
- adapter: string | null;
215
- op_id: string | null;
273
+ jq: {
274
+ content?: string | undefined;
275
+ id?: string | undefined;
276
+ kwargs?: Record<string, unknown> | undefined;
277
+ } | null;
278
+ adapter: {
279
+ content?: string | undefined;
280
+ id?: string | undefined;
281
+ kwargs?: Record<string, unknown> | undefined;
282
+ } | null;
283
+ op_id: {
284
+ content?: string | undefined;
285
+ id?: string | undefined;
286
+ kwargs?: Record<string, unknown> | undefined;
287
+ } | null;
216
288
  }[];
217
289
  }[];
218
290
  } | null;
@@ -497,7 +569,14 @@ export declare const ApiProvider: import("react").Provider<{
497
569
  parameters: Record<string, unknown>;
498
570
  schema: Record<string, unknown>;
499
571
  regimes: Record<string, unknown>[];
500
- declarations: Record<string, unknown> | null;
572
+ declarations: {
573
+ schema: Record<string, unknown>;
574
+ check: {
575
+ content?: string | undefined;
576
+ id?: string | undefined;
577
+ kwargs?: Record<string, unknown> | undefined;
578
+ } | null;
579
+ } | null;
501
580
  trace: Record<string, unknown>;
502
581
  template_jq: Record<string, {
503
582
  description: string;
@@ -505,12 +584,28 @@ export declare const ApiProvider: import("react").Provider<{
505
584
  params: string[];
506
585
  reads: string[][];
507
586
  writes: string[][];
508
- jq: string;
587
+ jq: {
588
+ content?: string | undefined;
589
+ id?: string | undefined;
590
+ kwargs?: Record<string, unknown> | undefined;
591
+ };
509
592
  }> | null;
510
593
  reconcile: {
511
- view: string;
512
- close: string;
513
- resolutions: string;
594
+ orphans: {
595
+ content?: string | undefined;
596
+ id?: string | undefined;
597
+ kwargs?: Record<string, unknown> | undefined;
598
+ };
599
+ close: {
600
+ content?: string | undefined;
601
+ id?: string | undefined;
602
+ kwargs?: Record<string, unknown> | undefined;
603
+ };
604
+ resolutions: {
605
+ content?: string | undefined;
606
+ id?: string | undefined;
607
+ kwargs?: Record<string, unknown> | undefined;
608
+ };
514
609
  } | null;
515
610
  attached_to: number;
516
611
  shipped_default: boolean;
@@ -522,7 +617,14 @@ export declare const ApiProvider: import("react").Provider<{
522
617
  parameters: Record<string, unknown>;
523
618
  schema: Record<string, unknown>;
524
619
  regimes: Record<string, unknown>[];
525
- declarations: Record<string, unknown> | null;
620
+ declarations: {
621
+ schema: Record<string, unknown>;
622
+ check: {
623
+ content?: string | undefined;
624
+ id?: string | undefined;
625
+ kwargs?: Record<string, unknown> | undefined;
626
+ } | null;
627
+ } | null;
526
628
  trace: Record<string, unknown>;
527
629
  template_jq: Record<string, {
528
630
  description: string;
@@ -530,12 +632,28 @@ export declare const ApiProvider: import("react").Provider<{
530
632
  params: string[];
531
633
  reads: string[][];
532
634
  writes: string[][];
533
- jq: string;
635
+ jq: {
636
+ content?: string | undefined;
637
+ id?: string | undefined;
638
+ kwargs?: Record<string, unknown> | undefined;
639
+ };
534
640
  }> | null;
535
641
  reconcile: {
536
- view: string;
537
- close: string;
538
- resolutions: string;
642
+ orphans: {
643
+ content?: string | undefined;
644
+ id?: string | undefined;
645
+ kwargs?: Record<string, unknown> | undefined;
646
+ };
647
+ close: {
648
+ content?: string | undefined;
649
+ id?: string | undefined;
650
+ kwargs?: Record<string, unknown> | undefined;
651
+ };
652
+ resolutions: {
653
+ content?: string | undefined;
654
+ id?: string | undefined;
655
+ kwargs?: Record<string, unknown> | undefined;
656
+ };
539
657
  } | null;
540
658
  }>;
541
659
  readonly putStateTemplate: (name: string, body: import("@tai42/api-client").StateTemplateBody, replace?: boolean) => Promise<{
@@ -545,7 +663,14 @@ export declare const ApiProvider: import("react").Provider<{
545
663
  parameters: Record<string, unknown>;
546
664
  schema: Record<string, unknown>;
547
665
  regimes: Record<string, unknown>[];
548
- declarations: Record<string, unknown> | null;
666
+ declarations: {
667
+ schema: Record<string, unknown>;
668
+ check: {
669
+ content?: string | undefined;
670
+ id?: string | undefined;
671
+ kwargs?: Record<string, unknown> | undefined;
672
+ } | null;
673
+ } | null;
549
674
  trace: Record<string, unknown>;
550
675
  template_jq: Record<string, {
551
676
  description: string;
@@ -553,12 +678,28 @@ export declare const ApiProvider: import("react").Provider<{
553
678
  params: string[];
554
679
  reads: string[][];
555
680
  writes: string[][];
556
- jq: string;
681
+ jq: {
682
+ content?: string | undefined;
683
+ id?: string | undefined;
684
+ kwargs?: Record<string, unknown> | undefined;
685
+ };
557
686
  }> | null;
558
687
  reconcile: {
559
- view: string;
560
- close: string;
561
- resolutions: string;
688
+ orphans: {
689
+ content?: string | undefined;
690
+ id?: string | undefined;
691
+ kwargs?: Record<string, unknown> | undefined;
692
+ };
693
+ close: {
694
+ content?: string | undefined;
695
+ id?: string | undefined;
696
+ kwargs?: Record<string, unknown> | undefined;
697
+ };
698
+ resolutions: {
699
+ content?: string | undefined;
700
+ id?: string | undefined;
701
+ kwargs?: Record<string, unknown> | undefined;
702
+ };
562
703
  } | null;
563
704
  }>;
564
705
  readonly deleteStateTemplate: (name: string) => Promise<{
@@ -739,11 +880,7 @@ export declare const ApiProvider: import("react").Provider<{
739
880
  path: string;
740
881
  deleted: true;
741
882
  }>;
742
- readonly renderTemplate: (body: {
743
- content?: string;
744
- template_id?: string;
745
- kwargs?: Record<string, unknown>;
746
- }) => Promise<{
883
+ readonly renderTemplate: (text: import("@tai42/api-client").TemplatedText) => Promise<{
747
884
  rendered: string;
748
885
  }>;
749
886
  readonly clearTemplatesCache: () => Promise<{
@@ -1519,18 +1656,42 @@ export declare const ApiProvider: import("react").Provider<{
1519
1656
  states: {
1520
1657
  state: string;
1521
1658
  templates: string[];
1522
- subject_expr: string;
1523
- scope_expr: string | null;
1659
+ subject_expr: {
1660
+ content?: string | undefined;
1661
+ id?: string | undefined;
1662
+ kwargs?: Record<string, unknown> | undefined;
1663
+ };
1664
+ scope_expr: {
1665
+ content?: string | undefined;
1666
+ id?: string | undefined;
1667
+ kwargs?: Record<string, unknown> | undefined;
1668
+ } | null;
1524
1669
  input_injections: {
1525
1670
  template_jq: string | null;
1526
- jq: string | null;
1671
+ jq: {
1672
+ content?: string | undefined;
1673
+ id?: string | undefined;
1674
+ kwargs?: Record<string, unknown> | undefined;
1675
+ } | null;
1527
1676
  into: string;
1528
1677
  }[];
1529
1678
  updates: {
1530
1679
  template_jq: string | null;
1531
- jq: string | null;
1532
- adapter: string | null;
1533
- op_id: string | null;
1680
+ jq: {
1681
+ content?: string | undefined;
1682
+ id?: string | undefined;
1683
+ kwargs?: Record<string, unknown> | undefined;
1684
+ } | null;
1685
+ adapter: {
1686
+ content?: string | undefined;
1687
+ id?: string | undefined;
1688
+ kwargs?: Record<string, unknown> | undefined;
1689
+ } | null;
1690
+ op_id: {
1691
+ content?: string | undefined;
1692
+ id?: string | undefined;
1693
+ kwargs?: Record<string, unknown> | undefined;
1694
+ } | null;
1534
1695
  }[];
1535
1696
  }[];
1536
1697
  } | null;
@@ -1559,18 +1720,42 @@ export declare const ApiProvider: import("react").Provider<{
1559
1720
  states: {
1560
1721
  state: string;
1561
1722
  templates: string[];
1562
- subject_expr: string;
1563
- scope_expr: string | null;
1723
+ subject_expr: {
1724
+ content?: string | undefined;
1725
+ id?: string | undefined;
1726
+ kwargs?: Record<string, unknown> | undefined;
1727
+ };
1728
+ scope_expr: {
1729
+ content?: string | undefined;
1730
+ id?: string | undefined;
1731
+ kwargs?: Record<string, unknown> | undefined;
1732
+ } | null;
1564
1733
  input_injections: {
1565
1734
  template_jq: string | null;
1566
- jq: string | null;
1735
+ jq: {
1736
+ content?: string | undefined;
1737
+ id?: string | undefined;
1738
+ kwargs?: Record<string, unknown> | undefined;
1739
+ } | null;
1567
1740
  into: string;
1568
1741
  }[];
1569
1742
  updates: {
1570
1743
  template_jq: string | null;
1571
- jq: string | null;
1572
- adapter: string | null;
1573
- op_id: string | null;
1744
+ jq: {
1745
+ content?: string | undefined;
1746
+ id?: string | undefined;
1747
+ kwargs?: Record<string, unknown> | undefined;
1748
+ } | null;
1749
+ adapter: {
1750
+ content?: string | undefined;
1751
+ id?: string | undefined;
1752
+ kwargs?: Record<string, unknown> | undefined;
1753
+ } | null;
1754
+ op_id: {
1755
+ content?: string | undefined;
1756
+ id?: string | undefined;
1757
+ kwargs?: Record<string, unknown> | undefined;
1758
+ } | null;
1574
1759
  }[];
1575
1760
  }[];
1576
1761
  } | null;
@@ -1803,28 +1988,56 @@ export declare const ApiProvider: import("react").Provider<{
1803
1988
  kind: string;
1804
1989
  key_expr: string;
1805
1990
  } | null;
1806
- condition: string | null;
1807
- condition_id: string | null;
1808
- condition_kwargs: Record<string, unknown>;
1809
- expr: string | null;
1810
- expr_id: string | null;
1811
- expr_kwargs: Record<string, unknown>;
1991
+ condition: {
1992
+ content?: string | undefined;
1993
+ id?: string | undefined;
1994
+ kwargs?: Record<string, unknown> | undefined;
1995
+ } | null;
1996
+ expr: {
1997
+ content?: string | undefined;
1998
+ id?: string | undefined;
1999
+ kwargs?: Record<string, unknown> | undefined;
2000
+ } | null;
1812
2001
  state_binding: {
1813
2002
  states: {
1814
2003
  state: string;
1815
2004
  templates: string[];
1816
- subject_expr: string;
1817
- scope_expr: string | null;
2005
+ subject_expr: {
2006
+ content?: string | undefined;
2007
+ id?: string | undefined;
2008
+ kwargs?: Record<string, unknown> | undefined;
2009
+ };
2010
+ scope_expr: {
2011
+ content?: string | undefined;
2012
+ id?: string | undefined;
2013
+ kwargs?: Record<string, unknown> | undefined;
2014
+ } | null;
1818
2015
  input_injections: {
1819
2016
  template_jq: string | null;
1820
- jq: string | null;
2017
+ jq: {
2018
+ content?: string | undefined;
2019
+ id?: string | undefined;
2020
+ kwargs?: Record<string, unknown> | undefined;
2021
+ } | null;
1821
2022
  into: string;
1822
2023
  }[];
1823
2024
  updates: {
1824
2025
  template_jq: string | null;
1825
- jq: string | null;
1826
- adapter: string | null;
1827
- op_id: string | null;
2026
+ jq: {
2027
+ content?: string | undefined;
2028
+ id?: string | undefined;
2029
+ kwargs?: Record<string, unknown> | undefined;
2030
+ } | null;
2031
+ adapter: {
2032
+ content?: string | undefined;
2033
+ id?: string | undefined;
2034
+ kwargs?: Record<string, unknown> | undefined;
2035
+ } | null;
2036
+ op_id: {
2037
+ content?: string | undefined;
2038
+ id?: string | undefined;
2039
+ kwargs?: Record<string, unknown> | undefined;
2040
+ } | null;
1828
2041
  }[];
1829
2042
  }[];
1830
2043
  } | null;
@@ -1931,9 +2144,11 @@ export declare const ApiProvider: import("react").Provider<{
1931
2144
  name: string;
1932
2145
  description: string;
1933
2146
  scopes: string[];
1934
- condition: string | null;
1935
- condition_id: string | null;
1936
- condition_kwargs: unknown;
2147
+ condition: {
2148
+ content?: string | undefined;
2149
+ id?: string | undefined;
2150
+ kwargs?: Record<string, unknown> | undefined;
2151
+ } | null;
1937
2152
  base_tier: string | null;
1938
2153
  allow_all: boolean;
1939
2154
  grants: Record<string, "none" | "read" | "write">;
@@ -1942,9 +2157,11 @@ export declare const ApiProvider: import("react").Provider<{
1942
2157
  name: string;
1943
2158
  description: string;
1944
2159
  scopes: string[];
1945
- condition: string | null;
1946
- condition_id: string | null;
1947
- condition_kwargs: unknown;
2160
+ condition: {
2161
+ content?: string | undefined;
2162
+ id?: string | undefined;
2163
+ kwargs?: Record<string, unknown> | undefined;
2164
+ } | null;
1948
2165
  base_tier: string | null;
1949
2166
  allow_all: boolean;
1950
2167
  grants: Record<string, "none" | "read" | "write">;
@@ -1953,9 +2170,11 @@ export declare const ApiProvider: import("react").Provider<{
1953
2170
  name: string;
1954
2171
  description: string;
1955
2172
  scopes: string[];
1956
- condition: string | null;
1957
- condition_id: string | null;
1958
- condition_kwargs: unknown;
2173
+ condition: {
2174
+ content?: string | undefined;
2175
+ id?: string | undefined;
2176
+ kwargs?: Record<string, unknown> | undefined;
2177
+ } | null;
1959
2178
  base_tier: string | null;
1960
2179
  allow_all: boolean;
1961
2180
  grants: Record<string, "none" | "read" | "write">;
@@ -1971,9 +2190,11 @@ export declare const ApiProvider: import("react").Provider<{
1971
2190
  name: string;
1972
2191
  description: string;
1973
2192
  scopes: string[];
1974
- condition: string | null;
1975
- condition_id: string | null;
1976
- condition_kwargs: unknown;
2193
+ condition: {
2194
+ content?: string | undefined;
2195
+ id?: string | undefined;
2196
+ kwargs?: Record<string, unknown> | undefined;
2197
+ } | null;
1977
2198
  base_tier: string | null;
1978
2199
  allow_all: boolean;
1979
2200
  grants: Record<string, "none" | "read" | "write">;
@@ -1999,9 +2220,11 @@ export declare const ApiProvider: import("react").Provider<{
1999
2220
  name: string;
2000
2221
  description: string;
2001
2222
  scopes: string[];
2002
- condition: string | null;
2003
- condition_id: string | null;
2004
- condition_kwargs: unknown;
2223
+ condition: {
2224
+ content?: string | undefined;
2225
+ id?: string | undefined;
2226
+ kwargs?: Record<string, unknown> | undefined;
2227
+ } | null;
2005
2228
  base_tier: string | null;
2006
2229
  allow_all: boolean;
2007
2230
  grants: Record<string, "none" | "read" | "write">;
@@ -2011,9 +2234,11 @@ export declare const ApiProvider: import("react").Provider<{
2011
2234
  description: string;
2012
2235
  scopes: string[];
2013
2236
  policy_data: unknown;
2014
- condition?: string | null | undefined;
2015
- condition_id?: string | null | undefined;
2016
- condition_kwargs?: unknown;
2237
+ condition?: {
2238
+ content?: string | undefined;
2239
+ id?: string | undefined;
2240
+ kwargs?: Record<string, unknown> | undefined;
2241
+ } | null | undefined;
2017
2242
  }[]>;
2018
2243
  readonly createApiKey: (body: import("@tai42/api-client").ApiKeyBody) => Promise<string>;
2019
2244
  readonly editApiKey: (userId: string, body: Omit<import("@tai42/api-client").ApiKeyBody, "user_id">) => Promise<{
@@ -2108,9 +2333,11 @@ export declare const ApiProvider: import("react").Provider<{
2108
2333
  body: {
2109
2334
  scopes: string[];
2110
2335
  policy_data: unknown;
2111
- condition: string | null;
2112
- condition_id: string | null;
2113
- condition_kwargs: unknown;
2336
+ condition: {
2337
+ content?: string | undefined;
2338
+ id?: string | undefined;
2339
+ kwargs?: Record<string, unknown> | undefined;
2340
+ } | null;
2114
2341
  };
2115
2342
  tags: string[];
2116
2343
  created_at: string;
@@ -1 +1 @@
1
- {"version":3,"file":"useApi.d.ts","sourceRoot":"","sources":["../../src/hooks/useApi.ts"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAInD,eAAO,MAAM,WAAW;;+BAWo2iB,CAAC;iDAAsF,CAAC;;;;;uCAAuM,CAAC;;;;;4EAAgO,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;wFAAw+B,CAAC;;;+CAA2G,CAAC;;;;;mBAA2L,CAAC;cAAoC,CAAC;aAAwB,CAAC;;oDAAkF,CAAC;;;;;mBAA2L,CAAC;;kCAAkE,CAAC;;;;;;iCAAwK,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6CAAojC,CAAC;;;;;;;;;;;;;;;;;sDAAqlB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qEAAiyC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qDAA87F,CAAC;;;;;;;;;;;;;gCAAib,C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AAS,EAAE,CAAC"}
package/dist/index.d.ts CHANGED
@@ -78,6 +78,8 @@ export { Checkbox } from './components/checkbox';
78
78
  export type { CheckboxProps } from './components/checkbox';
79
79
  export { RadioGroup } from './components/radio-group';
80
80
  export type { RadioGroupProps, RadioOption } from './components/radio-group';
81
+ export { TemplatedTextField, templatedTextSummary } from './components/templated-text-field';
82
+ export type { TemplatedTextFieldProps, TemplatedTextInlineProps, TemplatedTextTemplateOption, } from './components/templated-text-field';
81
83
  export { Badge } from './components/badge';
82
84
  export type { BadgeProps } from './components/badge';
83
85
  export { Tabs } from './components/tabs';
@@ -148,8 +150,8 @@ export { SchemaForm, RecordEntryRendererContext, ExpressionFieldContext, SecretR
148
150
  export type { SchemaFormProps, CompletionProvider, RecordEntryRenderer, RecordEntryContext, ExpressionFieldComponent, ExpressionFieldProps, ExpressionInputShape, ExpressionInputKey, SecretRefFieldProps, SecretRef, JsonSchema, JsonSchemaType, Discriminator, SchemaFormErrors, } from './schema-form';
149
151
  export { SchemaEditor, lintSchemaText } from './schema-editor';
150
152
  export type { SchemaEditorProps, SchemaEditorChange, SchemaLintResult } from './schema-editor';
151
- export { StateBindingEditor, StateBindingSection, StateAttachRow, InjectionList, UpdateList, AdapterMapping, SubjectScopeFields, BindingJqField, appendTjq, resolveTemplateJq, findByRef, resolveCallName, templatesCatalogFromList, statesCatalogFromList, fieldPathsFromSchema, compileAdapter, rowValueJq, fieldPathToJq, jqKey, defaultRowsForInput, parseAdapter, parseFieldPath, generateTemplateCall, parseTemplateCall, encodeTemplateSegment, } from './state-binding';
152
- export type { StateBindingEditorProps, StateBindingSectionProps, StateAttachRowProps, InheritedSubject, InjectionListProps, UpdateListProps, AdapterMappingProps, SubjectScopeFieldsProps, BindingJqFieldProps, TemplateJqSuggestion, ResolvedTemplateJq, MappingRow, MappingSource, FieldSource, LiteralSource, JqSource, FieldRoot, AdapterCompileResult, BindingStateOption, BindingTemplateOption, BindingTemplateJqOption, BindingSourceSchemas, SchemaFieldPath, } from './state-binding';
153
+ export { StateBindingEditor, StateBindingSection, StateAttachRow, InjectionList, UpdateList, AdapterMapping, SubjectScopeFields, BindingJqField, BindingTemplatedJqField, appendTjq, resolveTemplateJq, findByRef, resolveCallName, templatesCatalogFromList, statesCatalogFromList, fieldPathsFromSchema, compileAdapter, rowValueJq, fieldPathToJq, jqKey, defaultRowsForInput, parseAdapter, parseFieldPath, generateTemplateCall, parseTemplateCall, encodeTemplateSegment, templatedTextCatalog, } from './state-binding';
154
+ export type { StoragePresenceQueryLike, TemplateNamesQueryLike, StateBindingEditorProps, StateBindingSectionProps, StateAttachRowProps, InheritedSubject, InjectionListProps, UpdateListProps, AdapterMappingProps, SubjectScopeFieldsProps, BindingJqFieldProps, BindingTemplatedJqFieldProps, TemplateJqSuggestion, ResolvedTemplateJq, MappingRow, MappingSource, FieldSource, LiteralSource, JqSource, FieldRoot, AdapterCompileResult, BindingStateOption, BindingTemplateOption, BindingTemplateJqOption, BindingSourceSchemas, SchemaFieldPath, TemplatedText, TemplatedTextCatalog, } from './state-binding';
153
155
  export { ProgressBar } from './components/progress-bar';
154
156
  export type { ProgressBarProps } from './components/progress-bar';
155
157
  export { CompletionInput } from './components/completion-input';