@next-bricks/visual-builder 1.9.3 → 1.10.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/types.json CHANGED
@@ -951,6 +951,219 @@
951
951
  }
952
952
  ]
953
953
  },
954
+ "visual-builder.inject-preview-agent": {
955
+ "type": "provider",
956
+ "params": [
957
+ {
958
+ "name": "previewFromOrigin",
959
+ "annotation": {
960
+ "type": "keyword",
961
+ "value": "string"
962
+ }
963
+ },
964
+ {
965
+ "name": "options",
966
+ "annotation": {
967
+ "type": "reference",
968
+ "typeName": {
969
+ "type": "identifier",
970
+ "name": "PreviewStartOptions"
971
+ }
972
+ }
973
+ }
974
+ ],
975
+ "returns": {
976
+ "annotation": {
977
+ "type": "reference",
978
+ "typeName": {
979
+ "type": "identifier",
980
+ "name": "Promise"
981
+ },
982
+ "typeParameters": {
983
+ "type": "typeParameterInstantiation",
984
+ "params": [
985
+ {
986
+ "type": "keyword",
987
+ "value": "unknown"
988
+ }
989
+ ]
990
+ }
991
+ }
992
+ },
993
+ "types": [
994
+ {
995
+ "type": "interface",
996
+ "name": "PreviewStartOptions",
997
+ "body": [
998
+ {
999
+ "type": "propertySignature",
1000
+ "key": {
1001
+ "type": "identifier",
1002
+ "name": "appId"
1003
+ },
1004
+ "annotation": {
1005
+ "type": "keyword",
1006
+ "value": "string"
1007
+ },
1008
+ "computed": false
1009
+ },
1010
+ {
1011
+ "type": "propertySignature",
1012
+ "key": {
1013
+ "type": "identifier",
1014
+ "name": "templateId"
1015
+ },
1016
+ "annotation": {
1017
+ "type": "keyword",
1018
+ "value": "string"
1019
+ },
1020
+ "optional": true,
1021
+ "computed": false
1022
+ },
1023
+ {
1024
+ "type": "propertySignature",
1025
+ "key": {
1026
+ "type": "identifier",
1027
+ "name": "formId"
1028
+ },
1029
+ "annotation": {
1030
+ "type": "keyword",
1031
+ "value": "string"
1032
+ },
1033
+ "optional": true,
1034
+ "computed": false
1035
+ },
1036
+ {
1037
+ "type": "propertySignature",
1038
+ "key": {
1039
+ "type": "identifier",
1040
+ "name": "snippetData"
1041
+ },
1042
+ "annotation": {
1043
+ "type": "keyword",
1044
+ "value": "any"
1045
+ },
1046
+ "optional": true,
1047
+ "computed": false
1048
+ },
1049
+ {
1050
+ "type": "propertySignature",
1051
+ "key": {
1052
+ "type": "identifier",
1053
+ "name": "routePath"
1054
+ },
1055
+ "annotation": {
1056
+ "type": "keyword",
1057
+ "value": "string"
1058
+ },
1059
+ "optional": true,
1060
+ "computed": false
1061
+ },
1062
+ {
1063
+ "type": "propertySignature",
1064
+ "key": {
1065
+ "type": "identifier",
1066
+ "name": "routeExact"
1067
+ },
1068
+ "annotation": {
1069
+ "type": "keyword",
1070
+ "value": "boolean"
1071
+ },
1072
+ "optional": true,
1073
+ "computed": false
1074
+ },
1075
+ {
1076
+ "type": "propertySignature",
1077
+ "key": {
1078
+ "type": "identifier",
1079
+ "name": "settings"
1080
+ },
1081
+ "annotation": {
1082
+ "type": "reference",
1083
+ "typeName": {
1084
+ "type": "identifier",
1085
+ "name": "PreviewSettings"
1086
+ }
1087
+ },
1088
+ "optional": true,
1089
+ "computed": false
1090
+ },
1091
+ {
1092
+ "type": "propertySignature",
1093
+ "key": {
1094
+ "type": "identifier",
1095
+ "name": "updateStoryboardType"
1096
+ },
1097
+ "annotation": {
1098
+ "type": "reference",
1099
+ "typeName": {
1100
+ "type": "identifier",
1101
+ "name": "UpdateStoryboardType"
1102
+ }
1103
+ },
1104
+ "optional": true,
1105
+ "computed": false
1106
+ }
1107
+ ]
1108
+ },
1109
+ {
1110
+ "type": "interface",
1111
+ "name": "PreviewSettings",
1112
+ "body": [
1113
+ {
1114
+ "type": "propertySignature",
1115
+ "key": {
1116
+ "type": "identifier",
1117
+ "name": "properties"
1118
+ },
1119
+ "annotation": {
1120
+ "type": "reference",
1121
+ "typeName": {
1122
+ "type": "identifier",
1123
+ "name": "Record"
1124
+ },
1125
+ "typeParameters": {
1126
+ "type": "typeParameterInstantiation",
1127
+ "params": [
1128
+ {
1129
+ "type": "keyword",
1130
+ "value": "string"
1131
+ },
1132
+ {
1133
+ "type": "keyword",
1134
+ "value": "unknown"
1135
+ }
1136
+ ]
1137
+ }
1138
+ },
1139
+ "optional": true,
1140
+ "computed": false
1141
+ }
1142
+ ]
1143
+ },
1144
+ {
1145
+ "type": "typeAlias",
1146
+ "name": "UpdateStoryboardType",
1147
+ "annotation": {
1148
+ "type": "union",
1149
+ "types": [
1150
+ {
1151
+ "type": "jsLiteral",
1152
+ "value": "route"
1153
+ },
1154
+ {
1155
+ "type": "jsLiteral",
1156
+ "value": "template"
1157
+ },
1158
+ {
1159
+ "type": "jsLiteral",
1160
+ "value": "snippet"
1161
+ }
1162
+ ]
1163
+ }
1164
+ }
1165
+ ]
1166
+ },
954
1167
  "visual-builder.workbench-tree": {
955
1168
  "properties": [
956
1169
  {
@@ -1704,218 +1917,5 @@
1704
1917
  ]
1705
1918
  }
1706
1919
  ]
