@happyvertical/smrt-assets 0.44.0 → 0.45.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/index.js +1 -1
- package/dist/manifest.json +517 -2685
- package/dist/smrt-knowledge.json +1644 -1406
- package/package.json +8 -8
package/dist/smrt-knowledge.json
CHANGED
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
"sensitiveFieldsExcluded": true,
|
|
4
4
|
"generatedAt": "1970-01-01T00:00:00.000Z",
|
|
5
5
|
"packageName": "@happyvertical/smrt-assets",
|
|
6
|
-
"packageVersion": "0.
|
|
6
|
+
"packageVersion": "0.45.0",
|
|
7
7
|
"sourceManifestPath": "dist/manifest.json",
|
|
8
8
|
"agentDocPath": "AGENTS.md",
|
|
9
9
|
"sourceHashes": {
|
|
10
|
-
"manifest": "
|
|
11
|
-
"packageJson": "
|
|
10
|
+
"manifest": "eb217d2d2804db781c3e90abf79fdd8418e91cf9500ed8b7211147998d99d951",
|
|
11
|
+
"packageJson": "1e7a25ce47bfae9ff6a7eb96dc8b9304bd16241598d64d72bcb65ad2e91cd65a",
|
|
12
12
|
"agents": "7d3a64dc7e114069e8a2357253360dcaa94550ed3662148e1b9146bf9cd30b79"
|
|
13
13
|
},
|
|
14
14
|
"exports": [
|
|
@@ -205,6 +205,12 @@
|
|
|
205
205
|
"operation": "delete",
|
|
206
206
|
"objectName": "@happyvertical/smrt-assets:AssetAssociation"
|
|
207
207
|
},
|
|
208
|
+
{
|
|
209
|
+
"kind": "cli",
|
|
210
|
+
"name": "assetassociation_hydrate",
|
|
211
|
+
"operation": "hydrate",
|
|
212
|
+
"objectName": "@happyvertical/smrt-assets:AssetAssociation"
|
|
213
|
+
},
|
|
208
214
|
{
|
|
209
215
|
"kind": "mcp",
|
|
210
216
|
"name": "assetassociation_list",
|
|
@@ -302,7 +308,108 @@
|
|
|
302
308
|
"returns": "Promise<void>"
|
|
303
309
|
}
|
|
304
310
|
],
|
|
305
|
-
"surfaces": [
|
|
311
|
+
"surfaces": [
|
|
312
|
+
{
|
|
313
|
+
"kind": "api",
|
|
314
|
+
"name": "assetassociations.byLeft",
|
|
315
|
+
"operation": "byLeft",
|
|
316
|
+
"objectName": "@happyvertical/smrt-assets:AssetAssociationCollection",
|
|
317
|
+
"path": "/assetassociations/byLeft",
|
|
318
|
+
"method": "POST"
|
|
319
|
+
},
|
|
320
|
+
{
|
|
321
|
+
"kind": "api",
|
|
322
|
+
"name": "assetassociations.byRight",
|
|
323
|
+
"operation": "byRight",
|
|
324
|
+
"objectName": "@happyvertical/smrt-assets:AssetAssociationCollection",
|
|
325
|
+
"path": "/assetassociations/byRight",
|
|
326
|
+
"method": "POST"
|
|
327
|
+
},
|
|
328
|
+
{
|
|
329
|
+
"kind": "api",
|
|
330
|
+
"name": "assetassociations.attach",
|
|
331
|
+
"operation": "attach",
|
|
332
|
+
"objectName": "@happyvertical/smrt-assets:AssetAssociationCollection",
|
|
333
|
+
"path": "/assetassociations/attach",
|
|
334
|
+
"method": "POST"
|
|
335
|
+
},
|
|
336
|
+
{
|
|
337
|
+
"kind": "api",
|
|
338
|
+
"name": "assetassociations.detach",
|
|
339
|
+
"operation": "detach",
|
|
340
|
+
"objectName": "@happyvertical/smrt-assets:AssetAssociationCollection",
|
|
341
|
+
"path": "/assetassociations/detach",
|
|
342
|
+
"method": "POST"
|
|
343
|
+
},
|
|
344
|
+
{
|
|
345
|
+
"kind": "api",
|
|
346
|
+
"name": "assetassociations.setLinks",
|
|
347
|
+
"operation": "setLinks",
|
|
348
|
+
"objectName": "@happyvertical/smrt-assets:AssetAssociationCollection",
|
|
349
|
+
"path": "/assetassociations/setLinks",
|
|
350
|
+
"method": "POST"
|
|
351
|
+
},
|
|
352
|
+
{
|
|
353
|
+
"kind": "cli",
|
|
354
|
+
"name": "assetassociationcollection_byLeft",
|
|
355
|
+
"operation": "byLeft",
|
|
356
|
+
"objectName": "@happyvertical/smrt-assets:AssetAssociationCollection"
|
|
357
|
+
},
|
|
358
|
+
{
|
|
359
|
+
"kind": "cli",
|
|
360
|
+
"name": "assetassociationcollection_byRight",
|
|
361
|
+
"operation": "byRight",
|
|
362
|
+
"objectName": "@happyvertical/smrt-assets:AssetAssociationCollection"
|
|
363
|
+
},
|
|
364
|
+
{
|
|
365
|
+
"kind": "cli",
|
|
366
|
+
"name": "assetassociationcollection_attach",
|
|
367
|
+
"operation": "attach",
|
|
368
|
+
"objectName": "@happyvertical/smrt-assets:AssetAssociationCollection"
|
|
369
|
+
},
|
|
370
|
+
{
|
|
371
|
+
"kind": "cli",
|
|
372
|
+
"name": "assetassociationcollection_detach",
|
|
373
|
+
"operation": "detach",
|
|
374
|
+
"objectName": "@happyvertical/smrt-assets:AssetAssociationCollection"
|
|
375
|
+
},
|
|
376
|
+
{
|
|
377
|
+
"kind": "cli",
|
|
378
|
+
"name": "assetassociationcollection_setLinks",
|
|
379
|
+
"operation": "setLinks",
|
|
380
|
+
"objectName": "@happyvertical/smrt-assets:AssetAssociationCollection"
|
|
381
|
+
},
|
|
382
|
+
{
|
|
383
|
+
"kind": "mcp",
|
|
384
|
+
"name": "assetassociationcollection_byleft",
|
|
385
|
+
"operation": "byLeft",
|
|
386
|
+
"objectName": "@happyvertical/smrt-assets:AssetAssociationCollection"
|
|
387
|
+
},
|
|
388
|
+
{
|
|
389
|
+
"kind": "mcp",
|
|
390
|
+
"name": "assetassociationcollection_byright",
|
|
391
|
+
"operation": "byRight",
|
|
392
|
+
"objectName": "@happyvertical/smrt-assets:AssetAssociationCollection"
|
|
393
|
+
},
|
|
394
|
+
{
|
|
395
|
+
"kind": "mcp",
|
|
396
|
+
"name": "assetassociationcollection_attach",
|
|
397
|
+
"operation": "attach",
|
|
398
|
+
"objectName": "@happyvertical/smrt-assets:AssetAssociationCollection"
|
|
399
|
+
},
|
|
400
|
+
{
|
|
401
|
+
"kind": "mcp",
|
|
402
|
+
"name": "assetassociationcollection_detach",
|
|
403
|
+
"operation": "detach",
|
|
404
|
+
"objectName": "@happyvertical/smrt-assets:AssetAssociationCollection"
|
|
405
|
+
},
|
|
406
|
+
{
|
|
407
|
+
"kind": "mcp",
|
|
408
|
+
"name": "assetassociationcollection_setlinks",
|
|
409
|
+
"operation": "setLinks",
|
|
410
|
+
"objectName": "@happyvertical/smrt-assets:AssetAssociationCollection"
|
|
411
|
+
}
|
|
412
|
+
],
|
|
306
413
|
"relationshipFeatures": [
|
|
307
414
|
"SmrtJunction",
|
|
308
415
|
"uuidColumns"
|
|
@@ -345,150 +452,11 @@
|
|
|
345
452
|
],
|
|
346
453
|
"relationships": [],
|
|
347
454
|
"methods": [
|
|
348
|
-
"_setLoadedRelationship",
|
|
349
|
-
"claimRevision",
|
|
350
|
-
"classifyConstraintError",
|
|
351
|
-
"clearEmbeddings",
|
|
352
|
-
"delete",
|
|
353
|
-
"describe",
|
|
354
|
-
"destroy",
|
|
355
|
-
"do",
|
|
356
|
-
"executeToolCall",
|
|
357
|
-
"forget",
|
|
358
|
-
"forgetScope",
|
|
359
|
-
"generateEmbeddings",
|
|
360
|
-
"getAiUsageSnapshot",
|
|
361
|
-
"getAvailableTools",
|
|
362
455
|
"getBySlug",
|
|
363
|
-
"getEmbedding",
|
|
364
|
-
"getFields",
|
|
365
|
-
"getId",
|
|
366
|
-
"getRelated",
|
|
367
|
-
"getSavedId",
|
|
368
|
-
"getSlug",
|
|
369
456
|
"getValidation",
|
|
370
|
-
"
|
|
371
|
-
"initialize",
|
|
372
|
-
"is",
|
|
373
|
-
"isRelatedLoaded",
|
|
374
|
-
"isSaved",
|
|
375
|
-
"listAiUsage",
|
|
376
|
-
"loadDataFromDb",
|
|
377
|
-
"loadFromId",
|
|
378
|
-
"loadFromSlug",
|
|
379
|
-
"loadRelated",
|
|
380
|
-
"loadRelatedMany",
|
|
381
|
-
"markAsPersisted",
|
|
382
|
-
"recall",
|
|
383
|
-
"recallAll",
|
|
384
|
-
"remember",
|
|
385
|
-
"requireInsertOnSave",
|
|
386
|
-
"resetAiUsage",
|
|
387
|
-
"save",
|
|
388
|
-
"setValidation",
|
|
389
|
-
"summarizeAiUsage",
|
|
390
|
-
"toJSON",
|
|
391
|
-
"toPlainObject",
|
|
392
|
-
"toPublicJSON",
|
|
393
|
-
"withDatabase",
|
|
394
|
-
"withTransaction"
|
|
457
|
+
"setValidation"
|
|
395
458
|
],
|
|
396
459
|
"methodSignatures": [
|
|
397
|
-
{
|
|
398
|
-
"name": "_setLoadedRelationship",
|
|
399
|
-
"params": [
|
|
400
|
-
"fieldName: string",
|
|
401
|
-
"value: any"
|
|
402
|
-
],
|
|
403
|
-
"returns": "void"
|
|
404
|
-
},
|
|
405
|
-
{
|
|
406
|
-
"name": "claimRevision",
|
|
407
|
-
"async": true,
|
|
408
|
-
"params": [
|
|
409
|
-
"expectedUpdatedAt: Date | string"
|
|
410
|
-
],
|
|
411
|
-
"returns": "Promise"
|
|
412
|
-
},
|
|
413
|
-
{
|
|
414
|
-
"name": "classifyConstraintError",
|
|
415
|
-
"static": true,
|
|
416
|
-
"params": [
|
|
417
|
-
"message: string"
|
|
418
|
-
],
|
|
419
|
-
"returns": "'unique' | 'not_null' | null"
|
|
420
|
-
},
|
|
421
|
-
{
|
|
422
|
-
"name": "clearEmbeddings",
|
|
423
|
-
"async": true,
|
|
424
|
-
"returns": "Promise<void>"
|
|
425
|
-
},
|
|
426
|
-
{
|
|
427
|
-
"name": "delete",
|
|
428
|
-
"async": true,
|
|
429
|
-
"returns": "Promise<void>"
|
|
430
|
-
},
|
|
431
|
-
{
|
|
432
|
-
"name": "describe",
|
|
433
|
-
"async": true,
|
|
434
|
-
"params": [
|
|
435
|
-
"options?: AiOperationOptions"
|
|
436
|
-
],
|
|
437
|
-
"returns": "any"
|
|
438
|
-
},
|
|
439
|
-
{
|
|
440
|
-
"name": "destroy",
|
|
441
|
-
"returns": "void"
|
|
442
|
-
},
|
|
443
|
-
{
|
|
444
|
-
"name": "do",
|
|
445
|
-
"async": true,
|
|
446
|
-
"params": [
|
|
447
|
-
"instructions: string",
|
|
448
|
-
"options?: AiOperationOptions"
|
|
449
|
-
],
|
|
450
|
-
"returns": "any"
|
|
451
|
-
},
|
|
452
|
-
{
|
|
453
|
-
"name": "executeToolCall",
|
|
454
|
-
"async": true,
|
|
455
|
-
"params": [
|
|
456
|
-
"toolCall: ToolCall"
|
|
457
|
-
],
|
|
458
|
-
"returns": "Promise<ToolCallResult>"
|
|
459
|
-
},
|
|
460
|
-
{
|
|
461
|
-
"name": "forget",
|
|
462
|
-
"async": true,
|
|
463
|
-
"params": [
|
|
464
|
-
"options: object"
|
|
465
|
-
],
|
|
466
|
-
"returns": "Promise<void>"
|
|
467
|
-
},
|
|
468
|
-
{
|
|
469
|
-
"name": "forgetScope",
|
|
470
|
-
"async": true,
|
|
471
|
-
"params": [
|
|
472
|
-
"options: object"
|
|
473
|
-
],
|
|
474
|
-
"returns": "Promise<number>"
|
|
475
|
-
},
|
|
476
|
-
{
|
|
477
|
-
"name": "generateEmbeddings",
|
|
478
|
-
"async": true,
|
|
479
|
-
"params": [
|
|
480
|
-
"options?: GenerateEmbeddingsOptions"
|
|
481
|
-
],
|
|
482
|
-
"returns": "Promise<void>"
|
|
483
|
-
},
|
|
484
|
-
{
|
|
485
|
-
"name": "getAiUsageSnapshot",
|
|
486
|
-
"returns": "AiUsageSnapshot | undefined"
|
|
487
|
-
},
|
|
488
|
-
{
|
|
489
|
-
"name": "getAvailableTools",
|
|
490
|
-
"returns": "AITool[]"
|
|
491
|
-
},
|
|
492
460
|
{
|
|
493
461
|
"name": "getBySlug",
|
|
494
462
|
"async": true,
|
|
@@ -498,213 +466,16 @@
|
|
|
498
466
|
],
|
|
499
467
|
"returns": "Promise<AssetMetafield | null>"
|
|
500
468
|
},
|
|
501
|
-
{
|
|
502
|
-
"name": "getEmbedding",
|
|
503
|
-
"async": true,
|
|
504
|
-
"params": [
|
|
505
|
-
"fieldName: string",
|
|
506
|
-
"model?: string"
|
|
507
|
-
],
|
|
508
|
-
"returns": "Promise<number[] | null>"
|
|
509
|
-
},
|
|
510
|
-
{
|
|
511
|
-
"name": "getFields",
|
|
512
|
-
"async": true,
|
|
513
|
-
"returns": "Promise<any>"
|
|
514
|
-
},
|
|
515
|
-
{
|
|
516
|
-
"name": "getId",
|
|
517
|
-
"async": true,
|
|
518
|
-
"returns": "any"
|
|
519
|
-
},
|
|
520
|
-
{
|
|
521
|
-
"name": "getRelated",
|
|
522
|
-
"async": true,
|
|
523
|
-
"params": [
|
|
524
|
-
"fieldName: string",
|
|
525
|
-
"opts?: LoadRelatedOptions"
|
|
526
|
-
],
|
|
527
|
-
"returns": "Promise<any>"
|
|
528
|
-
},
|
|
529
|
-
{
|
|
530
|
-
"name": "getSavedId",
|
|
531
|
-
"async": true,
|
|
532
|
-
"returns": "any"
|
|
533
|
-
},
|
|
534
|
-
{
|
|
535
|
-
"name": "getSlug",
|
|
536
|
-
"async": true,
|
|
537
|
-
"returns": "any"
|
|
538
|
-
},
|
|
539
469
|
{
|
|
540
470
|
"name": "getValidation",
|
|
541
471
|
"returns": "Record<string>"
|
|
542
472
|
},
|
|
543
|
-
{
|
|
544
|
-
"name": "hasStaleEmbeddings",
|
|
545
|
-
"async": true,
|
|
546
|
-
"returns": "Promise<boolean>"
|
|
547
|
-
},
|
|
548
|
-
{
|
|
549
|
-
"name": "initialize",
|
|
550
|
-
"async": true,
|
|
551
|
-
"returns": "Promise"
|
|
552
|
-
},
|
|
553
|
-
{
|
|
554
|
-
"name": "is",
|
|
555
|
-
"async": true,
|
|
556
|
-
"params": [
|
|
557
|
-
"criteria: string",
|
|
558
|
-
"options?: AiOperationOptions"
|
|
559
|
-
],
|
|
560
|
-
"returns": "any"
|
|
561
|
-
},
|
|
562
|
-
{
|
|
563
|
-
"name": "isRelatedLoaded",
|
|
564
|
-
"params": [
|
|
565
|
-
"fieldName: string"
|
|
566
|
-
],
|
|
567
|
-
"returns": "boolean"
|
|
568
|
-
},
|
|
569
|
-
{
|
|
570
|
-
"name": "isSaved",
|
|
571
|
-
"async": true,
|
|
572
|
-
"returns": "any"
|
|
573
|
-
},
|
|
574
|
-
{
|
|
575
|
-
"name": "listAiUsage",
|
|
576
|
-
"async": true,
|
|
577
|
-
"params": [
|
|
578
|
-
"options?: AiUsageListOptions"
|
|
579
|
-
],
|
|
580
|
-
"returns": "Promise<SmrtAiUsageRecord[]>"
|
|
581
|
-
},
|
|
582
|
-
{
|
|
583
|
-
"name": "loadDataFromDb",
|
|
584
|
-
"async": true,
|
|
585
|
-
"params": [
|
|
586
|
-
"data: Record<string>"
|
|
587
|
-
],
|
|
588
|
-
"returns": "any"
|
|
589
|
-
},
|
|
590
|
-
{
|
|
591
|
-
"name": "loadFromId",
|
|
592
|
-
"async": true,
|
|
593
|
-
"returns": "any"
|
|
594
|
-
},
|
|
595
|
-
{
|
|
596
|
-
"name": "loadFromSlug",
|
|
597
|
-
"async": true,
|
|
598
|
-
"returns": "any"
|
|
599
|
-
},
|
|
600
|
-
{
|
|
601
|
-
"name": "loadRelated",
|
|
602
|
-
"async": true,
|
|
603
|
-
"params": [
|
|
604
|
-
"fieldName: string",
|
|
605
|
-
"opts?: LoadRelatedOptions"
|
|
606
|
-
],
|
|
607
|
-
"returns": "Promise<any>"
|
|
608
|
-
},
|
|
609
|
-
{
|
|
610
|
-
"name": "loadRelatedMany",
|
|
611
|
-
"async": true,
|
|
612
|
-
"params": [
|
|
613
|
-
"fieldName: string",
|
|
614
|
-
"opts?: LoadRelatedOptions"
|
|
615
|
-
],
|
|
616
|
-
"returns": "Promise<any[]>"
|
|
617
|
-
},
|
|
618
|
-
{
|
|
619
|
-
"name": "markAsPersisted",
|
|
620
|
-
"returns": "void"
|
|
621
|
-
},
|
|
622
|
-
{
|
|
623
|
-
"name": "recall",
|
|
624
|
-
"async": true,
|
|
625
|
-
"params": [
|
|
626
|
-
"options: object"
|
|
627
|
-
],
|
|
628
|
-
"returns": "Promise"
|
|
629
|
-
},
|
|
630
|
-
{
|
|
631
|
-
"name": "recallAll",
|
|
632
|
-
"async": true,
|
|
633
|
-
"params": [
|
|
634
|
-
"options?: object"
|
|
635
|
-
],
|
|
636
|
-
"returns": "Promise<Map<string>>"
|
|
637
|
-
},
|
|
638
|
-
{
|
|
639
|
-
"name": "remember",
|
|
640
|
-
"async": true,
|
|
641
|
-
"params": [
|
|
642
|
-
"options: object"
|
|
643
|
-
],
|
|
644
|
-
"returns": "Promise<void>"
|
|
645
|
-
},
|
|
646
|
-
{
|
|
647
|
-
"name": "requireInsertOnSave",
|
|
648
|
-
"returns": "void"
|
|
649
|
-
},
|
|
650
|
-
{
|
|
651
|
-
"name": "resetAiUsage",
|
|
652
|
-
"returns": "void"
|
|
653
|
-
},
|
|
654
|
-
{
|
|
655
|
-
"name": "save",
|
|
656
|
-
"async": true,
|
|
657
|
-
"params": [
|
|
658
|
-
"options?: SmrtSaveOptions"
|
|
659
|
-
],
|
|
660
|
-
"returns": "any"
|
|
661
|
-
},
|
|
662
473
|
{
|
|
663
474
|
"name": "setValidation",
|
|
664
475
|
"params": [
|
|
665
476
|
"rules: Record<string>"
|
|
666
477
|
],
|
|
667
478
|
"returns": "void"
|
|
668
|
-
},
|
|
669
|
-
{
|
|
670
|
-
"name": "summarizeAiUsage",
|
|
671
|
-
"async": true,
|
|
672
|
-
"params": [
|
|
673
|
-
"options?: AiUsageSummaryOptions"
|
|
674
|
-
],
|
|
675
|
-
"returns": "Promise<Record<string, AiUsageStats>>"
|
|
676
|
-
},
|
|
677
|
-
{
|
|
678
|
-
"name": "toJSON",
|
|
679
|
-
"returns": "any"
|
|
680
|
-
},
|
|
681
|
-
{
|
|
682
|
-
"name": "toPlainObject",
|
|
683
|
-
"returns": "Record<string>"
|
|
684
|
-
},
|
|
685
|
-
{
|
|
686
|
-
"name": "toPublicJSON",
|
|
687
|
-
"params": [
|
|
688
|
-
"options?: PublicJsonOptions"
|
|
689
|
-
],
|
|
690
|
-
"returns": "Record<string>"
|
|
691
|
-
},
|
|
692
|
-
{
|
|
693
|
-
"name": "withDatabase",
|
|
694
|
-
"async": true,
|
|
695
|
-
"params": [
|
|
696
|
-
"db: DatabaseInterface",
|
|
697
|
-
"operation: Function"
|
|
698
|
-
],
|
|
699
|
-
"returns": "Promise<T>"
|
|
700
|
-
},
|
|
701
|
-
{
|
|
702
|
-
"name": "withTransaction",
|
|
703
|
-
"async": true,
|
|
704
|
-
"params": [
|
|
705
|
-
"operation: Function"
|
|
706
|
-
],
|
|
707
|
-
"returns": "Promise<T>"
|
|
708
479
|
}
|
|
709
480
|
],
|
|
710
481
|
"tableStrategy": "sti",
|
|
@@ -779,6 +550,24 @@
|
|
|
779
550
|
"operation": "delete",
|
|
780
551
|
"objectName": "@happyvertical/smrt-assets:AssetMetafield"
|
|
781
552
|
},
|
|
553
|
+
{
|
|
554
|
+
"kind": "cli",
|
|
555
|
+
"name": "assetmetafield_getValidation",
|
|
556
|
+
"operation": "getValidation",
|
|
557
|
+
"objectName": "@happyvertical/smrt-assets:AssetMetafield"
|
|
558
|
+
},
|
|
559
|
+
{
|
|
560
|
+
"kind": "cli",
|
|
561
|
+
"name": "assetmetafield_setValidation",
|
|
562
|
+
"operation": "setValidation",
|
|
563
|
+
"objectName": "@happyvertical/smrt-assets:AssetMetafield"
|
|
564
|
+
},
|
|
565
|
+
{
|
|
566
|
+
"kind": "cli",
|
|
567
|
+
"name": "assetmetafield_getBySlug",
|
|
568
|
+
"operation": "getBySlug",
|
|
569
|
+
"objectName": "@happyvertical/smrt-assets:AssetMetafield"
|
|
570
|
+
},
|
|
782
571
|
{
|
|
783
572
|
"kind": "mcp",
|
|
784
573
|
"name": "assetmetafield_list",
|
|
@@ -834,8 +623,49 @@
|
|
|
834
623
|
"returns": "Promise<void>"
|
|
835
624
|
}
|
|
836
625
|
],
|
|
837
|
-
"surfaces": [
|
|
838
|
-
|
|
626
|
+
"surfaces": [
|
|
627
|
+
{
|
|
628
|
+
"kind": "api",
|
|
629
|
+
"name": "assetmetafields.getOrCreate",
|
|
630
|
+
"operation": "getOrCreate",
|
|
631
|
+
"objectName": "@happyvertical/smrt-assets:AssetMetafieldCollection",
|
|
632
|
+
"path": "/assetmetafields/getOrCreate",
|
|
633
|
+
"method": "POST"
|
|
634
|
+
},
|
|
635
|
+
{
|
|
636
|
+
"kind": "api",
|
|
637
|
+
"name": "assetmetafields.initializeCommonMetafields",
|
|
638
|
+
"operation": "initializeCommonMetafields",
|
|
639
|
+
"objectName": "@happyvertical/smrt-assets:AssetMetafieldCollection",
|
|
640
|
+
"path": "/assetmetafields/initializeCommonMetafields",
|
|
641
|
+
"method": "POST"
|
|
642
|
+
},
|
|
643
|
+
{
|
|
644
|
+
"kind": "cli",
|
|
645
|
+
"name": "assetmetafieldcollection_getOrCreate",
|
|
646
|
+
"operation": "getOrCreate",
|
|
647
|
+
"objectName": "@happyvertical/smrt-assets:AssetMetafieldCollection"
|
|
648
|
+
},
|
|
649
|
+
{
|
|
650
|
+
"kind": "cli",
|
|
651
|
+
"name": "assetmetafieldcollection_initializeCommonMetafields",
|
|
652
|
+
"operation": "initializeCommonMetafields",
|
|
653
|
+
"objectName": "@happyvertical/smrt-assets:AssetMetafieldCollection"
|
|
654
|
+
},
|
|
655
|
+
{
|
|
656
|
+
"kind": "mcp",
|
|
657
|
+
"name": "assetmetafieldcollection_getorcreate",
|
|
658
|
+
"operation": "getOrCreate",
|
|
659
|
+
"objectName": "@happyvertical/smrt-assets:AssetMetafieldCollection"
|
|
660
|
+
},
|
|
661
|
+
{
|
|
662
|
+
"kind": "mcp",
|
|
663
|
+
"name": "assetmetafieldcollection_initializecommonmetafields",
|
|
664
|
+
"operation": "initializeCommonMetafields",
|
|
665
|
+
"objectName": "@happyvertical/smrt-assets:AssetMetafieldCollection"
|
|
666
|
+
}
|
|
667
|
+
],
|
|
668
|
+
"relationshipFeatures": [
|
|
839
669
|
"uuidColumns"
|
|
840
670
|
],
|
|
841
671
|
"tags": [],
|
|
@@ -876,148 +706,9 @@
|
|
|
876
706
|
],
|
|
877
707
|
"relationships": [],
|
|
878
708
|
"methods": [
|
|
879
|
-
"
|
|
880
|
-
"claimRevision",
|
|
881
|
-
"classifyConstraintError",
|
|
882
|
-
"clearEmbeddings",
|
|
883
|
-
"delete",
|
|
884
|
-
"describe",
|
|
885
|
-
"destroy",
|
|
886
|
-
"do",
|
|
887
|
-
"executeToolCall",
|
|
888
|
-
"forget",
|
|
889
|
-
"forgetScope",
|
|
890
|
-
"generateEmbeddings",
|
|
891
|
-
"getAiUsageSnapshot",
|
|
892
|
-
"getAvailableTools",
|
|
893
|
-
"getBySlug",
|
|
894
|
-
"getEmbedding",
|
|
895
|
-
"getFields",
|
|
896
|
-
"getId",
|
|
897
|
-
"getRelated",
|
|
898
|
-
"getSavedId",
|
|
899
|
-
"getSlug",
|
|
900
|
-
"hasStaleEmbeddings",
|
|
901
|
-
"initialize",
|
|
902
|
-
"is",
|
|
903
|
-
"isRelatedLoaded",
|
|
904
|
-
"isSaved",
|
|
905
|
-
"listAiUsage",
|
|
906
|
-
"loadDataFromDb",
|
|
907
|
-
"loadFromId",
|
|
908
|
-
"loadFromSlug",
|
|
909
|
-
"loadRelated",
|
|
910
|
-
"loadRelatedMany",
|
|
911
|
-
"markAsPersisted",
|
|
912
|
-
"recall",
|
|
913
|
-
"recallAll",
|
|
914
|
-
"remember",
|
|
915
|
-
"requireInsertOnSave",
|
|
916
|
-
"resetAiUsage",
|
|
917
|
-
"save",
|
|
918
|
-
"summarizeAiUsage",
|
|
919
|
-
"toJSON",
|
|
920
|
-
"toPlainObject",
|
|
921
|
-
"toPublicJSON",
|
|
922
|
-
"withDatabase",
|
|
923
|
-
"withTransaction"
|
|
709
|
+
"getBySlug"
|
|
924
710
|
],
|
|
925
711
|
"methodSignatures": [
|
|
926
|
-
{
|
|
927
|
-
"name": "_setLoadedRelationship",
|
|
928
|
-
"params": [
|
|
929
|
-
"fieldName: string",
|
|
930
|
-
"value: any"
|
|
931
|
-
],
|
|
932
|
-
"returns": "void"
|
|
933
|
-
},
|
|
934
|
-
{
|
|
935
|
-
"name": "claimRevision",
|
|
936
|
-
"async": true,
|
|
937
|
-
"params": [
|
|
938
|
-
"expectedUpdatedAt: Date | string"
|
|
939
|
-
],
|
|
940
|
-
"returns": "Promise"
|
|
941
|
-
},
|
|
942
|
-
{
|
|
943
|
-
"name": "classifyConstraintError",
|
|
944
|
-
"static": true,
|
|
945
|
-
"params": [
|
|
946
|
-
"message: string"
|
|
947
|
-
],
|
|
948
|
-
"returns": "'unique' | 'not_null' | null"
|
|
949
|
-
},
|
|
950
|
-
{
|
|
951
|
-
"name": "clearEmbeddings",
|
|
952
|
-
"async": true,
|
|
953
|
-
"returns": "Promise<void>"
|
|
954
|
-
},
|
|
955
|
-
{
|
|
956
|
-
"name": "delete",
|
|
957
|
-
"async": true,
|
|
958
|
-
"returns": "Promise<void>"
|
|
959
|
-
},
|
|
960
|
-
{
|
|
961
|
-
"name": "describe",
|
|
962
|
-
"async": true,
|
|
963
|
-
"params": [
|
|
964
|
-
"options?: AiOperationOptions"
|
|
965
|
-
],
|
|
966
|
-
"returns": "any"
|
|
967
|
-
},
|
|
968
|
-
{
|
|
969
|
-
"name": "destroy",
|
|
970
|
-
"returns": "void"
|
|
971
|
-
},
|
|
972
|
-
{
|
|
973
|
-
"name": "do",
|
|
974
|
-
"async": true,
|
|
975
|
-
"params": [
|
|
976
|
-
"instructions: string",
|
|
977
|
-
"options?: AiOperationOptions"
|
|
978
|
-
],
|
|
979
|
-
"returns": "any"
|
|
980
|
-
},
|
|
981
|
-
{
|
|
982
|
-
"name": "executeToolCall",
|
|
983
|
-
"async": true,
|
|
984
|
-
"params": [
|
|
985
|
-
"toolCall: ToolCall"
|
|
986
|
-
],
|
|
987
|
-
"returns": "Promise<ToolCallResult>"
|
|
988
|
-
},
|
|
989
|
-
{
|
|
990
|
-
"name": "forget",
|
|
991
|
-
"async": true,
|
|
992
|
-
"params": [
|
|
993
|
-
"options: object"
|
|
994
|
-
],
|
|
995
|
-
"returns": "Promise<void>"
|
|
996
|
-
},
|
|
997
|
-
{
|
|
998
|
-
"name": "forgetScope",
|
|
999
|
-
"async": true,
|
|
1000
|
-
"params": [
|
|
1001
|
-
"options: object"
|
|
1002
|
-
],
|
|
1003
|
-
"returns": "Promise<number>"
|
|
1004
|
-
},
|
|
1005
|
-
{
|
|
1006
|
-
"name": "generateEmbeddings",
|
|
1007
|
-
"async": true,
|
|
1008
|
-
"params": [
|
|
1009
|
-
"options?: GenerateEmbeddingsOptions"
|
|
1010
|
-
],
|
|
1011
|
-
"returns": "Promise<void>"
|
|
1012
|
-
},
|
|
1013
|
-
{
|
|
1014
|
-
"name": "getAiUsageSnapshot",
|
|
1015
|
-
"returns": "AiUsageSnapshot | undefined"
|
|
1016
|
-
},
|
|
1017
|
-
{
|
|
1018
|
-
"name": "getAvailableTools",
|
|
1019
|
-
"returns": "AITool[]"
|
|
1020
|
-
},
|
|
1021
712
|
{
|
|
1022
713
|
"name": "getBySlug",
|
|
1023
714
|
"async": true,
|
|
@@ -1026,203 +717,6 @@
|
|
|
1026
717
|
"_slug: string"
|
|
1027
718
|
],
|
|
1028
719
|
"returns": "Promise<AssetStatus | null>"
|
|
1029
|
-
},
|
|
1030
|
-
{
|
|
1031
|
-
"name": "getEmbedding",
|
|
1032
|
-
"async": true,
|
|
1033
|
-
"params": [
|
|
1034
|
-
"fieldName: string",
|
|
1035
|
-
"model?: string"
|
|
1036
|
-
],
|
|
1037
|
-
"returns": "Promise<number[] | null>"
|
|
1038
|
-
},
|
|
1039
|
-
{
|
|
1040
|
-
"name": "getFields",
|
|
1041
|
-
"async": true,
|
|
1042
|
-
"returns": "Promise<any>"
|
|
1043
|
-
},
|
|
1044
|
-
{
|
|
1045
|
-
"name": "getId",
|
|
1046
|
-
"async": true,
|
|
1047
|
-
"returns": "any"
|
|
1048
|
-
},
|
|
1049
|
-
{
|
|
1050
|
-
"name": "getRelated",
|
|
1051
|
-
"async": true,
|
|
1052
|
-
"params": [
|
|
1053
|
-
"fieldName: string",
|
|
1054
|
-
"opts?: LoadRelatedOptions"
|
|
1055
|
-
],
|
|
1056
|
-
"returns": "Promise<any>"
|
|
1057
|
-
},
|
|
1058
|
-
{
|
|
1059
|
-
"name": "getSavedId",
|
|
1060
|
-
"async": true,
|
|
1061
|
-
"returns": "any"
|
|
1062
|
-
},
|
|
1063
|
-
{
|
|
1064
|
-
"name": "getSlug",
|
|
1065
|
-
"async": true,
|
|
1066
|
-
"returns": "any"
|
|
1067
|
-
},
|
|
1068
|
-
{
|
|
1069
|
-
"name": "hasStaleEmbeddings",
|
|
1070
|
-
"async": true,
|
|
1071
|
-
"returns": "Promise<boolean>"
|
|
1072
|
-
},
|
|
1073
|
-
{
|
|
1074
|
-
"name": "initialize",
|
|
1075
|
-
"async": true,
|
|
1076
|
-
"returns": "Promise"
|
|
1077
|
-
},
|
|
1078
|
-
{
|
|
1079
|
-
"name": "is",
|
|
1080
|
-
"async": true,
|
|
1081
|
-
"params": [
|
|
1082
|
-
"criteria: string",
|
|
1083
|
-
"options?: AiOperationOptions"
|
|
1084
|
-
],
|
|
1085
|
-
"returns": "any"
|
|
1086
|
-
},
|
|
1087
|
-
{
|
|
1088
|
-
"name": "isRelatedLoaded",
|
|
1089
|
-
"params": [
|
|
1090
|
-
"fieldName: string"
|
|
1091
|
-
],
|
|
1092
|
-
"returns": "boolean"
|
|
1093
|
-
},
|
|
1094
|
-
{
|
|
1095
|
-
"name": "isSaved",
|
|
1096
|
-
"async": true,
|
|
1097
|
-
"returns": "any"
|
|
1098
|
-
},
|
|
1099
|
-
{
|
|
1100
|
-
"name": "listAiUsage",
|
|
1101
|
-
"async": true,
|
|
1102
|
-
"params": [
|
|
1103
|
-
"options?: AiUsageListOptions"
|
|
1104
|
-
],
|
|
1105
|
-
"returns": "Promise<SmrtAiUsageRecord[]>"
|
|
1106
|
-
},
|
|
1107
|
-
{
|
|
1108
|
-
"name": "loadDataFromDb",
|
|
1109
|
-
"async": true,
|
|
1110
|
-
"params": [
|
|
1111
|
-
"data: Record<string>"
|
|
1112
|
-
],
|
|
1113
|
-
"returns": "any"
|
|
1114
|
-
},
|
|
1115
|
-
{
|
|
1116
|
-
"name": "loadFromId",
|
|
1117
|
-
"async": true,
|
|
1118
|
-
"returns": "any"
|
|
1119
|
-
},
|
|
1120
|
-
{
|
|
1121
|
-
"name": "loadFromSlug",
|
|
1122
|
-
"async": true,
|
|
1123
|
-
"returns": "any"
|
|
1124
|
-
},
|
|
1125
|
-
{
|
|
1126
|
-
"name": "loadRelated",
|
|
1127
|
-
"async": true,
|
|
1128
|
-
"params": [
|
|
1129
|
-
"fieldName: string",
|
|
1130
|
-
"opts?: LoadRelatedOptions"
|
|
1131
|
-
],
|
|
1132
|
-
"returns": "Promise<any>"
|
|
1133
|
-
},
|
|
1134
|
-
{
|
|
1135
|
-
"name": "loadRelatedMany",
|
|
1136
|
-
"async": true,
|
|
1137
|
-
"params": [
|
|
1138
|
-
"fieldName: string",
|
|
1139
|
-
"opts?: LoadRelatedOptions"
|
|
1140
|
-
],
|
|
1141
|
-
"returns": "Promise<any[]>"
|
|
1142
|
-
},
|
|
1143
|
-
{
|
|
1144
|
-
"name": "markAsPersisted",
|
|
1145
|
-
"returns": "void"
|
|
1146
|
-
},
|
|
1147
|
-
{
|
|
1148
|
-
"name": "recall",
|
|
1149
|
-
"async": true,
|
|
1150
|
-
"params": [
|
|
1151
|
-
"options: object"
|
|
1152
|
-
],
|
|
1153
|
-
"returns": "Promise"
|
|
1154
|
-
},
|
|
1155
|
-
{
|
|
1156
|
-
"name": "recallAll",
|
|
1157
|
-
"async": true,
|
|
1158
|
-
"params": [
|
|
1159
|
-
"options?: object"
|
|
1160
|
-
],
|
|
1161
|
-
"returns": "Promise<Map<string>>"
|
|
1162
|
-
},
|
|
1163
|
-
{
|
|
1164
|
-
"name": "remember",
|
|
1165
|
-
"async": true,
|
|
1166
|
-
"params": [
|
|
1167
|
-
"options: object"
|
|
1168
|
-
],
|
|
1169
|
-
"returns": "Promise<void>"
|
|
1170
|
-
},
|
|
1171
|
-
{
|
|
1172
|
-
"name": "requireInsertOnSave",
|
|
1173
|
-
"returns": "void"
|
|
1174
|
-
},
|
|
1175
|
-
{
|
|
1176
|
-
"name": "resetAiUsage",
|
|
1177
|
-
"returns": "void"
|
|
1178
|
-
},
|
|
1179
|
-
{
|
|
1180
|
-
"name": "save",
|
|
1181
|
-
"async": true,
|
|
1182
|
-
"params": [
|
|
1183
|
-
"options?: SmrtSaveOptions"
|
|
1184
|
-
],
|
|
1185
|
-
"returns": "any"
|
|
1186
|
-
},
|
|
1187
|
-
{
|
|
1188
|
-
"name": "summarizeAiUsage",
|
|
1189
|
-
"async": true,
|
|
1190
|
-
"params": [
|
|
1191
|
-
"options?: AiUsageSummaryOptions"
|
|
1192
|
-
],
|
|
1193
|
-
"returns": "Promise<Record<string, AiUsageStats>>"
|
|
1194
|
-
},
|
|
1195
|
-
{
|
|
1196
|
-
"name": "toJSON",
|
|
1197
|
-
"returns": "any"
|
|
1198
|
-
},
|
|
1199
|
-
{
|
|
1200
|
-
"name": "toPlainObject",
|
|
1201
|
-
"returns": "Record<string>"
|
|
1202
|
-
},
|
|
1203
|
-
{
|
|
1204
|
-
"name": "toPublicJSON",
|
|
1205
|
-
"params": [
|
|
1206
|
-
"options?: PublicJsonOptions"
|
|
1207
|
-
],
|
|
1208
|
-
"returns": "Record<string>"
|
|
1209
|
-
},
|
|
1210
|
-
{
|
|
1211
|
-
"name": "withDatabase",
|
|
1212
|
-
"async": true,
|
|
1213
|
-
"params": [
|
|
1214
|
-
"db: DatabaseInterface",
|
|
1215
|
-
"operation: Function"
|
|
1216
|
-
],
|
|
1217
|
-
"returns": "Promise<T>"
|
|
1218
|
-
},
|
|
1219
|
-
{
|
|
1220
|
-
"name": "withTransaction",
|
|
1221
|
-
"async": true,
|
|
1222
|
-
"params": [
|
|
1223
|
-
"operation: Function"
|
|
1224
|
-
],
|
|
1225
|
-
"returns": "Promise<T>"
|
|
1226
720
|
}
|
|
1227
721
|
],
|
|
1228
722
|
"tableStrategy": "sti",
|
|
@@ -1297,6 +791,12 @@
|
|
|
1297
791
|
"operation": "delete",
|
|
1298
792
|
"objectName": "@happyvertical/smrt-assets:AssetStatus"
|
|
1299
793
|
},
|
|
794
|
+
{
|
|
795
|
+
"kind": "cli",
|
|
796
|
+
"name": "assetstatus_getBySlug",
|
|
797
|
+
"operation": "getBySlug",
|
|
798
|
+
"objectName": "@happyvertical/smrt-assets:AssetStatus"
|
|
799
|
+
},
|
|
1300
800
|
{
|
|
1301
801
|
"kind": "mcp",
|
|
1302
802
|
"name": "assetstatus_list",
|
|
@@ -1352,7 +852,48 @@
|
|
|
1352
852
|
"returns": "Promise<void>"
|
|
1353
853
|
}
|
|
1354
854
|
],
|
|
1355
|
-
"surfaces": [
|
|
855
|
+
"surfaces": [
|
|
856
|
+
{
|
|
857
|
+
"kind": "api",
|
|
858
|
+
"name": "assetstatuses.getOrCreate",
|
|
859
|
+
"operation": "getOrCreate",
|
|
860
|
+
"objectName": "@happyvertical/smrt-assets:AssetStatusCollection",
|
|
861
|
+
"path": "/assetstatuses/getOrCreate",
|
|
862
|
+
"method": "POST"
|
|
863
|
+
},
|
|
864
|
+
{
|
|
865
|
+
"kind": "api",
|
|
866
|
+
"name": "assetstatuses.initializeCommonStatuses",
|
|
867
|
+
"operation": "initializeCommonStatuses",
|
|
868
|
+
"objectName": "@happyvertical/smrt-assets:AssetStatusCollection",
|
|
869
|
+
"path": "/assetstatuses/initializeCommonStatuses",
|
|
870
|
+
"method": "POST"
|
|
871
|
+
},
|
|
872
|
+
{
|
|
873
|
+
"kind": "cli",
|
|
874
|
+
"name": "assetstatuscollection_getOrCreate",
|
|
875
|
+
"operation": "getOrCreate",
|
|
876
|
+
"objectName": "@happyvertical/smrt-assets:AssetStatusCollection"
|
|
877
|
+
},
|
|
878
|
+
{
|
|
879
|
+
"kind": "cli",
|
|
880
|
+
"name": "assetstatuscollection_initializeCommonStatuses",
|
|
881
|
+
"operation": "initializeCommonStatuses",
|
|
882
|
+
"objectName": "@happyvertical/smrt-assets:AssetStatusCollection"
|
|
883
|
+
},
|
|
884
|
+
{
|
|
885
|
+
"kind": "mcp",
|
|
886
|
+
"name": "assetstatuscollection_getorcreate",
|
|
887
|
+
"operation": "getOrCreate",
|
|
888
|
+
"objectName": "@happyvertical/smrt-assets:AssetStatusCollection"
|
|
889
|
+
},
|
|
890
|
+
{
|
|
891
|
+
"kind": "mcp",
|
|
892
|
+
"name": "assetstatuscollection_initializecommonstatuses",
|
|
893
|
+
"operation": "initializeCommonStatuses",
|
|
894
|
+
"objectName": "@happyvertical/smrt-assets:AssetStatusCollection"
|
|
895
|
+
}
|
|
896
|
+
],
|
|
1356
897
|
"relationshipFeatures": [
|
|
1357
898
|
"uuidColumns"
|
|
1358
899
|
],
|
|
@@ -1394,357 +935,21 @@
|
|
|
1394
935
|
],
|
|
1395
936
|
"relationships": [],
|
|
1396
937
|
"methods": [
|
|
1397
|
-
"
|
|
1398
|
-
"claimRevision",
|
|
1399
|
-
"classifyConstraintError",
|
|
1400
|
-
"clearEmbeddings",
|
|
1401
|
-
"delete",
|
|
1402
|
-
"describe",
|
|
1403
|
-
"destroy",
|
|
1404
|
-
"do",
|
|
1405
|
-
"executeToolCall",
|
|
1406
|
-
"forget",
|
|
1407
|
-
"forgetScope",
|
|
1408
|
-
"generateEmbeddings",
|
|
1409
|
-
"getAiUsageSnapshot",
|
|
1410
|
-
"getAvailableTools",
|
|
1411
|
-
"getBySlug",
|
|
1412
|
-
"getEmbedding",
|
|
1413
|
-
"getFields",
|
|
1414
|
-
"getId",
|
|
1415
|
-
"getRelated",
|
|
1416
|
-
"getSavedId",
|
|
1417
|
-
"getSlug",
|
|
1418
|
-
"hasStaleEmbeddings",
|
|
1419
|
-
"initialize",
|
|
1420
|
-
"is",
|
|
1421
|
-
"isRelatedLoaded",
|
|
1422
|
-
"isSaved",
|
|
1423
|
-
"listAiUsage",
|
|
1424
|
-
"loadDataFromDb",
|
|
1425
|
-
"loadFromId",
|
|
1426
|
-
"loadFromSlug",
|
|
1427
|
-
"loadRelated",
|
|
1428
|
-
"loadRelatedMany",
|
|
1429
|
-
"markAsPersisted",
|
|
1430
|
-
"recall",
|
|
1431
|
-
"recallAll",
|
|
1432
|
-
"remember",
|
|
1433
|
-
"requireInsertOnSave",
|
|
1434
|
-
"resetAiUsage",
|
|
1435
|
-
"save",
|
|
1436
|
-
"summarizeAiUsage",
|
|
1437
|
-
"toJSON",
|
|
1438
|
-
"toPlainObject",
|
|
1439
|
-
"toPublicJSON",
|
|
1440
|
-
"withDatabase",
|
|
1441
|
-
"withTransaction"
|
|
938
|
+
"getBySlug"
|
|
1442
939
|
],
|
|
1443
940
|
"methodSignatures": [
|
|
1444
941
|
{
|
|
1445
|
-
"name": "
|
|
1446
|
-
"params": [
|
|
1447
|
-
"fieldName: string",
|
|
1448
|
-
"value: any"
|
|
1449
|
-
],
|
|
1450
|
-
"returns": "void"
|
|
1451
|
-
},
|
|
1452
|
-
{
|
|
1453
|
-
"name": "claimRevision",
|
|
942
|
+
"name": "getBySlug",
|
|
1454
943
|
"async": true,
|
|
1455
|
-
"params": [
|
|
1456
|
-
"expectedUpdatedAt: Date | string"
|
|
1457
|
-
],
|
|
1458
|
-
"returns": "Promise"
|
|
1459
|
-
},
|
|
1460
|
-
{
|
|
1461
|
-
"name": "classifyConstraintError",
|
|
1462
944
|
"static": true,
|
|
1463
945
|
"params": [
|
|
1464
|
-
"
|
|
946
|
+
"_slug: string"
|
|
1465
947
|
],
|
|
1466
|
-
"returns": "
|
|
1467
|
-
}
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
"returns": "Promise<void>"
|
|
1472
|
-
},
|
|
1473
|
-
{
|
|
1474
|
-
"name": "delete",
|
|
1475
|
-
"async": true,
|
|
1476
|
-
"returns": "Promise<void>"
|
|
1477
|
-
},
|
|
1478
|
-
{
|
|
1479
|
-
"name": "describe",
|
|
1480
|
-
"async": true,
|
|
1481
|
-
"params": [
|
|
1482
|
-
"options?: AiOperationOptions"
|
|
1483
|
-
],
|
|
1484
|
-
"returns": "any"
|
|
1485
|
-
},
|
|
1486
|
-
{
|
|
1487
|
-
"name": "destroy",
|
|
1488
|
-
"returns": "void"
|
|
1489
|
-
},
|
|
1490
|
-
{
|
|
1491
|
-
"name": "do",
|
|
1492
|
-
"async": true,
|
|
1493
|
-
"params": [
|
|
1494
|
-
"instructions: string",
|
|
1495
|
-
"options?: AiOperationOptions"
|
|
1496
|
-
],
|
|
1497
|
-
"returns": "any"
|
|
1498
|
-
},
|
|
1499
|
-
{
|
|
1500
|
-
"name": "executeToolCall",
|
|
1501
|
-
"async": true,
|
|
1502
|
-
"params": [
|
|
1503
|
-
"toolCall: ToolCall"
|
|
1504
|
-
],
|
|
1505
|
-
"returns": "Promise<ToolCallResult>"
|
|
1506
|
-
},
|
|
1507
|
-
{
|
|
1508
|
-
"name": "forget",
|
|
1509
|
-
"async": true,
|
|
1510
|
-
"params": [
|
|
1511
|
-
"options: object"
|
|
1512
|
-
],
|
|
1513
|
-
"returns": "Promise<void>"
|
|
1514
|
-
},
|
|
1515
|
-
{
|
|
1516
|
-
"name": "forgetScope",
|
|
1517
|
-
"async": true,
|
|
1518
|
-
"params": [
|
|
1519
|
-
"options: object"
|
|
1520
|
-
],
|
|
1521
|
-
"returns": "Promise<number>"
|
|
1522
|
-
},
|
|
1523
|
-
{
|
|
1524
|
-
"name": "generateEmbeddings",
|
|
1525
|
-
"async": true,
|
|
1526
|
-
"params": [
|
|
1527
|
-
"options?: GenerateEmbeddingsOptions"
|
|
1528
|
-
],
|
|
1529
|
-
"returns": "Promise<void>"
|
|
1530
|
-
},
|
|
1531
|
-
{
|
|
1532
|
-
"name": "getAiUsageSnapshot",
|
|
1533
|
-
"returns": "AiUsageSnapshot | undefined"
|
|
1534
|
-
},
|
|
1535
|
-
{
|
|
1536
|
-
"name": "getAvailableTools",
|
|
1537
|
-
"returns": "AITool[]"
|
|
1538
|
-
},
|
|
1539
|
-
{
|
|
1540
|
-
"name": "getBySlug",
|
|
1541
|
-
"async": true,
|
|
1542
|
-
"static": true,
|
|
1543
|
-
"params": [
|
|
1544
|
-
"_slug: string"
|
|
1545
|
-
],
|
|
1546
|
-
"returns": "Promise<AssetType | null>"
|
|
1547
|
-
},
|
|
1548
|
-
{
|
|
1549
|
-
"name": "getEmbedding",
|
|
1550
|
-
"async": true,
|
|
1551
|
-
"params": [
|
|
1552
|
-
"fieldName: string",
|
|
1553
|
-
"model?: string"
|
|
1554
|
-
],
|
|
1555
|
-
"returns": "Promise<number[] | null>"
|
|
1556
|
-
},
|
|
1557
|
-
{
|
|
1558
|
-
"name": "getFields",
|
|
1559
|
-
"async": true,
|
|
1560
|
-
"returns": "Promise<any>"
|
|
1561
|
-
},
|
|
1562
|
-
{
|
|
1563
|
-
"name": "getId",
|
|
1564
|
-
"async": true,
|
|
1565
|
-
"returns": "any"
|
|
1566
|
-
},
|
|
1567
|
-
{
|
|
1568
|
-
"name": "getRelated",
|
|
1569
|
-
"async": true,
|
|
1570
|
-
"params": [
|
|
1571
|
-
"fieldName: string",
|
|
1572
|
-
"opts?: LoadRelatedOptions"
|
|
1573
|
-
],
|
|
1574
|
-
"returns": "Promise<any>"
|
|
1575
|
-
},
|
|
1576
|
-
{
|
|
1577
|
-
"name": "getSavedId",
|
|
1578
|
-
"async": true,
|
|
1579
|
-
"returns": "any"
|
|
1580
|
-
},
|
|
1581
|
-
{
|
|
1582
|
-
"name": "getSlug",
|
|
1583
|
-
"async": true,
|
|
1584
|
-
"returns": "any"
|
|
1585
|
-
},
|
|
1586
|
-
{
|
|
1587
|
-
"name": "hasStaleEmbeddings",
|
|
1588
|
-
"async": true,
|
|
1589
|
-
"returns": "Promise<boolean>"
|
|
1590
|
-
},
|
|
1591
|
-
{
|
|
1592
|
-
"name": "initialize",
|
|
1593
|
-
"async": true,
|
|
1594
|
-
"returns": "Promise"
|
|
1595
|
-
},
|
|
1596
|
-
{
|
|
1597
|
-
"name": "is",
|
|
1598
|
-
"async": true,
|
|
1599
|
-
"params": [
|
|
1600
|
-
"criteria: string",
|
|
1601
|
-
"options?: AiOperationOptions"
|
|
1602
|
-
],
|
|
1603
|
-
"returns": "any"
|
|
1604
|
-
},
|
|
1605
|
-
{
|
|
1606
|
-
"name": "isRelatedLoaded",
|
|
1607
|
-
"params": [
|
|
1608
|
-
"fieldName: string"
|
|
1609
|
-
],
|
|
1610
|
-
"returns": "boolean"
|
|
1611
|
-
},
|
|
1612
|
-
{
|
|
1613
|
-
"name": "isSaved",
|
|
1614
|
-
"async": true,
|
|
1615
|
-
"returns": "any"
|
|
1616
|
-
},
|
|
1617
|
-
{
|
|
1618
|
-
"name": "listAiUsage",
|
|
1619
|
-
"async": true,
|
|
1620
|
-
"params": [
|
|
1621
|
-
"options?: AiUsageListOptions"
|
|
1622
|
-
],
|
|
1623
|
-
"returns": "Promise<SmrtAiUsageRecord[]>"
|
|
1624
|
-
},
|
|
1625
|
-
{
|
|
1626
|
-
"name": "loadDataFromDb",
|
|
1627
|
-
"async": true,
|
|
1628
|
-
"params": [
|
|
1629
|
-
"data: Record<string>"
|
|
1630
|
-
],
|
|
1631
|
-
"returns": "any"
|
|
1632
|
-
},
|
|
1633
|
-
{
|
|
1634
|
-
"name": "loadFromId",
|
|
1635
|
-
"async": true,
|
|
1636
|
-
"returns": "any"
|
|
1637
|
-
},
|
|
1638
|
-
{
|
|
1639
|
-
"name": "loadFromSlug",
|
|
1640
|
-
"async": true,
|
|
1641
|
-
"returns": "any"
|
|
1642
|
-
},
|
|
1643
|
-
{
|
|
1644
|
-
"name": "loadRelated",
|
|
1645
|
-
"async": true,
|
|
1646
|
-
"params": [
|
|
1647
|
-
"fieldName: string",
|
|
1648
|
-
"opts?: LoadRelatedOptions"
|
|
1649
|
-
],
|
|
1650
|
-
"returns": "Promise<any>"
|
|
1651
|
-
},
|
|
1652
|
-
{
|
|
1653
|
-
"name": "loadRelatedMany",
|
|
1654
|
-
"async": true,
|
|
1655
|
-
"params": [
|
|
1656
|
-
"fieldName: string",
|
|
1657
|
-
"opts?: LoadRelatedOptions"
|
|
1658
|
-
],
|
|
1659
|
-
"returns": "Promise<any[]>"
|
|
1660
|
-
},
|
|
1661
|
-
{
|
|
1662
|
-
"name": "markAsPersisted",
|
|
1663
|
-
"returns": "void"
|
|
1664
|
-
},
|
|
1665
|
-
{
|
|
1666
|
-
"name": "recall",
|
|
1667
|
-
"async": true,
|
|
1668
|
-
"params": [
|
|
1669
|
-
"options: object"
|
|
1670
|
-
],
|
|
1671
|
-
"returns": "Promise"
|
|
1672
|
-
},
|
|
1673
|
-
{
|
|
1674
|
-
"name": "recallAll",
|
|
1675
|
-
"async": true,
|
|
1676
|
-
"params": [
|
|
1677
|
-
"options?: object"
|
|
1678
|
-
],
|
|
1679
|
-
"returns": "Promise<Map<string>>"
|
|
1680
|
-
},
|
|
1681
|
-
{
|
|
1682
|
-
"name": "remember",
|
|
1683
|
-
"async": true,
|
|
1684
|
-
"params": [
|
|
1685
|
-
"options: object"
|
|
1686
|
-
],
|
|
1687
|
-
"returns": "Promise<void>"
|
|
1688
|
-
},
|
|
1689
|
-
{
|
|
1690
|
-
"name": "requireInsertOnSave",
|
|
1691
|
-
"returns": "void"
|
|
1692
|
-
},
|
|
1693
|
-
{
|
|
1694
|
-
"name": "resetAiUsage",
|
|
1695
|
-
"returns": "void"
|
|
1696
|
-
},
|
|
1697
|
-
{
|
|
1698
|
-
"name": "save",
|
|
1699
|
-
"async": true,
|
|
1700
|
-
"params": [
|
|
1701
|
-
"options?: SmrtSaveOptions"
|
|
1702
|
-
],
|
|
1703
|
-
"returns": "any"
|
|
1704
|
-
},
|
|
1705
|
-
{
|
|
1706
|
-
"name": "summarizeAiUsage",
|
|
1707
|
-
"async": true,
|
|
1708
|
-
"params": [
|
|
1709
|
-
"options?: AiUsageSummaryOptions"
|
|
1710
|
-
],
|
|
1711
|
-
"returns": "Promise<Record<string, AiUsageStats>>"
|
|
1712
|
-
},
|
|
1713
|
-
{
|
|
1714
|
-
"name": "toJSON",
|
|
1715
|
-
"returns": "any"
|
|
1716
|
-
},
|
|
1717
|
-
{
|
|
1718
|
-
"name": "toPlainObject",
|
|
1719
|
-
"returns": "Record<string>"
|
|
1720
|
-
},
|
|
1721
|
-
{
|
|
1722
|
-
"name": "toPublicJSON",
|
|
1723
|
-
"params": [
|
|
1724
|
-
"options?: PublicJsonOptions"
|
|
1725
|
-
],
|
|
1726
|
-
"returns": "Record<string>"
|
|
1727
|
-
},
|
|
1728
|
-
{
|
|
1729
|
-
"name": "withDatabase",
|
|
1730
|
-
"async": true,
|
|
1731
|
-
"params": [
|
|
1732
|
-
"db: DatabaseInterface",
|
|
1733
|
-
"operation: Function"
|
|
1734
|
-
],
|
|
1735
|
-
"returns": "Promise<T>"
|
|
1736
|
-
},
|
|
1737
|
-
{
|
|
1738
|
-
"name": "withTransaction",
|
|
1739
|
-
"async": true,
|
|
1740
|
-
"params": [
|
|
1741
|
-
"operation: Function"
|
|
1742
|
-
],
|
|
1743
|
-
"returns": "Promise<T>"
|
|
1744
|
-
}
|
|
1745
|
-
],
|
|
1746
|
-
"tableStrategy": "sti",
|
|
1747
|
-
"surfaces": [
|
|
948
|
+
"returns": "Promise<AssetType | null>"
|
|
949
|
+
}
|
|
950
|
+
],
|
|
951
|
+
"tableStrategy": "sti",
|
|
952
|
+
"surfaces": [
|
|
1748
953
|
{
|
|
1749
954
|
"kind": "api",
|
|
1750
955
|
"name": "assettypes.list",
|
|
@@ -1815,6 +1020,12 @@
|
|
|
1815
1020
|
"operation": "delete",
|
|
1816
1021
|
"objectName": "@happyvertical/smrt-assets:AssetType"
|
|
1817
1022
|
},
|
|
1023
|
+
{
|
|
1024
|
+
"kind": "cli",
|
|
1025
|
+
"name": "assettype_getBySlug",
|
|
1026
|
+
"operation": "getBySlug",
|
|
1027
|
+
"objectName": "@happyvertical/smrt-assets:AssetType"
|
|
1028
|
+
},
|
|
1818
1029
|
{
|
|
1819
1030
|
"kind": "mcp",
|
|
1820
1031
|
"name": "assettype_list",
|
|
@@ -1870,7 +1081,48 @@
|
|
|
1870
1081
|
"returns": "Promise<void>"
|
|
1871
1082
|
}
|
|
1872
1083
|
],
|
|
1873
|
-
"surfaces": [
|
|
1084
|
+
"surfaces": [
|
|
1085
|
+
{
|
|
1086
|
+
"kind": "api",
|
|
1087
|
+
"name": "assettypes.getOrCreate",
|
|
1088
|
+
"operation": "getOrCreate",
|
|
1089
|
+
"objectName": "@happyvertical/smrt-assets:AssetTypeCollection",
|
|
1090
|
+
"path": "/assettypes/getOrCreate",
|
|
1091
|
+
"method": "POST"
|
|
1092
|
+
},
|
|
1093
|
+
{
|
|
1094
|
+
"kind": "api",
|
|
1095
|
+
"name": "assettypes.initializeCommonTypes",
|
|
1096
|
+
"operation": "initializeCommonTypes",
|
|
1097
|
+
"objectName": "@happyvertical/smrt-assets:AssetTypeCollection",
|
|
1098
|
+
"path": "/assettypes/initializeCommonTypes",
|
|
1099
|
+
"method": "POST"
|
|
1100
|
+
},
|
|
1101
|
+
{
|
|
1102
|
+
"kind": "cli",
|
|
1103
|
+
"name": "assettypecollection_getOrCreate",
|
|
1104
|
+
"operation": "getOrCreate",
|
|
1105
|
+
"objectName": "@happyvertical/smrt-assets:AssetTypeCollection"
|
|
1106
|
+
},
|
|
1107
|
+
{
|
|
1108
|
+
"kind": "cli",
|
|
1109
|
+
"name": "assettypecollection_initializeCommonTypes",
|
|
1110
|
+
"operation": "initializeCommonTypes",
|
|
1111
|
+
"objectName": "@happyvertical/smrt-assets:AssetTypeCollection"
|
|
1112
|
+
},
|
|
1113
|
+
{
|
|
1114
|
+
"kind": "mcp",
|
|
1115
|
+
"name": "assettypecollection_getorcreate",
|
|
1116
|
+
"operation": "getOrCreate",
|
|
1117
|
+
"objectName": "@happyvertical/smrt-assets:AssetTypeCollection"
|
|
1118
|
+
},
|
|
1119
|
+
{
|
|
1120
|
+
"kind": "mcp",
|
|
1121
|
+
"name": "assettypecollection_initializecommontypes",
|
|
1122
|
+
"operation": "initializeCommonTypes",
|
|
1123
|
+
"objectName": "@happyvertical/smrt-assets:AssetTypeCollection"
|
|
1124
|
+
}
|
|
1125
|
+
],
|
|
1874
1126
|
"relationshipFeatures": [
|
|
1875
1127
|
"uuidColumns"
|
|
1876
1128
|
],
|
|
@@ -2042,75 +1294,23 @@
|
|
|
2042
1294
|
}
|
|
2043
1295
|
],
|
|
2044
1296
|
"methods": [
|
|
2045
|
-
"_setLoadedRelationship",
|
|
2046
1297
|
"associateWith",
|
|
2047
|
-
"claimRevision",
|
|
2048
|
-
"classifyConstraintError",
|
|
2049
|
-
"clearEmbeddings",
|
|
2050
|
-
"delete",
|
|
2051
|
-
"describe",
|
|
2052
|
-
"destroy",
|
|
2053
|
-
"do",
|
|
2054
|
-
"executeToolCall",
|
|
2055
|
-
"forget",
|
|
2056
|
-
"forgetScope",
|
|
2057
|
-
"generateEmbeddings",
|
|
2058
|
-
"getAiUsageSnapshot",
|
|
2059
1298
|
"getAssociations",
|
|
2060
|
-
"getAvailableTools",
|
|
2061
1299
|
"getBySlug",
|
|
2062
1300
|
"getDerivatives",
|
|
2063
|
-
"getEmbedding",
|
|
2064
1301
|
"getExternalRef",
|
|
2065
1302
|
"getExternalRefs",
|
|
2066
|
-
"getFields",
|
|
2067
|
-
"getId",
|
|
2068
1303
|
"getMetadata",
|
|
2069
|
-
"getRelated",
|
|
2070
|
-
"getSavedId",
|
|
2071
|
-
"getSlug",
|
|
2072
1304
|
"getSource",
|
|
2073
1305
|
"getStatus",
|
|
2074
1306
|
"getTags",
|
|
2075
1307
|
"getType",
|
|
2076
|
-
"hasStaleEmbeddings",
|
|
2077
1308
|
"hasTag",
|
|
2078
|
-
"initialize",
|
|
2079
|
-
"is",
|
|
2080
|
-
"isRelatedLoaded",
|
|
2081
|
-
"isSaved",
|
|
2082
|
-
"listAiUsage",
|
|
2083
|
-
"loadDataFromDb",
|
|
2084
|
-
"loadFromId",
|
|
2085
|
-
"loadFromSlug",
|
|
2086
|
-
"loadRelated",
|
|
2087
|
-
"loadRelatedMany",
|
|
2088
|
-
"markAsPersisted",
|
|
2089
1309
|
"mergeMetadata",
|
|
2090
|
-
"recall",
|
|
2091
|
-
"recallAll",
|
|
2092
|
-
"remember",
|
|
2093
|
-
"requireInsertOnSave",
|
|
2094
|
-
"resetAiUsage",
|
|
2095
|
-
"save",
|
|
2096
1310
|
"setExternalRef",
|
|
2097
|
-
"setMetadata"
|
|
2098
|
-
"summarizeAiUsage",
|
|
2099
|
-
"toJSON",
|
|
2100
|
-
"toPlainObject",
|
|
2101
|
-
"toPublicJSON",
|
|
2102
|
-
"withDatabase",
|
|
2103
|
-
"withTransaction"
|
|
1311
|
+
"setMetadata"
|
|
2104
1312
|
],
|
|
2105
1313
|
"methodSignatures": [
|
|
2106
|
-
{
|
|
2107
|
-
"name": "_setLoadedRelationship",
|
|
2108
|
-
"params": [
|
|
2109
|
-
"fieldName: string",
|
|
2110
|
-
"value: any"
|
|
2111
|
-
],
|
|
2112
|
-
"returns": "void"
|
|
2113
|
-
},
|
|
2114
1314
|
{
|
|
2115
1315
|
"name": "associateWith",
|
|
2116
1316
|
"async": true,
|
|
@@ -2122,189 +1322,59 @@
|
|
|
2122
1322
|
"returns": "Promise<AssetAssociation>"
|
|
2123
1323
|
},
|
|
2124
1324
|
{
|
|
2125
|
-
"name": "
|
|
1325
|
+
"name": "getAssociations",
|
|
2126
1326
|
"async": true,
|
|
2127
|
-
"
|
|
2128
|
-
"expectedUpdatedAt: Date | string"
|
|
2129
|
-
],
|
|
2130
|
-
"returns": "Promise"
|
|
1327
|
+
"returns": "Promise<AssetAssociation[]>"
|
|
2131
1328
|
},
|
|
2132
1329
|
{
|
|
2133
|
-
"name": "
|
|
1330
|
+
"name": "getBySlug",
|
|
1331
|
+
"async": true,
|
|
2134
1332
|
"static": true,
|
|
2135
1333
|
"params": [
|
|
2136
|
-
"
|
|
1334
|
+
"_slug: string"
|
|
2137
1335
|
],
|
|
2138
|
-
"returns": "
|
|
2139
|
-
},
|
|
2140
|
-
{
|
|
2141
|
-
"name": "clearEmbeddings",
|
|
2142
|
-
"async": true,
|
|
2143
|
-
"returns": "Promise<void>"
|
|
1336
|
+
"returns": "Promise<Asset | null>"
|
|
2144
1337
|
},
|
|
2145
1338
|
{
|
|
2146
|
-
"name": "
|
|
1339
|
+
"name": "getDerivatives",
|
|
2147
1340
|
"async": true,
|
|
2148
|
-
"returns": "Promise<
|
|
1341
|
+
"returns": "Promise<Asset[]>"
|
|
2149
1342
|
},
|
|
2150
1343
|
{
|
|
2151
|
-
"name": "
|
|
2152
|
-
"async": true,
|
|
1344
|
+
"name": "getExternalRef",
|
|
2153
1345
|
"params": [
|
|
2154
|
-
"
|
|
1346
|
+
"provider: string"
|
|
2155
1347
|
],
|
|
2156
|
-
"returns": "
|
|
1348
|
+
"returns": "AssetExternalReference | null"
|
|
2157
1349
|
},
|
|
2158
1350
|
{
|
|
2159
|
-
"name": "
|
|
2160
|
-
"returns": "
|
|
1351
|
+
"name": "getExternalRefs",
|
|
1352
|
+
"returns": "Record<string, AssetExternalReference>"
|
|
2161
1353
|
},
|
|
2162
1354
|
{
|
|
2163
|
-
"name": "
|
|
2164
|
-
"
|
|
2165
|
-
"params": [
|
|
2166
|
-
"instructions: string",
|
|
2167
|
-
"options?: AiOperationOptions"
|
|
2168
|
-
],
|
|
2169
|
-
"returns": "any"
|
|
1355
|
+
"name": "getMetadata",
|
|
1356
|
+
"returns": "Record<string>"
|
|
2170
1357
|
},
|
|
2171
1358
|
{
|
|
2172
|
-
"name": "
|
|
1359
|
+
"name": "getSource",
|
|
2173
1360
|
"async": true,
|
|
2174
|
-
"
|
|
2175
|
-
"toolCall: ToolCall"
|
|
2176
|
-
],
|
|
2177
|
-
"returns": "Promise<ToolCallResult>"
|
|
1361
|
+
"returns": "Promise<Asset | null>"
|
|
2178
1362
|
},
|
|
2179
1363
|
{
|
|
2180
|
-
"name": "
|
|
1364
|
+
"name": "getStatus",
|
|
2181
1365
|
"async": true,
|
|
2182
|
-
"
|
|
2183
|
-
"options: object"
|
|
2184
|
-
],
|
|
2185
|
-
"returns": "Promise<void>"
|
|
1366
|
+
"returns": "Promise<AssetStatus | null>"
|
|
2186
1367
|
},
|
|
2187
1368
|
{
|
|
2188
|
-
"name": "
|
|
1369
|
+
"name": "getTags",
|
|
2189
1370
|
"async": true,
|
|
2190
|
-
"
|
|
2191
|
-
"options: object"
|
|
2192
|
-
],
|
|
2193
|
-
"returns": "Promise<number>"
|
|
1371
|
+
"returns": "Promise<Tag[]>"
|
|
2194
1372
|
},
|
|
2195
1373
|
{
|
|
2196
|
-
"name": "
|
|
2197
|
-
"async": true,
|
|
2198
|
-
"params": [
|
|
2199
|
-
"options?: GenerateEmbeddingsOptions"
|
|
2200
|
-
],
|
|
2201
|
-
"returns": "Promise<void>"
|
|
2202
|
-
},
|
|
2203
|
-
{
|
|
2204
|
-
"name": "getAiUsageSnapshot",
|
|
2205
|
-
"returns": "AiUsageSnapshot | undefined"
|
|
2206
|
-
},
|
|
2207
|
-
{
|
|
2208
|
-
"name": "getAssociations",
|
|
2209
|
-
"async": true,
|
|
2210
|
-
"returns": "Promise<AssetAssociation[]>"
|
|
2211
|
-
},
|
|
2212
|
-
{
|
|
2213
|
-
"name": "getAvailableTools",
|
|
2214
|
-
"returns": "AITool[]"
|
|
2215
|
-
},
|
|
2216
|
-
{
|
|
2217
|
-
"name": "getBySlug",
|
|
2218
|
-
"async": true,
|
|
2219
|
-
"static": true,
|
|
2220
|
-
"params": [
|
|
2221
|
-
"_slug: string"
|
|
2222
|
-
],
|
|
2223
|
-
"returns": "Promise<Asset | null>"
|
|
2224
|
-
},
|
|
2225
|
-
{
|
|
2226
|
-
"name": "getDerivatives",
|
|
2227
|
-
"async": true,
|
|
2228
|
-
"returns": "Promise<Asset[]>"
|
|
2229
|
-
},
|
|
2230
|
-
{
|
|
2231
|
-
"name": "getEmbedding",
|
|
2232
|
-
"async": true,
|
|
2233
|
-
"params": [
|
|
2234
|
-
"fieldName: string",
|
|
2235
|
-
"model?: string"
|
|
2236
|
-
],
|
|
2237
|
-
"returns": "Promise<number[] | null>"
|
|
2238
|
-
},
|
|
2239
|
-
{
|
|
2240
|
-
"name": "getExternalRef",
|
|
2241
|
-
"params": [
|
|
2242
|
-
"provider: string"
|
|
2243
|
-
],
|
|
2244
|
-
"returns": "AssetExternalReference | null"
|
|
2245
|
-
},
|
|
2246
|
-
{
|
|
2247
|
-
"name": "getExternalRefs",
|
|
2248
|
-
"returns": "Record<string, AssetExternalReference>"
|
|
2249
|
-
},
|
|
2250
|
-
{
|
|
2251
|
-
"name": "getFields",
|
|
2252
|
-
"async": true,
|
|
2253
|
-
"returns": "Promise<any>"
|
|
2254
|
-
},
|
|
2255
|
-
{
|
|
2256
|
-
"name": "getId",
|
|
2257
|
-
"async": true,
|
|
2258
|
-
"returns": "any"
|
|
2259
|
-
},
|
|
2260
|
-
{
|
|
2261
|
-
"name": "getMetadata",
|
|
2262
|
-
"returns": "Record<string>"
|
|
2263
|
-
},
|
|
2264
|
-
{
|
|
2265
|
-
"name": "getRelated",
|
|
2266
|
-
"async": true,
|
|
2267
|
-
"params": [
|
|
2268
|
-
"fieldName: string",
|
|
2269
|
-
"opts?: LoadRelatedOptions"
|
|
2270
|
-
],
|
|
2271
|
-
"returns": "Promise<any>"
|
|
2272
|
-
},
|
|
2273
|
-
{
|
|
2274
|
-
"name": "getSavedId",
|
|
2275
|
-
"async": true,
|
|
2276
|
-
"returns": "any"
|
|
2277
|
-
},
|
|
2278
|
-
{
|
|
2279
|
-
"name": "getSlug",
|
|
2280
|
-
"async": true,
|
|
2281
|
-
"returns": "any"
|
|
2282
|
-
},
|
|
2283
|
-
{
|
|
2284
|
-
"name": "getSource",
|
|
2285
|
-
"async": true,
|
|
2286
|
-
"returns": "Promise<Asset | null>"
|
|
2287
|
-
},
|
|
2288
|
-
{
|
|
2289
|
-
"name": "getStatus",
|
|
2290
|
-
"async": true,
|
|
2291
|
-
"returns": "Promise<AssetStatus | null>"
|
|
2292
|
-
},
|
|
2293
|
-
{
|
|
2294
|
-
"name": "getTags",
|
|
2295
|
-
"async": true,
|
|
2296
|
-
"returns": "Promise<Tag[]>"
|
|
2297
|
-
},
|
|
2298
|
-
{
|
|
2299
|
-
"name": "getType",
|
|
1374
|
+
"name": "getType",
|
|
2300
1375
|
"async": true,
|
|
2301
1376
|
"returns": "Promise<AssetType | null>"
|
|
2302
1377
|
},
|
|
2303
|
-
{
|
|
2304
|
-
"name": "hasStaleEmbeddings",
|
|
2305
|
-
"async": true,
|
|
2306
|
-
"returns": "Promise<boolean>"
|
|
2307
|
-
},
|
|
2308
1378
|
{
|
|
2309
1379
|
"name": "hasTag",
|
|
2310
1380
|
"async": true,
|
|
@@ -2313,80 +1383,6 @@
|
|
|
2313
1383
|
],
|
|
2314
1384
|
"returns": "Promise<boolean>"
|
|
2315
1385
|
},
|
|
2316
|
-
{
|
|
2317
|
-
"name": "initialize",
|
|
2318
|
-
"async": true,
|
|
2319
|
-
"returns": "Promise"
|
|
2320
|
-
},
|
|
2321
|
-
{
|
|
2322
|
-
"name": "is",
|
|
2323
|
-
"async": true,
|
|
2324
|
-
"params": [
|
|
2325
|
-
"criteria: string",
|
|
2326
|
-
"options?: AiOperationOptions"
|
|
2327
|
-
],
|
|
2328
|
-
"returns": "any"
|
|
2329
|
-
},
|
|
2330
|
-
{
|
|
2331
|
-
"name": "isRelatedLoaded",
|
|
2332
|
-
"params": [
|
|
2333
|
-
"fieldName: string"
|
|
2334
|
-
],
|
|
2335
|
-
"returns": "boolean"
|
|
2336
|
-
},
|
|
2337
|
-
{
|
|
2338
|
-
"name": "isSaved",
|
|
2339
|
-
"async": true,
|
|
2340
|
-
"returns": "any"
|
|
2341
|
-
},
|
|
2342
|
-
{
|
|
2343
|
-
"name": "listAiUsage",
|
|
2344
|
-
"async": true,
|
|
2345
|
-
"params": [
|
|
2346
|
-
"options?: AiUsageListOptions"
|
|
2347
|
-
],
|
|
2348
|
-
"returns": "Promise<SmrtAiUsageRecord[]>"
|
|
2349
|
-
},
|
|
2350
|
-
{
|
|
2351
|
-
"name": "loadDataFromDb",
|
|
2352
|
-
"async": true,
|
|
2353
|
-
"params": [
|
|
2354
|
-
"data: Record<string>"
|
|
2355
|
-
],
|
|
2356
|
-
"returns": "any"
|
|
2357
|
-
},
|
|
2358
|
-
{
|
|
2359
|
-
"name": "loadFromId",
|
|
2360
|
-
"async": true,
|
|
2361
|
-
"returns": "any"
|
|
2362
|
-
},
|
|
2363
|
-
{
|
|
2364
|
-
"name": "loadFromSlug",
|
|
2365
|
-
"async": true,
|
|
2366
|
-
"returns": "any"
|
|
2367
|
-
},
|
|
2368
|
-
{
|
|
2369
|
-
"name": "loadRelated",
|
|
2370
|
-
"async": true,
|
|
2371
|
-
"params": [
|
|
2372
|
-
"fieldName: string",
|
|
2373
|
-
"opts?: LoadRelatedOptions"
|
|
2374
|
-
],
|
|
2375
|
-
"returns": "Promise<any>"
|
|
2376
|
-
},
|
|
2377
|
-
{
|
|
2378
|
-
"name": "loadRelatedMany",
|
|
2379
|
-
"async": true,
|
|
2380
|
-
"params": [
|
|
2381
|
-
"fieldName: string",
|
|
2382
|
-
"opts?: LoadRelatedOptions"
|
|
2383
|
-
],
|
|
2384
|
-
"returns": "Promise<any[]>"
|
|
2385
|
-
},
|
|
2386
|
-
{
|
|
2387
|
-
"name": "markAsPersisted",
|
|
2388
|
-
"returns": "void"
|
|
2389
|
-
},
|
|
2390
1386
|
{
|
|
2391
1387
|
"name": "mergeMetadata",
|
|
2392
1388
|
"params": [
|
|
@@ -2394,46 +1390,6 @@
|
|
|
2394
1390
|
],
|
|
2395
1391
|
"returns": "void"
|
|
2396
1392
|
},
|
|
2397
|
-
{
|
|
2398
|
-
"name": "recall",
|
|
2399
|
-
"async": true,
|
|
2400
|
-
"params": [
|
|
2401
|
-
"options: object"
|
|
2402
|
-
],
|
|
2403
|
-
"returns": "Promise"
|
|
2404
|
-
},
|
|
2405
|
-
{
|
|
2406
|
-
"name": "recallAll",
|
|
2407
|
-
"async": true,
|
|
2408
|
-
"params": [
|
|
2409
|
-
"options?: object"
|
|
2410
|
-
],
|
|
2411
|
-
"returns": "Promise<Map<string>>"
|
|
2412
|
-
},
|
|
2413
|
-
{
|
|
2414
|
-
"name": "remember",
|
|
2415
|
-
"async": true,
|
|
2416
|
-
"params": [
|
|
2417
|
-
"options: object"
|
|
2418
|
-
],
|
|
2419
|
-
"returns": "Promise<void>"
|
|
2420
|
-
},
|
|
2421
|
-
{
|
|
2422
|
-
"name": "requireInsertOnSave",
|
|
2423
|
-
"returns": "void"
|
|
2424
|
-
},
|
|
2425
|
-
{
|
|
2426
|
-
"name": "resetAiUsage",
|
|
2427
|
-
"returns": "void"
|
|
2428
|
-
},
|
|
2429
|
-
{
|
|
2430
|
-
"name": "save",
|
|
2431
|
-
"async": true,
|
|
2432
|
-
"params": [
|
|
2433
|
-
"options?: SmrtSaveOptions"
|
|
2434
|
-
],
|
|
2435
|
-
"returns": "any"
|
|
2436
|
-
},
|
|
2437
1393
|
{
|
|
2438
1394
|
"name": "setExternalRef",
|
|
2439
1395
|
"params": [
|
|
@@ -2448,46 +1404,6 @@
|
|
|
2448
1404
|
"metadata: Record<string>"
|
|
2449
1405
|
],
|
|
2450
1406
|
"returns": "void"
|
|
2451
|
-
},
|
|
2452
|
-
{
|
|
2453
|
-
"name": "summarizeAiUsage",
|
|
2454
|
-
"async": true,
|
|
2455
|
-
"params": [
|
|
2456
|
-
"options?: AiUsageSummaryOptions"
|
|
2457
|
-
],
|
|
2458
|
-
"returns": "Promise<Record<string, AiUsageStats>>"
|
|
2459
|
-
},
|
|
2460
|
-
{
|
|
2461
|
-
"name": "toJSON",
|
|
2462
|
-
"returns": "any"
|
|
2463
|
-
},
|
|
2464
|
-
{
|
|
2465
|
-
"name": "toPlainObject",
|
|
2466
|
-
"returns": "Record<string>"
|
|
2467
|
-
},
|
|
2468
|
-
{
|
|
2469
|
-
"name": "toPublicJSON",
|
|
2470
|
-
"params": [
|
|
2471
|
-
"options?: PublicJsonOptions"
|
|
2472
|
-
],
|
|
2473
|
-
"returns": "Record<string>"
|
|
2474
|
-
},
|
|
2475
|
-
{
|
|
2476
|
-
"name": "withDatabase",
|
|
2477
|
-
"async": true,
|
|
2478
|
-
"params": [
|
|
2479
|
-
"db: DatabaseInterface",
|
|
2480
|
-
"operation: Function"
|
|
2481
|
-
],
|
|
2482
|
-
"returns": "Promise<T>"
|
|
2483
|
-
},
|
|
2484
|
-
{
|
|
2485
|
-
"name": "withTransaction",
|
|
2486
|
-
"async": true,
|
|
2487
|
-
"params": [
|
|
2488
|
-
"operation: Function"
|
|
2489
|
-
],
|
|
2490
|
-
"returns": "Promise<T>"
|
|
2491
1407
|
}
|
|
2492
1408
|
],
|
|
2493
1409
|
"tenant": {
|
|
@@ -2573,6 +1489,96 @@
|
|
|
2573
1489
|
"operation": "delete",
|
|
2574
1490
|
"objectName": "@happyvertical/smrt-assets:Asset"
|
|
2575
1491
|
},
|
|
1492
|
+
{
|
|
1493
|
+
"kind": "cli",
|
|
1494
|
+
"name": "asset_getMetadata",
|
|
1495
|
+
"operation": "getMetadata",
|
|
1496
|
+
"objectName": "@happyvertical/smrt-assets:Asset"
|
|
1497
|
+
},
|
|
1498
|
+
{
|
|
1499
|
+
"kind": "cli",
|
|
1500
|
+
"name": "asset_setMetadata",
|
|
1501
|
+
"operation": "setMetadata",
|
|
1502
|
+
"objectName": "@happyvertical/smrt-assets:Asset"
|
|
1503
|
+
},
|
|
1504
|
+
{
|
|
1505
|
+
"kind": "cli",
|
|
1506
|
+
"name": "asset_mergeMetadata",
|
|
1507
|
+
"operation": "mergeMetadata",
|
|
1508
|
+
"objectName": "@happyvertical/smrt-assets:Asset"
|
|
1509
|
+
},
|
|
1510
|
+
{
|
|
1511
|
+
"kind": "cli",
|
|
1512
|
+
"name": "asset_getExternalRefs",
|
|
1513
|
+
"operation": "getExternalRefs",
|
|
1514
|
+
"objectName": "@happyvertical/smrt-assets:Asset"
|
|
1515
|
+
},
|
|
1516
|
+
{
|
|
1517
|
+
"kind": "cli",
|
|
1518
|
+
"name": "asset_getExternalRef",
|
|
1519
|
+
"operation": "getExternalRef",
|
|
1520
|
+
"objectName": "@happyvertical/smrt-assets:Asset"
|
|
1521
|
+
},
|
|
1522
|
+
{
|
|
1523
|
+
"kind": "cli",
|
|
1524
|
+
"name": "asset_setExternalRef",
|
|
1525
|
+
"operation": "setExternalRef",
|
|
1526
|
+
"objectName": "@happyvertical/smrt-assets:Asset"
|
|
1527
|
+
},
|
|
1528
|
+
{
|
|
1529
|
+
"kind": "cli",
|
|
1530
|
+
"name": "asset_getTags",
|
|
1531
|
+
"operation": "getTags",
|
|
1532
|
+
"objectName": "@happyvertical/smrt-assets:Asset"
|
|
1533
|
+
},
|
|
1534
|
+
{
|
|
1535
|
+
"kind": "cli",
|
|
1536
|
+
"name": "asset_hasTag",
|
|
1537
|
+
"operation": "hasTag",
|
|
1538
|
+
"objectName": "@happyvertical/smrt-assets:Asset"
|
|
1539
|
+
},
|
|
1540
|
+
{
|
|
1541
|
+
"kind": "cli",
|
|
1542
|
+
"name": "asset_getSource",
|
|
1543
|
+
"operation": "getSource",
|
|
1544
|
+
"objectName": "@happyvertical/smrt-assets:Asset"
|
|
1545
|
+
},
|
|
1546
|
+
{
|
|
1547
|
+
"kind": "cli",
|
|
1548
|
+
"name": "asset_getDerivatives",
|
|
1549
|
+
"operation": "getDerivatives",
|
|
1550
|
+
"objectName": "@happyvertical/smrt-assets:Asset"
|
|
1551
|
+
},
|
|
1552
|
+
{
|
|
1553
|
+
"kind": "cli",
|
|
1554
|
+
"name": "asset_getType",
|
|
1555
|
+
"operation": "getType",
|
|
1556
|
+
"objectName": "@happyvertical/smrt-assets:Asset"
|
|
1557
|
+
},
|
|
1558
|
+
{
|
|
1559
|
+
"kind": "cli",
|
|
1560
|
+
"name": "asset_getStatus",
|
|
1561
|
+
"operation": "getStatus",
|
|
1562
|
+
"objectName": "@happyvertical/smrt-assets:Asset"
|
|
1563
|
+
},
|
|
1564
|
+
{
|
|
1565
|
+
"kind": "cli",
|
|
1566
|
+
"name": "asset_getAssociations",
|
|
1567
|
+
"operation": "getAssociations",
|
|
1568
|
+
"objectName": "@happyvertical/smrt-assets:Asset"
|
|
1569
|
+
},
|
|
1570
|
+
{
|
|
1571
|
+
"kind": "cli",
|
|
1572
|
+
"name": "asset_associateWith",
|
|
1573
|
+
"operation": "associateWith",
|
|
1574
|
+
"objectName": "@happyvertical/smrt-assets:Asset"
|
|
1575
|
+
},
|
|
1576
|
+
{
|
|
1577
|
+
"kind": "cli",
|
|
1578
|
+
"name": "asset_getBySlug",
|
|
1579
|
+
"operation": "getBySlug",
|
|
1580
|
+
"objectName": "@happyvertical/smrt-assets:Asset"
|
|
1581
|
+
},
|
|
2576
1582
|
{
|
|
2577
1583
|
"kind": "mcp",
|
|
2578
1584
|
"name": "asset_list",
|
|
@@ -2765,19 +1771,340 @@
|
|
|
2765
1771
|
"returns": "Promise<Asset>"
|
|
2766
1772
|
}
|
|
2767
1773
|
],
|
|
2768
|
-
"surfaces": [
|
|
2769
|
-
|
|
2770
|
-
|
|
2771
|
-
|
|
2772
|
-
|
|
2773
|
-
|
|
2774
|
-
|
|
2775
|
-
|
|
2776
|
-
|
|
2777
|
-
|
|
2778
|
-
|
|
2779
|
-
|
|
2780
|
-
|
|
1774
|
+
"surfaces": [
|
|
1775
|
+
{
|
|
1776
|
+
"kind": "api",
|
|
1777
|
+
"name": "assets.findByTenant",
|
|
1778
|
+
"operation": "findByTenant",
|
|
1779
|
+
"objectName": "@happyvertical/smrt-assets:AssetCollection",
|
|
1780
|
+
"path": "/assets/findByTenant",
|
|
1781
|
+
"method": "POST"
|
|
1782
|
+
},
|
|
1783
|
+
{
|
|
1784
|
+
"kind": "api",
|
|
1785
|
+
"name": "assets.findGlobal",
|
|
1786
|
+
"operation": "findGlobal",
|
|
1787
|
+
"objectName": "@happyvertical/smrt-assets:AssetCollection",
|
|
1788
|
+
"path": "/assets/findGlobal",
|
|
1789
|
+
"method": "POST"
|
|
1790
|
+
},
|
|
1791
|
+
{
|
|
1792
|
+
"kind": "api",
|
|
1793
|
+
"name": "assets.findWithGlobals",
|
|
1794
|
+
"operation": "findWithGlobals",
|
|
1795
|
+
"objectName": "@happyvertical/smrt-assets:AssetCollection",
|
|
1796
|
+
"path": "/assets/findWithGlobals",
|
|
1797
|
+
"method": "POST"
|
|
1798
|
+
},
|
|
1799
|
+
{
|
|
1800
|
+
"kind": "api",
|
|
1801
|
+
"name": "assets.addTag",
|
|
1802
|
+
"operation": "addTag",
|
|
1803
|
+
"objectName": "@happyvertical/smrt-assets:AssetCollection",
|
|
1804
|
+
"path": "/assets/addTag",
|
|
1805
|
+
"method": "POST"
|
|
1806
|
+
},
|
|
1807
|
+
{
|
|
1808
|
+
"kind": "api",
|
|
1809
|
+
"name": "assets.removeTag",
|
|
1810
|
+
"operation": "removeTag",
|
|
1811
|
+
"objectName": "@happyvertical/smrt-assets:AssetCollection",
|
|
1812
|
+
"path": "/assets/removeTag",
|
|
1813
|
+
"method": "POST"
|
|
1814
|
+
},
|
|
1815
|
+
{
|
|
1816
|
+
"kind": "api",
|
|
1817
|
+
"name": "assets.getByTag",
|
|
1818
|
+
"operation": "getByTag",
|
|
1819
|
+
"objectName": "@happyvertical/smrt-assets:AssetCollection",
|
|
1820
|
+
"path": "/assets/getByTag",
|
|
1821
|
+
"method": "POST"
|
|
1822
|
+
},
|
|
1823
|
+
{
|
|
1824
|
+
"kind": "api",
|
|
1825
|
+
"name": "assets.getByType",
|
|
1826
|
+
"operation": "getByType",
|
|
1827
|
+
"objectName": "@happyvertical/smrt-assets:AssetCollection",
|
|
1828
|
+
"path": "/assets/getByType",
|
|
1829
|
+
"method": "POST"
|
|
1830
|
+
},
|
|
1831
|
+
{
|
|
1832
|
+
"kind": "api",
|
|
1833
|
+
"name": "assets.getByStatus",
|
|
1834
|
+
"operation": "getByStatus",
|
|
1835
|
+
"objectName": "@happyvertical/smrt-assets:AssetCollection",
|
|
1836
|
+
"path": "/assets/getByStatus",
|
|
1837
|
+
"method": "POST"
|
|
1838
|
+
},
|
|
1839
|
+
{
|
|
1840
|
+
"kind": "api",
|
|
1841
|
+
"name": "assets.getByOwner",
|
|
1842
|
+
"operation": "getByOwner",
|
|
1843
|
+
"objectName": "@happyvertical/smrt-assets:AssetCollection",
|
|
1844
|
+
"path": "/assets/getByOwner",
|
|
1845
|
+
"method": "POST"
|
|
1846
|
+
},
|
|
1847
|
+
{
|
|
1848
|
+
"kind": "api",
|
|
1849
|
+
"name": "assets.createNewVersion",
|
|
1850
|
+
"operation": "createNewVersion",
|
|
1851
|
+
"objectName": "@happyvertical/smrt-assets:AssetCollection",
|
|
1852
|
+
"path": "/assets/createNewVersion",
|
|
1853
|
+
"method": "POST"
|
|
1854
|
+
},
|
|
1855
|
+
{
|
|
1856
|
+
"kind": "api",
|
|
1857
|
+
"name": "assets.getLatestVersion",
|
|
1858
|
+
"operation": "getLatestVersion",
|
|
1859
|
+
"objectName": "@happyvertical/smrt-assets:AssetCollection",
|
|
1860
|
+
"path": "/assets/getLatestVersion",
|
|
1861
|
+
"method": "POST"
|
|
1862
|
+
},
|
|
1863
|
+
{
|
|
1864
|
+
"kind": "api",
|
|
1865
|
+
"name": "assets.listVersions",
|
|
1866
|
+
"operation": "listVersions",
|
|
1867
|
+
"objectName": "@happyvertical/smrt-assets:AssetCollection",
|
|
1868
|
+
"path": "/assets/listVersions",
|
|
1869
|
+
"method": "POST"
|
|
1870
|
+
},
|
|
1871
|
+
{
|
|
1872
|
+
"kind": "api",
|
|
1873
|
+
"name": "assets.getDerivatives",
|
|
1874
|
+
"operation": "getDerivatives",
|
|
1875
|
+
"objectName": "@happyvertical/smrt-assets:AssetCollection",
|
|
1876
|
+
"path": "/assets/getDerivatives",
|
|
1877
|
+
"method": "POST"
|
|
1878
|
+
},
|
|
1879
|
+
{
|
|
1880
|
+
"kind": "api",
|
|
1881
|
+
"name": "assets.getByMimeType",
|
|
1882
|
+
"operation": "getByMimeType",
|
|
1883
|
+
"objectName": "@happyvertical/smrt-assets:AssetCollection",
|
|
1884
|
+
"path": "/assets/getByMimeType",
|
|
1885
|
+
"method": "POST"
|
|
1886
|
+
},
|
|
1887
|
+
{
|
|
1888
|
+
"kind": "api",
|
|
1889
|
+
"name": "assets.rollbackToVersion",
|
|
1890
|
+
"operation": "rollbackToVersion",
|
|
1891
|
+
"objectName": "@happyvertical/smrt-assets:AssetCollection",
|
|
1892
|
+
"path": "/assets/rollbackToVersion",
|
|
1893
|
+
"method": "POST"
|
|
1894
|
+
},
|
|
1895
|
+
{
|
|
1896
|
+
"kind": "api",
|
|
1897
|
+
"name": "assets.getByFolder",
|
|
1898
|
+
"operation": "getByFolder",
|
|
1899
|
+
"objectName": "@happyvertical/smrt-assets:AssetCollection",
|
|
1900
|
+
"path": "/assets/getByFolder",
|
|
1901
|
+
"method": "POST"
|
|
1902
|
+
},
|
|
1903
|
+
{
|
|
1904
|
+
"kind": "cli",
|
|
1905
|
+
"name": "assetcollection_findByTenant",
|
|
1906
|
+
"operation": "findByTenant",
|
|
1907
|
+
"objectName": "@happyvertical/smrt-assets:AssetCollection"
|
|
1908
|
+
},
|
|
1909
|
+
{
|
|
1910
|
+
"kind": "cli",
|
|
1911
|
+
"name": "assetcollection_findGlobal",
|
|
1912
|
+
"operation": "findGlobal",
|
|
1913
|
+
"objectName": "@happyvertical/smrt-assets:AssetCollection"
|
|
1914
|
+
},
|
|
1915
|
+
{
|
|
1916
|
+
"kind": "cli",
|
|
1917
|
+
"name": "assetcollection_findWithGlobals",
|
|
1918
|
+
"operation": "findWithGlobals",
|
|
1919
|
+
"objectName": "@happyvertical/smrt-assets:AssetCollection"
|
|
1920
|
+
},
|
|
1921
|
+
{
|
|
1922
|
+
"kind": "cli",
|
|
1923
|
+
"name": "assetcollection_addTag",
|
|
1924
|
+
"operation": "addTag",
|
|
1925
|
+
"objectName": "@happyvertical/smrt-assets:AssetCollection"
|
|
1926
|
+
},
|
|
1927
|
+
{
|
|
1928
|
+
"kind": "cli",
|
|
1929
|
+
"name": "assetcollection_removeTag",
|
|
1930
|
+
"operation": "removeTag",
|
|
1931
|
+
"objectName": "@happyvertical/smrt-assets:AssetCollection"
|
|
1932
|
+
},
|
|
1933
|
+
{
|
|
1934
|
+
"kind": "cli",
|
|
1935
|
+
"name": "assetcollection_getByTag",
|
|
1936
|
+
"operation": "getByTag",
|
|
1937
|
+
"objectName": "@happyvertical/smrt-assets:AssetCollection"
|
|
1938
|
+
},
|
|
1939
|
+
{
|
|
1940
|
+
"kind": "cli",
|
|
1941
|
+
"name": "assetcollection_getByType",
|
|
1942
|
+
"operation": "getByType",
|
|
1943
|
+
"objectName": "@happyvertical/smrt-assets:AssetCollection"
|
|
1944
|
+
},
|
|
1945
|
+
{
|
|
1946
|
+
"kind": "cli",
|
|
1947
|
+
"name": "assetcollection_getByStatus",
|
|
1948
|
+
"operation": "getByStatus",
|
|
1949
|
+
"objectName": "@happyvertical/smrt-assets:AssetCollection"
|
|
1950
|
+
},
|
|
1951
|
+
{
|
|
1952
|
+
"kind": "cli",
|
|
1953
|
+
"name": "assetcollection_getByOwner",
|
|
1954
|
+
"operation": "getByOwner",
|
|
1955
|
+
"objectName": "@happyvertical/smrt-assets:AssetCollection"
|
|
1956
|
+
},
|
|
1957
|
+
{
|
|
1958
|
+
"kind": "cli",
|
|
1959
|
+
"name": "assetcollection_createNewVersion",
|
|
1960
|
+
"operation": "createNewVersion",
|
|
1961
|
+
"objectName": "@happyvertical/smrt-assets:AssetCollection"
|
|
1962
|
+
},
|
|
1963
|
+
{
|
|
1964
|
+
"kind": "cli",
|
|
1965
|
+
"name": "assetcollection_getLatestVersion",
|
|
1966
|
+
"operation": "getLatestVersion",
|
|
1967
|
+
"objectName": "@happyvertical/smrt-assets:AssetCollection"
|
|
1968
|
+
},
|
|
1969
|
+
{
|
|
1970
|
+
"kind": "cli",
|
|
1971
|
+
"name": "assetcollection_listVersions",
|
|
1972
|
+
"operation": "listVersions",
|
|
1973
|
+
"objectName": "@happyvertical/smrt-assets:AssetCollection"
|
|
1974
|
+
},
|
|
1975
|
+
{
|
|
1976
|
+
"kind": "cli",
|
|
1977
|
+
"name": "assetcollection_getDerivatives",
|
|
1978
|
+
"operation": "getDerivatives",
|
|
1979
|
+
"objectName": "@happyvertical/smrt-assets:AssetCollection"
|
|
1980
|
+
},
|
|
1981
|
+
{
|
|
1982
|
+
"kind": "cli",
|
|
1983
|
+
"name": "assetcollection_getByMimeType",
|
|
1984
|
+
"operation": "getByMimeType",
|
|
1985
|
+
"objectName": "@happyvertical/smrt-assets:AssetCollection"
|
|
1986
|
+
},
|
|
1987
|
+
{
|
|
1988
|
+
"kind": "cli",
|
|
1989
|
+
"name": "assetcollection_rollbackToVersion",
|
|
1990
|
+
"operation": "rollbackToVersion",
|
|
1991
|
+
"objectName": "@happyvertical/smrt-assets:AssetCollection"
|
|
1992
|
+
},
|
|
1993
|
+
{
|
|
1994
|
+
"kind": "cli",
|
|
1995
|
+
"name": "assetcollection_getByFolder",
|
|
1996
|
+
"operation": "getByFolder",
|
|
1997
|
+
"objectName": "@happyvertical/smrt-assets:AssetCollection"
|
|
1998
|
+
},
|
|
1999
|
+
{
|
|
2000
|
+
"kind": "mcp",
|
|
2001
|
+
"name": "assetcollection_findbytenant",
|
|
2002
|
+
"operation": "findByTenant",
|
|
2003
|
+
"objectName": "@happyvertical/smrt-assets:AssetCollection"
|
|
2004
|
+
},
|
|
2005
|
+
{
|
|
2006
|
+
"kind": "mcp",
|
|
2007
|
+
"name": "assetcollection_findglobal",
|
|
2008
|
+
"operation": "findGlobal",
|
|
2009
|
+
"objectName": "@happyvertical/smrt-assets:AssetCollection"
|
|
2010
|
+
},
|
|
2011
|
+
{
|
|
2012
|
+
"kind": "mcp",
|
|
2013
|
+
"name": "assetcollection_findwithglobals",
|
|
2014
|
+
"operation": "findWithGlobals",
|
|
2015
|
+
"objectName": "@happyvertical/smrt-assets:AssetCollection"
|
|
2016
|
+
},
|
|
2017
|
+
{
|
|
2018
|
+
"kind": "mcp",
|
|
2019
|
+
"name": "assetcollection_addtag",
|
|
2020
|
+
"operation": "addTag",
|
|
2021
|
+
"objectName": "@happyvertical/smrt-assets:AssetCollection"
|
|
2022
|
+
},
|
|
2023
|
+
{
|
|
2024
|
+
"kind": "mcp",
|
|
2025
|
+
"name": "assetcollection_removetag",
|
|
2026
|
+
"operation": "removeTag",
|
|
2027
|
+
"objectName": "@happyvertical/smrt-assets:AssetCollection"
|
|
2028
|
+
},
|
|
2029
|
+
{
|
|
2030
|
+
"kind": "mcp",
|
|
2031
|
+
"name": "assetcollection_getbytag",
|
|
2032
|
+
"operation": "getByTag",
|
|
2033
|
+
"objectName": "@happyvertical/smrt-assets:AssetCollection"
|
|
2034
|
+
},
|
|
2035
|
+
{
|
|
2036
|
+
"kind": "mcp",
|
|
2037
|
+
"name": "assetcollection_getbytype",
|
|
2038
|
+
"operation": "getByType",
|
|
2039
|
+
"objectName": "@happyvertical/smrt-assets:AssetCollection"
|
|
2040
|
+
},
|
|
2041
|
+
{
|
|
2042
|
+
"kind": "mcp",
|
|
2043
|
+
"name": "assetcollection_getbystatus",
|
|
2044
|
+
"operation": "getByStatus",
|
|
2045
|
+
"objectName": "@happyvertical/smrt-assets:AssetCollection"
|
|
2046
|
+
},
|
|
2047
|
+
{
|
|
2048
|
+
"kind": "mcp",
|
|
2049
|
+
"name": "assetcollection_getbyowner",
|
|
2050
|
+
"operation": "getByOwner",
|
|
2051
|
+
"objectName": "@happyvertical/smrt-assets:AssetCollection"
|
|
2052
|
+
},
|
|
2053
|
+
{
|
|
2054
|
+
"kind": "mcp",
|
|
2055
|
+
"name": "assetcollection_createnewversion",
|
|
2056
|
+
"operation": "createNewVersion",
|
|
2057
|
+
"objectName": "@happyvertical/smrt-assets:AssetCollection"
|
|
2058
|
+
},
|
|
2059
|
+
{
|
|
2060
|
+
"kind": "mcp",
|
|
2061
|
+
"name": "assetcollection_getlatestversion",
|
|
2062
|
+
"operation": "getLatestVersion",
|
|
2063
|
+
"objectName": "@happyvertical/smrt-assets:AssetCollection"
|
|
2064
|
+
},
|
|
2065
|
+
{
|
|
2066
|
+
"kind": "mcp",
|
|
2067
|
+
"name": "assetcollection_listversions",
|
|
2068
|
+
"operation": "listVersions",
|
|
2069
|
+
"objectName": "@happyvertical/smrt-assets:AssetCollection"
|
|
2070
|
+
},
|
|
2071
|
+
{
|
|
2072
|
+
"kind": "mcp",
|
|
2073
|
+
"name": "assetcollection_getderivatives",
|
|
2074
|
+
"operation": "getDerivatives",
|
|
2075
|
+
"objectName": "@happyvertical/smrt-assets:AssetCollection"
|
|
2076
|
+
},
|
|
2077
|
+
{
|
|
2078
|
+
"kind": "mcp",
|
|
2079
|
+
"name": "assetcollection_getbymimetype",
|
|
2080
|
+
"operation": "getByMimeType",
|
|
2081
|
+
"objectName": "@happyvertical/smrt-assets:AssetCollection"
|
|
2082
|
+
},
|
|
2083
|
+
{
|
|
2084
|
+
"kind": "mcp",
|
|
2085
|
+
"name": "assetcollection_rollbacktoversion",
|
|
2086
|
+
"operation": "rollbackToVersion",
|
|
2087
|
+
"objectName": "@happyvertical/smrt-assets:AssetCollection"
|
|
2088
|
+
},
|
|
2089
|
+
{
|
|
2090
|
+
"kind": "mcp",
|
|
2091
|
+
"name": "assetcollection_getbyfolder",
|
|
2092
|
+
"operation": "getByFolder",
|
|
2093
|
+
"objectName": "@happyvertical/smrt-assets:AssetCollection"
|
|
2094
|
+
}
|
|
2095
|
+
],
|
|
2096
|
+
"relationshipFeatures": [
|
|
2097
|
+
"uuidColumns"
|
|
2098
|
+
],
|
|
2099
|
+
"tags": [],
|
|
2100
|
+
"risks": []
|
|
2101
|
+
},
|
|
2102
|
+
{
|
|
2103
|
+
"name": "Folder",
|
|
2104
|
+
"qualifiedName": "@happyvertical/smrt-assets:Folder",
|
|
2105
|
+
"collection": "folders",
|
|
2106
|
+
"tableName": "folders",
|
|
2107
|
+
"packageName": "@happyvertical/smrt-assets",
|
|
2781
2108
|
"extends": "SmrtHierarchical",
|
|
2782
2109
|
"fields": [
|
|
2783
2110
|
{
|
|
@@ -2975,6 +2302,48 @@
|
|
|
2975
2302
|
"operation": "delete",
|
|
2976
2303
|
"objectName": "@happyvertical/smrt-assets:Folder"
|
|
2977
2304
|
},
|
|
2305
|
+
{
|
|
2306
|
+
"kind": "cli",
|
|
2307
|
+
"name": "folder_getParent",
|
|
2308
|
+
"operation": "getParent",
|
|
2309
|
+
"objectName": "@happyvertical/smrt-assets:Folder"
|
|
2310
|
+
},
|
|
2311
|
+
{
|
|
2312
|
+
"kind": "cli",
|
|
2313
|
+
"name": "folder_getChildren",
|
|
2314
|
+
"operation": "getChildren",
|
|
2315
|
+
"objectName": "@happyvertical/smrt-assets:Folder"
|
|
2316
|
+
},
|
|
2317
|
+
{
|
|
2318
|
+
"kind": "cli",
|
|
2319
|
+
"name": "folder_getAncestors",
|
|
2320
|
+
"operation": "getAncestors",
|
|
2321
|
+
"objectName": "@happyvertical/smrt-assets:Folder"
|
|
2322
|
+
},
|
|
2323
|
+
{
|
|
2324
|
+
"kind": "cli",
|
|
2325
|
+
"name": "folder_getDescendants",
|
|
2326
|
+
"operation": "getDescendants",
|
|
2327
|
+
"objectName": "@happyvertical/smrt-assets:Folder"
|
|
2328
|
+
},
|
|
2329
|
+
{
|
|
2330
|
+
"kind": "cli",
|
|
2331
|
+
"name": "folder_getHierarchy",
|
|
2332
|
+
"operation": "getHierarchy",
|
|
2333
|
+
"objectName": "@happyvertical/smrt-assets:Folder"
|
|
2334
|
+
},
|
|
2335
|
+
{
|
|
2336
|
+
"kind": "cli",
|
|
2337
|
+
"name": "folder_moveTo",
|
|
2338
|
+
"operation": "moveTo",
|
|
2339
|
+
"objectName": "@happyvertical/smrt-assets:Folder"
|
|
2340
|
+
},
|
|
2341
|
+
{
|
|
2342
|
+
"kind": "cli",
|
|
2343
|
+
"name": "folder_getBySlug",
|
|
2344
|
+
"operation": "getBySlug",
|
|
2345
|
+
"objectName": "@happyvertical/smrt-assets:Folder"
|
|
2346
|
+
},
|
|
2978
2347
|
{
|
|
2979
2348
|
"kind": "mcp",
|
|
2980
2349
|
"name": "folder_list",
|
|
@@ -3060,7 +2429,88 @@
|
|
|
3060
2429
|
"returns": "Promise<void>"
|
|
3061
2430
|
}
|
|
3062
2431
|
],
|
|
3063
|
-
"surfaces": [
|
|
2432
|
+
"surfaces": [
|
|
2433
|
+
{
|
|
2434
|
+
"kind": "api",
|
|
2435
|
+
"name": "folders.getTree",
|
|
2436
|
+
"operation": "getTree",
|
|
2437
|
+
"objectName": "@happyvertical/smrt-assets:FolderCollection",
|
|
2438
|
+
"path": "/folders/getTree",
|
|
2439
|
+
"method": "POST"
|
|
2440
|
+
},
|
|
2441
|
+
{
|
|
2442
|
+
"kind": "api",
|
|
2443
|
+
"name": "folders.getPath",
|
|
2444
|
+
"operation": "getPath",
|
|
2445
|
+
"objectName": "@happyvertical/smrt-assets:FolderCollection",
|
|
2446
|
+
"path": "/folders/getPath",
|
|
2447
|
+
"method": "POST"
|
|
2448
|
+
},
|
|
2449
|
+
{
|
|
2450
|
+
"kind": "api",
|
|
2451
|
+
"name": "folders.getContents",
|
|
2452
|
+
"operation": "getContents",
|
|
2453
|
+
"objectName": "@happyvertical/smrt-assets:FolderCollection",
|
|
2454
|
+
"path": "/folders/getContents",
|
|
2455
|
+
"method": "POST"
|
|
2456
|
+
},
|
|
2457
|
+
{
|
|
2458
|
+
"kind": "api",
|
|
2459
|
+
"name": "folders.moveAsset",
|
|
2460
|
+
"operation": "moveAsset",
|
|
2461
|
+
"objectName": "@happyvertical/smrt-assets:FolderCollection",
|
|
2462
|
+
"path": "/folders/moveAsset",
|
|
2463
|
+
"method": "POST"
|
|
2464
|
+
},
|
|
2465
|
+
{
|
|
2466
|
+
"kind": "cli",
|
|
2467
|
+
"name": "foldercollection_getTree",
|
|
2468
|
+
"operation": "getTree",
|
|
2469
|
+
"objectName": "@happyvertical/smrt-assets:FolderCollection"
|
|
2470
|
+
},
|
|
2471
|
+
{
|
|
2472
|
+
"kind": "cli",
|
|
2473
|
+
"name": "foldercollection_getPath",
|
|
2474
|
+
"operation": "getPath",
|
|
2475
|
+
"objectName": "@happyvertical/smrt-assets:FolderCollection"
|
|
2476
|
+
},
|
|
2477
|
+
{
|
|
2478
|
+
"kind": "cli",
|
|
2479
|
+
"name": "foldercollection_getContents",
|
|
2480
|
+
"operation": "getContents",
|
|
2481
|
+
"objectName": "@happyvertical/smrt-assets:FolderCollection"
|
|
2482
|
+
},
|
|
2483
|
+
{
|
|
2484
|
+
"kind": "cli",
|
|
2485
|
+
"name": "foldercollection_moveAsset",
|
|
2486
|
+
"operation": "moveAsset",
|
|
2487
|
+
"objectName": "@happyvertical/smrt-assets:FolderCollection"
|
|
2488
|
+
},
|
|
2489
|
+
{
|
|
2490
|
+
"kind": "mcp",
|
|
2491
|
+
"name": "foldercollection_gettree",
|
|
2492
|
+
"operation": "getTree",
|
|
2493
|
+
"objectName": "@happyvertical/smrt-assets:FolderCollection"
|
|
2494
|
+
},
|
|
2495
|
+
{
|
|
2496
|
+
"kind": "mcp",
|
|
2497
|
+
"name": "foldercollection_getpath",
|
|
2498
|
+
"operation": "getPath",
|
|
2499
|
+
"objectName": "@happyvertical/smrt-assets:FolderCollection"
|
|
2500
|
+
},
|
|
2501
|
+
{
|
|
2502
|
+
"kind": "mcp",
|
|
2503
|
+
"name": "foldercollection_getcontents",
|
|
2504
|
+
"operation": "getContents",
|
|
2505
|
+
"objectName": "@happyvertical/smrt-assets:FolderCollection"
|
|
2506
|
+
},
|
|
2507
|
+
{
|
|
2508
|
+
"kind": "mcp",
|
|
2509
|
+
"name": "foldercollection_moveasset",
|
|
2510
|
+
"operation": "moveAsset",
|
|
2511
|
+
"objectName": "@happyvertical/smrt-assets:FolderCollection"
|
|
2512
|
+
}
|
|
2513
|
+
],
|
|
3064
2514
|
"relationshipFeatures": [
|
|
3065
2515
|
"uuidColumns"
|
|
3066
2516
|
],
|
|
@@ -3131,6 +2581,12 @@
|
|
|
3131
2581
|
"operation": "delete",
|
|
3132
2582
|
"objectName": "@happyvertical/smrt-assets:AssetAssociation"
|
|
3133
2583
|
},
|
|
2584
|
+
{
|
|
2585
|
+
"kind": "cli",
|
|
2586
|
+
"name": "assetassociation_hydrate",
|
|
2587
|
+
"operation": "hydrate",
|
|
2588
|
+
"objectName": "@happyvertical/smrt-assets:AssetAssociation"
|
|
2589
|
+
},
|
|
3134
2590
|
{
|
|
3135
2591
|
"kind": "mcp",
|
|
3136
2592
|
"name": "assetassociation_list",
|
|
@@ -3151,16 +2607,116 @@
|
|
|
3151
2607
|
},
|
|
3152
2608
|
{
|
|
3153
2609
|
"kind": "api",
|
|
3154
|
-
"name": "
|
|
3155
|
-
"operation": "
|
|
3156
|
-
"objectName": "@happyvertical/smrt-assets:
|
|
3157
|
-
"path": "/
|
|
3158
|
-
"method": "
|
|
2610
|
+
"name": "assetassociations.byLeft",
|
|
2611
|
+
"operation": "byLeft",
|
|
2612
|
+
"objectName": "@happyvertical/smrt-assets:AssetAssociationCollection",
|
|
2613
|
+
"path": "/assetassociations/byLeft",
|
|
2614
|
+
"method": "POST"
|
|
3159
2615
|
},
|
|
3160
2616
|
{
|
|
3161
2617
|
"kind": "api",
|
|
3162
|
-
"name": "
|
|
3163
|
-
"operation": "
|
|
2618
|
+
"name": "assetassociations.byRight",
|
|
2619
|
+
"operation": "byRight",
|
|
2620
|
+
"objectName": "@happyvertical/smrt-assets:AssetAssociationCollection",
|
|
2621
|
+
"path": "/assetassociations/byRight",
|
|
2622
|
+
"method": "POST"
|
|
2623
|
+
},
|
|
2624
|
+
{
|
|
2625
|
+
"kind": "api",
|
|
2626
|
+
"name": "assetassociations.attach",
|
|
2627
|
+
"operation": "attach",
|
|
2628
|
+
"objectName": "@happyvertical/smrt-assets:AssetAssociationCollection",
|
|
2629
|
+
"path": "/assetassociations/attach",
|
|
2630
|
+
"method": "POST"
|
|
2631
|
+
},
|
|
2632
|
+
{
|
|
2633
|
+
"kind": "api",
|
|
2634
|
+
"name": "assetassociations.detach",
|
|
2635
|
+
"operation": "detach",
|
|
2636
|
+
"objectName": "@happyvertical/smrt-assets:AssetAssociationCollection",
|
|
2637
|
+
"path": "/assetassociations/detach",
|
|
2638
|
+
"method": "POST"
|
|
2639
|
+
},
|
|
2640
|
+
{
|
|
2641
|
+
"kind": "api",
|
|
2642
|
+
"name": "assetassociations.setLinks",
|
|
2643
|
+
"operation": "setLinks",
|
|
2644
|
+
"objectName": "@happyvertical/smrt-assets:AssetAssociationCollection",
|
|
2645
|
+
"path": "/assetassociations/setLinks",
|
|
2646
|
+
"method": "POST"
|
|
2647
|
+
},
|
|
2648
|
+
{
|
|
2649
|
+
"kind": "cli",
|
|
2650
|
+
"name": "assetassociationcollection_byLeft",
|
|
2651
|
+
"operation": "byLeft",
|
|
2652
|
+
"objectName": "@happyvertical/smrt-assets:AssetAssociationCollection"
|
|
2653
|
+
},
|
|
2654
|
+
{
|
|
2655
|
+
"kind": "cli",
|
|
2656
|
+
"name": "assetassociationcollection_byRight",
|
|
2657
|
+
"operation": "byRight",
|
|
2658
|
+
"objectName": "@happyvertical/smrt-assets:AssetAssociationCollection"
|
|
2659
|
+
},
|
|
2660
|
+
{
|
|
2661
|
+
"kind": "cli",
|
|
2662
|
+
"name": "assetassociationcollection_attach",
|
|
2663
|
+
"operation": "attach",
|
|
2664
|
+
"objectName": "@happyvertical/smrt-assets:AssetAssociationCollection"
|
|
2665
|
+
},
|
|
2666
|
+
{
|
|
2667
|
+
"kind": "cli",
|
|
2668
|
+
"name": "assetassociationcollection_detach",
|
|
2669
|
+
"operation": "detach",
|
|
2670
|
+
"objectName": "@happyvertical/smrt-assets:AssetAssociationCollection"
|
|
2671
|
+
},
|
|
2672
|
+
{
|
|
2673
|
+
"kind": "cli",
|
|
2674
|
+
"name": "assetassociationcollection_setLinks",
|
|
2675
|
+
"operation": "setLinks",
|
|
2676
|
+
"objectName": "@happyvertical/smrt-assets:AssetAssociationCollection"
|
|
2677
|
+
},
|
|
2678
|
+
{
|
|
2679
|
+
"kind": "mcp",
|
|
2680
|
+
"name": "assetassociationcollection_byleft",
|
|
2681
|
+
"operation": "byLeft",
|
|
2682
|
+
"objectName": "@happyvertical/smrt-assets:AssetAssociationCollection"
|
|
2683
|
+
},
|
|
2684
|
+
{
|
|
2685
|
+
"kind": "mcp",
|
|
2686
|
+
"name": "assetassociationcollection_byright",
|
|
2687
|
+
"operation": "byRight",
|
|
2688
|
+
"objectName": "@happyvertical/smrt-assets:AssetAssociationCollection"
|
|
2689
|
+
},
|
|
2690
|
+
{
|
|
2691
|
+
"kind": "mcp",
|
|
2692
|
+
"name": "assetassociationcollection_attach",
|
|
2693
|
+
"operation": "attach",
|
|
2694
|
+
"objectName": "@happyvertical/smrt-assets:AssetAssociationCollection"
|
|
2695
|
+
},
|
|
2696
|
+
{
|
|
2697
|
+
"kind": "mcp",
|
|
2698
|
+
"name": "assetassociationcollection_detach",
|
|
2699
|
+
"operation": "detach",
|
|
2700
|
+
"objectName": "@happyvertical/smrt-assets:AssetAssociationCollection"
|
|
2701
|
+
},
|
|
2702
|
+
{
|
|
2703
|
+
"kind": "mcp",
|
|
2704
|
+
"name": "assetassociationcollection_setlinks",
|
|
2705
|
+
"operation": "setLinks",
|
|
2706
|
+
"objectName": "@happyvertical/smrt-assets:AssetAssociationCollection"
|
|
2707
|
+
},
|
|
2708
|
+
{
|
|
2709
|
+
"kind": "api",
|
|
2710
|
+
"name": "assetmetafields.list",
|
|
2711
|
+
"operation": "list",
|
|
2712
|
+
"objectName": "@happyvertical/smrt-assets:AssetMetafield",
|
|
2713
|
+
"path": "/assetmetafields",
|
|
2714
|
+
"method": "GET"
|
|
2715
|
+
},
|
|
2716
|
+
{
|
|
2717
|
+
"kind": "api",
|
|
2718
|
+
"name": "assetmetafields.get",
|
|
2719
|
+
"operation": "get",
|
|
3164
2720
|
"objectName": "@happyvertical/smrt-assets:AssetMetafield",
|
|
3165
2721
|
"path": "/assetmetafields/[id]",
|
|
3166
2722
|
"method": "GET"
|
|
@@ -3219,6 +2775,24 @@
|
|
|
3219
2775
|
"operation": "delete",
|
|
3220
2776
|
"objectName": "@happyvertical/smrt-assets:AssetMetafield"
|
|
3221
2777
|
},
|
|
2778
|
+
{
|
|
2779
|
+
"kind": "cli",
|
|
2780
|
+
"name": "assetmetafield_getValidation",
|
|
2781
|
+
"operation": "getValidation",
|
|
2782
|
+
"objectName": "@happyvertical/smrt-assets:AssetMetafield"
|
|
2783
|
+
},
|
|
2784
|
+
{
|
|
2785
|
+
"kind": "cli",
|
|
2786
|
+
"name": "assetmetafield_setValidation",
|
|
2787
|
+
"operation": "setValidation",
|
|
2788
|
+
"objectName": "@happyvertical/smrt-assets:AssetMetafield"
|
|
2789
|
+
},
|
|
2790
|
+
{
|
|
2791
|
+
"kind": "cli",
|
|
2792
|
+
"name": "assetmetafield_getBySlug",
|
|
2793
|
+
"operation": "getBySlug",
|
|
2794
|
+
"objectName": "@happyvertical/smrt-assets:AssetMetafield"
|
|
2795
|
+
},
|
|
3222
2796
|
{
|
|
3223
2797
|
"kind": "mcp",
|
|
3224
2798
|
"name": "assetmetafield_list",
|
|
@@ -3237,6 +2811,46 @@
|
|
|
3237
2811
|
"operation": "create",
|
|
3238
2812
|
"objectName": "@happyvertical/smrt-assets:AssetMetafield"
|
|
3239
2813
|
},
|
|
2814
|
+
{
|
|
2815
|
+
"kind": "api",
|
|
2816
|
+
"name": "assetmetafields.getOrCreate",
|
|
2817
|
+
"operation": "getOrCreate",
|
|
2818
|
+
"objectName": "@happyvertical/smrt-assets:AssetMetafieldCollection",
|
|
2819
|
+
"path": "/assetmetafields/getOrCreate",
|
|
2820
|
+
"method": "POST"
|
|
2821
|
+
},
|
|
2822
|
+
{
|
|
2823
|
+
"kind": "api",
|
|
2824
|
+
"name": "assetmetafields.initializeCommonMetafields",
|
|
2825
|
+
"operation": "initializeCommonMetafields",
|
|
2826
|
+
"objectName": "@happyvertical/smrt-assets:AssetMetafieldCollection",
|
|
2827
|
+
"path": "/assetmetafields/initializeCommonMetafields",
|
|
2828
|
+
"method": "POST"
|
|
2829
|
+
},
|
|
2830
|
+
{
|
|
2831
|
+
"kind": "cli",
|
|
2832
|
+
"name": "assetmetafieldcollection_getOrCreate",
|
|
2833
|
+
"operation": "getOrCreate",
|
|
2834
|
+
"objectName": "@happyvertical/smrt-assets:AssetMetafieldCollection"
|
|
2835
|
+
},
|
|
2836
|
+
{
|
|
2837
|
+
"kind": "cli",
|
|
2838
|
+
"name": "assetmetafieldcollection_initializeCommonMetafields",
|
|
2839
|
+
"operation": "initializeCommonMetafields",
|
|
2840
|
+
"objectName": "@happyvertical/smrt-assets:AssetMetafieldCollection"
|
|
2841
|
+
},
|
|
2842
|
+
{
|
|
2843
|
+
"kind": "mcp",
|
|
2844
|
+
"name": "assetmetafieldcollection_getorcreate",
|
|
2845
|
+
"operation": "getOrCreate",
|
|
2846
|
+
"objectName": "@happyvertical/smrt-assets:AssetMetafieldCollection"
|
|
2847
|
+
},
|
|
2848
|
+
{
|
|
2849
|
+
"kind": "mcp",
|
|
2850
|
+
"name": "assetmetafieldcollection_initializecommonmetafields",
|
|
2851
|
+
"operation": "initializeCommonMetafields",
|
|
2852
|
+
"objectName": "@happyvertical/smrt-assets:AssetMetafieldCollection"
|
|
2853
|
+
},
|
|
3240
2854
|
{
|
|
3241
2855
|
"kind": "api",
|
|
3242
2856
|
"name": "assetstatuses.list",
|
|
@@ -3307,6 +2921,12 @@
|
|
|
3307
2921
|
"operation": "delete",
|
|
3308
2922
|
"objectName": "@happyvertical/smrt-assets:AssetStatus"
|
|
3309
2923
|
},
|
|
2924
|
+
{
|
|
2925
|
+
"kind": "cli",
|
|
2926
|
+
"name": "assetstatus_getBySlug",
|
|
2927
|
+
"operation": "getBySlug",
|
|
2928
|
+
"objectName": "@happyvertical/smrt-assets:AssetStatus"
|
|
2929
|
+
},
|
|
3310
2930
|
{
|
|
3311
2931
|
"kind": "mcp",
|
|
3312
2932
|
"name": "assetstatus_list",
|
|
@@ -3325,6 +2945,46 @@
|
|
|
3325
2945
|
"operation": "create",
|
|
3326
2946
|
"objectName": "@happyvertical/smrt-assets:AssetStatus"
|
|
3327
2947
|
},
|
|
2948
|
+
{
|
|
2949
|
+
"kind": "api",
|
|
2950
|
+
"name": "assetstatuses.getOrCreate",
|
|
2951
|
+
"operation": "getOrCreate",
|
|
2952
|
+
"objectName": "@happyvertical/smrt-assets:AssetStatusCollection",
|
|
2953
|
+
"path": "/assetstatuses/getOrCreate",
|
|
2954
|
+
"method": "POST"
|
|
2955
|
+
},
|
|
2956
|
+
{
|
|
2957
|
+
"kind": "api",
|
|
2958
|
+
"name": "assetstatuses.initializeCommonStatuses",
|
|
2959
|
+
"operation": "initializeCommonStatuses",
|
|
2960
|
+
"objectName": "@happyvertical/smrt-assets:AssetStatusCollection",
|
|
2961
|
+
"path": "/assetstatuses/initializeCommonStatuses",
|
|
2962
|
+
"method": "POST"
|
|
2963
|
+
},
|
|
2964
|
+
{
|
|
2965
|
+
"kind": "cli",
|
|
2966
|
+
"name": "assetstatuscollection_getOrCreate",
|
|
2967
|
+
"operation": "getOrCreate",
|
|
2968
|
+
"objectName": "@happyvertical/smrt-assets:AssetStatusCollection"
|
|
2969
|
+
},
|
|
2970
|
+
{
|
|
2971
|
+
"kind": "cli",
|
|
2972
|
+
"name": "assetstatuscollection_initializeCommonStatuses",
|
|
2973
|
+
"operation": "initializeCommonStatuses",
|
|
2974
|
+
"objectName": "@happyvertical/smrt-assets:AssetStatusCollection"
|
|
2975
|
+
},
|
|
2976
|
+
{
|
|
2977
|
+
"kind": "mcp",
|
|
2978
|
+
"name": "assetstatuscollection_getorcreate",
|
|
2979
|
+
"operation": "getOrCreate",
|
|
2980
|
+
"objectName": "@happyvertical/smrt-assets:AssetStatusCollection"
|
|
2981
|
+
},
|
|
2982
|
+
{
|
|
2983
|
+
"kind": "mcp",
|
|
2984
|
+
"name": "assetstatuscollection_initializecommonstatuses",
|
|
2985
|
+
"operation": "initializeCommonStatuses",
|
|
2986
|
+
"objectName": "@happyvertical/smrt-assets:AssetStatusCollection"
|
|
2987
|
+
},
|
|
3328
2988
|
{
|
|
3329
2989
|
"kind": "api",
|
|
3330
2990
|
"name": "assettypes.list",
|
|
@@ -3395,6 +3055,12 @@
|
|
|
3395
3055
|
"operation": "delete",
|
|
3396
3056
|
"objectName": "@happyvertical/smrt-assets:AssetType"
|
|
3397
3057
|
},
|
|
3058
|
+
{
|
|
3059
|
+
"kind": "cli",
|
|
3060
|
+
"name": "assettype_getBySlug",
|
|
3061
|
+
"operation": "getBySlug",
|
|
3062
|
+
"objectName": "@happyvertical/smrt-assets:AssetType"
|
|
3063
|
+
},
|
|
3398
3064
|
{
|
|
3399
3065
|
"kind": "mcp",
|
|
3400
3066
|
"name": "assettype_list",
|
|
@@ -3413,6 +3079,46 @@
|
|
|
3413
3079
|
"operation": "create",
|
|
3414
3080
|
"objectName": "@happyvertical/smrt-assets:AssetType"
|
|
3415
3081
|
},
|
|
3082
|
+
{
|
|
3083
|
+
"kind": "api",
|
|
3084
|
+
"name": "assettypes.getOrCreate",
|
|
3085
|
+
"operation": "getOrCreate",
|
|
3086
|
+
"objectName": "@happyvertical/smrt-assets:AssetTypeCollection",
|
|
3087
|
+
"path": "/assettypes/getOrCreate",
|
|
3088
|
+
"method": "POST"
|
|
3089
|
+
},
|
|
3090
|
+
{
|
|
3091
|
+
"kind": "api",
|
|
3092
|
+
"name": "assettypes.initializeCommonTypes",
|
|
3093
|
+
"operation": "initializeCommonTypes",
|
|
3094
|
+
"objectName": "@happyvertical/smrt-assets:AssetTypeCollection",
|
|
3095
|
+
"path": "/assettypes/initializeCommonTypes",
|
|
3096
|
+
"method": "POST"
|
|
3097
|
+
},
|
|
3098
|
+
{
|
|
3099
|
+
"kind": "cli",
|
|
3100
|
+
"name": "assettypecollection_getOrCreate",
|
|
3101
|
+
"operation": "getOrCreate",
|
|
3102
|
+
"objectName": "@happyvertical/smrt-assets:AssetTypeCollection"
|
|
3103
|
+
},
|
|
3104
|
+
{
|
|
3105
|
+
"kind": "cli",
|
|
3106
|
+
"name": "assettypecollection_initializeCommonTypes",
|
|
3107
|
+
"operation": "initializeCommonTypes",
|
|
3108
|
+
"objectName": "@happyvertical/smrt-assets:AssetTypeCollection"
|
|
3109
|
+
},
|
|
3110
|
+
{
|
|
3111
|
+
"kind": "mcp",
|
|
3112
|
+
"name": "assettypecollection_getorcreate",
|
|
3113
|
+
"operation": "getOrCreate",
|
|
3114
|
+
"objectName": "@happyvertical/smrt-assets:AssetTypeCollection"
|
|
3115
|
+
},
|
|
3116
|
+
{
|
|
3117
|
+
"kind": "mcp",
|
|
3118
|
+
"name": "assettypecollection_initializecommontypes",
|
|
3119
|
+
"operation": "initializeCommonTypes",
|
|
3120
|
+
"objectName": "@happyvertical/smrt-assets:AssetTypeCollection"
|
|
3121
|
+
},
|
|
3416
3122
|
{
|
|
3417
3123
|
"kind": "api",
|
|
3418
3124
|
"name": "assets.list",
|
|
@@ -3483,6 +3189,96 @@
|
|
|
3483
3189
|
"operation": "delete",
|
|
3484
3190
|
"objectName": "@happyvertical/smrt-assets:Asset"
|
|
3485
3191
|
},
|
|
3192
|
+
{
|
|
3193
|
+
"kind": "cli",
|
|
3194
|
+
"name": "asset_getMetadata",
|
|
3195
|
+
"operation": "getMetadata",
|
|
3196
|
+
"objectName": "@happyvertical/smrt-assets:Asset"
|
|
3197
|
+
},
|
|
3198
|
+
{
|
|
3199
|
+
"kind": "cli",
|
|
3200
|
+
"name": "asset_setMetadata",
|
|
3201
|
+
"operation": "setMetadata",
|
|
3202
|
+
"objectName": "@happyvertical/smrt-assets:Asset"
|
|
3203
|
+
},
|
|
3204
|
+
{
|
|
3205
|
+
"kind": "cli",
|
|
3206
|
+
"name": "asset_mergeMetadata",
|
|
3207
|
+
"operation": "mergeMetadata",
|
|
3208
|
+
"objectName": "@happyvertical/smrt-assets:Asset"
|
|
3209
|
+
},
|
|
3210
|
+
{
|
|
3211
|
+
"kind": "cli",
|
|
3212
|
+
"name": "asset_getExternalRefs",
|
|
3213
|
+
"operation": "getExternalRefs",
|
|
3214
|
+
"objectName": "@happyvertical/smrt-assets:Asset"
|
|
3215
|
+
},
|
|
3216
|
+
{
|
|
3217
|
+
"kind": "cli",
|
|
3218
|
+
"name": "asset_getExternalRef",
|
|
3219
|
+
"operation": "getExternalRef",
|
|
3220
|
+
"objectName": "@happyvertical/smrt-assets:Asset"
|
|
3221
|
+
},
|
|
3222
|
+
{
|
|
3223
|
+
"kind": "cli",
|
|
3224
|
+
"name": "asset_setExternalRef",
|
|
3225
|
+
"operation": "setExternalRef",
|
|
3226
|
+
"objectName": "@happyvertical/smrt-assets:Asset"
|
|
3227
|
+
},
|
|
3228
|
+
{
|
|
3229
|
+
"kind": "cli",
|
|
3230
|
+
"name": "asset_getTags",
|
|
3231
|
+
"operation": "getTags",
|
|
3232
|
+
"objectName": "@happyvertical/smrt-assets:Asset"
|
|
3233
|
+
},
|
|
3234
|
+
{
|
|
3235
|
+
"kind": "cli",
|
|
3236
|
+
"name": "asset_hasTag",
|
|
3237
|
+
"operation": "hasTag",
|
|
3238
|
+
"objectName": "@happyvertical/smrt-assets:Asset"
|
|
3239
|
+
},
|
|
3240
|
+
{
|
|
3241
|
+
"kind": "cli",
|
|
3242
|
+
"name": "asset_getSource",
|
|
3243
|
+
"operation": "getSource",
|
|
3244
|
+
"objectName": "@happyvertical/smrt-assets:Asset"
|
|
3245
|
+
},
|
|
3246
|
+
{
|
|
3247
|
+
"kind": "cli",
|
|
3248
|
+
"name": "asset_getDerivatives",
|
|
3249
|
+
"operation": "getDerivatives",
|
|
3250
|
+
"objectName": "@happyvertical/smrt-assets:Asset"
|
|
3251
|
+
},
|
|
3252
|
+
{
|
|
3253
|
+
"kind": "cli",
|
|
3254
|
+
"name": "asset_getType",
|
|
3255
|
+
"operation": "getType",
|
|
3256
|
+
"objectName": "@happyvertical/smrt-assets:Asset"
|
|
3257
|
+
},
|
|
3258
|
+
{
|
|
3259
|
+
"kind": "cli",
|
|
3260
|
+
"name": "asset_getStatus",
|
|
3261
|
+
"operation": "getStatus",
|
|
3262
|
+
"objectName": "@happyvertical/smrt-assets:Asset"
|
|
3263
|
+
},
|
|
3264
|
+
{
|
|
3265
|
+
"kind": "cli",
|
|
3266
|
+
"name": "asset_getAssociations",
|
|
3267
|
+
"operation": "getAssociations",
|
|
3268
|
+
"objectName": "@happyvertical/smrt-assets:Asset"
|
|
3269
|
+
},
|
|
3270
|
+
{
|
|
3271
|
+
"kind": "cli",
|
|
3272
|
+
"name": "asset_associateWith",
|
|
3273
|
+
"operation": "associateWith",
|
|
3274
|
+
"objectName": "@happyvertical/smrt-assets:Asset"
|
|
3275
|
+
},
|
|
3276
|
+
{
|
|
3277
|
+
"kind": "cli",
|
|
3278
|
+
"name": "asset_getBySlug",
|
|
3279
|
+
"operation": "getBySlug",
|
|
3280
|
+
"objectName": "@happyvertical/smrt-assets:Asset"
|
|
3281
|
+
},
|
|
3486
3282
|
{
|
|
3487
3283
|
"kind": "mcp",
|
|
3488
3284
|
"name": "asset_list",
|
|
@@ -3507,6 +3303,326 @@
|
|
|
3507
3303
|
"operation": "update",
|
|
3508
3304
|
"objectName": "@happyvertical/smrt-assets:Asset"
|
|
3509
3305
|
},
|
|
3306
|
+
{
|
|
3307
|
+
"kind": "api",
|
|
3308
|
+
"name": "assets.findByTenant",
|
|
3309
|
+
"operation": "findByTenant",
|
|
3310
|
+
"objectName": "@happyvertical/smrt-assets:AssetCollection",
|
|
3311
|
+
"path": "/assets/findByTenant",
|
|
3312
|
+
"method": "POST"
|
|
3313
|
+
},
|
|
3314
|
+
{
|
|
3315
|
+
"kind": "api",
|
|
3316
|
+
"name": "assets.findGlobal",
|
|
3317
|
+
"operation": "findGlobal",
|
|
3318
|
+
"objectName": "@happyvertical/smrt-assets:AssetCollection",
|
|
3319
|
+
"path": "/assets/findGlobal",
|
|
3320
|
+
"method": "POST"
|
|
3321
|
+
},
|
|
3322
|
+
{
|
|
3323
|
+
"kind": "api",
|
|
3324
|
+
"name": "assets.findWithGlobals",
|
|
3325
|
+
"operation": "findWithGlobals",
|
|
3326
|
+
"objectName": "@happyvertical/smrt-assets:AssetCollection",
|
|
3327
|
+
"path": "/assets/findWithGlobals",
|
|
3328
|
+
"method": "POST"
|
|
3329
|
+
},
|
|
3330
|
+
{
|
|
3331
|
+
"kind": "api",
|
|
3332
|
+
"name": "assets.addTag",
|
|
3333
|
+
"operation": "addTag",
|
|
3334
|
+
"objectName": "@happyvertical/smrt-assets:AssetCollection",
|
|
3335
|
+
"path": "/assets/addTag",
|
|
3336
|
+
"method": "POST"
|
|
3337
|
+
},
|
|
3338
|
+
{
|
|
3339
|
+
"kind": "api",
|
|
3340
|
+
"name": "assets.removeTag",
|
|
3341
|
+
"operation": "removeTag",
|
|
3342
|
+
"objectName": "@happyvertical/smrt-assets:AssetCollection",
|
|
3343
|
+
"path": "/assets/removeTag",
|
|
3344
|
+
"method": "POST"
|
|
3345
|
+
},
|
|
3346
|
+
{
|
|
3347
|
+
"kind": "api",
|
|
3348
|
+
"name": "assets.getByTag",
|
|
3349
|
+
"operation": "getByTag",
|
|
3350
|
+
"objectName": "@happyvertical/smrt-assets:AssetCollection",
|
|
3351
|
+
"path": "/assets/getByTag",
|
|
3352
|
+
"method": "POST"
|
|
3353
|
+
},
|
|
3354
|
+
{
|
|
3355
|
+
"kind": "api",
|
|
3356
|
+
"name": "assets.getByType",
|
|
3357
|
+
"operation": "getByType",
|
|
3358
|
+
"objectName": "@happyvertical/smrt-assets:AssetCollection",
|
|
3359
|
+
"path": "/assets/getByType",
|
|
3360
|
+
"method": "POST"
|
|
3361
|
+
},
|
|
3362
|
+
{
|
|
3363
|
+
"kind": "api",
|
|
3364
|
+
"name": "assets.getByStatus",
|
|
3365
|
+
"operation": "getByStatus",
|
|
3366
|
+
"objectName": "@happyvertical/smrt-assets:AssetCollection",
|
|
3367
|
+
"path": "/assets/getByStatus",
|
|
3368
|
+
"method": "POST"
|
|
3369
|
+
},
|
|
3370
|
+
{
|
|
3371
|
+
"kind": "api",
|
|
3372
|
+
"name": "assets.getByOwner",
|
|
3373
|
+
"operation": "getByOwner",
|
|
3374
|
+
"objectName": "@happyvertical/smrt-assets:AssetCollection",
|
|
3375
|
+
"path": "/assets/getByOwner",
|
|
3376
|
+
"method": "POST"
|
|
3377
|
+
},
|
|
3378
|
+
{
|
|
3379
|
+
"kind": "api",
|
|
3380
|
+
"name": "assets.createNewVersion",
|
|
3381
|
+
"operation": "createNewVersion",
|
|
3382
|
+
"objectName": "@happyvertical/smrt-assets:AssetCollection",
|
|
3383
|
+
"path": "/assets/createNewVersion",
|
|
3384
|
+
"method": "POST"
|
|
3385
|
+
},
|
|
3386
|
+
{
|
|
3387
|
+
"kind": "api",
|
|
3388
|
+
"name": "assets.getLatestVersion",
|
|
3389
|
+
"operation": "getLatestVersion",
|
|
3390
|
+
"objectName": "@happyvertical/smrt-assets:AssetCollection",
|
|
3391
|
+
"path": "/assets/getLatestVersion",
|
|
3392
|
+
"method": "POST"
|
|
3393
|
+
},
|
|
3394
|
+
{
|
|
3395
|
+
"kind": "api",
|
|
3396
|
+
"name": "assets.listVersions",
|
|
3397
|
+
"operation": "listVersions",
|
|
3398
|
+
"objectName": "@happyvertical/smrt-assets:AssetCollection",
|
|
3399
|
+
"path": "/assets/listVersions",
|
|
3400
|
+
"method": "POST"
|
|
3401
|
+
},
|
|
3402
|
+
{
|
|
3403
|
+
"kind": "api",
|
|
3404
|
+
"name": "assets.getDerivatives",
|
|
3405
|
+
"operation": "getDerivatives",
|
|
3406
|
+
"objectName": "@happyvertical/smrt-assets:AssetCollection",
|
|
3407
|
+
"path": "/assets/getDerivatives",
|
|
3408
|
+
"method": "POST"
|
|
3409
|
+
},
|
|
3410
|
+
{
|
|
3411
|
+
"kind": "api",
|
|
3412
|
+
"name": "assets.getByMimeType",
|
|
3413
|
+
"operation": "getByMimeType",
|
|
3414
|
+
"objectName": "@happyvertical/smrt-assets:AssetCollection",
|
|
3415
|
+
"path": "/assets/getByMimeType",
|
|
3416
|
+
"method": "POST"
|
|
3417
|
+
},
|
|
3418
|
+
{
|
|
3419
|
+
"kind": "api",
|
|
3420
|
+
"name": "assets.rollbackToVersion",
|
|
3421
|
+
"operation": "rollbackToVersion",
|
|
3422
|
+
"objectName": "@happyvertical/smrt-assets:AssetCollection",
|
|
3423
|
+
"path": "/assets/rollbackToVersion",
|
|
3424
|
+
"method": "POST"
|
|
3425
|
+
},
|
|
3426
|
+
{
|
|
3427
|
+
"kind": "api",
|
|
3428
|
+
"name": "assets.getByFolder",
|
|
3429
|
+
"operation": "getByFolder",
|
|
3430
|
+
"objectName": "@happyvertical/smrt-assets:AssetCollection",
|
|
3431
|
+
"path": "/assets/getByFolder",
|
|
3432
|
+
"method": "POST"
|
|
3433
|
+
},
|
|
3434
|
+
{
|
|
3435
|
+
"kind": "cli",
|
|
3436
|
+
"name": "assetcollection_findByTenant",
|
|
3437
|
+
"operation": "findByTenant",
|
|
3438
|
+
"objectName": "@happyvertical/smrt-assets:AssetCollection"
|
|
3439
|
+
},
|
|
3440
|
+
{
|
|
3441
|
+
"kind": "cli",
|
|
3442
|
+
"name": "assetcollection_findGlobal",
|
|
3443
|
+
"operation": "findGlobal",
|
|
3444
|
+
"objectName": "@happyvertical/smrt-assets:AssetCollection"
|
|
3445
|
+
},
|
|
3446
|
+
{
|
|
3447
|
+
"kind": "cli",
|
|
3448
|
+
"name": "assetcollection_findWithGlobals",
|
|
3449
|
+
"operation": "findWithGlobals",
|
|
3450
|
+
"objectName": "@happyvertical/smrt-assets:AssetCollection"
|
|
3451
|
+
},
|
|
3452
|
+
{
|
|
3453
|
+
"kind": "cli",
|
|
3454
|
+
"name": "assetcollection_addTag",
|
|
3455
|
+
"operation": "addTag",
|
|
3456
|
+
"objectName": "@happyvertical/smrt-assets:AssetCollection"
|
|
3457
|
+
},
|
|
3458
|
+
{
|
|
3459
|
+
"kind": "cli",
|
|
3460
|
+
"name": "assetcollection_removeTag",
|
|
3461
|
+
"operation": "removeTag",
|
|
3462
|
+
"objectName": "@happyvertical/smrt-assets:AssetCollection"
|
|
3463
|
+
},
|
|
3464
|
+
{
|
|
3465
|
+
"kind": "cli",
|
|
3466
|
+
"name": "assetcollection_getByTag",
|
|
3467
|
+
"operation": "getByTag",
|
|
3468
|
+
"objectName": "@happyvertical/smrt-assets:AssetCollection"
|
|
3469
|
+
},
|
|
3470
|
+
{
|
|
3471
|
+
"kind": "cli",
|
|
3472
|
+
"name": "assetcollection_getByType",
|
|
3473
|
+
"operation": "getByType",
|
|
3474
|
+
"objectName": "@happyvertical/smrt-assets:AssetCollection"
|
|
3475
|
+
},
|
|
3476
|
+
{
|
|
3477
|
+
"kind": "cli",
|
|
3478
|
+
"name": "assetcollection_getByStatus",
|
|
3479
|
+
"operation": "getByStatus",
|
|
3480
|
+
"objectName": "@happyvertical/smrt-assets:AssetCollection"
|
|
3481
|
+
},
|
|
3482
|
+
{
|
|
3483
|
+
"kind": "cli",
|
|
3484
|
+
"name": "assetcollection_getByOwner",
|
|
3485
|
+
"operation": "getByOwner",
|
|
3486
|
+
"objectName": "@happyvertical/smrt-assets:AssetCollection"
|
|
3487
|
+
},
|
|
3488
|
+
{
|
|
3489
|
+
"kind": "cli",
|
|
3490
|
+
"name": "assetcollection_createNewVersion",
|
|
3491
|
+
"operation": "createNewVersion",
|
|
3492
|
+
"objectName": "@happyvertical/smrt-assets:AssetCollection"
|
|
3493
|
+
},
|
|
3494
|
+
{
|
|
3495
|
+
"kind": "cli",
|
|
3496
|
+
"name": "assetcollection_getLatestVersion",
|
|
3497
|
+
"operation": "getLatestVersion",
|
|
3498
|
+
"objectName": "@happyvertical/smrt-assets:AssetCollection"
|
|
3499
|
+
},
|
|
3500
|
+
{
|
|
3501
|
+
"kind": "cli",
|
|
3502
|
+
"name": "assetcollection_listVersions",
|
|
3503
|
+
"operation": "listVersions",
|
|
3504
|
+
"objectName": "@happyvertical/smrt-assets:AssetCollection"
|
|
3505
|
+
},
|
|
3506
|
+
{
|
|
3507
|
+
"kind": "cli",
|
|
3508
|
+
"name": "assetcollection_getDerivatives",
|
|
3509
|
+
"operation": "getDerivatives",
|
|
3510
|
+
"objectName": "@happyvertical/smrt-assets:AssetCollection"
|
|
3511
|
+
},
|
|
3512
|
+
{
|
|
3513
|
+
"kind": "cli",
|
|
3514
|
+
"name": "assetcollection_getByMimeType",
|
|
3515
|
+
"operation": "getByMimeType",
|
|
3516
|
+
"objectName": "@happyvertical/smrt-assets:AssetCollection"
|
|
3517
|
+
},
|
|
3518
|
+
{
|
|
3519
|
+
"kind": "cli",
|
|
3520
|
+
"name": "assetcollection_rollbackToVersion",
|
|
3521
|
+
"operation": "rollbackToVersion",
|
|
3522
|
+
"objectName": "@happyvertical/smrt-assets:AssetCollection"
|
|
3523
|
+
},
|
|
3524
|
+
{
|
|
3525
|
+
"kind": "cli",
|
|
3526
|
+
"name": "assetcollection_getByFolder",
|
|
3527
|
+
"operation": "getByFolder",
|
|
3528
|
+
"objectName": "@happyvertical/smrt-assets:AssetCollection"
|
|
3529
|
+
},
|
|
3530
|
+
{
|
|
3531
|
+
"kind": "mcp",
|
|
3532
|
+
"name": "assetcollection_findbytenant",
|
|
3533
|
+
"operation": "findByTenant",
|
|
3534
|
+
"objectName": "@happyvertical/smrt-assets:AssetCollection"
|
|
3535
|
+
},
|
|
3536
|
+
{
|
|
3537
|
+
"kind": "mcp",
|
|
3538
|
+
"name": "assetcollection_findglobal",
|
|
3539
|
+
"operation": "findGlobal",
|
|
3540
|
+
"objectName": "@happyvertical/smrt-assets:AssetCollection"
|
|
3541
|
+
},
|
|
3542
|
+
{
|
|
3543
|
+
"kind": "mcp",
|
|
3544
|
+
"name": "assetcollection_findwithglobals",
|
|
3545
|
+
"operation": "findWithGlobals",
|
|
3546
|
+
"objectName": "@happyvertical/smrt-assets:AssetCollection"
|
|
3547
|
+
},
|
|
3548
|
+
{
|
|
3549
|
+
"kind": "mcp",
|
|
3550
|
+
"name": "assetcollection_addtag",
|
|
3551
|
+
"operation": "addTag",
|
|
3552
|
+
"objectName": "@happyvertical/smrt-assets:AssetCollection"
|
|
3553
|
+
},
|
|
3554
|
+
{
|
|
3555
|
+
"kind": "mcp",
|
|
3556
|
+
"name": "assetcollection_removetag",
|
|
3557
|
+
"operation": "removeTag",
|
|
3558
|
+
"objectName": "@happyvertical/smrt-assets:AssetCollection"
|
|
3559
|
+
},
|
|
3560
|
+
{
|
|
3561
|
+
"kind": "mcp",
|
|
3562
|
+
"name": "assetcollection_getbytag",
|
|
3563
|
+
"operation": "getByTag",
|
|
3564
|
+
"objectName": "@happyvertical/smrt-assets:AssetCollection"
|
|
3565
|
+
},
|
|
3566
|
+
{
|
|
3567
|
+
"kind": "mcp",
|
|
3568
|
+
"name": "assetcollection_getbytype",
|
|
3569
|
+
"operation": "getByType",
|
|
3570
|
+
"objectName": "@happyvertical/smrt-assets:AssetCollection"
|
|
3571
|
+
},
|
|
3572
|
+
{
|
|
3573
|
+
"kind": "mcp",
|
|
3574
|
+
"name": "assetcollection_getbystatus",
|
|
3575
|
+
"operation": "getByStatus",
|
|
3576
|
+
"objectName": "@happyvertical/smrt-assets:AssetCollection"
|
|
3577
|
+
},
|
|
3578
|
+
{
|
|
3579
|
+
"kind": "mcp",
|
|
3580
|
+
"name": "assetcollection_getbyowner",
|
|
3581
|
+
"operation": "getByOwner",
|
|
3582
|
+
"objectName": "@happyvertical/smrt-assets:AssetCollection"
|
|
3583
|
+
},
|
|
3584
|
+
{
|
|
3585
|
+
"kind": "mcp",
|
|
3586
|
+
"name": "assetcollection_createnewversion",
|
|
3587
|
+
"operation": "createNewVersion",
|
|
3588
|
+
"objectName": "@happyvertical/smrt-assets:AssetCollection"
|
|
3589
|
+
},
|
|
3590
|
+
{
|
|
3591
|
+
"kind": "mcp",
|
|
3592
|
+
"name": "assetcollection_getlatestversion",
|
|
3593
|
+
"operation": "getLatestVersion",
|
|
3594
|
+
"objectName": "@happyvertical/smrt-assets:AssetCollection"
|
|
3595
|
+
},
|
|
3596
|
+
{
|
|
3597
|
+
"kind": "mcp",
|
|
3598
|
+
"name": "assetcollection_listversions",
|
|
3599
|
+
"operation": "listVersions",
|
|
3600
|
+
"objectName": "@happyvertical/smrt-assets:AssetCollection"
|
|
3601
|
+
},
|
|
3602
|
+
{
|
|
3603
|
+
"kind": "mcp",
|
|
3604
|
+
"name": "assetcollection_getderivatives",
|
|
3605
|
+
"operation": "getDerivatives",
|
|
3606
|
+
"objectName": "@happyvertical/smrt-assets:AssetCollection"
|
|
3607
|
+
},
|
|
3608
|
+
{
|
|
3609
|
+
"kind": "mcp",
|
|
3610
|
+
"name": "assetcollection_getbymimetype",
|
|
3611
|
+
"operation": "getByMimeType",
|
|
3612
|
+
"objectName": "@happyvertical/smrt-assets:AssetCollection"
|
|
3613
|
+
},
|
|
3614
|
+
{
|
|
3615
|
+
"kind": "mcp",
|
|
3616
|
+
"name": "assetcollection_rollbacktoversion",
|
|
3617
|
+
"operation": "rollbackToVersion",
|
|
3618
|
+
"objectName": "@happyvertical/smrt-assets:AssetCollection"
|
|
3619
|
+
},
|
|
3620
|
+
{
|
|
3621
|
+
"kind": "mcp",
|
|
3622
|
+
"name": "assetcollection_getbyfolder",
|
|
3623
|
+
"operation": "getByFolder",
|
|
3624
|
+
"objectName": "@happyvertical/smrt-assets:AssetCollection"
|
|
3625
|
+
},
|
|
3510
3626
|
{
|
|
3511
3627
|
"kind": "api",
|
|
3512
3628
|
"name": "folders.list",
|
|
@@ -3577,6 +3693,48 @@
|
|
|
3577
3693
|
"operation": "delete",
|
|
3578
3694
|
"objectName": "@happyvertical/smrt-assets:Folder"
|
|
3579
3695
|
},
|
|
3696
|
+
{
|
|
3697
|
+
"kind": "cli",
|
|
3698
|
+
"name": "folder_getParent",
|
|
3699
|
+
"operation": "getParent",
|
|
3700
|
+
"objectName": "@happyvertical/smrt-assets:Folder"
|
|
3701
|
+
},
|
|
3702
|
+
{
|
|
3703
|
+
"kind": "cli",
|
|
3704
|
+
"name": "folder_getChildren",
|
|
3705
|
+
"operation": "getChildren",
|
|
3706
|
+
"objectName": "@happyvertical/smrt-assets:Folder"
|
|
3707
|
+
},
|
|
3708
|
+
{
|
|
3709
|
+
"kind": "cli",
|
|
3710
|
+
"name": "folder_getAncestors",
|
|
3711
|
+
"operation": "getAncestors",
|
|
3712
|
+
"objectName": "@happyvertical/smrt-assets:Folder"
|
|
3713
|
+
},
|
|
3714
|
+
{
|
|
3715
|
+
"kind": "cli",
|
|
3716
|
+
"name": "folder_getDescendants",
|
|
3717
|
+
"operation": "getDescendants",
|
|
3718
|
+
"objectName": "@happyvertical/smrt-assets:Folder"
|
|
3719
|
+
},
|
|
3720
|
+
{
|
|
3721
|
+
"kind": "cli",
|
|
3722
|
+
"name": "folder_getHierarchy",
|
|
3723
|
+
"operation": "getHierarchy",
|
|
3724
|
+
"objectName": "@happyvertical/smrt-assets:Folder"
|
|
3725
|
+
},
|
|
3726
|
+
{
|
|
3727
|
+
"kind": "cli",
|
|
3728
|
+
"name": "folder_moveTo",
|
|
3729
|
+
"operation": "moveTo",
|
|
3730
|
+
"objectName": "@happyvertical/smrt-assets:Folder"
|
|
3731
|
+
},
|
|
3732
|
+
{
|
|
3733
|
+
"kind": "cli",
|
|
3734
|
+
"name": "folder_getBySlug",
|
|
3735
|
+
"operation": "getBySlug",
|
|
3736
|
+
"objectName": "@happyvertical/smrt-assets:Folder"
|
|
3737
|
+
},
|
|
3580
3738
|
{
|
|
3581
3739
|
"kind": "mcp",
|
|
3582
3740
|
"name": "folder_list",
|
|
@@ -3600,6 +3758,86 @@
|
|
|
3600
3758
|
"name": "folder_update",
|
|
3601
3759
|
"operation": "update",
|
|
3602
3760
|
"objectName": "@happyvertical/smrt-assets:Folder"
|
|
3761
|
+
},
|
|
3762
|
+
{
|
|
3763
|
+
"kind": "api",
|
|
3764
|
+
"name": "folders.getTree",
|
|
3765
|
+
"operation": "getTree",
|
|
3766
|
+
"objectName": "@happyvertical/smrt-assets:FolderCollection",
|
|
3767
|
+
"path": "/folders/getTree",
|
|
3768
|
+
"method": "POST"
|
|
3769
|
+
},
|
|
3770
|
+
{
|
|
3771
|
+
"kind": "api",
|
|
3772
|
+
"name": "folders.getPath",
|
|
3773
|
+
"operation": "getPath",
|
|
3774
|
+
"objectName": "@happyvertical/smrt-assets:FolderCollection",
|
|
3775
|
+
"path": "/folders/getPath",
|
|
3776
|
+
"method": "POST"
|
|
3777
|
+
},
|
|
3778
|
+
{
|
|
3779
|
+
"kind": "api",
|
|
3780
|
+
"name": "folders.getContents",
|
|
3781
|
+
"operation": "getContents",
|
|
3782
|
+
"objectName": "@happyvertical/smrt-assets:FolderCollection",
|
|
3783
|
+
"path": "/folders/getContents",
|
|
3784
|
+
"method": "POST"
|
|
3785
|
+
},
|
|
3786
|
+
{
|
|
3787
|
+
"kind": "api",
|
|
3788
|
+
"name": "folders.moveAsset",
|
|
3789
|
+
"operation": "moveAsset",
|
|
3790
|
+
"objectName": "@happyvertical/smrt-assets:FolderCollection",
|
|
3791
|
+
"path": "/folders/moveAsset",
|
|
3792
|
+
"method": "POST"
|
|
3793
|
+
},
|
|
3794
|
+
{
|
|
3795
|
+
"kind": "cli",
|
|
3796
|
+
"name": "foldercollection_getTree",
|
|
3797
|
+
"operation": "getTree",
|
|
3798
|
+
"objectName": "@happyvertical/smrt-assets:FolderCollection"
|
|
3799
|
+
},
|
|
3800
|
+
{
|
|
3801
|
+
"kind": "cli",
|
|
3802
|
+
"name": "foldercollection_getPath",
|
|
3803
|
+
"operation": "getPath",
|
|
3804
|
+
"objectName": "@happyvertical/smrt-assets:FolderCollection"
|
|
3805
|
+
},
|
|
3806
|
+
{
|
|
3807
|
+
"kind": "cli",
|
|
3808
|
+
"name": "foldercollection_getContents",
|
|
3809
|
+
"operation": "getContents",
|
|
3810
|
+
"objectName": "@happyvertical/smrt-assets:FolderCollection"
|
|
3811
|
+
},
|
|
3812
|
+
{
|
|
3813
|
+
"kind": "cli",
|
|
3814
|
+
"name": "foldercollection_moveAsset",
|
|
3815
|
+
"operation": "moveAsset",
|
|
3816
|
+
"objectName": "@happyvertical/smrt-assets:FolderCollection"
|
|
3817
|
+
},
|
|
3818
|
+
{
|
|
3819
|
+
"kind": "mcp",
|
|
3820
|
+
"name": "foldercollection_gettree",
|
|
3821
|
+
"operation": "getTree",
|
|
3822
|
+
"objectName": "@happyvertical/smrt-assets:FolderCollection"
|
|
3823
|
+
},
|
|
3824
|
+
{
|
|
3825
|
+
"kind": "mcp",
|
|
3826
|
+
"name": "foldercollection_getpath",
|
|
3827
|
+
"operation": "getPath",
|
|
3828
|
+
"objectName": "@happyvertical/smrt-assets:FolderCollection"
|
|
3829
|
+
},
|
|
3830
|
+
{
|
|
3831
|
+
"kind": "mcp",
|
|
3832
|
+
"name": "foldercollection_getcontents",
|
|
3833
|
+
"operation": "getContents",
|
|
3834
|
+
"objectName": "@happyvertical/smrt-assets:FolderCollection"
|
|
3835
|
+
},
|
|
3836
|
+
{
|
|
3837
|
+
"kind": "mcp",
|
|
3838
|
+
"name": "foldercollection_moveasset",
|
|
3839
|
+
"operation": "moveAsset",
|
|
3840
|
+
"objectName": "@happyvertical/smrt-assets:FolderCollection"
|
|
3603
3841
|
}
|
|
3604
3842
|
],
|
|
3605
3843
|
"prompts": [],
|