@happyvertical/smrt-core 0.40.56 → 0.40.57

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.
@@ -3,7 +3,7 @@ var testManifest = {
3
3
  "version": "1.0.0",
4
4
  "timestamp": 0,
5
5
  "packageName": "@happyvertical/smrt-core",
6
- "packageVersion": "0.40.56",
6
+ "packageVersion": "0.40.57",
7
7
  "objects": {
8
8
  "@happyvertical/smrt-core:SmrtClass": {
9
9
  "name": "smrtclass",
@@ -70775,6 +70775,177 @@ var testManifest = {
70775
70775
  "version": "3bd336dc"
70776
70776
  }
70777
70777
  },
70778
+ "@happyvertical/smrt-core:ActionWidget": {
70779
+ "name": "actionwidget",
70780
+ "className": "ActionWidget",
70781
+ "qualifiedName": "@happyvertical/smrt-core:ActionWidget",
70782
+ "collection": "actionwidgets",
70783
+ "filePath": "packages/core/src/generators/rest-custom-actions.spec.ts",
70784
+ "packageName": "@happyvertical/smrt-core",
70785
+ "fields": { "name": {
70786
+ "type": "text",
70787
+ "required": false,
70788
+ "_meta": {}
70789
+ } },
70790
+ "methods": {},
70791
+ "decoratorConfig": { "api": {
70792
+ "public": true,
70793
+ "include": [
70794
+ "create",
70795
+ "list",
70796
+ "get",
70797
+ "quote",
70798
+ "ping",
70799
+ "refuse"
70800
+ ],
70801
+ "routes": {
70802
+ "quote": {
70803
+ "method": "POST",
70804
+ "path": "quote"
70805
+ },
70806
+ "ping": {
70807
+ "method": "POST",
70808
+ "path": "ping"
70809
+ },
70810
+ "refuse": {
70811
+ "method": "POST",
70812
+ "path": "refuse"
70813
+ }
70814
+ }
70815
+ } },
70816
+ "extends": "SmrtObject",
70817
+ "exportName": "ActionWidget",
70818
+ "collectionExportName": "ActionWidgetCollection",
70819
+ "schema": {
70820
+ "tableName": "action_widgets",
70821
+ "ddl": "CREATE TABLE IF NOT EXISTS \"action_widgets\" (\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 \"name\" TEXT\n);",
70822
+ "columns": {
70823
+ "id": {
70824
+ "type": "UUID",
70825
+ "primaryKey": true,
70826
+ "referenceKind": "id",
70827
+ "notNull": true
70828
+ },
70829
+ "slug": {
70830
+ "type": "TEXT",
70831
+ "notNull": true
70832
+ },
70833
+ "context": {
70834
+ "type": "TEXT",
70835
+ "notNull": true,
70836
+ "default": ""
70837
+ },
70838
+ "created_at": {
70839
+ "type": "TIMESTAMP",
70840
+ "notNull": true,
70841
+ "default": "current_timestamp"
70842
+ },
70843
+ "updated_at": {
70844
+ "type": "TIMESTAMP",
70845
+ "notNull": true,
70846
+ "default": "current_timestamp"
70847
+ },
70848
+ "name": {
70849
+ "type": "TEXT",
70850
+ "notNull": false,
70851
+ "unique": false
70852
+ }
70853
+ },
70854
+ "indexes": [{
70855
+ "name": "action_widgets_id_idx",
70856
+ "columns": ["id"]
70857
+ }, {
70858
+ "name": "action_widgets_slug_context_idx",
70859
+ "columns": ["slug", "context"],
70860
+ "unique": true
70861
+ }],
70862
+ "version": "b9639402"
70863
+ }
70864
+ },
70865
+ "@happyvertical/smrt-core:ActionWidgetCollection": {
70866
+ "name": "actionwidgetcollection",
70867
+ "className": "ActionWidgetCollection",
70868
+ "qualifiedName": "@happyvertical/smrt-core:ActionWidgetCollection",
70869
+ "collection": "actionwidgets",
70870
+ "filePath": "packages/core/src/generators/rest-custom-actions.spec.ts",
70871
+ "packageName": "@happyvertical/smrt-core",
70872
+ "fields": {},
70873
+ "methods": {
70874
+ "quote": {
70875
+ "name": "quote",
70876
+ "async": true,
70877
+ "parameters": [{
70878
+ "name": "options",
70879
+ "type": "object",
70880
+ "optional": true
70881
+ }],
70882
+ "returnType": "Promise<object>",
70883
+ "isStatic": false,
70884
+ "isPublic": true
70885
+ },
70886
+ "ping": {
70887
+ "name": "ping",
70888
+ "async": true,
70889
+ "parameters": [],
70890
+ "returnType": "Promise<object>",
70891
+ "isStatic": false,
70892
+ "isPublic": true
70893
+ },
70894
+ "refuse": {
70895
+ "name": "refuse",
70896
+ "async": true,
70897
+ "parameters": [],
70898
+ "returnType": "Promise",
70899
+ "isStatic": false,
70900
+ "isPublic": true
70901
+ }
70902
+ },
70903
+ "decoratorConfig": {},
70904
+ "extends": "SmrtCollection",
70905
+ "extendsTypeArg": "ActionWidget",
70906
+ "exportName": "ActionWidgetCollection",
70907
+ "collectionExportName": "ActionWidgetCollectionCollection",
70908
+ "schema": {
70909
+ "tableName": "action_widget_collections",
70910
+ "ddl": "CREATE TABLE IF NOT EXISTS \"action_widget_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);",
70911
+ "columns": {
70912
+ "id": {
70913
+ "type": "UUID",
70914
+ "primaryKey": true,
70915
+ "referenceKind": "id",
70916
+ "notNull": true
70917
+ },
70918
+ "slug": {
70919
+ "type": "TEXT",
70920
+ "notNull": true
70921
+ },
70922
+ "context": {
70923
+ "type": "TEXT",
70924
+ "notNull": true,
70925
+ "default": ""
70926
+ },
70927
+ "created_at": {
70928
+ "type": "TIMESTAMP",
70929
+ "notNull": true,
70930
+ "default": "current_timestamp"
70931
+ },
70932
+ "updated_at": {
70933
+ "type": "TIMESTAMP",
70934
+ "notNull": true,
70935
+ "default": "current_timestamp"
70936
+ }
70937
+ },
70938
+ "indexes": [{
70939
+ "name": "action_widget_collections_id_idx",
70940
+ "columns": ["id"]
70941
+ }, {
70942
+ "name": "action_widget_collections_slug_context_idx",
70943
+ "columns": ["slug", "context"],
70944
+ "unique": true
70945
+ }],
70946
+ "version": "53a8c2cf"
70947
+ }
70948
+ },
70778
70949
  "@happyvertical/smrt-core:RestRouteWidget": {
70779
70950
  "name": "restroutewidget",
70780
70951
  "className": "RestRouteWidget",