@happyvertical/smrt-core 0.34.7 → 0.34.9
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/manifest/static-manifest.js +2 -2
- package/dist/manifest/static-manifest.js.map +1 -1
- package/dist/manifest/store.js +2 -2
- package/dist/manifest/test-manifest-stub.d.ts.map +1 -1
- package/dist/manifest/test-manifest-stub.js +234 -2
- package/dist/manifest/test-manifest-stub.js.map +1 -1
- package/dist/manifest.json +2 -2
- package/dist/object.d.ts +25 -0
- package/dist/object.d.ts.map +1 -1
- package/dist/object.js +64 -7
- package/dist/object.js.map +1 -1
- package/dist/smrt-knowledge.json +4 -4
- package/package.json +4 -4
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
const testManifest = {
|
|
2
2
|
"version": "1.0.0",
|
|
3
|
-
"timestamp":
|
|
3
|
+
"timestamp": 1782329152349,
|
|
4
4
|
"packageName": "@happyvertical/smrt-core",
|
|
5
|
-
"packageVersion": "0.34.
|
|
5
|
+
"packageVersion": "0.34.9",
|
|
6
6
|
"objects": {
|
|
7
7
|
"@happyvertical/smrt-core:SmrtClass": {
|
|
8
8
|
"name": "smrtclass",
|
|
@@ -21670,6 +21670,238 @@ const testManifest = {
|
|
|
21670
21670
|
"version": "93a49445"
|
|
21671
21671
|
}
|
|
21672
21672
|
},
|
|
21673
|
+
"@happyvertical/smrt-core:Pub1580Nested": {
|
|
21674
|
+
"name": "pub1580nested",
|
|
21675
|
+
"className": "Pub1580Nested",
|
|
21676
|
+
"qualifiedName": "@happyvertical/smrt-core:Pub1580Nested",
|
|
21677
|
+
"collection": "pub1580nesteds",
|
|
21678
|
+
"filePath": "packages/core/src/__tests__/issue-1580-public-json-recursive.test.ts",
|
|
21679
|
+
"packageName": "@happyvertical/smrt-core",
|
|
21680
|
+
"fields": {
|
|
21681
|
+
"label": {
|
|
21682
|
+
"type": "text",
|
|
21683
|
+
"required": false,
|
|
21684
|
+
"_meta": {}
|
|
21685
|
+
},
|
|
21686
|
+
"childSecret": {
|
|
21687
|
+
"type": "text",
|
|
21688
|
+
"required": false,
|
|
21689
|
+
"_meta": {
|
|
21690
|
+
"sensitive": true
|
|
21691
|
+
},
|
|
21692
|
+
"sensitive": true
|
|
21693
|
+
},
|
|
21694
|
+
"back": {
|
|
21695
|
+
"type": "json",
|
|
21696
|
+
"required": false
|
|
21697
|
+
}
|
|
21698
|
+
},
|
|
21699
|
+
"methods": {},
|
|
21700
|
+
"decoratorConfig": {},
|
|
21701
|
+
"extends": "SmrtObject",
|
|
21702
|
+
"exportName": "Pub1580Nested",
|
|
21703
|
+
"collectionExportName": "Pub1580NestedCollection",
|
|
21704
|
+
"schema": {
|
|
21705
|
+
"tableName": "pub1580nesteds",
|
|
21706
|
+
"ddl": `CREATE TABLE IF NOT EXISTS "pub1580nesteds" (
|
|
21707
|
+
"id" UUID PRIMARY KEY NOT NULL,
|
|
21708
|
+
"slug" TEXT NOT NULL,
|
|
21709
|
+
"context" TEXT NOT NULL DEFAULT '',
|
|
21710
|
+
"created_at" TIMESTAMP NOT NULL DEFAULT current_timestamp,
|
|
21711
|
+
"updated_at" TIMESTAMP NOT NULL DEFAULT current_timestamp,
|
|
21712
|
+
"label" TEXT,
|
|
21713
|
+
"child_secret" TEXT,
|
|
21714
|
+
"back" JSON
|
|
21715
|
+
);`,
|
|
21716
|
+
"columns": {
|
|
21717
|
+
"id": {
|
|
21718
|
+
"type": "UUID",
|
|
21719
|
+
"primaryKey": true,
|
|
21720
|
+
"referenceKind": "id",
|
|
21721
|
+
"notNull": true
|
|
21722
|
+
},
|
|
21723
|
+
"slug": {
|
|
21724
|
+
"type": "TEXT",
|
|
21725
|
+
"notNull": true
|
|
21726
|
+
},
|
|
21727
|
+
"context": {
|
|
21728
|
+
"type": "TEXT",
|
|
21729
|
+
"notNull": true,
|
|
21730
|
+
"default": ""
|
|
21731
|
+
},
|
|
21732
|
+
"created_at": {
|
|
21733
|
+
"type": "TIMESTAMP",
|
|
21734
|
+
"notNull": true,
|
|
21735
|
+
"default": "current_timestamp"
|
|
21736
|
+
},
|
|
21737
|
+
"updated_at": {
|
|
21738
|
+
"type": "TIMESTAMP",
|
|
21739
|
+
"notNull": true,
|
|
21740
|
+
"default": "current_timestamp"
|
|
21741
|
+
},
|
|
21742
|
+
"label": {
|
|
21743
|
+
"type": "TEXT",
|
|
21744
|
+
"notNull": false,
|
|
21745
|
+
"unique": false
|
|
21746
|
+
},
|
|
21747
|
+
"child_secret": {
|
|
21748
|
+
"type": "TEXT",
|
|
21749
|
+
"notNull": false,
|
|
21750
|
+
"unique": false
|
|
21751
|
+
},
|
|
21752
|
+
"back": {
|
|
21753
|
+
"type": "JSON",
|
|
21754
|
+
"notNull": false,
|
|
21755
|
+
"unique": false
|
|
21756
|
+
}
|
|
21757
|
+
},
|
|
21758
|
+
"indexes": [
|
|
21759
|
+
{
|
|
21760
|
+
"name": "pub1580nesteds_id_idx",
|
|
21761
|
+
"columns": [
|
|
21762
|
+
"id"
|
|
21763
|
+
]
|
|
21764
|
+
},
|
|
21765
|
+
{
|
|
21766
|
+
"name": "pub1580nesteds_slug_context_idx",
|
|
21767
|
+
"columns": [
|
|
21768
|
+
"slug",
|
|
21769
|
+
"context"
|
|
21770
|
+
],
|
|
21771
|
+
"unique": true
|
|
21772
|
+
}
|
|
21773
|
+
],
|
|
21774
|
+
"version": "1cee4b15"
|
|
21775
|
+
}
|
|
21776
|
+
},
|
|
21777
|
+
"@happyvertical/smrt-core:Pub1580Host": {
|
|
21778
|
+
"name": "pub1580host",
|
|
21779
|
+
"className": "Pub1580Host",
|
|
21780
|
+
"qualifiedName": "@happyvertical/smrt-core:Pub1580Host",
|
|
21781
|
+
"collection": "pub1580hosts",
|
|
21782
|
+
"filePath": "packages/core/src/__tests__/issue-1580-public-json-recursive.test.ts",
|
|
21783
|
+
"packageName": "@happyvertical/smrt-core",
|
|
21784
|
+
"fields": {
|
|
21785
|
+
"name": {
|
|
21786
|
+
"type": "text",
|
|
21787
|
+
"required": false,
|
|
21788
|
+
"_meta": {}
|
|
21789
|
+
},
|
|
21790
|
+
"hostSecret": {
|
|
21791
|
+
"type": "text",
|
|
21792
|
+
"required": false,
|
|
21793
|
+
"_meta": {
|
|
21794
|
+
"sensitive": true
|
|
21795
|
+
},
|
|
21796
|
+
"sensitive": true
|
|
21797
|
+
},
|
|
21798
|
+
"child": {
|
|
21799
|
+
"type": "json",
|
|
21800
|
+
"required": false
|
|
21801
|
+
},
|
|
21802
|
+
"list": {
|
|
21803
|
+
"type": "json",
|
|
21804
|
+
"required": false,
|
|
21805
|
+
"default": []
|
|
21806
|
+
},
|
|
21807
|
+
"blob": {
|
|
21808
|
+
"type": "json",
|
|
21809
|
+
"required": false,
|
|
21810
|
+
"default": {}
|
|
21811
|
+
}
|
|
21812
|
+
},
|
|
21813
|
+
"methods": {},
|
|
21814
|
+
"decoratorConfig": {},
|
|
21815
|
+
"extends": "SmrtObject",
|
|
21816
|
+
"exportName": "Pub1580Host",
|
|
21817
|
+
"collectionExportName": "Pub1580HostCollection",
|
|
21818
|
+
"schema": {
|
|
21819
|
+
"tableName": "pub1580hosts",
|
|
21820
|
+
"ddl": `CREATE TABLE IF NOT EXISTS "pub1580hosts" (
|
|
21821
|
+
"id" UUID PRIMARY KEY NOT NULL,
|
|
21822
|
+
"slug" TEXT NOT NULL,
|
|
21823
|
+
"context" TEXT NOT NULL DEFAULT '',
|
|
21824
|
+
"created_at" TIMESTAMP NOT NULL DEFAULT current_timestamp,
|
|
21825
|
+
"updated_at" TIMESTAMP NOT NULL DEFAULT current_timestamp,
|
|
21826
|
+
"name" TEXT,
|
|
21827
|
+
"host_secret" TEXT,
|
|
21828
|
+
"child" JSON,
|
|
21829
|
+
"list" JSON DEFAULT '[]',
|
|
21830
|
+
"blob" JSON DEFAULT '{}'
|
|
21831
|
+
);`,
|
|
21832
|
+
"columns": {
|
|
21833
|
+
"id": {
|
|
21834
|
+
"type": "UUID",
|
|
21835
|
+
"primaryKey": true,
|
|
21836
|
+
"referenceKind": "id",
|
|
21837
|
+
"notNull": true
|
|
21838
|
+
},
|
|
21839
|
+
"slug": {
|
|
21840
|
+
"type": "TEXT",
|
|
21841
|
+
"notNull": true
|
|
21842
|
+
},
|
|
21843
|
+
"context": {
|
|
21844
|
+
"type": "TEXT",
|
|
21845
|
+
"notNull": true,
|
|
21846
|
+
"default": ""
|
|
21847
|
+
},
|
|
21848
|
+
"created_at": {
|
|
21849
|
+
"type": "TIMESTAMP",
|
|
21850
|
+
"notNull": true,
|
|
21851
|
+
"default": "current_timestamp"
|
|
21852
|
+
},
|
|
21853
|
+
"updated_at": {
|
|
21854
|
+
"type": "TIMESTAMP",
|
|
21855
|
+
"notNull": true,
|
|
21856
|
+
"default": "current_timestamp"
|
|
21857
|
+
},
|
|
21858
|
+
"name": {
|
|
21859
|
+
"type": "TEXT",
|
|
21860
|
+
"notNull": false,
|
|
21861
|
+
"unique": false
|
|
21862
|
+
},
|
|
21863
|
+
"host_secret": {
|
|
21864
|
+
"type": "TEXT",
|
|
21865
|
+
"notNull": false,
|
|
21866
|
+
"unique": false
|
|
21867
|
+
},
|
|
21868
|
+
"child": {
|
|
21869
|
+
"type": "JSON",
|
|
21870
|
+
"notNull": false,
|
|
21871
|
+
"unique": false
|
|
21872
|
+
},
|
|
21873
|
+
"list": {
|
|
21874
|
+
"type": "JSON",
|
|
21875
|
+
"notNull": false,
|
|
21876
|
+
"unique": false,
|
|
21877
|
+
"default": []
|
|
21878
|
+
},
|
|
21879
|
+
"blob": {
|
|
21880
|
+
"type": "JSON",
|
|
21881
|
+
"notNull": false,
|
|
21882
|
+
"unique": false,
|
|
21883
|
+
"default": {}
|
|
21884
|
+
}
|
|
21885
|
+
},
|
|
21886
|
+
"indexes": [
|
|
21887
|
+
{
|
|
21888
|
+
"name": "pub1580hosts_id_idx",
|
|
21889
|
+
"columns": [
|
|
21890
|
+
"id"
|
|
21891
|
+
]
|
|
21892
|
+
},
|
|
21893
|
+
{
|
|
21894
|
+
"name": "pub1580hosts_slug_context_idx",
|
|
21895
|
+
"columns": [
|
|
21896
|
+
"slug",
|
|
21897
|
+
"context"
|
|
21898
|
+
],
|
|
21899
|
+
"unique": true
|
|
21900
|
+
}
|
|
21901
|
+
],
|
|
21902
|
+
"version": "ffc6e9c6"
|
|
21903
|
+
}
|
|
21904
|
+
},
|
|
21673
21905
|
"@happyvertical/smrt-core:TransientTest": {
|
|
21674
21906
|
"name": "transienttest",
|
|
21675
21907
|
"className": "TransientTest",
|