gomtm 0.0.183 → 0.0.185
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/esm/curd/CurdListViewV2.js +15 -28
- package/dist/esm/curd/curd-detail.d.ts +1 -1
- package/dist/esm/curd/curd-detail.js +58 -27
- package/dist/esm/curd/curd.atoms.d.ts +5 -8
- package/dist/esm/curd/curd.atoms.js +14 -23
- package/dist/esm/curd/list-item/ListItem.js +7 -2
- package/dist/esm/gomtmpb/mtm/sppb/mtm-MtmService_connectquery.d.ts +1 -21
- package/dist/esm/gomtmpb/mtm/sppb/mtm-MtmService_connectquery.js +1 -23
- package/dist/esm/gomtmpb/mtm/sppb/mtm_connect.d.ts +1 -13
- package/dist/esm/gomtmpb/mtm/sppb/mtm_connect.js +1 -21
- package/dist/esm/gomtmpb/mtm/sppb/mtm_pb.d.ts +36 -26
- package/dist/esm/gomtmpb/mtm/sppb/mtm_pb.js +117 -85
- package/dist/tsconfig.type.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -2037,6 +2037,10 @@ const _CommontListRes = class _CommontListRes extends Message {
|
|
|
2037
2037
|
* @generated from field: repeated sppb.ListItem items = 4;
|
|
2038
2038
|
*/
|
|
2039
2039
|
__publicField(this, "items", []);
|
|
2040
|
+
/**
|
|
2041
|
+
* @generated from field: sppb.ErrorRes error = 5;
|
|
2042
|
+
*/
|
|
2043
|
+
__publicField(this, "error");
|
|
2040
2044
|
proto3.util.initPartial(data, this);
|
|
2041
2045
|
}
|
|
2042
2046
|
static fromBinary(bytes, options) {
|
|
@@ -2064,9 +2068,118 @@ __publicField(_CommontListRes, "fields", proto3.util.newFieldList(() => [
|
|
|
2064
2068
|
T: 5
|
|
2065
2069
|
/* ScalarType.INT32 */
|
|
2066
2070
|
},
|
|
2067
|
-
{ no: 4, name: "items", kind: "message", T: ListItem, repeated: true }
|
|
2071
|
+
{ no: 4, name: "items", kind: "message", T: ListItem, repeated: true },
|
|
2072
|
+
{ no: 5, name: "error", kind: "message", T: ErrorRes }
|
|
2068
2073
|
]));
|
|
2069
2074
|
let CommontListRes = _CommontListRes;
|
|
2075
|
+
const _CurdDetailReq = class _CurdDetailReq extends Message {
|
|
2076
|
+
constructor(data) {
|
|
2077
|
+
super();
|
|
2078
|
+
/**
|
|
2079
|
+
* @generated from field: string slug = 1;
|
|
2080
|
+
*/
|
|
2081
|
+
__publicField(this, "slug", "");
|
|
2082
|
+
proto3.util.initPartial(data, this);
|
|
2083
|
+
}
|
|
2084
|
+
static fromBinary(bytes, options) {
|
|
2085
|
+
return new _CurdDetailReq().fromBinary(bytes, options);
|
|
2086
|
+
}
|
|
2087
|
+
static fromJson(jsonValue, options) {
|
|
2088
|
+
return new _CurdDetailReq().fromJson(jsonValue, options);
|
|
2089
|
+
}
|
|
2090
|
+
static fromJsonString(jsonString, options) {
|
|
2091
|
+
return new _CurdDetailReq().fromJsonString(jsonString, options);
|
|
2092
|
+
}
|
|
2093
|
+
static equals(a, b) {
|
|
2094
|
+
return proto3.util.equals(_CurdDetailReq, a, b);
|
|
2095
|
+
}
|
|
2096
|
+
};
|
|
2097
|
+
__publicField(_CurdDetailReq, "runtime", proto3);
|
|
2098
|
+
__publicField(_CurdDetailReq, "typeName", "sppb.CurdDetailReq");
|
|
2099
|
+
__publicField(_CurdDetailReq, "fields", proto3.util.newFieldList(() => [
|
|
2100
|
+
{
|
|
2101
|
+
no: 1,
|
|
2102
|
+
name: "slug",
|
|
2103
|
+
kind: "scalar",
|
|
2104
|
+
T: 9
|
|
2105
|
+
/* ScalarType.STRING */
|
|
2106
|
+
}
|
|
2107
|
+
]));
|
|
2108
|
+
let CurdDetailReq = _CurdDetailReq;
|
|
2109
|
+
const _CurdDetail = class _CurdDetail extends Message {
|
|
2110
|
+
constructor(data) {
|
|
2111
|
+
super();
|
|
2112
|
+
/**
|
|
2113
|
+
* @generated from field: string title = 1;
|
|
2114
|
+
*/
|
|
2115
|
+
__publicField(this, "title", "");
|
|
2116
|
+
/**
|
|
2117
|
+
* TODO: 其他数据类型,例如 show card
|
|
2118
|
+
*
|
|
2119
|
+
* @generated from field: sppb.FormSchema form = 2;
|
|
2120
|
+
*/
|
|
2121
|
+
__publicField(this, "form");
|
|
2122
|
+
proto3.util.initPartial(data, this);
|
|
2123
|
+
}
|
|
2124
|
+
static fromBinary(bytes, options) {
|
|
2125
|
+
return new _CurdDetail().fromBinary(bytes, options);
|
|
2126
|
+
}
|
|
2127
|
+
static fromJson(jsonValue, options) {
|
|
2128
|
+
return new _CurdDetail().fromJson(jsonValue, options);
|
|
2129
|
+
}
|
|
2130
|
+
static fromJsonString(jsonString, options) {
|
|
2131
|
+
return new _CurdDetail().fromJsonString(jsonString, options);
|
|
2132
|
+
}
|
|
2133
|
+
static equals(a, b) {
|
|
2134
|
+
return proto3.util.equals(_CurdDetail, a, b);
|
|
2135
|
+
}
|
|
2136
|
+
};
|
|
2137
|
+
__publicField(_CurdDetail, "runtime", proto3);
|
|
2138
|
+
__publicField(_CurdDetail, "typeName", "sppb.CurdDetail");
|
|
2139
|
+
__publicField(_CurdDetail, "fields", proto3.util.newFieldList(() => [
|
|
2140
|
+
{
|
|
2141
|
+
no: 1,
|
|
2142
|
+
name: "title",
|
|
2143
|
+
kind: "scalar",
|
|
2144
|
+
T: 9
|
|
2145
|
+
/* ScalarType.STRING */
|
|
2146
|
+
},
|
|
2147
|
+
{ no: 2, name: "form", kind: "message", T: FormSchema }
|
|
2148
|
+
]));
|
|
2149
|
+
let CurdDetail = _CurdDetail;
|
|
2150
|
+
const _CurdDetailRes = class _CurdDetailRes extends Message {
|
|
2151
|
+
constructor(data) {
|
|
2152
|
+
super();
|
|
2153
|
+
/**
|
|
2154
|
+
* @generated from field: sppb.ErrorRes error = 1;
|
|
2155
|
+
*/
|
|
2156
|
+
__publicField(this, "error");
|
|
2157
|
+
/**
|
|
2158
|
+
* @generated from field: sppb.CurdDetail detail_view = 2;
|
|
2159
|
+
*/
|
|
2160
|
+
__publicField(this, "detailView");
|
|
2161
|
+
proto3.util.initPartial(data, this);
|
|
2162
|
+
}
|
|
2163
|
+
static fromBinary(bytes, options) {
|
|
2164
|
+
return new _CurdDetailRes().fromBinary(bytes, options);
|
|
2165
|
+
}
|
|
2166
|
+
static fromJson(jsonValue, options) {
|
|
2167
|
+
return new _CurdDetailRes().fromJson(jsonValue, options);
|
|
2168
|
+
}
|
|
2169
|
+
static fromJsonString(jsonString, options) {
|
|
2170
|
+
return new _CurdDetailRes().fromJsonString(jsonString, options);
|
|
2171
|
+
}
|
|
2172
|
+
static equals(a, b) {
|
|
2173
|
+
return proto3.util.equals(_CurdDetailRes, a, b);
|
|
2174
|
+
}
|
|
2175
|
+
};
|
|
2176
|
+
__publicField(_CurdDetailRes, "runtime", proto3);
|
|
2177
|
+
__publicField(_CurdDetailRes, "typeName", "sppb.CurdDetailRes");
|
|
2178
|
+
__publicField(_CurdDetailRes, "fields", proto3.util.newFieldList(() => [
|
|
2179
|
+
{ no: 1, name: "error", kind: "message", T: ErrorRes },
|
|
2180
|
+
{ no: 2, name: "detail_view", kind: "message", T: CurdDetail }
|
|
2181
|
+
]));
|
|
2182
|
+
let CurdDetailRes = _CurdDetailRes;
|
|
2070
2183
|
const _MtDate = class _MtDate extends Message {
|
|
2071
2184
|
constructor(data) {
|
|
2072
2185
|
super();
|
|
@@ -6919,88 +7032,6 @@ __publicField(_FormCreateReq, "fields", proto3.util.newFieldList(() => [
|
|
|
6919
7032
|
{ no: 1, name: "input", kind: "message", T: FormSchema }
|
|
6920
7033
|
]));
|
|
6921
7034
|
let FormCreateReq = _FormCreateReq;
|
|
6922
|
-
const _CurdListReq = class _CurdListReq extends Message {
|
|
6923
|
-
constructor(data) {
|
|
6924
|
-
super();
|
|
6925
|
-
/**
|
|
6926
|
-
* @generated from field: string path = 1;
|
|
6927
|
-
*/
|
|
6928
|
-
__publicField(this, "path", "");
|
|
6929
|
-
/**
|
|
6930
|
-
* @generated from field: string type = 2;
|
|
6931
|
-
*/
|
|
6932
|
-
__publicField(this, "type", "");
|
|
6933
|
-
/**
|
|
6934
|
-
* @generated from field: map<string, string> params = 3;
|
|
6935
|
-
*/
|
|
6936
|
-
__publicField(this, "params", {});
|
|
6937
|
-
proto3.util.initPartial(data, this);
|
|
6938
|
-
}
|
|
6939
|
-
static fromBinary(bytes, options) {
|
|
6940
|
-
return new _CurdListReq().fromBinary(bytes, options);
|
|
6941
|
-
}
|
|
6942
|
-
static fromJson(jsonValue, options) {
|
|
6943
|
-
return new _CurdListReq().fromJson(jsonValue, options);
|
|
6944
|
-
}
|
|
6945
|
-
static fromJsonString(jsonString, options) {
|
|
6946
|
-
return new _CurdListReq().fromJsonString(jsonString, options);
|
|
6947
|
-
}
|
|
6948
|
-
static equals(a, b) {
|
|
6949
|
-
return proto3.util.equals(_CurdListReq, a, b);
|
|
6950
|
-
}
|
|
6951
|
-
};
|
|
6952
|
-
__publicField(_CurdListReq, "runtime", proto3);
|
|
6953
|
-
__publicField(_CurdListReq, "typeName", "sppb.CurdListReq");
|
|
6954
|
-
__publicField(_CurdListReq, "fields", proto3.util.newFieldList(() => [
|
|
6955
|
-
{
|
|
6956
|
-
no: 1,
|
|
6957
|
-
name: "path",
|
|
6958
|
-
kind: "scalar",
|
|
6959
|
-
T: 9
|
|
6960
|
-
/* ScalarType.STRING */
|
|
6961
|
-
},
|
|
6962
|
-
{
|
|
6963
|
-
no: 2,
|
|
6964
|
-
name: "type",
|
|
6965
|
-
kind: "scalar",
|
|
6966
|
-
T: 9
|
|
6967
|
-
/* ScalarType.STRING */
|
|
6968
|
-
},
|
|
6969
|
-
{ no: 3, name: "params", kind: "map", K: 9, V: {
|
|
6970
|
-
kind: "scalar",
|
|
6971
|
-
T: 9
|
|
6972
|
-
/* ScalarType.STRING */
|
|
6973
|
-
} }
|
|
6974
|
-
]));
|
|
6975
|
-
let CurdListReq = _CurdListReq;
|
|
6976
|
-
const _CurdListRes = class _CurdListRes extends Message {
|
|
6977
|
-
constructor(data) {
|
|
6978
|
-
super();
|
|
6979
|
-
/**
|
|
6980
|
-
* @generated from field: repeated sppb.ListItem items = 1;
|
|
6981
|
-
*/
|
|
6982
|
-
__publicField(this, "items", []);
|
|
6983
|
-
proto3.util.initPartial(data, this);
|
|
6984
|
-
}
|
|
6985
|
-
static fromBinary(bytes, options) {
|
|
6986
|
-
return new _CurdListRes().fromBinary(bytes, options);
|
|
6987
|
-
}
|
|
6988
|
-
static fromJson(jsonValue, options) {
|
|
6989
|
-
return new _CurdListRes().fromJson(jsonValue, options);
|
|
6990
|
-
}
|
|
6991
|
-
static fromJsonString(jsonString, options) {
|
|
6992
|
-
return new _CurdListRes().fromJsonString(jsonString, options);
|
|
6993
|
-
}
|
|
6994
|
-
static equals(a, b) {
|
|
6995
|
-
return proto3.util.equals(_CurdListRes, a, b);
|
|
6996
|
-
}
|
|
6997
|
-
};
|
|
6998
|
-
__publicField(_CurdListRes, "runtime", proto3);
|
|
6999
|
-
__publicField(_CurdListRes, "typeName", "sppb.CurdListRes");
|
|
7000
|
-
__publicField(_CurdListRes, "fields", proto3.util.newFieldList(() => [
|
|
7001
|
-
{ no: 1, name: "items", kind: "message", T: ListItem, repeated: true }
|
|
7002
|
-
]));
|
|
7003
|
-
let CurdListRes = _CurdListRes;
|
|
7004
7035
|
const slugs = proto3.makeExtension(
|
|
7005
7036
|
"sppb.slugs",
|
|
7006
7037
|
FieldOptions,
|
|
@@ -7082,8 +7113,9 @@ export {
|
|
|
7082
7113
|
CommonListItem,
|
|
7083
7114
|
CommontListReq,
|
|
7084
7115
|
CommontListRes,
|
|
7085
|
-
|
|
7086
|
-
|
|
7116
|
+
CurdDetail,
|
|
7117
|
+
CurdDetailReq,
|
|
7118
|
+
CurdDetailRes,
|
|
7087
7119
|
CurdView,
|
|
7088
7120
|
CurdViewCreateReq,
|
|
7089
7121
|
CurdViewGetReq,
|