clivly 0.15.0 → 0.17.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/{adapter-BMAUq4hf.d.mts → adapter-BpAfha3z.d.mts} +1 -3
- package/{adapter-IH3r_I8v.d.cts → adapter-BvSigBPG.d.cts} +1 -3
- package/{auth-adapter-CiEXcweZ.cjs → auth-adapter-CNVuxT9W.cjs} +1 -2
- package/{auth-adapter-Bt1GZiag.d.cts → auth-adapter-CsZE4ugg.d.cts} +1 -3
- package/{auth-adapter-CHy273qb.d.mts → auth-adapter-Q6CL2VHr.d.mts} +1 -3
- package/{auth-adapter-gfVDxf3d.mjs → auth-adapter-u91PByaw.mjs} +1 -2
- package/auth-better-auth.cjs +2 -4
- package/auth-better-auth.d.cts +1 -5
- package/auth-better-auth.d.mts +1 -5
- package/auth-better-auth.mjs +2 -4
- package/auth-clerk.cjs +2 -4
- package/auth-clerk.d.cts +1 -5
- package/auth-clerk.d.mts +1 -5
- package/auth-clerk.mjs +2 -4
- package/auth-workos.cjs +2 -4
- package/auth-workos.d.cts +1 -5
- package/auth-workos.d.mts +1 -5
- package/auth-workos.mjs +2 -4
- package/core-adapter.cjs +2 -3
- package/core-adapter.d.cts +1 -1
- package/core-adapter.d.mts +1 -1
- package/core-adapter.mjs +2 -3
- package/core-auth-adapter.cjs +3 -4
- package/core-auth-adapter.d.cts +1 -1
- package/core-auth-adapter.d.mts +1 -1
- package/core-auth-adapter.mjs +3 -5
- package/core-drizzle.cjs +3 -4
- package/core-drizzle.d.cts +1 -1
- package/core-drizzle.d.mts +1 -1
- package/core-drizzle.mjs +3 -5
- package/core-entity-config.cjs +3 -4
- package/core-entity-config.d.cts +1 -1
- package/core-entity-config.d.mts +1 -1
- package/core-entity-config.mjs +3 -5
- package/core-entity-heuristics.cjs +2 -3
- package/core-entity-heuristics.d.cts +1 -1
- package/core-entity-heuristics.d.mts +1 -1
- package/core-entity-heuristics.mjs +3 -5
- package/core-mapping-form.cjs +3 -4
- package/core-mapping-form.d.cts +1 -1
- package/core-mapping-form.d.mts +1 -1
- package/core-mapping-form.mjs +3 -5
- package/core-mapping-score.cjs +3 -4
- package/core-mapping-score.d.cts +1 -1
- package/core-mapping-score.d.mts +1 -1
- package/core-mapping-score.mjs +3 -5
- package/core-mappings-config.cjs +3 -4
- package/core-mappings-config.d.cts +1 -1
- package/core-mappings-config.d.mts +1 -1
- package/core-mappings-config.mjs +3 -5
- package/core-sync-engine.cjs +3 -4
- package/core-sync-engine.d.cts +1 -1
- package/core-sync-engine.d.mts +1 -1
- package/core-sync-engine.mjs +3 -5
- package/core-types.cjs +3 -4
- package/core-types.d.cts +1 -1
- package/core-types.d.mts +1 -1
- package/core-types.mjs +3 -5
- package/core-view-compiler.cjs +3 -4
- package/core-view-compiler.d.cts +1 -1
- package/core-view-compiler.d.mts +1 -1
- package/core-view-compiler.mjs +3 -5
- package/core.cjs +13 -13
- package/core.d.cts +11 -11
- package/core.d.mts +11 -11
- package/core.mjs +13 -14
- package/{deprecate-subpath-CmvZtCpE.mjs → deprecate-subpath-CK37DKXH.mjs} +1 -2
- package/{deprecate-subpath-B9ngvizt.cjs → deprecate-subpath-dGwDiHKV.cjs} +1 -2
- package/{drizzle-DcB7OfBp.cjs → drizzle-C0bfX-6a.cjs} +1 -2
- package/{drizzle-wbcuG-cy.mjs → drizzle-CZuOzIu4.mjs} +1 -2
- package/{drizzle-CiK37zJm.d.cts → drizzle-MUNZgh1l.d.cts} +1 -3
- package/{drizzle-ehVWLSrN.d.mts → drizzle-UJbPCzPJ.d.mts} +1 -3
- package/{drizzle-meta-Bb1JWYqf.cjs → drizzle-meta-BPnRLpsB.cjs} +1 -2
- package/{drizzle-meta-D-5k3n0i.mjs → drizzle-meta-D00lFvAk.mjs} +1 -2
- package/drizzle.cjs +7 -10
- package/drizzle.d.cts +3 -7
- package/drizzle.d.mts +3 -7
- package/drizzle.mjs +7 -10
- package/entity-config-BF7pcXFB.d.cts +632 -0
- package/{entity-config-Ccfb2IL9.mjs → entity-config-DQVSprlG.mjs} +8 -11
- package/{entity-config-BI4RYNKL.cjs → entity-config-nWWgJXLw.cjs} +8 -11
- package/entity-config-pzamFSKw.d.mts +632 -0
- package/index.cjs +51 -98
- package/index.d.cts +1 -12
- package/index.d.mts +1 -12
- package/index.mjs +51 -98
- package/{integration-state-BA4c0RbD.d.mts → integration-state-xK4PLm5T.d.cts} +0 -2
- package/{integration-state-BA4c0RbD.d.cts → integration-state-xK4PLm5T.d.mts} +0 -2
- package/{internal-C7NlPM3M.d.mts → internal-C-uvosSL.d.cts} +1 -17
- package/{internal-DsArcqkP.cjs → internal-CjJy-cy1.cjs} +42 -8
- package/{internal-CLvZdVj5.mjs → internal-DtLZyjf8.mjs} +37 -9
- package/{internal-D2J4VQWT.d.cts → internal-Gie7hCpK.d.mts} +1 -17
- package/internal-adapter.d.cts +1 -1
- package/internal-adapter.d.mts +1 -1
- package/internal-auth-adapter.cjs +1 -1
- package/internal-auth-adapter.d.cts +1 -1
- package/internal-auth-adapter.d.mts +1 -1
- package/internal-auth-adapter.mjs +1 -2
- package/internal-drizzle.cjs +1 -1
- package/internal-drizzle.d.cts +1 -1
- package/internal-drizzle.d.mts +1 -1
- package/internal-drizzle.mjs +1 -2
- package/internal-entity-config.cjs +1 -1
- package/internal-entity-config.d.cts +1 -1
- package/internal-entity-config.d.mts +1 -1
- package/internal-entity-config.mjs +1 -2
- package/internal-entity-heuristics.cjs +3 -4
- package/internal-entity-heuristics.d.cts +2 -4
- package/internal-entity-heuristics.d.mts +2 -4
- package/internal-entity-heuristics.mjs +3 -4
- package/internal-mapping-form.cjs +1 -1
- package/internal-mapping-form.d.cts +1 -1
- package/internal-mapping-form.d.mts +1 -1
- package/internal-mapping-form.mjs +1 -2
- package/internal-mapping-score.cjs +1 -1
- package/internal-mapping-score.d.cts +1 -1
- package/internal-mapping-score.d.mts +1 -1
- package/internal-mapping-score.mjs +1 -2
- package/internal-mappings-config.cjs +1 -1
- package/internal-mappings-config.d.cts +1 -1
- package/internal-mappings-config.d.mts +1 -1
- package/internal-mappings-config.mjs +1 -2
- package/internal-sync-engine.cjs +1 -1
- package/internal-sync-engine.d.cts +1 -1
- package/internal-sync-engine.d.mts +1 -1
- package/internal-sync-engine.mjs +1 -2
- package/internal-types.cjs +1 -1
- package/internal-types.d.cts +1 -1
- package/internal-types.d.mts +1 -1
- package/internal-types.mjs +1 -2
- package/internal-view-compiler.cjs +1 -1
- package/internal-view-compiler.d.cts +1 -1
- package/internal-view-compiler.d.mts +1 -1
- package/internal-view-compiler.mjs +1 -2
- package/internal.cjs +11 -10
- package/internal.d.cts +11 -11
- package/internal.d.mts +11 -11
- package/internal.mjs +11 -11
- package/{mapping-form-BpfON_ME.cjs → mapping-form-Bs6JQurC.cjs} +1 -2
- package/{mapping-form-XsLLCqW_.d.cts → mapping-form-BymksK7h.d.mts} +1 -3
- package/{mapping-form-DigkuvFc.mjs → mapping-form-C7kDMWzp.mjs} +1 -2
- package/{mapping-form-Btn-7gzv.d.mts → mapping-form-Cmf8y-1m.d.cts} +1 -3
- package/{mapping-score-D7Gzg7Ii.d.cts → mapping-score-BKrxddz0.d.cts} +0 -2
- package/{mapping-score-D7Gzg7Ii.d.mts → mapping-score-BKrxddz0.d.mts} +0 -2
- package/{mapping-score-C68uAqGB.mjs → mapping-score-CS-MTDL9.mjs} +1 -2
- package/{mapping-score-CaB3F4Uu.cjs → mapping-score-D2TCQiOr.cjs} +1 -2
- package/{mappings-config-CwQNQ6bA.mjs → mappings-config-C7FPwrJT.mjs} +3 -4
- package/{mappings-config-BCsRLohT.cjs → mappings-config-DBG-KnYl.cjs} +3 -4
- package/{mappings-config-D6_oCi2Q.d.mts → mappings-config-Dsz6rcJb.d.cts} +1 -3
- package/{mappings-config-iJzbcUMp.d.cts → mappings-config-ktJhxmHm.d.mts} +1 -3
- package/{namespace-probe-DykR0kgh.d.mts → namespace-probe-By8SCnym.d.mts} +2 -8
- package/{namespace-probe-H7yWc0JV.d.cts → namespace-probe-CTkb35Ro.d.cts} +2 -8
- package/package.json +1 -1
- package/{projection-BELgANG2.cjs → projection-B8RtxuEq.cjs} +35 -38
- package/{projection-DvNewmI1.mjs → projection-DNi_2dVa.mjs} +30 -39
- package/{projection-sql-DweUaWRc.mjs → projection-sql-BYv40Hen.mjs} +2 -3
- package/{projection-sql-DuCtFE9t.cjs → projection-sql-SuhzhsMe.cjs} +2 -3
- package/schemas-DySv963y.d.cts +2098 -0
- package/schemas-DySv963y.d.mts +2098 -0
- package/{sdk-ZMy4C4VK.cjs → sdk-BJ3OkhCq.cjs} +27 -50
- package/{sdk-DLoVPlGB.mjs → sdk-CXrarwvs.mjs} +27 -50
- package/sdk.cjs +2 -2
- package/sdk.d.cts +2 -10
- package/sdk.d.mts +2 -10
- package/sdk.mjs +2 -2
- package/{sync-engine-DH058G3w.mjs → sync-engine-BTUoH82k.mjs} +2 -3
- package/{sync-engine-C_5TpvfX.d.mts → sync-engine-C_SwnFgF.d.mts} +2 -4
- package/{sync-engine-CYsWOujz.d.cts → sync-engine-D9ltfqkD.d.cts} +2 -4
- package/{sync-engine-BGVDsrOQ.cjs → sync-engine-DBlSP9r2.cjs} +2 -3
- package/{types-YJTkXKzU.mjs → types-8KSw2AWg.mjs} +1 -2
- package/{types-Cq5gHCTq.cjs → types-B8m39L1s.cjs} +1 -2
- package/{types-CpAtAtxd.d.cts → types-BtQCi_qP.d.cts} +30 -3
- package/{types-CpAtAtxd.d.mts → types-CTOl3pAX.d.mts} +30 -3
- package/{view-compiler-C-6RydKK.mjs → view-compiler-B8tJ5IGw.mjs} +3 -4
- package/{view-compiler-CwKVoK1w.d.mts → view-compiler-BZgZisTG.d.mts} +1 -3
- package/{view-compiler-xiwm5iar.cjs → view-compiler-Ce_QE3dh.cjs} +3 -4
- package/{view-compiler-Cq8apvZ4.d.cts → view-compiler-D7GLf1n8.d.cts} +1 -3
- package/vite.cjs +1 -2
- package/vite.d.cts +2 -4
- package/vite.d.mts +2 -4
- package/vite.mjs +1 -2
- package/entity-config-ApnT5j3X.d.cts +0 -4472
- package/entity-config-CKcj4-M_.d.mts +0 -4473
|
@@ -1,4 +1,21 @@
|
|
|
1
|
-
|
|
1
|
+
import { d as output, f as $strict, l as ZodString, o as ZodObject, r as ZodEnum, s as ZodOptional, t as ZodArray } from "./schemas-DySv963y.cjs";
|
|
2
|
+
/** AND conditions over deliberately mapped host fields, never SQL identifiers. */
|
|
3
|
+
declare const contactSegmentSchema: ZodArray<ZodObject<{
|
|
4
|
+
field: ZodString;
|
|
5
|
+
operator: ZodEnum<{
|
|
6
|
+
equals: "equals";
|
|
7
|
+
not_equals: "not_equals";
|
|
8
|
+
contains: "contains";
|
|
9
|
+
gt: "gt";
|
|
10
|
+
gte: "gte";
|
|
11
|
+
lt: "lt";
|
|
12
|
+
lte: "lte";
|
|
13
|
+
is_set: "is_set";
|
|
14
|
+
is_not_set: "is_not_set";
|
|
15
|
+
}>;
|
|
16
|
+
value: ZodOptional<ZodString>;
|
|
17
|
+
}, $strict>>;
|
|
18
|
+
type ContactSegment = output<typeof contactSegmentSchema>;
|
|
2
19
|
type ContactStatus = "lead" | "active" | "customer" | "churned";
|
|
3
20
|
type DealStage = string;
|
|
4
21
|
type StageType = "open" | "won" | "lost";
|
|
@@ -92,6 +109,12 @@ interface Deal {
|
|
|
92
109
|
name: string;
|
|
93
110
|
orgId: string;
|
|
94
111
|
owner: string | null;
|
|
112
|
+
/**
|
|
113
|
+
* The workspace member who owns this deal. `owner` is the free text a sync
|
|
114
|
+
* or an older client wrote; this is the member a board filters and assigns
|
|
115
|
+
* by. NULL when no member owns it.
|
|
116
|
+
*/
|
|
117
|
+
ownerUserId: string | null;
|
|
95
118
|
/**
|
|
96
119
|
* The board this deal belongs to. NULL means the org's default pipeline: the
|
|
97
120
|
* sync mirror wrote deals before pipelines existed, and a deal created with
|
|
@@ -101,6 +124,8 @@ interface Deal {
|
|
|
101
124
|
pipelineId: string | null;
|
|
102
125
|
position: number | null;
|
|
103
126
|
stage: DealStage;
|
|
127
|
+
/** When the deal entered its current stage; moves only on a real change. */
|
|
128
|
+
stageEnteredAt: Date;
|
|
104
129
|
/**
|
|
105
130
|
* When a human last moved this deal by hand. Non-null means stage derivation
|
|
106
131
|
* no longer touches it, so a board must be able to mark it as overridden and
|
|
@@ -201,6 +226,7 @@ interface CreateDealInput {
|
|
|
201
226
|
contactId?: string;
|
|
202
227
|
name: string;
|
|
203
228
|
owner?: string;
|
|
229
|
+
ownerUserId?: string | null;
|
|
204
230
|
pipelineId?: string;
|
|
205
231
|
stage?: DealStage;
|
|
206
232
|
value?: number;
|
|
@@ -210,6 +236,7 @@ interface UpdateDealInput {
|
|
|
210
236
|
contactId?: string | null;
|
|
211
237
|
name?: string;
|
|
212
238
|
owner?: string | null;
|
|
239
|
+
ownerUserId?: string | null;
|
|
213
240
|
stage?: DealStage;
|
|
214
241
|
value?: number;
|
|
215
242
|
}
|
|
@@ -280,6 +307,7 @@ interface ContactFilters {
|
|
|
280
307
|
* search for `%` finds contacts containing a percent sign, not every row.
|
|
281
308
|
*/
|
|
282
309
|
search?: string;
|
|
310
|
+
segment?: ContactSegment;
|
|
283
311
|
source?: RecordSource;
|
|
284
312
|
status?: ContactStatus;
|
|
285
313
|
}
|
|
@@ -319,5 +347,4 @@ interface TaskFilters {
|
|
|
319
347
|
priority?: TaskPriority;
|
|
320
348
|
status?: TaskStatus;
|
|
321
349
|
}
|
|
322
|
-
|
|
323
|
-
export { UpdateCompanyInput as A, RecordSource as C, TaskFilters as D, TaskEntityType as E, isClosedStageType as F, UpdateDealInput as M, UpdateTaskInput as N, TaskPriority as O, ValueInterval as P, PipelineStageConfig as S, Task as T, OPEN_STAGE_TYPE as _, Contact as a, PipelineConfig as b, CreateActivityInput as c, CreateDealInput as d, CreateTaskInput as f, Note as g, DealStage as h, CompanyFilters as i, UpdateContactInput as j, TaskStatus as k, CreateCompanyInput as l, Deal as m, ActivityType as n, ContactFilters as o, CrmRole as p, Company as r, ContactStatus as s, Activity as t, CreateContactInput as u, Page as v, StageType as w, PipelineKind as x, PageRequest as y };
|
|
350
|
+
export { UpdateCompanyInput as A, RecordSource as C, TaskFilters as D, TaskEntityType as E, isClosedStageType as F, ContactSegment as I, contactSegmentSchema as L, UpdateDealInput as M, UpdateTaskInput as N, TaskPriority as O, ValueInterval as P, PipelineStageConfig as S, Task as T, OPEN_STAGE_TYPE as _, Contact as a, PipelineConfig as b, CreateActivityInput as c, CreateDealInput as d, CreateTaskInput as f, Note as g, DealStage as h, CompanyFilters as i, UpdateContactInput as j, TaskStatus as k, CreateCompanyInput as l, Deal as m, ActivityType as n, ContactFilters as o, CrmRole as p, Company as r, ContactStatus as s, Activity as t, CreateContactInput as u, Page as v, StageType as w, PipelineKind as x, PageRequest as y };
|
|
@@ -1,4 +1,21 @@
|
|
|
1
|
-
|
|
1
|
+
import { d as output, f as $strict, l as ZodString, o as ZodObject, r as ZodEnum, s as ZodOptional, t as ZodArray } from "./schemas-DySv963y.mjs";
|
|
2
|
+
/** AND conditions over deliberately mapped host fields, never SQL identifiers. */
|
|
3
|
+
declare const contactSegmentSchema: ZodArray<ZodObject<{
|
|
4
|
+
field: ZodString;
|
|
5
|
+
operator: ZodEnum<{
|
|
6
|
+
equals: "equals";
|
|
7
|
+
not_equals: "not_equals";
|
|
8
|
+
contains: "contains";
|
|
9
|
+
gt: "gt";
|
|
10
|
+
gte: "gte";
|
|
11
|
+
lt: "lt";
|
|
12
|
+
lte: "lte";
|
|
13
|
+
is_set: "is_set";
|
|
14
|
+
is_not_set: "is_not_set";
|
|
15
|
+
}>;
|
|
16
|
+
value: ZodOptional<ZodString>;
|
|
17
|
+
}, $strict>>;
|
|
18
|
+
type ContactSegment = output<typeof contactSegmentSchema>;
|
|
2
19
|
type ContactStatus = "lead" | "active" | "customer" | "churned";
|
|
3
20
|
type DealStage = string;
|
|
4
21
|
type StageType = "open" | "won" | "lost";
|
|
@@ -92,6 +109,12 @@ interface Deal {
|
|
|
92
109
|
name: string;
|
|
93
110
|
orgId: string;
|
|
94
111
|
owner: string | null;
|
|
112
|
+
/**
|
|
113
|
+
* The workspace member who owns this deal. `owner` is the free text a sync
|
|
114
|
+
* or an older client wrote; this is the member a board filters and assigns
|
|
115
|
+
* by. NULL when no member owns it.
|
|
116
|
+
*/
|
|
117
|
+
ownerUserId: string | null;
|
|
95
118
|
/**
|
|
96
119
|
* The board this deal belongs to. NULL means the org's default pipeline: the
|
|
97
120
|
* sync mirror wrote deals before pipelines existed, and a deal created with
|
|
@@ -101,6 +124,8 @@ interface Deal {
|
|
|
101
124
|
pipelineId: string | null;
|
|
102
125
|
position: number | null;
|
|
103
126
|
stage: DealStage;
|
|
127
|
+
/** When the deal entered its current stage; moves only on a real change. */
|
|
128
|
+
stageEnteredAt: Date;
|
|
104
129
|
/**
|
|
105
130
|
* When a human last moved this deal by hand. Non-null means stage derivation
|
|
106
131
|
* no longer touches it, so a board must be able to mark it as overridden and
|
|
@@ -201,6 +226,7 @@ interface CreateDealInput {
|
|
|
201
226
|
contactId?: string;
|
|
202
227
|
name: string;
|
|
203
228
|
owner?: string;
|
|
229
|
+
ownerUserId?: string | null;
|
|
204
230
|
pipelineId?: string;
|
|
205
231
|
stage?: DealStage;
|
|
206
232
|
value?: number;
|
|
@@ -210,6 +236,7 @@ interface UpdateDealInput {
|
|
|
210
236
|
contactId?: string | null;
|
|
211
237
|
name?: string;
|
|
212
238
|
owner?: string | null;
|
|
239
|
+
ownerUserId?: string | null;
|
|
213
240
|
stage?: DealStage;
|
|
214
241
|
value?: number;
|
|
215
242
|
}
|
|
@@ -280,6 +307,7 @@ interface ContactFilters {
|
|
|
280
307
|
* search for `%` finds contacts containing a percent sign, not every row.
|
|
281
308
|
*/
|
|
282
309
|
search?: string;
|
|
310
|
+
segment?: ContactSegment;
|
|
283
311
|
source?: RecordSource;
|
|
284
312
|
status?: ContactStatus;
|
|
285
313
|
}
|
|
@@ -319,5 +347,4 @@ interface TaskFilters {
|
|
|
319
347
|
priority?: TaskPriority;
|
|
320
348
|
status?: TaskStatus;
|
|
321
349
|
}
|
|
322
|
-
|
|
323
|
-
export { UpdateCompanyInput as A, RecordSource as C, TaskFilters as D, TaskEntityType as E, isClosedStageType as F, UpdateDealInput as M, UpdateTaskInput as N, TaskPriority as O, ValueInterval as P, PipelineStageConfig as S, Task as T, OPEN_STAGE_TYPE as _, Contact as a, PipelineConfig as b, CreateActivityInput as c, CreateDealInput as d, CreateTaskInput as f, Note as g, DealStage as h, CompanyFilters as i, UpdateContactInput as j, TaskStatus as k, CreateCompanyInput as l, Deal as m, ActivityType as n, ContactFilters as o, CrmRole as p, Company as r, ContactStatus as s, Activity as t, CreateContactInput as u, Page as v, StageType as w, PipelineKind as x, PageRequest as y };
|
|
350
|
+
export { UpdateCompanyInput as A, RecordSource as C, TaskFilters as D, TaskEntityType as E, isClosedStageType as F, ContactSegment as I, contactSegmentSchema as L, UpdateDealInput as M, UpdateTaskInput as N, TaskPriority as O, ValueInterval as P, PipelineStageConfig as S, Task as T, OPEN_STAGE_TYPE as _, Contact as a, PipelineConfig as b, CreateActivityInput as c, CreateDealInput as d, CreateTaskInput as f, Note as g, DealStage as h, CompanyFilters as i, UpdateContactInput as j, TaskStatus as k, CreateCompanyInput as l, Deal as m, ActivityType as n, ContactFilters as o, CrmRole as p, Company as r, ContactStatus as s, Activity as t, CreateContactInput as u, Page as v, StageType as w, PipelineKind as x, PageRequest as y };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as BASE_REF } from "./projection-
|
|
2
|
-
import { i as compileProjectionJoins, n as compileProjectionFrom, o as compileProjectionSelect, s as quoteIdent } from "./projection-sql-
|
|
3
|
-
|
|
1
|
+
import { t as BASE_REF } from "./projection-DNi_2dVa.mjs";
|
|
2
|
+
import { i as compileProjectionJoins, n as compileProjectionFrom, o as compileProjectionSelect, s as quoteIdent } from "./projection-sql-BYv40Hen.mjs";
|
|
3
|
+
// ../core/src/view-compiler.ts
|
|
4
4
|
/**
|
|
5
5
|
* View compiler (Phase 2) — turns a validated entity config into read-only
|
|
6
6
|
* Postgres view DDL.
|
|
@@ -213,5 +213,4 @@ async function explainEntitiesConfig(config, run, options = {}) {
|
|
|
213
213
|
}
|
|
214
214
|
return results;
|
|
215
215
|
}
|
|
216
|
-
//#endregion
|
|
217
216
|
export { explainViewExecutionError as a, explainEntitiesConfig as i, compileEntityView as n, compileEntityViews as r, DEFAULT_VIEW_PREFIX as t };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { a as ClivlyEntitiesConfig } from "./entity-config-
|
|
2
|
-
//#region ../core/src/view-compiler.d.ts
|
|
1
|
+
import { a as ClivlyEntitiesConfig } from "./entity-config-pzamFSKw.mjs";
|
|
3
2
|
declare const DEFAULT_VIEW_PREFIX = "crm_src_";
|
|
4
3
|
interface CompileOptions {
|
|
5
4
|
/**
|
|
@@ -77,5 +76,4 @@ interface ExplainResult {
|
|
|
77
76
|
* compiled SQL is a `CREATE OR REPLACE VIEW`.
|
|
78
77
|
*/
|
|
79
78
|
declare function explainEntitiesConfig(config: ClivlyEntitiesConfig, run: (sql: string) => Promise<unknown>, options?: CompileOptions): Promise<ExplainResult[]>;
|
|
80
|
-
//#endregion
|
|
81
79
|
export { compileEntityView as a, explainViewExecutionError as c, ExplainResult as i, CompiledView as n, compileEntityViews as o, DEFAULT_VIEW_PREFIX as r, explainEntitiesConfig as s, CompileOptions as t };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
const require_projection = require("./projection-
|
|
2
|
-
const require_projection_sql = require("./projection-sql-
|
|
3
|
-
|
|
1
|
+
const require_projection = require("./projection-B8RtxuEq.cjs");
|
|
2
|
+
const require_projection_sql = require("./projection-sql-SuhzhsMe.cjs");
|
|
3
|
+
// ../core/src/view-compiler.ts
|
|
4
4
|
/**
|
|
5
5
|
* View compiler (Phase 2) — turns a validated entity config into read-only
|
|
6
6
|
* Postgres view DDL.
|
|
@@ -213,7 +213,6 @@ async function explainEntitiesConfig(config, run, options = {}) {
|
|
|
213
213
|
}
|
|
214
214
|
return results;
|
|
215
215
|
}
|
|
216
|
-
//#endregion
|
|
217
216
|
Object.defineProperty(exports, "DEFAULT_VIEW_PREFIX", {
|
|
218
217
|
enumerable: true,
|
|
219
218
|
get: function() {
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { a as ClivlyEntitiesConfig } from "./entity-config-
|
|
2
|
-
//#region ../core/src/view-compiler.d.ts
|
|
1
|
+
import { a as ClivlyEntitiesConfig } from "./entity-config-BF7pcXFB.cjs";
|
|
3
2
|
declare const DEFAULT_VIEW_PREFIX = "crm_src_";
|
|
4
3
|
interface CompileOptions {
|
|
5
4
|
/**
|
|
@@ -77,5 +76,4 @@ interface ExplainResult {
|
|
|
77
76
|
* compiled SQL is a `CREATE OR REPLACE VIEW`.
|
|
78
77
|
*/
|
|
79
78
|
declare function explainEntitiesConfig(config: ClivlyEntitiesConfig, run: (sql: string) => Promise<unknown>, options?: CompileOptions): Promise<ExplainResult[]>;
|
|
80
|
-
//#endregion
|
|
81
79
|
export { compileEntityView as a, explainViewExecutionError as c, ExplainResult as i, CompiledView as n, compileEntityViews as o, DEFAULT_VIEW_PREFIX as r, explainEntitiesConfig as s, CompileOptions as t };
|
package/vite.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
|
|
2
|
+
// ../sdk/src/vite.ts
|
|
3
3
|
/**
|
|
4
4
|
* Vite dev-server plugin that runs the Clivly SDK lifecycle for you: on server
|
|
5
5
|
* boot it calls `sdk.connect()` (for a clear status line) then `sdk.start()`
|
|
@@ -34,5 +34,4 @@ function clivlyVite(sdk, options = {}) {
|
|
|
34
34
|
}
|
|
35
35
|
};
|
|
36
36
|
}
|
|
37
|
-
//#endregion
|
|
38
37
|
exports.clivlyVite = clivlyVite;
|
package/vite.d.cts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { o as ClivlySDK } from "./namespace-probe-
|
|
1
|
+
import { o as ClivlySDK } from "./namespace-probe-CTkb35Ro.cjs";
|
|
2
2
|
import { Plugin } from "vite";
|
|
3
|
-
//#region ../sdk/src/vite.d.ts
|
|
4
3
|
export interface ClivlyViteOptions {
|
|
5
4
|
/** Log prefix for Clivly's boot lines. Defaults to "clivly". */
|
|
6
5
|
name?: string;
|
|
@@ -17,5 +16,4 @@ export interface ClivlyViteOptions {
|
|
|
17
16
|
* Vite is an optional peer dependency imported type-only (`import type`), so
|
|
18
17
|
* the built bundle carries no runtime dependency on Vite.
|
|
19
18
|
*/
|
|
20
|
-
export declare function clivlyVite(sdk: ClivlySDK, options?: ClivlyViteOptions): Plugin;
|
|
21
|
-
//#endregion
|
|
19
|
+
export declare function clivlyVite(sdk: ClivlySDK, options?: ClivlyViteOptions): Plugin;
|
package/vite.d.mts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { o as ClivlySDK } from "./namespace-probe-
|
|
1
|
+
import { o as ClivlySDK } from "./namespace-probe-By8SCnym.mjs";
|
|
2
2
|
import { Plugin } from "vite";
|
|
3
|
-
//#region ../sdk/src/vite.d.ts
|
|
4
3
|
export interface ClivlyViteOptions {
|
|
5
4
|
/** Log prefix for Clivly's boot lines. Defaults to "clivly". */
|
|
6
5
|
name?: string;
|
|
@@ -17,5 +16,4 @@ export interface ClivlyViteOptions {
|
|
|
17
16
|
* Vite is an optional peer dependency imported type-only (`import type`), so
|
|
18
17
|
* the built bundle carries no runtime dependency on Vite.
|
|
19
18
|
*/
|
|
20
|
-
export declare function clivlyVite(sdk: ClivlySDK, options?: ClivlyViteOptions): Plugin;
|
|
21
|
-
//#endregion
|
|
19
|
+
export declare function clivlyVite(sdk: ClivlySDK, options?: ClivlyViteOptions): Plugin;
|
package/vite.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// ../sdk/src/vite.ts
|
|
2
2
|
/**
|
|
3
3
|
* Vite dev-server plugin that runs the Clivly SDK lifecycle for you: on server
|
|
4
4
|
* boot it calls `sdk.connect()` (for a clear status line) then `sdk.start()`
|
|
@@ -33,5 +33,4 @@ function clivlyVite(sdk, options = {}) {
|
|
|
33
33
|
}
|
|
34
34
|
};
|
|
35
35
|
}
|
|
36
|
-
//#endregion
|
|
37
36
|
export { clivlyVite };
|