alinea 1.1.1 → 1.1.2

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.
@@ -152,7 +152,7 @@ var EntryResolver = class {
152
152
  const name = this.scope.nameOf(field);
153
153
  if (!name)
154
154
  throw new Error(`Expression has no name ${field}`);
155
- const isEntryField = name === "path" || name === "type";
155
+ const isEntryField = name === "path" || name === "title";
156
156
  if (isEntryField)
157
157
  return table[name];
158
158
  return table.data[name];
@@ -2,7 +2,7 @@
2
2
  var package_default = {
3
3
  bin: "./dist/cli.js",
4
4
  name: "alinea",
5
- version: "1.1.1",
5
+ version: "1.1.2",
6
6
  description: "Headless git-based CMS",
7
7
  repository: {
8
8
  type: "git",
package/dist/cli/Serve.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  package_default
3
- } from "../chunks/chunk-LRCCBBNL.js";
3
+ } from "../chunks/chunk-4G4JGT6L.js";
4
4
  import "../chunks/chunk-U5RRZUYZ.js";
5
5
 
6
6
  // src/cli/Serve.ts
package/dist/cli/bin.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  package_default
3
- } from "../chunks/chunk-LRCCBBNL.js";
3
+ } from "../chunks/chunk-4G4JGT6L.js";
4
4
  import "../chunks/chunk-U5RRZUYZ.js";
5
5
 
6
6
  // node_modules/mri/lib/index.mjs
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  package_default
3
- } from "../chunks/chunk-LRCCBBNL.js";
3
+ } from "../chunks/chunk-4G4JGT6L.js";
4
4
  import {
5
5
  PLazy
6
6
  } from "../chunks/chunk-IKINPSS5.js";
@@ -61,7 +61,7 @@ export interface Order {
61
61
  type InferSelection<Selection> = Selection extends GraphQuery & Edge ? Expand<AnyQueryResult<Selection>> : Selection extends Expr<infer V> ? V : {
62
62
  [K in keyof Selection]: Selection[K] extends Type<infer V> ? Type.Infer<V> : InferSelection<Selection[K]>;
63
63
  };
64
- type InferResult<Selection, Types, Include> = Selection extends Expr<infer Value> ? Value : Selection extends undefined ? Types extends undefined ? EntryFields & (Include extends undefined ? {} : InferSelection<Include>) : EntryFields & Infer<Types> & (Include extends undefined ? {} : InferSelection<Include>) : InferSelection<Selection>;
64
+ type InferResult<Selection, Types, Include> = Selection extends undefined ? Types extends undefined ? EntryFields & (Include extends undefined ? {} : InferSelection<Include>) : EntryFields & Infer<Types> & (Include extends undefined ? {} : InferSelection<Include>) : Selection extends Expr<infer Value> ? Value : InferSelection<Selection>;
65
65
  type QueryResult<Selection, Types, Include> = Expand<InferResult<Selection, Types, Include>>;
66
66
  interface CountQuery<Selection, Types, Include> extends GraphQuery<Selection, Types, Include> {
67
67
  count: true;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  package_default
3
- } from "../../chunks/chunk-LRCCBBNL.js";
3
+ } from "../../chunks/chunk-4G4JGT6L.js";
4
4
  import {
5
5
  create as create2
6
6
  } from "../../chunks/chunk-IOTY7UTU.js";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "bin": "./dist/cli.js",
3
3
  "name": "alinea",
4
- "version": "1.1.1",
4
+ "version": "1.1.2",
5
5
  "description": "Headless git-based CMS",
6
6
  "repository": {
7
7
  "type": "git",