@pattern-stack/codegen 0.17.2 → 0.19.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/CHANGELOG.md +32 -0
- package/README.md +157 -2
- package/consumer-skills/codegen/SKILL.md +32 -0
- package/consumer-skills/entities/SKILL.md +2 -0
- package/dist/{chunk-I6UXRJ3Q.js → chunk-43SBT72G.js} +4 -4
- package/dist/{chunk-T6SCOJF4.js → chunk-7LKAMLV4.js} +4 -4
- package/dist/{chunk-IOQMMH6C.js → chunk-F7KN3U6U.js} +122 -8
- package/dist/chunk-F7KN3U6U.js.map +1 -0
- package/dist/{chunk-CZQUOIDY.js → chunk-J7JMVS2B.js} +4 -4
- package/dist/{chunk-KSTZIULO.js → chunk-K2I6XIK5.js} +4 -4
- package/dist/{chunk-ATVGYF3D.js → chunk-PKDS6QIJ.js} +7 -7
- package/dist/{chunk-KZDHMZ45.js → chunk-SNH35CNA.js} +8 -8
- package/dist/runtime/base-classes/index.js +24 -24
- package/dist/runtime/subsystems/analytics/analytics.module.js +2 -2
- package/dist/runtime/subsystems/analytics/index.js +4 -4
- package/dist/runtime/subsystems/auth/auth.module.js +3 -3
- package/dist/runtime/subsystems/auth/index.js +14 -14
- package/dist/runtime/subsystems/bridge/bridge-delivery.drizzle-backend.js +2 -2
- package/dist/runtime/subsystems/bridge/bridge-outbox-drain-hook.js +1 -1
- package/dist/runtime/subsystems/bridge/bridge.module.js +5 -5
- package/dist/runtime/subsystems/bridge/index.js +13 -13
- package/dist/runtime/subsystems/cache/cache.module.js +1 -1
- package/dist/runtime/subsystems/cache/index.js +3 -3
- package/dist/runtime/subsystems/index.js +94 -94
- package/dist/runtime/subsystems/integration/build-change-source.js +2 -2
- package/dist/runtime/subsystems/integration/index.js +36 -36
- package/dist/runtime/subsystems/integration/integration.module.js +4 -4
- package/dist/src/cli/index.js +1552 -254
- package/dist/src/cli/index.js.map +1 -1
- package/dist/src/index.d.ts +18 -0
- package/dist/src/index.js +12 -12
- package/package.json +1 -1
- package/src/config/locations.mjs +0 -6
- package/src/config/paths.mjs +0 -13
- package/templates/entity/new/prompt.js +12 -88
- package/dist/chunk-IOQMMH6C.js.map +0 -1
- package/templates/entity/new/frontend/_inject-entities-entry.ejs.t +0 -7
- package/templates/entity/new/frontend/_inject-entities-import.ejs.t +0 -7
- package/templates/entity/new/frontend/collections/_ensure-anchor-collections.ejs.t +0 -10
- package/templates/entity/new/frontend/collections/_inject-index.ejs.t +0 -9
- package/templates/entity/new/frontend/collections/_inject-schema-import.ejs.t +0 -9
- package/templates/entity/new/frontend/collections/collection.ejs.t +0 -86
- package/templates/entity/new/frontend/collections/collections-base.ejs.t +0 -35
- package/templates/entity/new/frontend/entity/collection.ejs.t +0 -173
- package/templates/entity/new/frontend/entity/combined.ejs.t +0 -505
- package/templates/entity/new/frontend/entity/fields.ejs.t +0 -105
- package/templates/entity/new/frontend/entity/hooks.ejs.t +0 -74
- package/templates/entity/new/frontend/entity/index.ejs.t +0 -22
- package/templates/entity/new/frontend/entity/mutation-hooks.ejs.t +0 -85
- package/templates/entity/new/frontend/entity/mutations.ejs.t +0 -39
- package/templates/entity/new/frontend/entity/types.ejs.t +0 -60
- package/templates/entity/new/frontend/generated/_inject-index-export.ejs.t +0 -7
- package/templates/entity/new/frontend/generated/_inject-index-import.ejs.t +0 -7
- package/templates/entity/new/frontend/generated/_inject-index-registry.ejs.t +0 -7
- package/templates/entity/new/frontend/store/_inject-collection-import.ejs.t +0 -9
- package/templates/entity/new/frontend/store/_inject-collections.ejs.t +0 -9
- package/templates/entity/new/frontend/store/_inject-entity.ejs.t +0 -9
- package/templates/entity/new/frontend/store/_inject-import.ejs.t +0 -9
- package/templates/entity/new/frontend/store/_inject-lookups.ejs.t +0 -9
- package/templates/entity/new/frontend/store/_inject-resolve.ejs.t +0 -10
- package/templates/entity/new/frontend/store/hooks.ejs.t +0 -73
- package/templates/entity/new/frontend/unified-entity.ejs.t +0 -29
- /package/dist/{chunk-I6UXRJ3Q.js.map → chunk-43SBT72G.js.map} +0 -0
- /package/dist/{chunk-T6SCOJF4.js.map → chunk-7LKAMLV4.js.map} +0 -0
- /package/dist/{chunk-CZQUOIDY.js.map → chunk-J7JMVS2B.js.map} +0 -0
- /package/dist/{chunk-KSTZIULO.js.map → chunk-K2I6XIK5.js.map} +0 -0
- /package/dist/{chunk-ATVGYF3D.js.map → chunk-PKDS6QIJ.js.map} +0 -0
- /package/dist/{chunk-KZDHMZ45.js.map → chunk-SNH35CNA.js.map} +0 -0
|
@@ -1,48 +1,30 @@
|
|
|
1
1
|
import "../../../chunk-KVOWSC5S.js";
|
|
2
2
|
import {
|
|
3
3
|
IntegrationModule
|
|
4
|
-
} from "../../../chunk-
|
|
4
|
+
} from "../../../chunk-PKDS6QIJ.js";
|
|
5
|
+
import {
|
|
6
|
+
createLoopbackMiddleware
|
|
7
|
+
} from "../../../chunk-PRWIX6UW.js";
|
|
5
8
|
import {
|
|
6
9
|
DrizzleIntegrationRunRecorder
|
|
7
10
|
} from "../../../chunk-YK5JEVLX.js";
|
|
8
11
|
import {
|
|
9
12
|
MemoryRunRecorder
|
|
10
13
|
} from "../../../chunk-EO2QPOKH.js";
|
|
11
|
-
import {
|
|
12
|
-
createLoopbackMiddleware
|
|
13
|
-
} from "../../../chunk-PRWIX6UW.js";
|
|
14
|
-
import {
|
|
15
|
-
PostgresCursorStore
|
|
16
|
-
} from "../../../chunk-XWBK3XJK.js";
|
|
17
|
-
import {
|
|
18
|
-
MemoryCursorStore
|
|
19
|
-
} from "../../../chunk-AHV4GDYM.js";
|
|
20
14
|
import {
|
|
21
15
|
FieldDiffSchema,
|
|
22
16
|
FieldDiffValueSchema
|
|
23
17
|
} from "../../../chunk-SQDOBLBP.js";
|
|
24
|
-
import {
|
|
25
|
-
DeepEqualDiffer
|
|
26
|
-
} from "../../../chunk-JEINYUJH.js";
|
|
27
|
-
import {
|
|
28
|
-
CURSOR_DIVISIBILITY,
|
|
29
|
-
CursorStrategySchema,
|
|
30
|
-
DetectionConfigSchema,
|
|
31
|
-
FieldMappingSchema,
|
|
32
|
-
PollDetectionSchema,
|
|
33
|
-
ResolvedFilterSchema,
|
|
34
|
-
WebhookDetectionSchema,
|
|
35
|
-
isDivisibleCursor
|
|
36
|
-
} from "../../../chunk-5TK7MEN4.js";
|
|
37
|
-
import {
|
|
38
|
-
MemoryEntityChangeSourceRegistry
|
|
39
|
-
} from "../../../chunk-4KNXX6TI.js";
|
|
40
|
-
import {
|
|
41
|
-
UnknownEntityError
|
|
42
|
-
} from "../../../chunk-3CJFPU6Q.js";
|
|
43
18
|
import {
|
|
44
19
|
ExecuteIntegrationUseCase
|
|
45
20
|
} from "../../../chunk-TDEHU73T.js";
|
|
21
|
+
import {
|
|
22
|
+
IncrementalReadBase,
|
|
23
|
+
mapConcurrent
|
|
24
|
+
} from "../../../chunk-LG57S2SC.js";
|
|
25
|
+
import {
|
|
26
|
+
PostgresCursorStore
|
|
27
|
+
} from "../../../chunk-XWBK3XJK.js";
|
|
46
28
|
import {
|
|
47
29
|
ENTITY_CHANGE_SOURCE_REGISTRY,
|
|
48
30
|
INTEGRATION_CHANGE_SOURCE,
|
|
@@ -57,10 +39,6 @@ import {
|
|
|
57
39
|
MissingTenantIdError,
|
|
58
40
|
assertTenantId
|
|
59
41
|
} from "../../../chunk-MZ6GV4YF.js";
|
|
60
|
-
import {
|
|
61
|
-
IncrementalReadBase,
|
|
62
|
-
mapConcurrent
|
|
63
|
-
} from "../../../chunk-LG57S2SC.js";
|
|
64
42
|
import {
|
|
65
43
|
integrationRunActionEnum,
|
|
66
44
|
integrationRunDirectionEnum,
|
|
@@ -71,15 +49,37 @@ import {
|
|
|
71
49
|
integrationRuns,
|
|
72
50
|
integrationSubscriptions
|
|
73
51
|
} from "../../../chunk-HNWZFNKP.js";
|
|
52
|
+
import {
|
|
53
|
+
MemoryCursorStore
|
|
54
|
+
} from "../../../chunk-AHV4GDYM.js";
|
|
74
55
|
import {
|
|
75
56
|
buildChangeSource
|
|
76
|
-
} from "../../../chunk-
|
|
57
|
+
} from "../../../chunk-43SBT72G.js";
|
|
58
|
+
import {
|
|
59
|
+
PollChangeSource
|
|
60
|
+
} from "../../../chunk-4MF3HKJA.js";
|
|
77
61
|
import {
|
|
78
62
|
WebhookChangeSource
|
|
79
63
|
} from "../../../chunk-TIZXQU26.js";
|
|
80
64
|
import {
|
|
81
|
-
|
|
82
|
-
} from "../../../chunk-
|
|
65
|
+
DeepEqualDiffer
|
|
66
|
+
} from "../../../chunk-JEINYUJH.js";
|
|
67
|
+
import {
|
|
68
|
+
CURSOR_DIVISIBILITY,
|
|
69
|
+
CursorStrategySchema,
|
|
70
|
+
DetectionConfigSchema,
|
|
71
|
+
FieldMappingSchema,
|
|
72
|
+
PollDetectionSchema,
|
|
73
|
+
ResolvedFilterSchema,
|
|
74
|
+
WebhookDetectionSchema,
|
|
75
|
+
isDivisibleCursor
|
|
76
|
+
} from "../../../chunk-5TK7MEN4.js";
|
|
77
|
+
import {
|
|
78
|
+
MemoryEntityChangeSourceRegistry
|
|
79
|
+
} from "../../../chunk-4KNXX6TI.js";
|
|
80
|
+
import {
|
|
81
|
+
UnknownEntityError
|
|
82
|
+
} from "../../../chunk-3CJFPU6Q.js";
|
|
83
83
|
import "../../../chunk-U64T4YZE.js";
|
|
84
84
|
import "../../../chunk-2E224ZSN.js";
|
|
85
85
|
export {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
IntegrationModule
|
|
3
|
-
} from "../../../chunk-
|
|
3
|
+
} from "../../../chunk-PKDS6QIJ.js";
|
|
4
4
|
import "../../../chunk-YK5JEVLX.js";
|
|
5
5
|
import "../../../chunk-EO2QPOKH.js";
|
|
6
|
-
import "../../../chunk-XWBK3XJK.js";
|
|
7
|
-
import "../../../chunk-AHV4GDYM.js";
|
|
8
6
|
import "../../../chunk-SQDOBLBP.js";
|
|
9
|
-
import "../../../chunk-
|
|
7
|
+
import "../../../chunk-XWBK3XJK.js";
|
|
10
8
|
import "../../../chunk-S7C6TIIF.js";
|
|
11
9
|
import "../../../chunk-MZ6GV4YF.js";
|
|
12
10
|
import "../../../chunk-HNWZFNKP.js";
|
|
11
|
+
import "../../../chunk-AHV4GDYM.js";
|
|
12
|
+
import "../../../chunk-JEINYUJH.js";
|
|
13
13
|
import "../../../chunk-U64T4YZE.js";
|
|
14
14
|
import "../../../chunk-2E224ZSN.js";
|
|
15
15
|
export {
|