@lunora/advisor 1.0.0-alpha.27 → 1.0.0-alpha.28

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -1085,11 +1085,11 @@ interface AdvisorIndex {
1085
1085
  }
1086
1086
  /** The statically-knowable `.source(...)` bits the `external_source_*` lints read. */
1087
1087
  interface AdvisorExternalSource {
1088
- /** `true` when a `reconcileEveryMs` was given (the incremental-mode delete-visibility companion). */
1088
+ /** `true` when a `reconcileEveryMs` was given reserved for a future incremental mode's delete-visibility lint; not on the typed `.source()` surface today. */
1089
1089
  hasReconcile?: boolean;
1090
1090
  /** `true` when a `tenantBy` mapper was given — the tenant-isolation boundary. */
1091
1091
  hasTenantBy: boolean;
1092
- /** Delete-detection mode literal, when given (`"full-pull"` | `"incremental"`). */
1092
+ /** Delete-detection mode literal, when given (`"full-pull"` today). */
1093
1093
  mode?: string;
1094
1094
  /**
1095
1095
  * `true` when `.source(...)` was declared but its config wasn't a static object
package/dist/index.d.ts CHANGED
@@ -1085,11 +1085,11 @@ interface AdvisorIndex {
1085
1085
  }
1086
1086
  /** The statically-knowable `.source(...)` bits the `external_source_*` lints read. */
1087
1087
  interface AdvisorExternalSource {
1088
- /** `true` when a `reconcileEveryMs` was given (the incremental-mode delete-visibility companion). */
1088
+ /** `true` when a `reconcileEveryMs` was given reserved for a future incremental mode's delete-visibility lint; not on the typed `.source()` surface today. */
1089
1089
  hasReconcile?: boolean;
1090
1090
  /** `true` when a `tenantBy` mapper was given — the tenant-isolation boundary. */
1091
1091
  hasTenantBy: boolean;
1092
- /** Delete-detection mode literal, when given (`"full-pull"` | `"incremental"`). */
1092
+ /** Delete-detection mode literal, when given (`"full-pull"` today). */
1093
1093
  mode?: string;
1094
1094
  /**
1095
1095
  * `true` when `.source(...)` was declared but its config wasn't a static object
package/dist/index.mjs CHANGED
@@ -83,7 +83,7 @@ import workflowDuplicateStepName from './packem_shared/workflowDuplicateStepName
83
83
  import workflowUnknownTarget from './packem_shared/workflowUnknownTarget-Cdd7WhKQ.mjs';
84
84
  import workflowUnused from './packem_shared/workflowUnused-D0jHxdz9.mjs';
85
85
  export { AE_METRIC_EVENTS, loadAnalyticsRuntimeMetrics } from './packem_shared/AE_METRIC_EVENTS-BM14d0lm.mjs';
86
- export { fromServerSchema } from './packem_shared/fromServerSchema-BiB6JSiW.mjs';
86
+ export { fromServerSchema } from './packem_shared/fromServerSchema-S_5u6A_Y.mjs';
87
87
 
88
88
  const STATIC_LINTS = [
89
89
  indexReferencesUnknownField,
@@ -30,6 +30,10 @@ const fromServerSchema = (schema) => {
30
30
  return {
31
31
  externallyManaged: table.isExternallyManaged ?? false,
32
32
  externalSource: table.externalSource ? {
33
+ // `reconcileEveryMs` is not on the typed `.source()`
34
+ // surface today; read it through a widening cast so an
35
+ // untyped JS schema that still carries the key feeds the IR
36
+ // the same way the AST feeder does.
33
37
  hasReconcile: table.externalSource.reconcileEveryMs !== void 0,
34
38
  hasTenantBy: table.externalSource.tenantBy !== void 0,
35
39
  mode: table.externalSource.mode
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lunora/advisor",
3
- "version": "1.0.0-alpha.27",
3
+ "version": "1.0.0-alpha.28",
4
4
  "description": "Schema & query lints (splinter-style advisors) for Lunora, feeding the Studio Advisors view",
5
5
  "keywords": [
6
6
  "advisor",
@@ -46,8 +46,8 @@
46
46
  "access": "public"
47
47
  },
48
48
  "dependencies": {
49
- "@lunora/errors": "1.0.0-alpha.4",
50
- "@lunora/server": "1.0.0-alpha.24"
49
+ "@lunora/errors": "1.0.0-alpha.5",
50
+ "@lunora/server": "1.0.0-alpha.25"
51
51
  },
52
52
  "engines": {
53
53
  "node": "^22.15.0 || >=24.11.0"