datanotes 1.5.0 → 2.0.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/dist/api/index.cjs +8 -5
- package/dist/api/index.js +8 -5
- package/dist/datanotes.cjs +160 -819
- package/package.json +1 -1
package/dist/api/index.cjs
CHANGED
|
@@ -274,7 +274,7 @@ var OPERATIONS = [
|
|
|
274
274
|
},
|
|
275
275
|
"path": {
|
|
276
276
|
"type": "string",
|
|
277
|
-
"description": "database.yaml#catalog.schema.table
|
|
277
|
+
"description": "database.yaml#catalog.schema.table."
|
|
278
278
|
},
|
|
279
279
|
"description": {
|
|
280
280
|
"type": "string",
|
|
@@ -289,6 +289,7 @@ var OPERATIONS = [
|
|
|
289
289
|
},
|
|
290
290
|
"required": [
|
|
291
291
|
"name",
|
|
292
|
+
"catalog",
|
|
292
293
|
"schema",
|
|
293
294
|
"qualified",
|
|
294
295
|
"path"
|
|
@@ -386,7 +387,8 @@ var OPERATIONS = [
|
|
|
386
387
|
"description": "Folder of the table's rows."
|
|
387
388
|
},
|
|
388
389
|
"inDatabase": {
|
|
389
|
-
"type": "boolean"
|
|
390
|
+
"type": "boolean",
|
|
391
|
+
"description": "Always true."
|
|
390
392
|
},
|
|
391
393
|
"rowPath": {
|
|
392
394
|
"type": "string",
|
|
@@ -400,6 +402,7 @@ var OPERATIONS = [
|
|
|
400
402
|
"required": [
|
|
401
403
|
"folder",
|
|
402
404
|
"inDatabase",
|
|
405
|
+
"rowPath",
|
|
403
406
|
"archive"
|
|
404
407
|
],
|
|
405
408
|
"additionalProperties": true
|
|
@@ -486,7 +489,7 @@ var OPERATIONS = [
|
|
|
486
489
|
},
|
|
487
490
|
"dense": {
|
|
488
491
|
"type": "boolean",
|
|
489
|
-
"description": "
|
|
492
|
+
"description": "Written on every row (with its default)."
|
|
490
493
|
}
|
|
491
494
|
},
|
|
492
495
|
"required": [
|
|
@@ -505,7 +508,7 @@ var OPERATIONS = [
|
|
|
505
508
|
"items": {
|
|
506
509
|
"type": "string"
|
|
507
510
|
},
|
|
508
|
-
"description": "
|
|
511
|
+
"description": "Table defaults without a column (written on every new row), and the table property."
|
|
509
512
|
},
|
|
510
513
|
"qualified": {
|
|
511
514
|
"type": "string",
|
|
@@ -10445,7 +10448,7 @@ var OPERATIONS = [
|
|
|
10445
10448
|
},
|
|
10446
10449
|
{
|
|
10447
10450
|
"name": "create_view",
|
|
10448
|
-
"description": "Create (or `replace`) a view: a named select stored in database.yaml. Name it with the prefix\n`vw_` (e.g. `vw_open_tasks`): views share names and folders with tables. `query` takes the\nselect_rows parameters (table, columns, where, order_by, limit, join, group_by, aggregates, expand;\nrelative dates keep it current) and must run now. `comment` and `aliases` let agents find it;\n`labels` are column headings.
|
|
10451
|
+
"description": "Create (or `replace`) a view: a named select stored in database.yaml. Name it with the prefix\n`vw_` (e.g. `vw_open_tasks`): views share names and folders with tables. `query` takes the\nselect_rows parameters (table, columns, where, order_by, limit, join, group_by, aggregates, expand;\nrelative dates keep it current) and must run now. `comment` and `aliases` let agents find it;\n`labels` are column headings. Views are selected with select_rows(table=<view>), which may narrow them further\n(where, columns, order_by, limit). A view writes no note: it lives only in database.yaml.",
|
|
10449
10452
|
"inputSchema": {
|
|
10450
10453
|
"additionalProperties": false,
|
|
10451
10454
|
"properties": {
|
package/dist/api/index.js
CHANGED
|
@@ -232,7 +232,7 @@ var OPERATIONS = [
|
|
|
232
232
|
},
|
|
233
233
|
"path": {
|
|
234
234
|
"type": "string",
|
|
235
|
-
"description": "database.yaml#catalog.schema.table
|
|
235
|
+
"description": "database.yaml#catalog.schema.table."
|
|
236
236
|
},
|
|
237
237
|
"description": {
|
|
238
238
|
"type": "string",
|
|
@@ -247,6 +247,7 @@ var OPERATIONS = [
|
|
|
247
247
|
},
|
|
248
248
|
"required": [
|
|
249
249
|
"name",
|
|
250
|
+
"catalog",
|
|
250
251
|
"schema",
|
|
251
252
|
"qualified",
|
|
252
253
|
"path"
|
|
@@ -344,7 +345,8 @@ var OPERATIONS = [
|
|
|
344
345
|
"description": "Folder of the table's rows."
|
|
345
346
|
},
|
|
346
347
|
"inDatabase": {
|
|
347
|
-
"type": "boolean"
|
|
348
|
+
"type": "boolean",
|
|
349
|
+
"description": "Always true."
|
|
348
350
|
},
|
|
349
351
|
"rowPath": {
|
|
350
352
|
"type": "string",
|
|
@@ -358,6 +360,7 @@ var OPERATIONS = [
|
|
|
358
360
|
"required": [
|
|
359
361
|
"folder",
|
|
360
362
|
"inDatabase",
|
|
363
|
+
"rowPath",
|
|
361
364
|
"archive"
|
|
362
365
|
],
|
|
363
366
|
"additionalProperties": true
|
|
@@ -444,7 +447,7 @@ var OPERATIONS = [
|
|
|
444
447
|
},
|
|
445
448
|
"dense": {
|
|
446
449
|
"type": "boolean",
|
|
447
|
-
"description": "
|
|
450
|
+
"description": "Written on every row (with its default)."
|
|
448
451
|
}
|
|
449
452
|
},
|
|
450
453
|
"required": [
|
|
@@ -463,7 +466,7 @@ var OPERATIONS = [
|
|
|
463
466
|
"items": {
|
|
464
467
|
"type": "string"
|
|
465
468
|
},
|
|
466
|
-
"description": "
|
|
469
|
+
"description": "Table defaults without a column (written on every new row), and the table property."
|
|
467
470
|
},
|
|
468
471
|
"qualified": {
|
|
469
472
|
"type": "string",
|
|
@@ -10403,7 +10406,7 @@ var OPERATIONS = [
|
|
|
10403
10406
|
},
|
|
10404
10407
|
{
|
|
10405
10408
|
"name": "create_view",
|
|
10406
|
-
"description": "Create (or `replace`) a view: a named select stored in database.yaml. Name it with the prefix\n`vw_` (e.g. `vw_open_tasks`): views share names and folders with tables. `query` takes the\nselect_rows parameters (table, columns, where, order_by, limit, join, group_by, aggregates, expand;\nrelative dates keep it current) and must run now. `comment` and `aliases` let agents find it;\n`labels` are column headings.
|
|
10409
|
+
"description": "Create (or `replace`) a view: a named select stored in database.yaml. Name it with the prefix\n`vw_` (e.g. `vw_open_tasks`): views share names and folders with tables. `query` takes the\nselect_rows parameters (table, columns, where, order_by, limit, join, group_by, aggregates, expand;\nrelative dates keep it current) and must run now. `comment` and `aliases` let agents find it;\n`labels` are column headings. Views are selected with select_rows(table=<view>), which may narrow them further\n(where, columns, order_by, limit). A view writes no note: it lives only in database.yaml.",
|
|
10407
10410
|
"inputSchema": {
|
|
10408
10411
|
"additionalProperties": false,
|
|
10409
10412
|
"properties": {
|