@happyvertical/smrt-core 0.38.3 → 0.38.4

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": 1783176491746,
4
+ "timestamp": 1783263025978,
5
5
  "packageName": "@happyvertical/smrt-core",
6
- "packageVersion": "0.38.3",
6
+ "packageVersion": "0.38.4",
7
7
  "objects": {
8
8
  "@happyvertical/smrt-core:SmrtClass": {
9
9
  "name": "smrtclass",
@@ -71676,6 +71676,161 @@ var testManifest = {
71676
71676
  "version": "4c1a00ff"
71677
71677
  }
71678
71678
  },
71679
+ "@happyvertical/smrt-core:AdvisorPolicyRecord": {
71680
+ "name": "advisorpolicyrecord",
71681
+ "className": "AdvisorPolicyRecord",
71682
+ "qualifiedName": "@happyvertical/smrt-core:AdvisorPolicyRecord",
71683
+ "collection": "advisorpolicyrecords",
71684
+ "filePath": "packages/core/src/__tests__/fixtures/advisor-test-classes.ts",
71685
+ "packageName": "@happyvertical/smrt-core",
71686
+ "fields": {
71687
+ "displayName": {
71688
+ "type": "text",
71689
+ "required": true,
71690
+ "default": "",
71691
+ "_meta": { "required": true }
71692
+ },
71693
+ "customerId": {
71694
+ "type": "foreignKey",
71695
+ "required": false,
71696
+ "_meta": {}
71697
+ },
71698
+ "externalId": {
71699
+ "type": "integer",
71700
+ "required": false,
71701
+ "_meta": {}
71702
+ },
71703
+ "secretToken": {
71704
+ "type": "text",
71705
+ "required": false,
71706
+ "default": "",
71707
+ "_meta": { "sensitive": true },
71708
+ "sensitive": true
71709
+ },
71710
+ "internalCode": {
71711
+ "type": "text",
71712
+ "required": false,
71713
+ "default": "",
71714
+ "_meta": { "readonly": true },
71715
+ "readonly": true
71716
+ },
71717
+ "tenantId": {
71718
+ "type": "text",
71719
+ "required": false,
71720
+ "default": ""
71721
+ },
71722
+ "ignoredValue": {
71723
+ "type": "text",
71724
+ "required": false,
71725
+ "default": ""
71726
+ }
71727
+ },
71728
+ "methods": {},
71729
+ "decoratorConfig": { "api": {
71730
+ "include": [
71731
+ "list",
71732
+ "create",
71733
+ "update"
71734
+ ],
71735
+ "writable": [
71736
+ "displayName",
71737
+ "customerId",
71738
+ "externalId",
71739
+ "secretToken",
71740
+ "internalCode",
71741
+ "tenantId"
71742
+ ]
71743
+ } },
71744
+ "extends": "SmrtObject",
71745
+ "exportName": "AdvisorPolicyRecord",
71746
+ "collectionExportName": "AdvisorPolicyRecordCollection",
71747
+ "validationRules": [{
71748
+ "field": "displayName",
71749
+ "rule": "required",
71750
+ "fieldType": "text"
71751
+ }],
71752
+ "schema": {
71753
+ "tableName": "advisor_policy_records",
71754
+ "ddl": "CREATE TABLE IF NOT EXISTS \"advisor_policy_records\" (\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 \"display_name\" TEXT NOT NULL DEFAULT '',\n \"customer_id\" UUID,\n \"external_id\" INTEGER,\n \"secret_token\" TEXT DEFAULT '',\n \"internal_code\" TEXT DEFAULT '',\n \"tenant_id\" TEXT DEFAULT '',\n \"ignored_value\" TEXT DEFAULT ''\n);",
71755
+ "columns": {
71756
+ "id": {
71757
+ "type": "UUID",
71758
+ "primaryKey": true,
71759
+ "referenceKind": "id",
71760
+ "notNull": true
71761
+ },
71762
+ "slug": {
71763
+ "type": "TEXT",
71764
+ "notNull": true
71765
+ },
71766
+ "context": {
71767
+ "type": "TEXT",
71768
+ "notNull": true,
71769
+ "default": ""
71770
+ },
71771
+ "created_at": {
71772
+ "type": "TIMESTAMP",
71773
+ "notNull": true,
71774
+ "default": "current_timestamp"
71775
+ },
71776
+ "updated_at": {
71777
+ "type": "TIMESTAMP",
71778
+ "notNull": true,
71779
+ "default": "current_timestamp"
71780
+ },
71781
+ "display_name": {
71782
+ "type": "TEXT",
71783
+ "notNull": true,
71784
+ "unique": false,
71785
+ "default": ""
71786
+ },
71787
+ "customer_id": {
71788
+ "type": "UUID",
71789
+ "referenceKind": "foreignKey",
71790
+ "notNull": false,
71791
+ "unique": false
71792
+ },
71793
+ "external_id": {
71794
+ "type": "INTEGER",
71795
+ "notNull": false,
71796
+ "unique": false
71797
+ },
71798
+ "secret_token": {
71799
+ "type": "TEXT",
71800
+ "notNull": false,
71801
+ "unique": false,
71802
+ "default": ""
71803
+ },
71804
+ "internal_code": {
71805
+ "type": "TEXT",
71806
+ "notNull": false,
71807
+ "unique": false,
71808
+ "default": ""
71809
+ },
71810
+ "tenant_id": {
71811
+ "type": "TEXT",
71812
+ "notNull": false,
71813
+ "unique": false,
71814
+ "default": ""
71815
+ },
71816
+ "ignored_value": {
71817
+ "type": "TEXT",
71818
+ "notNull": false,
71819
+ "unique": false,
71820
+ "default": ""
71821
+ }
71822
+ },
71823
+ "indexes": [{
71824
+ "name": "advisor_policy_records_id_idx",
71825
+ "columns": ["id"]
71826
+ }, {
71827
+ "name": "advisor_policy_records_slug_context_idx",
71828
+ "columns": ["slug", "context"],
71829
+ "unique": true
71830
+ }],
71831
+ "version": "ee2f5eda"
71832
+ }
71833
+ },
71679
71834
  "@happyvertical/smrt-core:AdvisorBooleanWidget": {
71680
71835
  "name": "advisorbooleanwidget",
71681
71836
  "className": "AdvisorBooleanWidget",