1707
- },
1708
- "visual-builder.inject-preview-agent": {
1709
- "type": "provider",
1710
- "params": [
1711
- {
1712
- "name": "previewFromOrigin",
1713
- "annotation": {
1714
- "type": "keyword",
1715
- "value": "string"
1716
- }
1717
- },
1718
- {
1719
- "name": "options",
1720
- "annotation": {
1721
- "type": "reference",
1722
- "typeName": {
1723
- "type": "identifier",
1724
- "name": "PreviewStartOptions"
1725
- }
1726
- }
1727
- }
1728
- ],
1729
- "returns": {
1730
- "annotation": {
1731
- "type": "reference",
1732
- "typeName": {
1733
- "type": "identifier",
1734
- "name": "Promise"
1735
- },
1736
- "typeParameters": {
1737
- "type": "typeParameterInstantiation",
1738
- "params": [
1739
- {
1740
- "type": "keyword",
1741
- "value": "unknown"
1742
- }
1743
- ]
1744
- }
1745
- }
1746
- },
1747
- "types": [
1748
- {
1749
- "type": "interface",
1750
- "name": "PreviewStartOptions",
1751
- "body": [
1752
- {
1753
- "type": "propertySignature",
1754
- "key": {
1755
- "type": "identifier",
1756
- "name": "appId"
1757
- },
1758
- "annotation": {
1759
- "type": "keyword",
1760
- "value": "string"
1761
- },
1762
- "computed": false
1763
- },
1764
- {
1765
- "type": "propertySignature",
1766
- "key": {
1767
- "type": "identifier",
1768
- "name": "templateId"
1769
- },
1770
- "annotation": {
1771
- "type": "keyword",
1772
- "value": "string"
1773
- },
1774
- "optional": true,
1775
- "computed": false
1776
- },
1777
- {
1778
- "type": "propertySignature",
1779
- "key": {
1780
- "type": "identifier",
1781
- "name": "formId"
1782
- },
1783
- "annotation": {
1784
- "type": "keyword",
1785
- "value": "string"
1786
- },
1787
- "optional": true,
1788
- "computed": false
1789
- },
1790
- {
1791
- "type": "propertySignature",
1792
- "key": {
1793
- "type": "identifier",
1794
- "name": "snippetData"
1795
- },
1796
- "annotation": {
1797
- "type": "keyword",
1798
- "value": "any"
1799
- },
1800
- "optional": true,
1801
- "computed": false
1802
- },
1803
- {
1804
- "type": "propertySignature",
1805
- "key": {
1806
- "type": "identifier",
1807
- "name": "routePath"
1808
- },
1809
- "annotation": {
1810
- "type": "keyword",
1811
- "value": "string"
1812
- },
1813
- "optional": true,
1814
- "computed": false
1815
- },
1816
- {
1817
- "type": "propertySignature",
1818
- "key": {
1819
- "type": "identifier",
1820
- "name": "routeExact"
1821
- },
1822
- "annotation": {
1823
- "type": "keyword",
1824
- "value": "boolean"
1825
- },
1826
- "optional": true,
1827
- "computed": false
1828
- },
1829
- {
1830
- "type": "propertySignature",
1831
- "key": {
1832
- "type": "identifier",
1833
- "name": "settings"
1834
- },
1835
- "annotation": {
1836
- "type": "reference",
1837
- "typeName": {
1838
- "type": "identifier",
1839
- "name": "PreviewSettings"
1840
- }
1841
- },
1842
- "optional": true,
1843
- "computed": false
1844
- },
1845
- {
1846
- "type": "propertySignature",
1847
- "key": {
1848
- "type": "identifier",
1849
- "name": "updateStoryboardType"
1850
- },
1851
- "annotation": {
1852
- "type": "reference",
1853
- "typeName": {
1854
- "type": "identifier",
1855
- "name": "UpdateStoryboardType"
1856
- }
1857
- },
1858
- "optional": true,
1859
- "computed": false
1860
- }
1861
- ]
1862
- },
1863
- {
1864
- "type": "interface",
1865
- "name": "PreviewSettings",
1866
- "body": [
1867
- {
1868
- "type": "propertySignature",
1869
- "key": {
1870
- "type": "identifier",
1871
- "name": "properties"
1872
- },
1873
- "annotation": {
1874
- "type": "reference",
1875
- "typeName": {
1876
- "type": "identifier",
1877
- "name": "Record"
1878
- },
1879
- "typeParameters": {
1880
- "type": "typeParameterInstantiation",
1881
- "params": [
1882
- {
1883
- "type": "keyword",
1884
- "value": "string"
1885
- },
1886
- {
1887
- "type": "keyword",
1888
- "value": "unknown"
1889
- }
1890
- ]
1891
- }
1892
- },
1893
- "optional": true,
1894
- "computed": false
1895
- }
1896
- ]
1897
- },
1898
- {
1899
- "type": "typeAlias",
1900
- "name": "UpdateStoryboardType",
1901
- "annotation": {
1902
- "type": "union",
1903
- "types": [
1904
- {
1905
- "type": "jsLiteral",
1906
- "value": "route"
1907
- },
1908
- {
1909
- "type": "jsLiteral",
1910
- "value": "template"
1911
- },
1912
- {
1913
- "type": "jsLiteral",
1914
- "value": "snippet"
1915
- }
1916
- ]
1917
- }
1918
- }
1919
- ]
1920
1920
  }
1921
1921
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@next-bricks/visual-builder",
3
- "version": "1.9.3",
3
+ "version": "1.10.0",
4
4
  "homepage": "https://github.com/easyops-cn/next-bricks/tree/master/bricks/visual-builder",
5
5
  "repository": {
6
6
  "type": "git",
@@ -42,5 +42,5 @@
42
42
  "@next-bricks/form": "*",
43
43
  "@next-bricks/icons": "*"
44
44
  },
45
- "gitHead": "5622db94c42811d1a9f0b759f11e8ba175a5deaf"
45
+ "gitHead": "af37f5e08bc8342e7f626af9a4119326c61bba7f"
46
46
  }