@lssm/example.integration-hub 0.0.0-canary-20251221114240 → 0.0.0-canary-20251221132705

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 (31) hide show
  1. package/dist/connection/connection.enum.d.ts +2 -2
  2. package/dist/connection/connection.enum.d.ts.map +1 -1
  3. package/dist/connection/connection.operation.d.ts +27 -27
  4. package/dist/connection/connection.operation.d.ts.map +1 -1
  5. package/dist/connection/connection.schema.d.ts +16 -16
  6. package/dist/connection/connection.schema.d.ts.map +1 -1
  7. package/dist/integration/integration.contracts.d.ts +25 -25
  8. package/dist/integration/integration.contracts.d.ts.map +1 -1
  9. package/dist/integration/integration.schema.d.ts +16 -16
  10. package/dist/libs/contracts/dist/_virtual/rolldown_runtime.js +6 -0
  11. package/dist/libs/contracts/dist/_virtual/rolldown_runtime.js.map +1 -0
  12. package/dist/libs/contracts/dist/client/react/form-render.js +1 -0
  13. package/dist/libs/contracts/dist/data-views.js +1 -0
  14. package/dist/libs/contracts/dist/features.js +1 -0
  15. package/dist/libs/contracts/dist/forms.js +1 -0
  16. package/dist/libs/contracts/dist/index.js +11 -0
  17. package/dist/libs/contracts/dist/index.js.map +1 -0
  18. package/dist/libs/contracts/dist/presentations.js +1 -0
  19. package/dist/libs/contracts/dist/registry-utils.js +24 -0
  20. package/dist/libs/contracts/dist/registry-utils.js.map +1 -0
  21. package/dist/libs/contracts/dist/registry.js +1 -0
  22. package/dist/libs/contracts/dist/workflow/index.js +1 -0
  23. package/dist/libs/contracts/dist/workflow/spec.js +1 -0
  24. package/dist/libs/contracts/dist/workspace-config/contractsrc-schema.js +25 -1
  25. package/dist/libs/contracts/dist/workspace-config/contractsrc-schema.js.map +1 -1
  26. package/dist/sync/sync.contracts.d.ts +126 -126
  27. package/dist/sync/sync.contracts.d.ts.map +1 -1
  28. package/dist/sync/sync.enum.d.ts +4 -4
  29. package/dist/sync/sync.schema.d.ts +85 -85
  30. package/dist/sync/sync.schema.d.ts.map +1 -1
  31. package/package.json +12 -12
@@ -1,10 +1,10 @@
1
- import * as _lssm_lib_schema41 from "@lssm/lib.schema";
1
+ import * as _lssm_lib_schema330 from "@lssm/lib.schema";
2
2
 
3
3
  //#region src/connection/connection.enum.d.ts
4
4
  /**
5
5
  * Connection status enum.
6
6
  */
7
- declare const ConnectionStatusEnum: _lssm_lib_schema41.EnumType<[string, string, string, string, string]>;
7
+ declare const ConnectionStatusEnum: _lssm_lib_schema330.EnumType<[string, string, string, string, string]>;
8
8
  //#endregion
9
9
  export { ConnectionStatusEnum };
10
10
  //# sourceMappingURL=connection.enum.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"connection.enum.d.ts","names":[],"sources":["../../src/connection/connection.enum.ts"],"sourcesContent":[],"mappings":";;;;;;AAKa,cAAA,oBAMX,EAAA,kBAAA,CAN+B,QAAA,CAAA,CAAA,MAAA,EAAA,MAAA,EAAA,MAAA,EAAA,MAAA,EAAA,MAAA,CAAA,CAAA"}
1
+ {"version":3,"file":"connection.enum.d.ts","names":[],"sources":["../../src/connection/connection.enum.ts"],"sourcesContent":[],"mappings":";;;;;;AAKa,cAAA,oBAMX,EAAA,mBAAA,CAN+B,QAAA,CAAA,CAAA,MAAA,EAAA,MAAA,EAAA,MAAA,EAAA,MAAA,EAAA,MAAA,CAAA,CAAA"}
@@ -1,103 +1,103 @@
1
- import * as _lssm_lib_schema42 from "@lssm/lib.schema";
2
- import * as _lssm_lib_contracts8 from "@lssm/lib.contracts";
1
+ import * as _lssm_lib_schema267 from "@lssm/lib.schema";
2
+ import * as _lssm_lib_contracts12 from "@lssm/lib.contracts";
3
3
 
4
4
  //#region src/connection/connection.operation.d.ts
5
5
  /**
6
6
  * Create a connection to an external system.
7
7
  */
