postgresai 0.18.1-rc.1 → 0.18.1-rc.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.
- package/dist/bin/postgres-ai.js +2 -2
- package/package.json +1 -1
- package/schemas/H004.schema.json +26 -5
package/dist/bin/postgres-ai.js
CHANGED
|
@@ -13538,7 +13538,7 @@ var {
|
|
|
13538
13538
|
// package.json
|
|
13539
13539
|
var package_default = {
|
|
13540
13540
|
name: "postgresai",
|
|
13541
|
-
version: "0.18.1-rc.
|
|
13541
|
+
version: "0.18.1-rc.2",
|
|
13542
13542
|
description: "postgres_ai CLI",
|
|
13543
13543
|
license: "Apache-2.0",
|
|
13544
13544
|
private: false,
|
|
@@ -16898,7 +16898,7 @@ var Result = import_lib.default.Result;
|
|
|
16898
16898
|
var TypeOverrides = import_lib.default.TypeOverrides;
|
|
16899
16899
|
var defaults = import_lib.default.defaults;
|
|
16900
16900
|
// package.json
|
|
16901
|
-
var version = "0.18.1-rc.
|
|
16901
|
+
var version = "0.18.1-rc.2";
|
|
16902
16902
|
var package_default2 = {
|
|
16903
16903
|
name: "postgresai",
|
|
16904
16904
|
version,
|
package/package.json
CHANGED
package/schemas/H004.schema.json
CHANGED
|
@@ -49,7 +49,8 @@
|
|
|
49
49
|
"index_name": { "type": "string" },
|
|
50
50
|
"index_definition": { "type": "string" },
|
|
51
51
|
"index_size_bytes": { "type": "number" },
|
|
52
|
-
"index_size_pretty": { "type": "string" }
|
|
52
|
+
"index_size_pretty": { "type": "string" },
|
|
53
|
+
"also_unused": { "type": "boolean" }
|
|
53
54
|
}
|
|
54
55
|
},
|
|
55
56
|
"redundantIndex": {
|
|
@@ -86,7 +87,13 @@
|
|
|
86
87
|
"index_size_pretty": { "type": "string" },
|
|
87
88
|
"table_size_pretty": { "type": "string" },
|
|
88
89
|
"redundant_to": { "type": "array", "items": { "$ref": "#/$defs/redundantToIndex" } },
|
|
89
|
-
"redundant_to_parse_error": { "type": "string" }
|
|
90
|
+
"redundant_to_parse_error": { "type": "string" },
|
|
91
|
+
"also_unused": { "type": "boolean" },
|
|
92
|
+
"index_usage_first": { "type": "number" },
|
|
93
|
+
"index_usage_first_epoch": { "type": "number" },
|
|
94
|
+
"index_usage_first_time": { "type": "string" },
|
|
95
|
+
"index_usage_last_epoch": { "type": "number" },
|
|
96
|
+
"index_usage_last_time": { "type": "string" }
|
|
90
97
|
}
|
|
91
98
|
},
|
|
92
99
|
"dbEntry": {
|
|
@@ -106,7 +113,23 @@
|
|
|
106
113
|
"total_size_bytes": { "type": "number" },
|
|
107
114
|
"total_size_pretty": { "type": "string" },
|
|
108
115
|
"database_size_bytes": { "type": "number" },
|
|
109
|
-
"database_size_pretty": { "type": "string" }
|
|
116
|
+
"database_size_pretty": { "type": "string" },
|
|
117
|
+
"usage_readings": { "$ref": "#/$defs/usageReadings" }
|
|
118
|
+
}
|
|
119
|
+
},
|
|
120
|
+
"usageReadings": {
|
|
121
|
+
"type": "object",
|
|
122
|
+
"additionalProperties": false,
|
|
123
|
+
"required": ["start_epoch", "start_time", "end_epoch", "end_time", "lookback", "reading_step", "restart_in_window", "reset_in_window"],
|
|
124
|
+
"properties": {
|
|
125
|
+
"start_epoch": { "type": "number" },
|
|
126
|
+
"start_time": { "type": "string" },
|
|
127
|
+
"end_epoch": { "type": "number" },
|
|
128
|
+
"end_time": { "type": "string" },
|
|
129
|
+
"lookback": { "type": "string" },
|
|
130
|
+
"reading_step": { "type": "string" },
|
|
131
|
+
"restart_in_window": { "type": ["boolean", "null"] },
|
|
132
|
+
"reset_in_window": { "type": ["boolean", "null"] }
|
|
110
133
|
}
|
|
111
134
|
},
|
|
112
135
|
"data": {
|
|
@@ -124,5 +147,3 @@
|
|
|
124
147
|
}
|
|
125
148
|
}
|
|
126
149
|
}
|
|
127
|
-
|
|
128
|
-
|