@happyvertical/smrt-core 0.40.19 → 0.40.20

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.
@@ -1,9 +1,9 @@
1
1
  //#region src/manifest/test-manifest-stub.ts
2
2
  var testManifest = {
3
3
  "version": "1.0.0",
4
- "timestamp": 1784615520895,
4
+ "timestamp": 1784619967261,
5
5
  "packageName": "@happyvertical/smrt-core",
6
- "packageVersion": "0.40.19",
6
+ "packageVersion": "0.40.20",
7
7
  "objects": {
8
8
  "@happyvertical/smrt-core:SmrtClass": {
9
9
  "name": "smrtclass",
@@ -67069,6 +67069,128 @@ var testManifest = {
67069
67069
  "version": "9684f5a4"
67070
67070
  }
67071
67071
  },
67072
+ "@happyvertical/smrt-core:LearningNote": {
67073
+ "name": "learningnote",
67074
+ "className": "LearningNote",
67075
+ "qualifiedName": "@happyvertical/smrt-core:LearningNote",
67076
+ "collection": "learningnotes",
67077
+ "filePath": "packages/core/src/learning/memory.test.ts",
67078
+ "packageName": "@happyvertical/smrt-core",
67079
+ "fields": { "content": {
67080
+ "type": "text",
67081
+ "required": false,
67082
+ "default": ""
67083
+ } },
67084
+ "methods": {},
67085
+ "decoratorConfig": { "embeddings": {
67086
+ "fields": ["content"],
67087
+ "autoGenerate": false
67088
+ } },
67089
+ "extends": "SmrtObject",
67090
+ "exportName": "LearningNote",
67091
+ "collectionExportName": "LearningNoteCollection",
67092
+ "schema": {
67093
+ "tableName": "learning_notes",
67094
+ "ddl": "CREATE TABLE IF NOT EXISTS \"learning_notes\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"content\" TEXT DEFAULT ''\n);",
67095
+ "columns": {
67096
+ "id": {
67097
+ "type": "UUID",
67098
+ "primaryKey": true,
67099
+ "referenceKind": "id",
67100
+ "notNull": true
67101
+ },
67102
+ "slug": {
67103
+ "type": "TEXT",
67104
+ "notNull": true
67105
+ },
67106
+ "context": {
67107
+ "type": "TEXT",
67108
+ "notNull": true,
67109
+ "default": ""
67110
+ },
67111
+ "created_at": {
67112
+ "type": "TIMESTAMP",
67113
+ "notNull": true,
67114
+ "default": "current_timestamp"
67115
+ },
67116
+ "updated_at": {
67117
+ "type": "TIMESTAMP",
67118
+ "notNull": true,
67119
+ "default": "current_timestamp"
67120
+ },
67121
+ "content": {
67122
+ "type": "TEXT",
67123
+ "notNull": false,
67124
+ "unique": false,
67125
+ "default": ""
67126
+ }
67127
+ },
67128
+ "indexes": [{
67129
+ "name": "learning_notes_id_idx",
67130
+ "columns": ["id"]
67131
+ }, {
67132
+ "name": "learning_notes_slug_context_idx",
67133
+ "columns": ["slug", "context"],
67134
+ "unique": true
67135
+ }],
67136
+ "version": "61ba3524"
67137
+ }
67138
+ },
67139
+ "@happyvertical/smrt-core:LearningNoteCollection": {
67140
+ "name": "learningnotecollection",
67141
+ "className": "LearningNoteCollection",
67142
+ "qualifiedName": "@happyvertical/smrt-core:LearningNoteCollection",
67143
+ "collection": "learningnotes",
67144
+ "filePath": "packages/core/src/learning/memory.test.ts",
67145
+ "packageName": "@happyvertical/smrt-core",
67146
+ "fields": {},
67147
+ "methods": {},
67148
+ "decoratorConfig": {},
67149
+ "extends": "SmrtCollection",
67150
+ "extendsTypeArg": "LearningNote",
67151
+ "exportName": "LearningNoteCollection",
67152
+ "collectionExportName": "LearningNoteCollectionCollection",
67153
+ "schema": {
67154
+ "tableName": "learning_note_collections",
67155
+ "ddl": "CREATE TABLE IF NOT EXISTS \"learning_note_collections\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp\n);",
67156
+ "columns": {
67157
+ "id": {
67158
+ "type": "UUID",
67159
+ "primaryKey": true,
67160
+ "referenceKind": "id",
67161
+ "notNull": true
67162
+ },
67163
+ "slug": {
67164
+ "type": "TEXT",
67165
+ "notNull": true
67166
+ },
67167
+ "context": {
67168
+ "type": "TEXT",
67169
+ "notNull": true,
67170
+ "default": ""
67171
+ },
67172
+ "created_at": {
67173
+ "type": "TIMESTAMP",
67174
+ "notNull": true,
67175
+ "default": "current_timestamp"
67176
+ },
67177
+ "updated_at": {
67178
+ "type": "TIMESTAMP",
67179
+ "notNull": true,
67180
+ "default": "current_timestamp"
67181
+ }
67182
+ },
67183
+ "indexes": [{
67184
+ "name": "learning_note_collections_id_idx",
67185
+ "columns": ["id"]
67186
+ }, {
67187
+ "name": "learning_note_collections_slug_context_idx",
67188
+ "columns": ["slug", "context"],
67189
+ "unique": true
67190
+ }],
67191
+ "version": "4d2823ae"
67192
+ }
67193
+ },
67072
67194
  "@happyvertical/smrt-core:CliCmdWidget": {
67073
67195
  "name": "clicmdwidget",
67074
67196
  "className": "CliCmdWidget",
@@ -72360,128 +72482,6 @@ var testManifest = {
72360
72482
  "version": "f97e7d09"
72361
72483
  }
72362
72484
  },
72363
- "@happyvertical/smrt-core:LearningNote": {
72364
- "name": "learningnote",
72365
- "className": "LearningNote",
72366
- "qualifiedName": "@happyvertical/smrt-core:LearningNote",
72367
- "collection": "learningnotes",
72368
- "filePath": "packages/core/src/learning/memory.test.ts",
72369
- "packageName": "@happyvertical/smrt-core",
72370
- "fields": { "content": {
72371
- "type": "text",
72372
- "required": false,
72373
- "default": ""
72374
- } },
72375
- "methods": {},
72376
- "decoratorConfig": { "embeddings": {
72377
- "fields": ["content"],
72378
- "autoGenerate": false
72379
- } },
72380
- "extends": "SmrtObject",
72381
- "exportName": "LearningNote",
72382
- "collectionExportName": "LearningNoteCollection",
72383
- "schema": {
72384
- "tableName": "learning_notes",
72385
- "ddl": "CREATE TABLE IF NOT EXISTS \"learning_notes\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"content\" TEXT DEFAULT ''\n);",
72386
- "columns": {
72387
- "id": {
72388
- "type": "UUID",
72389
- "primaryKey": true,
72390
- "referenceKind": "id",
72391
- "notNull": true
72392
- },
72393
- "slug": {
72394
- "type": "TEXT",
72395
- "notNull": true
72396
- },
72397
- "context": {
72398
- "type": "TEXT",
72399
- "notNull": true,
72400
- "default": ""
72401
- },
72402
- "created_at": {
72403
- "type": "TIMESTAMP",
72404
- "notNull": true,
72405
- "default": "current_timestamp"
72406
- },
72407
- "updated_at": {
72408
- "type": "TIMESTAMP",
72409
- "notNull": true,
72410
- "default": "current_timestamp"
72411
- },
72412
- "content": {
72413
- "type": "TEXT",
72414
- "notNull": false,
72415
- "unique": false,
72416
- "default": ""
72417
- }
72418
- },
72419
- "indexes": [{
72420
- "name": "learning_notes_id_idx",
72421
- "columns": ["id"]
72422
- }, {
72423
- "name": "learning_notes_slug_context_idx",
72424
- "columns": ["slug", "context"],
72425
- "unique": true
72426
- }],
72427
- "version": "61ba3524"
72428
- }
72429
- },
72430
- "@happyvertical/smrt-core:LearningNoteCollection": {
72431
- "name": "learningnotecollection",
72432
- "className": "LearningNoteCollection",
72433
- "qualifiedName": "@happyvertical/smrt-core:LearningNoteCollection",
72434
- "collection": "learningnotes",
72435
- "filePath": "packages/core/src/learning/memory.test.ts",
72436
- "packageName": "@happyvertical/smrt-core",
72437
- "fields": {},
72438
- "methods": {},
72439
- "decoratorConfig": {},
72440
- "extends": "SmrtCollection",
72441
- "extendsTypeArg": "LearningNote",
72442
- "exportName": "LearningNoteCollection",
72443
- "collectionExportName": "LearningNoteCollectionCollection",
72444
- "schema": {
72445
- "tableName": "learning_note_collections",
72446
- "ddl": "CREATE TABLE IF NOT EXISTS \"learning_note_collections\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp\n);",
72447
- "columns": {
72448
- "id": {
72449
- "type": "UUID",
72450
- "primaryKey": true,
72451
- "referenceKind": "id",
72452
- "notNull": true
72453
- },
72454
- "slug": {
72455
- "type": "TEXT",
72456
- "notNull": true
72457
- },
72458
- "context": {
72459
- "type": "TEXT",
72460
- "notNull": true,
72461
- "default": ""
72462
- },
72463
- "created_at": {
72464
- "type": "TIMESTAMP",
72465
- "notNull": true,
72466
- "default": "current_timestamp"
72467
- },
72468
- "updated_at": {
72469
- "type": "TIMESTAMP",
72470
- "notNull": true,
72471
- "default": "current_timestamp"
72472
- }
72473
- },
72474
- "indexes": [{
72475
- "name": "learning_note_collections_id_idx",
72476
- "columns": ["id"]
72477
- }, {
72478
- "name": "learning_note_collections_slug_context_idx",
72479
- "columns": ["slug", "context"],
72480
- "unique": true
72481
- }],
72482
- "version": "4d2823ae"
72483
- }
72484
- },
72485
72485
  "@happyvertical/smrt-core:CliModuleTestDocument": {
72486
72486
  "name": "climoduletestdocument",
72487
72487
  "className": "CliModuleTestDocument",