8
- declare const CreateConnectionContract: _lssm_lib_contracts8.OperationSpec<_lssm_lib_schema42.SchemaModel<{
8
+ declare const CreateConnectionContract: _lssm_lib_contracts12.OperationSpec<_lssm_lib_schema267.SchemaModel<{
9
9
  integrationId: {
10
- type: _lssm_lib_schema42.FieldType<string, string>;
10
+ type: _lssm_lib_schema267.FieldType<string, string>;
11
11
  isOptional: false;
12
12
  };
13
13
  name: {
14
- type: _lssm_lib_schema42.FieldType<string, string>;
14
+ type: _lssm_lib_schema267.FieldType<string, string>;
15
15
  isOptional: false;
16
16
  };
17
17
  authType: {
18
- type: _lssm_lib_schema42.FieldType<string, string>;
18
+ type: _lssm_lib_schema267.FieldType<string, string>;
19
19
  isOptional: false;
20
20
  };
21
21
  credentials: {
22
- type: _lssm_lib_schema42.FieldType<unknown, unknown>;
22
+ type: _lssm_lib_schema267.FieldType<unknown, unknown>;
23
23
  isOptional: true;
24
24
  };
25
- }>, _lssm_lib_schema42.SchemaModel<{
25
+ }>, _lssm_lib_schema267.SchemaModel<{
26
26
  id: {
27
- type: _lssm_lib_schema42.FieldType<string, string>;
27
+ type: _lssm_lib_schema267.FieldType<string, string>;
28
28
  isOptional: false;
29
29
  };
30
30
  integrationId: {
31
- type: _lssm_lib_schema42.FieldType<string, string>;
31
+ type: _lssm_lib_schema267.FieldType<string, string>;
32
32
  isOptional: false;
33
33
  };
34
34
  name: {
35
- type: _lssm_lib_schema42.FieldType<string, string>;
35
+ type: _lssm_lib_schema267.FieldType<string, string>;
36
36
  isOptional: false;
37
37
  };
38
38
  status: {
39
- type: _lssm_lib_schema42.EnumType<[string, string, string, string, string]>;
39
+ type: _lssm_lib_schema267.EnumType<[string, string, string, string, string]>;
40
40
  isOptional: false;
41
41
  };
42
42
  authType: {
43
- type: _lssm_lib_schema42.FieldType<string, string>;
43
+ type: _lssm_lib_schema267.FieldType<string, string>;
44
44
  isOptional: false;
45
45
  };
46
46
  externalAccountName: {
47
- type: _lssm_lib_schema42.FieldType<string, string>;
47
+ type: _lssm_lib_schema267.FieldType<string, string>;
48
48
  isOptional: true;
49
49
  };
50
50
  connectedAt: {
51
- type: _lssm_lib_schema42.FieldType<Date, string>;
51
+ type: _lssm_lib_schema267.FieldType<Date, string>;
52
52
  isOptional: true;
53
53
  };
54
54
  lastHealthCheck: {
55
- type: _lssm_lib_schema42.FieldType<Date, string>;
55
+ type: _lssm_lib_schema267.FieldType<Date, string>;
56
56
  isOptional: true;
57
57
  };
58
58
  healthStatus: {
59
- type: _lssm_lib_schema42.FieldType<string, string>;
59
+ type: _lssm_lib_schema267.FieldType<string, string>;
60
60
  isOptional: true;
61
61
  };
62
62
  }>, {
63
63
  name: string;
64
64
  version: number;
65
65
  when: string;
66
- payload: _lssm_lib_schema42.SchemaModel<{
66
+ payload: _lssm_lib_schema267.SchemaModel<{
67
67
  id: {
68
- type: _lssm_lib_schema42.FieldType<string, string>;
68
+ type: _lssm_lib_schema267.FieldType<string, string>;
69
69
  isOptional: false;
70
70
  };
71
71
  integrationId: {
72
- type: _lssm_lib_schema42.FieldType<string, string>;
72
+ type: _lssm_lib_schema267.FieldType<string, string>;
73
73
  isOptional: false;
74
74
  };
75
75
  name: {
76
- type: _lssm_lib_schema42.FieldType<string, string>;
76
+ type: _lssm_lib_schema267.FieldType<string, string>;
77
77
  isOptional: false;
78
78
  };
79
79
  status: {
80
- type: _lssm_lib_schema42.EnumType<[string, string, string, string, string]>;
80
+ type: _lssm_lib_schema267.EnumType<[string, string, string, string, string]>;
81
81
  isOptional: false;
82
82
  };
83
83
  authType: {
84
- type: _lssm_lib_schema42.FieldType<string, string>;
84
+ type: _lssm_lib_schema267.FieldType<string, string>;
85
85
  isOptional: false;
86
86
  };
87
87
  externalAccountName: {
88
- type: _lssm_lib_schema42.FieldType<string, string>;
88
+ type: _lssm_lib_schema267.FieldType<string, string>;
89
89
  isOptional: true;
90
90
  };
91
91
  connectedAt: {
92
- type: _lssm_lib_schema42.FieldType<Date, string>;
92
+ type: _lssm_lib_schema267.FieldType<Date, string>;
93
93
  isOptional: true;
94
94
  };
95
95
  lastHealthCheck: {
96
- type: _lssm_lib_schema42.FieldType<Date, string>;
96
+ type: _lssm_lib_schema267.FieldType<Date, string>;
97
97
  isOptional: true;
98
98
  };
99
99
  healthStatus: {
100
- type: _lssm_lib_schema42.FieldType<string, string>;
100
+ type: _lssm_lib_schema267.FieldType<string, string>;
101
101
  isOptional: true;
102
102
  };
103
103
  }>;
@@ -1 +1 @@
1
- {"version":3,"file":"connection.operation.d.ts","names":[],"sources":["../../src/connection/connection.operation.ts"],"sourcesContent":[],"mappings":";;;;;;;cAWa,+CAAwB,iCAAA;EAAxB,aAAA,EAAA;IAwBX,IAAA,EAAA,kBAAA,CAAA,SAAA,CAAA,MAAA,EAAA,MAAA,CAAA;;;;sCAxBmC,CAAA,MAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,KAAA;;;;;;;;;;;;UAAA,kBAAA,CAAA;;;;;;;;;;;;qCAAA,CAAA,CAAA,MAAA,EAAA,MAAA,EAAA,MAAA,EAAA,MAAA,EAAA,MAAA,CAAA,CAAA;IAAA,UAAA,EAAA,KAAA"}
1
+ {"version":3,"file":"connection.operation.d.ts","names":[],"sources":["../../src/connection/connection.operation.ts"],"sourcesContent":[],"mappings":";;;;;;;cAWa,gDAAwB,kCAAA;EAAxB,aAAA,EAAA;IAwBX,IAAA,EAAA,mBAAA,CAAA,SAAA,CAAA,MAAA,EAAA,MAAA,CAAA;;;;uCAxBmC,CAAA,MAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,KAAA;;;;;;;;;;;;UAAA,mBAAA,CAAA;;;;;;;;;;;;sCAAA,CAAA,CAAA,MAAA,EAAA,MAAA,EAAA,MAAA,EAAA,MAAA,EAAA,MAAA,CAAA,CAAA;IAAA,UAAA,EAAA,KAAA"}
@@ -1,65 +1,65 @@
1
- import * as _lssm_lib_schema67 from "@lssm/lib.schema";
1
+ import * as _lssm_lib_schema292 from "@lssm/lib.schema";
2
2
 
3
3
  //#region src/connection/connection.schema.d.ts
4
4
  /**
5
5
  * A connection to an external system.
6
6
  */
7
- declare const ConnectionModel: _lssm_lib_schema67.SchemaModel<{
7
+ declare const ConnectionModel: _lssm_lib_schema292.SchemaModel<{
8
8
  id: {
9
- type: _lssm_lib_schema67.FieldType<string, string>;
9
+ type: _lssm_lib_schema292.FieldType<string, string>;
10
10
  isOptional: false;
11
11
  };
12
12
  integrationId: {
13
- type: _lssm_lib_schema67.FieldType<string, string>;
13
+ type: _lssm_lib_schema292.FieldType<string, string>;
14
14
  isOptional: false;
15
15
  };
16
16
  name: {
17
- type: _lssm_lib_schema67.FieldType<string, string>;
17
+ type: _lssm_lib_schema292.FieldType<string, string>;
18
18
  isOptional: false;
19
19
  };
20
20
  status: {
21
- type: _lssm_lib_schema67.EnumType<[string, string, string, string, string]>;
21
+ type: _lssm_lib_schema292.EnumType<[string, string, string, string, string]>;
22
22
  isOptional: false;
23
23
  };
24
24
  authType: {
25
- type: _lssm_lib_schema67.FieldType<string, string>;
25
+ type: _lssm_lib_schema292.FieldType<string, string>;
26
26
  isOptional: false;
27
27
  };
28
28
  externalAccountName: {
29
- type: _lssm_lib_schema67.FieldType<string, string>;
29
+ type: _lssm_lib_schema292.FieldType<string, string>;
30
30
  isOptional: true;
31
31
  };
32
32
  connectedAt: {
33
- type: _lssm_lib_schema67.FieldType<Date, string>;
33
+ type: _lssm_lib_schema292.FieldType<Date, string>;
34
34
  isOptional: true;
35
35
  };
36
36
  lastHealthCheck: {
37
- type: _lssm_lib_schema67.FieldType<Date, string>;
37
+ type: _lssm_lib_schema292.FieldType<Date, string>;
38
38
  isOptional: true;
39
39
  };
40
40
  healthStatus: {
41
- type: _lssm_lib_schema67.FieldType<string, string>;
41
+ type: _lssm_lib_schema292.FieldType<string, string>;
42
42
  isOptional: true;
43
43
  };
44
44
  }>;
45
45
  /**
46
46
  * Input for creating a connection.
47
47
  */
48
- declare const CreateConnectionInputModel: _lssm_lib_schema67.SchemaModel<{
48
+ declare const CreateConnectionInputModel: _lssm_lib_schema292.SchemaModel<{
49
49
  integrationId: {
50
- type: _lssm_lib_schema67.FieldType<string, string>;
50
+ type: _lssm_lib_schema292.FieldType<string, string>;
51
51
  isOptional: false;
52
52
  };
53
53
  name: {
54
- type: _lssm_lib_schema67.FieldType<string, string>;
54
+ type: _lssm_lib_schema292.FieldType<string, string>;
55
55
  isOptional: false;
56
56
  };
57
57
  authType: {
58
- type: _lssm_lib_schema67.FieldType<string, string>;
58
+ type: _lssm_lib_schema292.FieldType<string, string>;
59
59
  isOptional: false;
60
60
  };
61
61
  credentials: {
62
- type: _lssm_lib_schema67.FieldType<unknown, unknown>;
62
+ type: _lssm_lib_schema292.FieldType<unknown, unknown>;
63
63
  isOptional: true;
64
64
  };
65
65
  }>;
@@ -1 +1 @@
1
- {"version":3,"file":"connection.schema.d.ts","names":[],"sources":["../../src/connection/connection.schema.ts"],"sourcesContent":[],"mappings":";;;;;;AAMa,cAAA,eAmBX,qBAnB0B,WAmB1B,CAAA;EAAA,EAAA,EAAA;UAAA,kBAAA,CAAA;;;;;;;;;;;EAnB0B,MAAA,EAAA;IAwBf,IAAA,6BAWX,CAAA,CAAA,MAAA,EAAA,MAAA,EAAA,MAAA,EAAA,MAAA,EAAA,MAAA,CAAA,CAAA;IAAA,UAAA,EAAA,KAAA;;;;gBAXqC,KAAA;EAAA,CAAA;;;;;;;;;;;;;;;;;;;;;cAA1B,+CAA0B;;UAWrC,kBAAA,CAAA"}
1
+ {"version":3,"file":"connection.schema.d.ts","names":[],"sources":["../../src/connection/connection.schema.ts"],"sourcesContent":[],"mappings":";;;;;;AAMa,cAAA,eAmBX,sBAnB0B,WAmB1B,CAAA;EAAA,EAAA,EAAA;UAAA,mBAAA,CAAA;;;;;;;;;;;EAnB0B,MAAA,EAAA;IAwBf,IAAA,8BAWX,CAAA,CAAA,MAAA,EAAA,MAAA,EAAA,MAAA,EAAA,MAAA,EAAA,MAAA,CAAA,CAAA;IAAA,UAAA,EAAA,KAAA;;;;qBAXqC;EAAA,CAAA;;;;;;;;;;;;;;;;;;;;;cAA1B,gDAA0B;;UAWrC,mBAAA,CAAA"}
@@ -1,95 +1,95 @@
1
- import * as _lssm_lib_schema82 from "@lssm/lib.schema";
2
- import * as _lssm_lib_contracts9 from "@lssm/lib.contracts";
1
+ import * as _lssm_lib_schema307 from "@lssm/lib.schema";
2
+ import * as _lssm_lib_contracts13 from "@lssm/lib.contracts";
3
3
 
4
4
  //#region src/integration/integration.contracts.d.ts
5
5
  /**
6
6
  * Create a new integration.
7
7
  */
8
- declare const CreateIntegrationContract: _lssm_lib_contracts9.OperationSpec<_lssm_lib_schema82.SchemaModel<{
8
+ declare const CreateIntegrationContract: _lssm_lib_contracts13.OperationSpec<_lssm_lib_schema307.SchemaModel<{
9
9
  name: {
10
- type: _lssm_lib_schema82.FieldType<string, string>;
10
+ type: _lssm_lib_schema307.FieldType<string, string>;
11
11
  isOptional: false;
12
12
  };
13
13
  slug: {
14
- type: _lssm_lib_schema82.FieldType<string, string>;
14
+ type: _lssm_lib_schema307.FieldType<string, string>;
15
15
  isOptional: false;
16
16
  };
17
17
  description: {
18
- type: _lssm_lib_schema82.FieldType<string, string>;
18
+ type: _lssm_lib_schema307.FieldType<string, string>;
19
19
  isOptional: true;
20
20
  };
21
21
  provider: {
22
- type: _lssm_lib_schema82.FieldType<string, string>;
22
+ type: _lssm_lib_schema307.FieldType<string, string>;
23
23
  isOptional: false;
24
24
  };
25
25
  config: {
26
- type: _lssm_lib_schema82.FieldType<unknown, unknown>;
26
+ type: _lssm_lib_schema307.FieldType<unknown, unknown>;
27
27
  isOptional: true;
28
28
  };
29
29
  featureFlagKey: {
30
- type: _lssm_lib_schema82.FieldType<string, string>;
30
+ type: _lssm_lib_schema307.FieldType<string, string>;
31
31
  isOptional: true;
32
32
  };
33
- }>, _lssm_lib_schema82.SchemaModel<{
33
+ }>, _lssm_lib_schema307.SchemaModel<{
34
34
  id: {
35
- type: _lssm_lib_schema82.FieldType<string, string>;
35
+ type: _lssm_lib_schema307.FieldType<string, string>;
36
36
  isOptional: false;
37
37
  };
38
38
  name: {
39
- type: _lssm_lib_schema82.FieldType<string, string>;
39
+ type: _lssm_lib_schema307.FieldType<string, string>;
40
40
  isOptional: false;
41
41
  };
42
42
  slug: {
43
- type: _lssm_lib_schema82.FieldType<string, string>;
43
+ type: _lssm_lib_schema307.FieldType<string, string>;
44
44
  isOptional: false;
45
45
  };
46
46
  description: {
47
- type: _lssm_lib_schema82.FieldType<string, string>;
47
+ type: _lssm_lib_schema307.FieldType<string, string>;
48
48
  isOptional: true;
49
49
  };
50
50
  provider: {
51
- type: _lssm_lib_schema82.FieldType<string, string>;
51
+ type: _lssm_lib_schema307.FieldType<string, string>;
52
52
  isOptional: false;
53
53
  };
54
54
  status: {
55
- type: _lssm_lib_schema82.EnumType<[string, string, string, string, string]>;
55
+ type: _lssm_lib_schema307.EnumType<[string, string, string, string, string]>;
56
56
  isOptional: false;
57
57
  };
58
58
  createdAt: {
59
- type: _lssm_lib_schema82.FieldType<Date, string>;
59
+ type: _lssm_lib_schema307.FieldType<Date, string>;
60
60
  isOptional: false;
61
61
  };
62
62
  }>, {
63
63
  name: string;
64
64
  version: number;
65
65
  when: string;
66
- payload: _lssm_lib_schema82.SchemaModel<{
66
+ payload: _lssm_lib_schema307.SchemaModel<{
67
67
  id: {
68
- type: _lssm_lib_schema82.FieldType<string, string>;
68
+ type: _lssm_lib_schema307.FieldType<string, string>;
69
69
  isOptional: false;
70
70
  };
71
71
  name: {
72
- type: _lssm_lib_schema82.FieldType<string, string>;
72
+ type: _lssm_lib_schema307.FieldType<string, string>;
73
73
  isOptional: false;
74
74
  };
75
75
  slug: {
76
- type: _lssm_lib_schema82.FieldType<string, string>;
76
+ type: _lssm_lib_schema307.FieldType<string, string>;
77
77
  isOptional: false;
78
78
  };
79
79
  description: {
80
- type: _lssm_lib_schema82.FieldType<string, string>;
80
+ type: _lssm_lib_schema307.FieldType<string, string>;
81
81
  isOptional: true;
82
82
  };
83
83
  provider: {
84
- type: _lssm_lib_schema82.FieldType<string, string>;
84
+ type: _lssm_lib_schema307.FieldType<string, string>;
85
85
  isOptional: false;
86
86
  };
87
87
  status: {
88
- type: _lssm_lib_schema82.EnumType<[string, string, string, string, string]>;
88
+ type: _lssm_lib_schema307.EnumType<[string, string, string, string, string]>;
89
89
  isOptional: false;
90
90
  };
91
91
  createdAt: {
92
- type: _lssm_lib_schema82.FieldType<Date, string>;
92
+ type: _lssm_lib_schema307.FieldType<Date, string>;
93
93
  isOptional: false;
94
94
  };
95
95
  }>;
@@ -1 +1 @@
1
- {"version":3,"file":"integration.contracts.d.ts","names":[],"sources":["../../src/integration/integration.contracts.ts"],"sourcesContent":[],"mappings":";;;;;;;cAWa,gDAAyB,iCAAA;EAAzB,IAAA,EAAA;IAwBX,IAAA,EAAA,kBAAA,CAAA,SAAA,CAAA,MAAA,EAAA,MAAA,CAAA;;;;;;;EAxBoC,WAAA,EAAA;;;;;;;;;;;;;;;;;;UAAA,kBAAA,CAAA,SAAA,CAAA,MAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,KAAA"}
1
+ {"version":3,"file":"integration.contracts.d.ts","names":[],"sources":["../../src/integration/integration.contracts.ts"],"sourcesContent":[],"mappings":";;;;;;;cAWa,iDAAyB,kCAAA;EAAzB,IAAA,EAAA;IAwBX,IAAA,EAAA,mBAAA,CAAA,SAAA,CAAA,MAAA,EAAA,MAAA,CAAA;;;;;;;EAxBoC,WAAA,EAAA;;;;;;;;;;;;;;;;;;UAAA,mBAAA,CAAA,SAAA,CAAA,MAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,KAAA"}
@@ -1,65 +1,65 @@
1
- import * as _lssm_lib_schema105 from "@lssm/lib.schema";
1
+ import * as _lssm_lib_schema125 from "@lssm/lib.schema";
2
2
 
3
3
  //#region src/integration/integration.schema.d.ts
4
4
  /**
5
5
  * An integration with an external system.
6
6
  */
7
- declare const IntegrationModel: _lssm_lib_schema105.SchemaModel<{
7
+ declare const IntegrationModel: _lssm_lib_schema125.SchemaModel<{
8
8
  id: {
9
- type: _lssm_lib_schema105.FieldType<string, string>;
9
+ type: _lssm_lib_schema125.FieldType<string, string>;
10
10
  isOptional: false;
11
11
  };
12
12
  name: {
13
- type: _lssm_lib_schema105.FieldType<string, string>;
13
+ type: _lssm_lib_schema125.FieldType<string, string>;
14
14
  isOptional: false;
15
15
  };
16
16
  slug: {
17
- type: _lssm_lib_schema105.FieldType<string, string>;
17
+ type: _lssm_lib_schema125.FieldType<string, string>;
18
18
  isOptional: false;
19
19
  };
20
20
  description: {
21
- type: _lssm_lib_schema105.FieldType<string, string>;
21
+ type: _lssm_lib_schema125.FieldType<string, string>;
22
22
  isOptional: true;
23
23
  };
24
24
  provider: {
25
- type: _lssm_lib_schema105.FieldType<string, string>;
25
+ type: _lssm_lib_schema125.FieldType<string, string>;
26
26
  isOptional: false;
27
27
  };
28
28
  status: {
29
- type: _lssm_lib_schema105.EnumType<[string, string, string, string, string]>;
29
+ type: _lssm_lib_schema125.EnumType<[string, string, string, string, string]>;
30
30
  isOptional: false;
31
31
  };
32
32
  createdAt: {
33
- type: _lssm_lib_schema105.FieldType<Date, string>;
33
+ type: _lssm_lib_schema125.FieldType<Date, string>;
34
34
  isOptional: false;
35
35
  };
36
36
  }>;
37
37
  /**
38
38
  * Input for creating an integration.
39
39
  */
40
- declare const CreateIntegrationInputModel: _lssm_lib_schema105.SchemaModel<{
40
+ declare const CreateIntegrationInputModel: _lssm_lib_schema125.SchemaModel<{
41
41
  name: {
42
- type: _lssm_lib_schema105.FieldType<string, string>;
42
+ type: _lssm_lib_schema125.FieldType<string, string>;
43
43
  isOptional: false;
44
44
  };
45
45
  slug: {
46
- type: _lssm_lib_schema105.FieldType<string, string>;
46
+ type: _lssm_lib_schema125.FieldType<string, string>;
47
47
  isOptional: false;
48
48
  };
49
49
  description: {
50
- type: _lssm_lib_schema105.FieldType<string, string>;
50
+ type: _lssm_lib_schema125.FieldType<string, string>;
51
51
  isOptional: true;
52
52
  };
53
53
  provider: {
54
- type: _lssm_lib_schema105.FieldType<string, string>;
54
+ type: _lssm_lib_schema125.FieldType<string, string>;
55
55
  isOptional: false;
56
56
  };
57
57
  config: {
58
- type: _lssm_lib_schema105.FieldType<unknown, unknown>;
58
+ type: _lssm_lib_schema125.FieldType<unknown, unknown>;
59
59
  isOptional: true;
60
60
  };
61
61
  featureFlagKey: {
62
- type: _lssm_lib_schema105.FieldType<string, string>;
62
+ type: _lssm_lib_schema125.FieldType<string, string>;
63
63
  isOptional: true;
64
64
  };
65
65
  }>;
@@ -0,0 +1,6 @@
1
+ //#region ../../libs/contracts/dist/_virtual/rolldown_runtime.js
2
+ var __esmMin = (fn, res) => () => (fn && (res = fn(fn = 0)), res);
3
+
4
+ //#endregion
5
+ export { __esmMin };
6
+ //# sourceMappingURL=rolldown_runtime.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rolldown_runtime.js","names":[],"sources":["../../../../../../../libs/contracts/dist/_virtual/rolldown_runtime.js"],"sourcesContent":["//#region rolldown:runtime\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __esmMin = (fn, res) => () => (fn && (res = fn(fn = 0)), res);\nvar __export = (all, symbols) => {\n\tlet target = {};\n\tfor (var name in all) {\n\t\t__defProp(target, name, {\n\t\t\tget: all[name],\n\t\t\tenumerable: true\n\t\t});\n\t}\n\tif (symbols) {\n\t\t__defProp(target, Symbol.toStringTag, { value: \"Module\" });\n\t}\n\treturn target;\n};\nvar __copyProps = (to, from, except, desc) => {\n\tif (from && typeof from === \"object\" || typeof from === \"function\") {\n\t\tfor (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {\n\t\t\tkey = keys[i];\n\t\t\tif (!__hasOwnProp.call(to, key) && key !== except) {\n\t\t\t\t__defProp(to, key, {\n\t\t\t\t\tget: ((k) => from[k]).bind(null, key),\n\t\t\t\t\tenumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable\n\t\t\t\t});\n\t\t\t}\n\t\t}\n\t}\n\treturn to;\n};\nvar __toCommonJS = (mod) => __hasOwnProp.call(mod, \"module.exports\") ? mod[\"module.exports\"] : __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n//#endregion\nexport { __esmMin, __export, __toCommonJS };"],"mappings":";AAKA,IAAI,YAAY,IAAI,eAAe,OAAO,MAAM,GAAG,KAAK,EAAE,GAAG"}
@@ -1,3 +1,4 @@
1
+ import "../../forms.js";
1
2
  import "react";
2
3
  import "react-hook-form";
3
4
  import "@hookform/resolvers/zod";
@@ -0,0 +1 @@
1
+ import "./registry-utils.js";
@@ -0,0 +1 @@
1
+ import "./registry-utils.js";
@@ -0,0 +1 @@
1
+ import "./registry-utils.js";
@@ -1,5 +1,9 @@
1
+ import { GroupingStrategies, init_registry_utils } from "./registry-utils.js";
2
+ import "./data-views.js";
1
3
  import "./schema/dist/index.js";
2
4
  import { defineEvent } from "./events.js";
5
+ import "./features.js";
6
+ import "./forms.js";
3
7
  import "./presentations.v2.js";
4
8
  import "./client/react/feature-render.js";
5
9
  import "./client/react/form-render.js";
@@ -64,6 +68,7 @@ import "./regenerator/service.js";
64
68
  import "./regenerator/index.js";
65
69
  import { FolderConventionsSchema, OpenApiConfigSchema, OpenApiExportConfigSchema, OpenApiSourceConfigSchema } from "./workspace-config/contractsrc-schema.js";
66
70
  import "./workspace-config/index.js";
71
+ import "./workflow/spec.js";
67
72
  import "./workflow/runner.js";
68
73
  import "./workflow/index.js";
69
74
  import { techContractsDocs } from "./docs/tech-contracts.docs.js";
@@ -72,3 +77,9 @@ import "./docs/index.js";
72
77
  import "./llm/exporters.js";
73
78
  import "./llm/prompts.js";
74
79
  import "./llm/index.js";
80
+
81
+ //#region ../../libs/contracts/dist/index.js
82
+ init_registry_utils();
83
+
84
+ //#endregion
85
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","names":[],"sources":["../../../../../../libs/contracts/dist/index.js"],"sourcesContent":["import { CapabilityRegistry, capabilityKey, defineCapability } from \"./capabilities.js\";\nimport { GroupingStrategies, filterBy, getUniqueDomains, getUniqueOwners, getUniqueTags, groupBy, groupByMultiple, groupByToArray, init_registry_utils } from \"./registry-utils.js\";\nimport { DataViewRegistry, dataViewKey } from \"./data-views.js\";\nimport { K5 } from \"./schema/dist/index.js\";\nimport { defineEvent, eventKey } from \"./events.js\";\nimport { FeatureRegistry, installFeature, validateFeatureTargetsV2 } from \"./features.js\";\nimport { FormRegistry, buildZodWithRelations, defineFormSpec, evalPredicate } from \"./forms.js\";\nimport { schemaToMarkdown, schemaToMarkdownDetail, schemaToMarkdownList, schemaToMarkdownSummary, schemaToMarkdownTable } from \"./schema-to-markdown.js\";\nimport { TransformEngine, createDefaultTransformEngine, registerBasicValidation, registerDefaultReactRenderer, registerReactToMarkdownRenderer } from \"./presentations.v2.js\";\nimport { createEngineWithDefaults, createFeatureModule, registerFeature, renderFeaturePresentation } from \"./client/react/feature-render.js\";\nimport { createFormRenderer } from \"./client/react/form-render.js\";\nimport { shadcnDriver } from \"./client/react/drivers/shadcn.js\";\nimport { rnReusablesDriver } from \"./client/react/drivers/rn-reusables.js\";\nimport \"./client/index.js\";\nimport { defaultGqlField, defaultMcpTool, defaultRestPath, jsonSchemaForSpec } from \"./jsonschema.js\";\nimport { registerContractsOnBuilder } from \"./server/graphql-pothos.js\";\nimport { PresentationRegistry, jsonSchemaForPresentation } from \"./presentations.js\";\nimport { createMcpServer } from \"./server/mcp/createMcpServer.js\";\nimport { createFetchHandler } from \"./server/rest-generic.js\";\nimport { elysiaPlugin } from \"./server/rest-elysia.js\";\nimport { expressRouter } from \"./server/rest-express.js\";\nimport { makeNextAppHandler } from \"./server/rest-next-app.js\";\nimport { makeNextPagesHandler } from \"./server/rest-next-pages.js\";\nimport \"./server/index.js\";\nimport { defineCommand, defineQuery, isEmitDeclRef } from \"./operation.js\";\nimport { docBlockToPresentationSpec, docBlockToPresentationV2, docBlocksToPresentationRoutes, docBlocksToPresentationSpecs, mapDocRoutes } from \"./docs/presentations.js\";\nimport { DocRegistry, defaultDocRegistry, docId, listRegisteredDocBlocks, registerDocBlocks } from \"./docs/registry.js\";\nimport { OperationSpecRegistry, opKey } from \"./registry.js\";\nimport { Owners, OwnersEnum, StabilityEnum, Tags, TagsEnum } from \"./ownership.js\";\nimport { ContractRegistryFileSchema, ContractRegistryItemSchema, ContractRegistryItemTypeSchema, ContractRegistryManifestSchema } from \"./contract-registry/schemas.js\";\nimport \"./contract-registry/index.js\";\nimport { installOp, makeEmit, op } from \"./install.js\";\nimport { openApiForRegistry } from \"./openapi.js\";\nimport { definePrompt } from \"./prompt.js\";\nimport { PromptRegistry } from \"./promptRegistry.js\";\nimport { ResourceRegistry, defineResourceTemplate, isResourceRef, resourceRef } from \"./resources.js\";\nimport { CompleteOnboardingBaseInput, CompleteOnboardingBaseOutput, CompleteOnboardingBaseSpec, DeleteOnboardingDraftBaseSpec, DeleteOnboardingDraftOutput, GetOnboardingDraftBaseSpec, GetOnboardingDraftOutput, SaveOnboardingDraftBaseSpec, SaveOnboardingDraftInput, SaveOnboardingDraftOutput } from \"./onboarding-base.js\";\nimport { openBankingAccountsReadCapability, openBankingBalancesReadCapability, openBankingTransactionsReadCapability, registerOpenBankingCapabilities } from \"./capabilities/openbanking.js\";\nimport { PolicyRegistry, makePolicyKey } from \"./policy/spec.js\";\nimport { PolicyEngine } from \"./policy/engine.js\";\nimport { OPAPolicyAdapter, buildOPAInput } from \"./policy/opa-adapter.js\";\nimport { ThemeRegistry, makeThemeRef } from \"./themes.js\";\nimport { MigrationRegistry } from \"./migrations.js\";\nimport { TelemetryRegistry, makeTelemetryKey } from \"./telemetry/spec.js\";\nimport { TelemetryTracker } from \"./telemetry/tracker.js\";\nimport { TelemetryAnomalyMonitor } from \"./telemetry/anomaly.js\";\nimport \"./telemetry/index.js\";\nimport { TestRegistry, makeTestKey } from \"./tests/spec.js\";\nimport { TestRunner } from \"./tests/runner.js\";\nimport \"./tests/index.js\";\nimport { ExperimentRegistry, makeExperimentKey } from \"./experiments/spec.js\";\nimport { ExperimentEvaluator } from \"./experiments/evaluator.js\";\nimport { AppBlueprintRegistry, makeAppBlueprintKey } from \"./app-config/spec.js\";\nimport { composeAppConfig, resolveAppConfig } from \"./app-config/runtime.js\";\nimport { IntegrationSpecRegistry, makeIntegrationSpecKey } from \"./integrations/spec.js\";\nimport { registerStripeIntegration, stripeIntegrationSpec } from \"./integrations/providers/stripe.js\";\nimport { postmarkIntegrationSpec, registerPostmarkIntegration } from \"./integrations/providers/postmark.js\";\nimport { qdrantIntegrationSpec, registerQdrantIntegration } from \"./integrations/providers/qdrant.js\";\nimport { mistralIntegrationSpec, registerMistralIntegration } from \"./integrations/providers/mistral.js\";\nimport { elevenLabsIntegrationSpec, registerElevenLabsIntegration } from \"./integrations/providers/elevenlabs.js\";\nimport { gmailIntegrationSpec, registerGmailIntegration } from \"./integrations/providers/gmail.js\";\nimport { googleCalendarIntegrationSpec, registerGoogleCalendarIntegration } from \"./integrations/providers/google-calendar.js\";\nimport { registerTwilioSmsIntegration, twilioSmsIntegrationSpec } from \"./integrations/providers/twilio-sms.js\";\nimport { gcsStorageIntegrationSpec, registerGcsStorageIntegration } from \"./integrations/providers/gcs-storage.js\";\nimport { powensIntegrationSpec, registerPowensIntegration } from \"./integrations/providers/powens.js\";\nimport { createDefaultIntegrationSpecRegistry } from \"./integrations/providers/registry.js\";\nimport { AccountBalanceRecord, BankAccountRecord, BankTransactionRecord } from \"./integrations/openbanking/models.js\";\nimport { OPENBANKING_PII_FIELDS, OPENBANKING_TELEMETRY_EVENTS, redactOpenBankingTelemetryPayload } from \"./integrations/openbanking/telemetry.js\";\nimport { OpenBankingGetAccount, OpenBankingListAccounts, OpenBankingSyncAccounts } from \"./integrations/openbanking/contracts/accounts.js\";\nimport { OpenBankingListTransactions, OpenBankingSyncTransactions } from \"./integrations/openbanking/contracts/transactions.js\";\nimport { OpenBankingGetBalances, OpenBankingRefreshBalances } from \"./integrations/openbanking/contracts/balances.js\";\nimport { OpenBankingFeature } from \"./integrations/openbanking/openbanking.feature.js\";\nimport { registerOpenBankingContracts } from \"./integrations/openbanking/contracts/index.js\";\nimport { assertPrimaryOpenBankingReady, ensurePrimaryOpenBankingIntegration } from \"./integrations/openbanking/guards.js\";\nimport \"./integrations/index.js\";\nimport { KnowledgeSpaceRegistry, makeKnowledgeSpaceKey } from \"./knowledge/spec.js\";\nimport { productCanonKnowledgeSpace, registerProductCanonKnowledgeSpace } from \"./knowledge/spaces/product-canon.js\";\nimport { registerSupportFaqKnowledgeSpace, supportFaqKnowledgeSpace } from \"./knowledge/spaces/support-faq.js\";\nimport { emailThreadsKnowledgeSpace, registerEmailThreadsKnowledgeSpace } from \"./knowledge/spaces/email-threads.js\";\nimport { registerUploadedDocsKnowledgeSpace, uploadedDocsKnowledgeSpace } from \"./knowledge/spaces/uploaded-docs.js\";\nimport { financialDocsKnowledgeSpace, registerFinancialDocsKnowledgeSpace } from \"./knowledge/spaces/financial-docs.js\";\nimport { financialOverviewKnowledgeSpace, registerFinancialOverviewKnowledgeSpace } from \"./knowledge/spaces/financial-overview.js\";\nimport \"./knowledge/index.js\";\nimport { CreateIntegrationConnection, DeleteIntegrationConnection, ListIntegrationConnections, TestIntegrationConnection, UpdateIntegrationConnection, integrationContracts, registerIntegrationContracts } from \"./integrations/contracts.js\";\nimport { CreateKnowledgeSource, DeleteKnowledgeSource, ListKnowledgeSources, TriggerKnowledgeSourceSync, UpdateKnowledgeSource, knowledgeContracts, registerKnowledgeContracts } from \"./knowledge/contracts.js\";\nimport { behaviorToEnvelope, errorToEnvelope, telemetryToEnvelope } from \"./regenerator/utils.js\";\nimport { RegeneratorService } from \"./regenerator/service.js\";\nimport { ProposalExecutor } from \"./regenerator/executor.js\";\nimport { ExecutorProposalSink } from \"./regenerator/sinks.js\";\nimport \"./regenerator/index.js\";\nimport { ContractsrcSchema, DEFAULT_CONTRACTSRC, FolderConventionsSchema, OpenApiConfigSchema, OpenApiExportConfigSchema, OpenApiSourceConfigSchema } from \"./workspace-config/contractsrc-schema.js\";\nimport \"./workspace-config/index.js\";\nimport { WorkflowRegistry } from \"./workflow/spec.js\";\nimport { WorkflowValidationError, assertWorkflowSpecValid, validateWorkflowSpec } from \"./workflow/validation.js\";\nimport { evaluateExpression } from \"./workflow/expression.js\";\nimport { WorkflowPreFlightError, WorkflowRunner } from \"./workflow/runner.js\";\nimport { InMemoryStateStore } from \"./workflow/adapters/memory-store.js\";\nimport { PrismaStateStore } from \"./workflow/adapters/db-adapter.js\";\nimport { createFileStateStore } from \"./workflow/adapters/file-adapter.js\";\nimport \"./workflow/index.js\";\nimport { techContractsDocs } from \"./docs/tech-contracts.docs.js\";\nimport { metaDocs } from \"./docs/meta.docs.js\";\nimport \"./docs/index.js\";\nimport { docBlockToMarkdown, eventToMarkdown, exportFeature, exportSpec, featureToMarkdown, presentationToMarkdown, specToAgentPrompt, specToContextMarkdown, specToFullMarkdown } from \"./llm/exporters.js\";\nimport { AGENT_SYSTEM_PROMPTS, formatPlanForAgent, generateFixViolationsPrompt, generateImplementationPlan, generateImplementationPrompt, generateReviewPrompt, generateTestPrompt, generateVerificationPrompt } from \"./llm/prompts.js\";\nimport \"./llm/index.js\";\n\n//#region src/index.ts\ninit_registry_utils();\n\n//#endregion\nexport { AGENT_SYSTEM_PROMPTS, AccountBalanceRecord, AppBlueprintRegistry, BankAccountRecord, BankTransactionRecord, CapabilityRegistry, CompleteOnboardingBaseInput, CompleteOnboardingBaseOutput, CompleteOnboardingBaseSpec, ContractRegistryFileSchema, ContractRegistryItemSchema, ContractRegistryItemTypeSchema, ContractRegistryManifestSchema, ContractsrcSchema, CreateIntegrationConnection, CreateKnowledgeSource, DEFAULT_CONTRACTSRC, DataViewRegistry, DeleteIntegrationConnection, DeleteKnowledgeSource, DeleteOnboardingDraftBaseSpec, DeleteOnboardingDraftOutput, DocRegistry, ExecutorProposalSink, ExperimentEvaluator, ExperimentRegistry, FeatureRegistry, FolderConventionsSchema, FormRegistry, GetOnboardingDraftBaseSpec, GetOnboardingDraftOutput, GroupingStrategies, InMemoryStateStore, IntegrationSpecRegistry, KnowledgeSpaceRegistry, ListIntegrationConnections, ListKnowledgeSources, MigrationRegistry, OPAPolicyAdapter, OPENBANKING_PII_FIELDS, OPENBANKING_TELEMETRY_EVENTS, OpenApiConfigSchema, OpenApiExportConfigSchema, OpenApiSourceConfigSchema, OpenBankingFeature, OpenBankingGetAccount, OpenBankingGetBalances, OpenBankingListAccounts, OpenBankingListTransactions, OpenBankingRefreshBalances, OpenBankingSyncAccounts, OpenBankingSyncTransactions, OperationSpecRegistry, Owners, OwnersEnum, PolicyEngine, PolicyRegistry, PresentationRegistry, PrismaStateStore, PromptRegistry, ProposalExecutor, RegeneratorService, ResourceRegistry, SaveOnboardingDraftBaseSpec, SaveOnboardingDraftInput, SaveOnboardingDraftOutput, StabilityEnum, Tags, TagsEnum, TelemetryAnomalyMonitor, TelemetryRegistry, TelemetryTracker, TestIntegrationConnection, TestRegistry, TestRunner, ThemeRegistry, TransformEngine, TriggerKnowledgeSourceSync, UpdateIntegrationConnection, UpdateKnowledgeSource, WorkflowPreFlightError, WorkflowRegistry, WorkflowRunner, WorkflowValidationError, assertPrimaryOpenBankingReady, assertWorkflowSpecValid, behaviorToEnvelope, buildOPAInput, buildZodWithRelations, capabilityKey, composeAppConfig, createDefaultIntegrationSpecRegistry, createDefaultTransformEngine, createEngineWithDefaults, createFeatureModule, createFetchHandler, createFileStateStore, createFormRenderer, createMcpServer, dataViewKey, defaultDocRegistry, defaultGqlField, defaultMcpTool, defaultRestPath, defineCapability, defineCommand, defineEvent, defineFormSpec, definePrompt, defineQuery, defineResourceTemplate, K5 as defineSchemaModel, docBlockToMarkdown, docBlockToPresentationSpec, docBlockToPresentationV2, docBlocksToPresentationRoutes, docBlocksToPresentationSpecs, docId, elevenLabsIntegrationSpec, elysiaPlugin, emailThreadsKnowledgeSpace, ensurePrimaryOpenBankingIntegration, errorToEnvelope, evalPredicate, evaluateExpression, eventKey, eventToMarkdown, exportFeature, exportSpec, expressRouter, featureToMarkdown, filterBy, financialDocsKnowledgeSpace, financialOverviewKnowledgeSpace, formatPlanForAgent, gcsStorageIntegrationSpec, generateFixViolationsPrompt, generateImplementationPlan, generateImplementationPrompt, generateReviewPrompt, generateTestPrompt, generateVerificationPrompt, getUniqueDomains, getUniqueOwners, getUniqueTags, gmailIntegrationSpec, googleCalendarIntegrationSpec, groupBy, groupByMultiple, groupByToArray, installFeature, installOp, integrationContracts, isEmitDeclRef, isResourceRef, jsonSchemaForPresentation, jsonSchemaForSpec, knowledgeContracts, listRegisteredDocBlocks, makeAppBlueprintKey, makeEmit, makeExperimentKey, makeIntegrationSpecKey, makeKnowledgeSpaceKey, makeNextAppHandler, makeNextPagesHandler, makePolicyKey, makeTelemetryKey, makeTestKey, makeThemeRef, mapDocRoutes, metaDocs, mistralIntegrationSpec, op, opKey, openApiForRegistry, openBankingAccountsReadCapability, openBankingBalancesReadCapability, openBankingTransactionsReadCapability, postmarkIntegrationSpec, powensIntegrationSpec, presentationToMarkdown, productCanonKnowledgeSpace, qdrantIntegrationSpec, redactOpenBankingTelemetryPayload, registerBasicValidation, registerContractsOnBuilder, registerDefaultReactRenderer, registerDocBlocks, registerElevenLabsIntegration, registerEmailThreadsKnowledgeSpace, registerFeature, registerFinancialDocsKnowledgeSpace, registerFinancialOverviewKnowledgeSpace, registerGcsStorageIntegration, registerGmailIntegration, registerGoogleCalendarIntegration, registerIntegrationContracts, registerKnowledgeContracts, registerMistralIntegration, registerOpenBankingCapabilities, registerOpenBankingContracts, registerPostmarkIntegration, registerPowensIntegration, registerProductCanonKnowledgeSpace, registerQdrantIntegration, registerReactToMarkdownRenderer, registerStripeIntegration, registerSupportFaqKnowledgeSpace, registerTwilioSmsIntegration, registerUploadedDocsKnowledgeSpace, renderFeaturePresentation, resolveAppConfig, resourceRef, rnReusablesDriver, schemaToMarkdown, schemaToMarkdownDetail, schemaToMarkdownList, schemaToMarkdownSummary, schemaToMarkdownTable, shadcnDriver, specToAgentPrompt, specToContextMarkdown, specToFullMarkdown, stripeIntegrationSpec, supportFaqKnowledgeSpace, techContractsDocs, telemetryToEnvelope, twilioSmsIntegrationSpec, uploadedDocsKnowledgeSpace, validateFeatureTargetsV2, validateWorkflowSpec };"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4GA,qBAAqB"}
@@ -1 +1,2 @@
1
+ import "./registry-utils.js";
1
2
  import z from "zod";
@@ -0,0 +1,24 @@
1
+ import { __esmMin } from "./_virtual/rolldown_runtime.js";
2
+
3
+ //#region ../../libs/contracts/dist/registry-utils.js
4
+ var GroupingStrategies;
5
+ var init_registry_utils = __esmMin(() => {
6
+ GroupingStrategies = {
7
+ byTag: (item) => item.meta.tags?.[0] ?? "untagged",
8
+ byAllTags: (item) => item.meta.tags?.length ? item.meta.tags : ["untagged"],
9
+ byOwner: (item) => item.meta.owners?.[0] ?? "unowned",
10
+ byDomain: (item) => {
11
+ return (item.meta.name ?? item.meta.key ?? "").split(".")[0] ?? "default";
12
+ },
13
+ byStability: (item) => item.meta.stability ?? "stable",
14
+ byUrlPath: (level) => (item) => {
15
+ if (!item.path) return "root";
16
+ return item.path.split("/").filter(Boolean).slice(0, level).join("/") || "root";
17
+ }
18
+ };
19
+ });
20
+ init_registry_utils();
21
+
22
+ //#endregion
23
+ export { GroupingStrategies, init_registry_utils };
24
+ //# sourceMappingURL=registry-utils.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"registry-utils.js","names":[],"sources":["../../../../../../libs/contracts/dist/registry-utils.js"],"sourcesContent":["import { __esmMin, __export } from \"./_virtual/rolldown_runtime.js\";\n\n//#region src/registry-utils.ts\nvar registry_utils_exports = /* @__PURE__ */ __export({\n\tGroupingStrategies: () => GroupingStrategies,\n\tfilterBy: () => filterBy,\n\tgetUniqueDomains: () => getUniqueDomains,\n\tgetUniqueOwners: () => getUniqueOwners,\n\tgetUniqueTags: () => getUniqueTags,\n\tgroupBy: () => groupBy,\n\tgroupByMultiple: () => groupByMultiple,\n\tgroupByToArray: () => groupByToArray\n});\n/**\n* Filter items by criteria.\n* All criteria are combined with AND logic.\n*/\nfunction filterBy(items, filter) {\n\treturn items.filter((item) => {\n\t\tif (filter.tags?.length) {\n\t\t\tif (!filter.tags.some((tag) => item.meta.tags?.includes(tag))) return false;\n\t\t}\n\t\tif (filter.owners?.length) {\n\t\t\tif (!filter.owners.some((owner) => item.meta.owners?.includes(owner))) return false;\n\t\t}\n\t\tif (filter.stability?.length) {\n\t\t\tif (!filter.stability.includes(item.meta.stability ?? \"stable\")) return false;\n\t\t}\n\t\tif (filter.domain) {\n\t\t\tif (GroupingStrategies.byDomain(item) !== filter.domain) return false;\n\t\t}\n\t\tif (filter.namePattern) {\n\t\t\tconst name = item.meta.name ?? item.meta.key ?? \"\";\n\t\t\tconst pattern = filter.namePattern.replace(/\\*/g, \".*\").replace(/\\?/g, \".\");\n\t\t\tif (!new RegExp(`^${pattern}$`, \"i\").test(name)) return false;\n\t\t}\n\t\treturn true;\n\t});\n}\n/**\n* Group items by key function.\n*/\nfunction groupBy(items, keyFn) {\n\tconst groups = /* @__PURE__ */ new Map();\n\tfor (const item of items) {\n\t\tconst key = keyFn(item);\n\t\tconst existing = groups.get(key);\n\t\tif (existing) existing.push(item);\n\t\telse groups.set(key, [item]);\n\t}\n\treturn groups;\n}\n/**\n* Group items by key function, returning array format.\n*/\nfunction groupByToArray(items, keyFn) {\n\tconst map = groupBy(items, keyFn);\n\treturn Array.from(map.entries()).map(([key, items$1]) => ({\n\t\tkey,\n\t\titems: items$1\n\t}));\n}\n/**\n* Group items where one item can belong to multiple groups.\n* Useful for byAllTags grouping.\n*/\nfunction groupByMultiple(items, keysFn) {\n\tconst groups = /* @__PURE__ */ new Map();\n\tfor (const item of items) {\n\t\tconst keys = keysFn(item);\n\t\tfor (const key of keys) {\n\t\t\tconst existing = groups.get(key);\n\t\t\tif (existing) existing.push(item);\n\t\t\telse groups.set(key, [item]);\n\t\t}\n\t}\n\treturn groups;\n}\n/**\n* Get unique tags from a collection of items.\n*/\nfunction getUniqueTags(items) {\n\tconst tags = /* @__PURE__ */ new Set();\n\tfor (const item of items) for (const tag of item.meta.tags ?? []) tags.add(tag);\n\treturn Array.from(tags).sort();\n}\n/**\n* Get unique owners from a collection of items.\n*/\nfunction getUniqueOwners(items) {\n\tconst owners = /* @__PURE__ */ new Set();\n\tfor (const item of items) for (const owner of item.meta.owners ?? []) owners.add(owner);\n\treturn Array.from(owners).sort();\n}\n/**\n* Get unique domains from a collection of items.\n*/\nfunction getUniqueDomains(items) {\n\tconst domains = /* @__PURE__ */ new Set();\n\tfor (const item of items) domains.add(GroupingStrategies.byDomain(item));\n\treturn Array.from(domains).sort();\n}\nvar GroupingStrategies;\nvar init_registry_utils = __esmMin(() => {\n\tGroupingStrategies = {\n\t\tbyTag: (item) => item.meta.tags?.[0] ?? \"untagged\",\n\t\tbyAllTags: (item) => item.meta.tags?.length ? item.meta.tags : [\"untagged\"],\n\t\tbyOwner: (item) => item.meta.owners?.[0] ?? \"unowned\",\n\t\tbyDomain: (item) => {\n\t\t\treturn (item.meta.name ?? item.meta.key ?? \"\").split(\".\")[0] ?? \"default\";\n\t\t},\n\t\tbyStability: (item) => item.meta.stability ?? \"stable\",\n\t\tbyUrlPath: (level) => (item) => {\n\t\t\tif (!item.path) return \"root\";\n\t\t\treturn item.path.split(\"/\").filter(Boolean).slice(0, level).join(\"/\") || \"root\";\n\t\t}\n\t};\n});\n\n//#endregion\ninit_registry_utils();\nexport { GroupingStrategies, filterBy, getUniqueDomains, getUniqueOwners, getUniqueTags, groupBy, groupByMultiple, groupByToArray, init_registry_utils, registry_utils_exports };"],"mappings":";;;AAsGA,IAAI;AACJ,IAAI,sBAAsB,eAAe;AACxC,sBAAqB;EACpB,QAAQ,SAAS,KAAK,KAAK,OAAO,MAAM;EACxC,YAAY,SAAS,KAAK,KAAK,MAAM,SAAS,KAAK,KAAK,OAAO,CAAC,WAAW;EAC3E,UAAU,SAAS,KAAK,KAAK,SAAS,MAAM;EAC5C,WAAW,SAAS;AACnB,WAAQ,KAAK,KAAK,QAAQ,KAAK,KAAK,OAAO,IAAI,MAAM,IAAI,CAAC,MAAM;;EAEjE,cAAc,SAAS,KAAK,KAAK,aAAa;EAC9C,YAAY,WAAW,SAAS;AAC/B,OAAI,CAAC,KAAK,KAAM,QAAO;AACvB,UAAO,KAAK,KAAK,MAAM,IAAI,CAAC,OAAO,QAAQ,CAAC,MAAM,GAAG,MAAM,CAAC,KAAK,IAAI,IAAI;;EAE1E;EACA;AAGF,qBAAqB"}
@@ -1,2 +1,3 @@
1
+ import "./registry-utils.js";
1
2
  import "./events.js";
2
3
  import { defaultDocRegistry, registerDocBlocks } from "./docs/registry.js";
@@ -1 +1,2 @@
1
+ import "./spec.js";
1
2
  import "./runner.js";
@@ -0,0 +1 @@
1
+ import "../registry-utils.js";