@mintlify/cli 4.0.1779 → 4.0.1781

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.
@@ -6072,7 +6072,7 @@ var VISIBILITY_ATTRS = [
6072
6072
  description: "Humans: visible on the web, excluded from Markdown output. Agents: hidden on the web, included in Markdown output. Signed in / signed out: shown on the web by login state; signed-in content is excluded from Markdown output. { groups: [...] }: shown to signed-in users in any listed group. { groups: { excludes: [...] } }: hidden from users in any excluded group."
6073
6073
  }
6074
6074
  ];
6075
- var DATABASE_VIEW_OPTIONS = ["table", "board"];
6075
+ var DATABASE_VIEW_OPTIONS = ["table", "board", "calendar"];
6076
6076
  var DATABASE_ATTRS = [
6077
6077
  {
6078
6078
  name: "id",
@@ -6085,7 +6085,7 @@ var DATABASE_ATTRS = [
6085
6085
  name: "view",
6086
6086
  type: "string",
6087
6087
  options: DATABASE_VIEW_OPTIONS,
6088
- description: "Table or board. Omitted or unknown means table."
6088
+ description: "Table, board or calendar. Omitted or unknown means table."
6089
6089
  },
6090
6090
  {
6091
6091
  name: "sort",
@@ -6105,6 +6105,12 @@ var DATABASE_ATTRS = [
6105
6105
  placeholder: "Status",
6106
6106
  description: "Property name to group rows by."
6107
6107
  },
6108
+ {
6109
+ name: "calendarBy",
6110
+ type: "string",
6111
+ placeholder: "Launch date",
6112
+ description: "Date property that places rows on the calendar."
6113
+ },
6108
6114
  {
6109
6115
  name: "sql",
6110
6116
  type: "string",
@@ -12824,7 +12830,7 @@ function handleTree(node) {
12824
12830
  attrs: Object.assign({ treeData: parseTreeChildren(node) }, extraTreeAttrs)
12825
12831
  };
12826
12832
  }
12827
- var DATABASE_VIEW_PROPS = ["view", "sort", "filter", "groupBy"];
12833
+ var DATABASE_VIEW_PROPS = ["view", "sort", "filter", "groupBy", "calendarBy"];
12828
12834
  function handleDatabase(node, ctx) {
12829
12835
  var _a2;
12830
12836
  const sql = readDatabaseSql(node.attributes);
@@ -15830,7 +15836,7 @@ function writeTreeChild(state, child) {
15830
15836
  function renderDatabase(state, node) {
15831
15837
  const props = [
15832
15838
  serializeJsxAttribute(node.attrs, "id", node.attrs.id),
15833
- ...["view", "sort", "filter", "groupBy"].map((key) => serializeReadableJsxAttribute(key, node.attrs[key])),
15839
+ ...["view", "sort", "filter", "groupBy", "calendarBy"].map((key) => serializeReadableJsxAttribute(key, node.attrs[key])),
15834
15840
  typeof node.attrs.sql === "string" ? serializeDatabaseSql(node.attrs.sql) : null
15835
15841
  ].filter(Boolean);
15836
15842
  const propString = props.length > 0 ? ` ${props.join(" ")}` : "";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mintlify/cli",
3
- "version": "4.0.1779",
3
+ "version": "4.0.1781",
4
4
  "description": "The Mintlify CLI",
5
5
  "engines": {
6
6
  "node": ">=18.0.0"
@@ -45,12 +45,12 @@
45
45
  },
46
46
  "dependencies": {
47
47
  "@inquirer/prompts": "7.9.0",
48
- "@mintlify/common": "1.0.1328",
49
- "@mintlify/link-rot": "3.0.1566",
48
+ "@mintlify/common": "1.0.1330",
49
+ "@mintlify/link-rot": "3.0.1568",
50
50
  "@mintlify/models": "0.0.384",
51
- "@mintlify/og": "0.0.127",
52
- "@mintlify/prebuild": "1.0.1500",
53
- "@mintlify/previewing": "4.0.1584",
51
+ "@mintlify/og": "0.0.129",
52
+ "@mintlify/prebuild": "1.0.1502",
53
+ "@mintlify/previewing": "4.0.1586",
54
54
  "@mintlify/validation": "0.1.955",
55
55
  "adm-zip": "0.6.0",
56
56
  "chalk": "5.2.0",
@@ -87,7 +87,7 @@
87
87
  "keytar": "7.9.0"
88
88
  },
89
89
  "devDependencies": {
90
- "@mintlify/editor": "0.0.604",
90
+ "@mintlify/editor": "0.0.606",
91
91
  "@mintlify/ts-config": "2.0.2",
92
92
  "@tsconfig/recommended": "1.0.2",
93
93
  "@types/detect-port": "1.3.2",
@@ -106,5 +106,5 @@
106
106
  "vitest": "2.1.9",
107
107
  "vitest-mock-process": "1.0.4"
108
108
  },
109
- "gitHead": "804459ef49cf876e54a121d4bfd5da2eaf8c8f10"
109
+ "gitHead": "98bc9096d20ce53bf8d4a5bc3d381f6a42a0db03"
110
110
  }