gomtm 0.0.182 → 0.0.183

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.
@@ -925,89 +925,6 @@ __publicField(_Role, "fields", proto3.util.newFieldList(() => [
925
925
  }
926
926
  ]));
927
927
  let Role = _Role;
928
- const _RoleListReq = class _RoleListReq extends Message {
929
- constructor(data) {
930
- super();
931
- /**
932
- * @generated from field: sppb.Paging Pagination = 1;
933
- */
934
- __publicField(this, "Pagination");
935
- /**
936
- * @generated from field: string q = 2;
937
- */
938
- __publicField(this, "q", "");
939
- proto3.util.initPartial(data, this);
940
- }
941
- static fromBinary(bytes, options) {
942
- return new _RoleListReq().fromBinary(bytes, options);
943
- }
944
- static fromJson(jsonValue, options) {
945
- return new _RoleListReq().fromJson(jsonValue, options);
946
- }
947
- static fromJsonString(jsonString, options) {
948
- return new _RoleListReq().fromJsonString(jsonString, options);
949
- }
950
- static equals(a, b) {
951
- return proto3.util.equals(_RoleListReq, a, b);
952
- }
953
- };
954
- __publicField(_RoleListReq, "runtime", proto3);
955
- __publicField(_RoleListReq, "typeName", "sppb.RoleListReq");
956
- __publicField(_RoleListReq, "fields", proto3.util.newFieldList(() => [
957
- { no: 1, name: "Pagination", kind: "message", T: Paging },
958
- {
959
- no: 2,
960
- name: "q",
961
- kind: "scalar",
962
- T: 9
963
- /* ScalarType.STRING */
964
- }
965
- ]));
966
- let RoleListReq = _RoleListReq;
967
- const _RoleListReply = class _RoleListReply extends Message {
968
- constructor(data) {
969
- super();
970
- /**
971
- * @generated from field: sppb.Paging Pagination = 1;
972
- */
973
- __publicField(this, "Pagination");
974
- /**
975
- * @generated from field: int32 Total = 2;
976
- */
977
- __publicField(this, "Total", 0);
978
- /**
979
- * @generated from field: repeated sppb.Role items = 3;
980
- */
981
- __publicField(this, "items", []);
982
- proto3.util.initPartial(data, this);
983
- }
984
- static fromBinary(bytes, options) {
985
- return new _RoleListReply().fromBinary(bytes, options);
986
- }
987
- static fromJson(jsonValue, options) {
988
- return new _RoleListReply().fromJson(jsonValue, options);
989
- }
990
- static fromJsonString(jsonString, options) {
991
- return new _RoleListReply().fromJsonString(jsonString, options);
992
- }
993
- static equals(a, b) {
994
- return proto3.util.equals(_RoleListReply, a, b);
995
- }
996
- };
997
- __publicField(_RoleListReply, "runtime", proto3);
998
- __publicField(_RoleListReply, "typeName", "sppb.RoleListReply");
999
- __publicField(_RoleListReply, "fields", proto3.util.newFieldList(() => [
1000
- { no: 1, name: "Pagination", kind: "message", T: Paging },
1001
- {
1002
- no: 2,
1003
- name: "Total",
1004
- kind: "scalar",
1005
- T: 5
1006
- /* ScalarType.INT32 */
1007
- },
1008
- { no: 3, name: "items", kind: "message", T: Role, repeated: true }
1009
- ]));
1010
- let RoleListReply = _RoleListReply;
1011
928
  const _Empty = class _Empty extends Message {
1012
929
  constructor(data) {
1013
930
  super();
@@ -4071,291 +3988,6 @@ __publicField(_BlogTag, "fields", proto3.util.newFieldList(() => [
4071
3988
  }
4072
3989
  ]));
4073
3990
  let BlogTag = _BlogTag;
4074
- const _BlogTagListReq = class _BlogTagListReq extends Message {
4075
- constructor(data) {
4076
- super();
4077
- /**
4078
- * @generated from field: sppb.Paging Pagination = 1;
4079
- */
4080
- __publicField(this, "Pagination");
4081
- /**
4082
- * @generated from field: string q = 3;
4083
- */
4084
- __publicField(this, "q", "");
4085
- proto3.util.initPartial(data, this);
4086
- }
4087
- static fromBinary(bytes, options) {
4088
- return new _BlogTagListReq().fromBinary(bytes, options);
4089
- }
4090
- static fromJson(jsonValue, options) {
4091
- return new _BlogTagListReq().fromJson(jsonValue, options);
4092
- }
4093
- static fromJsonString(jsonString, options) {
4094
- return new _BlogTagListReq().fromJsonString(jsonString, options);
4095
- }
4096
- static equals(a, b) {
4097
- return proto3.util.equals(_BlogTagListReq, a, b);
4098
- }
4099
- };
4100
- __publicField(_BlogTagListReq, "runtime", proto3);
4101
- __publicField(_BlogTagListReq, "typeName", "sppb.BlogTagListReq");
4102
- __publicField(_BlogTagListReq, "fields", proto3.util.newFieldList(() => [
4103
- { no: 1, name: "Pagination", kind: "message", T: Paging },
4104
- {
4105
- no: 3,
4106
- name: "q",
4107
- kind: "scalar",
4108
- T: 9
4109
- /* ScalarType.STRING */
4110
- }
4111
- ]));
4112
- let BlogTagListReq = _BlogTagListReq;
4113
- const _BlogTagListReply = class _BlogTagListReply extends Message {
4114
- constructor(data) {
4115
- super();
4116
- /**
4117
- * @generated from field: sppb.Paging Pagination = 1;
4118
- */
4119
- __publicField(this, "Pagination");
4120
- /**
4121
- * @generated from field: repeated sppb.BlogTag items = 2;
4122
- */
4123
- __publicField(this, "items", []);
4124
- /**
4125
- * @generated from field: int32 Total = 3;
4126
- */
4127
- __publicField(this, "Total", 0);
4128
- proto3.util.initPartial(data, this);
4129
- }
4130
- static fromBinary(bytes, options) {
4131
- return new _BlogTagListReply().fromBinary(bytes, options);
4132
- }
4133
- static fromJson(jsonValue, options) {
4134
- return new _BlogTagListReply().fromJson(jsonValue, options);
4135
- }
4136
- static fromJsonString(jsonString, options) {
4137
- return new _BlogTagListReply().fromJsonString(jsonString, options);
4138
- }
4139
- static equals(a, b) {
4140
- return proto3.util.equals(_BlogTagListReply, a, b);
4141
- }
4142
- };
4143
- __publicField(_BlogTagListReply, "runtime", proto3);
4144
- __publicField(_BlogTagListReply, "typeName", "sppb.BlogTagListReply");
4145
- __publicField(_BlogTagListReply, "fields", proto3.util.newFieldList(() => [
4146
- { no: 1, name: "Pagination", kind: "message", T: Paging },
4147
- { no: 2, name: "items", kind: "message", T: BlogTag, repeated: true },
4148
- {
4149
- no: 3,
4150
- name: "Total",
4151
- kind: "scalar",
4152
- T: 5
4153
- /* ScalarType.INT32 */
4154
- }
4155
- ]));
4156
- let BlogTagListReply = _BlogTagListReply;
4157
- const _BlogTagGetReq = class _BlogTagGetReq extends Message {
4158
- constructor(data) {
4159
- super();
4160
- /**
4161
- * @generated from field: uint32 id = 1;
4162
- */
4163
- __publicField(this, "id", 0);
4164
- proto3.util.initPartial(data, this);
4165
- }
4166
- static fromBinary(bytes, options) {
4167
- return new _BlogTagGetReq().fromBinary(bytes, options);
4168
- }
4169
- static fromJson(jsonValue, options) {
4170
- return new _BlogTagGetReq().fromJson(jsonValue, options);
4171
- }
4172
- static fromJsonString(jsonString, options) {
4173
- return new _BlogTagGetReq().fromJsonString(jsonString, options);
4174
- }
4175
- static equals(a, b) {
4176
- return proto3.util.equals(_BlogTagGetReq, a, b);
4177
- }
4178
- };
4179
- __publicField(_BlogTagGetReq, "runtime", proto3);
4180
- __publicField(_BlogTagGetReq, "typeName", "sppb.BlogTagGetReq");
4181
- __publicField(_BlogTagGetReq, "fields", proto3.util.newFieldList(() => [
4182
- {
4183
- no: 1,
4184
- name: "id",
4185
- kind: "scalar",
4186
- T: 13
4187
- /* ScalarType.UINT32 */
4188
- }
4189
- ]));
4190
- let BlogTagGetReq = _BlogTagGetReq;
4191
- const _BlogTagCreateReq = class _BlogTagCreateReq extends Message {
4192
- constructor(data) {
4193
- super();
4194
- /**
4195
- * @generated from field: uint32 id = 1;
4196
- */
4197
- __publicField(this, "id", 0);
4198
- /**
4199
- * @generated from field: string title = 2;
4200
- */
4201
- __publicField(this, "title", "");
4202
- /**
4203
- * @generated from field: uint32 site_id = 4;
4204
- */
4205
- __publicField(this, "siteId", 0);
4206
- proto3.util.initPartial(data, this);
4207
- }
4208
- static fromBinary(bytes, options) {
4209
- return new _BlogTagCreateReq().fromBinary(bytes, options);
4210
- }
4211
- static fromJson(jsonValue, options) {
4212
- return new _BlogTagCreateReq().fromJson(jsonValue, options);
4213
- }
4214
- static fromJsonString(jsonString, options) {
4215
- return new _BlogTagCreateReq().fromJsonString(jsonString, options);
4216
- }
4217
- static equals(a, b) {
4218
- return proto3.util.equals(_BlogTagCreateReq, a, b);
4219
- }
4220
- };
4221
- __publicField(_BlogTagCreateReq, "runtime", proto3);
4222
- __publicField(_BlogTagCreateReq, "typeName", "sppb.BlogTagCreateReq");
4223
- __publicField(_BlogTagCreateReq, "fields", proto3.util.newFieldList(() => [
4224
- {
4225
- no: 1,
4226
- name: "id",
4227
- kind: "scalar",
4228
- T: 13
4229
- /* ScalarType.UINT32 */
4230
- },
4231
- {
4232
- no: 2,
4233
- name: "title",
4234
- kind: "scalar",
4235
- T: 9
4236
- /* ScalarType.STRING */
4237
- },
4238
- {
4239
- no: 4,
4240
- name: "site_id",
4241
- kind: "scalar",
4242
- T: 13
4243
- /* ScalarType.UINT32 */
4244
- }
4245
- ]));
4246
- let BlogTagCreateReq = _BlogTagCreateReq;
4247
- const _BlogTagUpdateReq = class _BlogTagUpdateReq extends Message {
4248
- constructor(data) {
4249
- super();
4250
- /**
4251
- * @generated from field: uint32 id = 1;
4252
- */
4253
- __publicField(this, "id", 0);
4254
- /**
4255
- * @generated from field: string title = 2;
4256
- */
4257
- __publicField(this, "title", "");
4258
- /**
4259
- * @generated from field: uint32 site_id = 4;
4260
- */
4261
- __publicField(this, "siteId", 0);
4262
- proto3.util.initPartial(data, this);
4263
- }
4264
- static fromBinary(bytes, options) {
4265
- return new _BlogTagUpdateReq().fromBinary(bytes, options);
4266
- }
4267
- static fromJson(jsonValue, options) {
4268
- return new _BlogTagUpdateReq().fromJson(jsonValue, options);
4269
- }
4270
- static fromJsonString(jsonString, options) {
4271
- return new _BlogTagUpdateReq().fromJsonString(jsonString, options);
4272
- }
4273
- static equals(a, b) {
4274
- return proto3.util.equals(_BlogTagUpdateReq, a, b);
4275
- }
4276
- };
4277
- __publicField(_BlogTagUpdateReq, "runtime", proto3);
4278
- __publicField(_BlogTagUpdateReq, "typeName", "sppb.BlogTagUpdateReq");
4279
- __publicField(_BlogTagUpdateReq, "fields", proto3.util.newFieldList(() => [
4280
- {
4281
- no: 1,
4282
- name: "id",
4283
- kind: "scalar",
4284
- T: 13
4285
- /* ScalarType.UINT32 */
4286
- },
4287
- {
4288
- no: 2,
4289
- name: "title",
4290
- kind: "scalar",
4291
- T: 9
4292
- /* ScalarType.STRING */
4293
- },
4294
- {
4295
- no: 4,
4296
- name: "site_id",
4297
- kind: "scalar",
4298
- T: 13
4299
- /* ScalarType.UINT32 */
4300
- }
4301
- ]));
4302
- let BlogTagUpdateReq = _BlogTagUpdateReq;
4303
- const _BlogPostMeta = class _BlogPostMeta extends Message {
4304
- constructor(data) {
4305
- super();
4306
- /**
4307
- * @generated from field: uint32 blog_post_id = 1;
4308
- */
4309
- __publicField(this, "blogPostId", 0);
4310
- /**
4311
- * @generated from field: string name = 2;
4312
- */
4313
- __publicField(this, "name", "");
4314
- /**
4315
- * @generated from field: string value = 3;
4316
- */
4317
- __publicField(this, "value", "");
4318
- proto3.util.initPartial(data, this);
4319
- }
4320
- static fromBinary(bytes, options) {
4321
- return new _BlogPostMeta().fromBinary(bytes, options);
4322
- }
4323
- static fromJson(jsonValue, options) {
4324
- return new _BlogPostMeta().fromJson(jsonValue, options);
4325
- }
4326
- static fromJsonString(jsonString, options) {
4327
- return new _BlogPostMeta().fromJsonString(jsonString, options);
4328
- }
4329
- static equals(a, b) {
4330
- return proto3.util.equals(_BlogPostMeta, a, b);
4331
- }
4332
- };
4333
- __publicField(_BlogPostMeta, "runtime", proto3);
4334
- __publicField(_BlogPostMeta, "typeName", "sppb.BlogPostMeta");
4335
- __publicField(_BlogPostMeta, "fields", proto3.util.newFieldList(() => [
4336
- {
4337
- no: 1,
4338
- name: "blog_post_id",
4339
- kind: "scalar",
4340
- T: 13
4341
- /* ScalarType.UINT32 */
4342
- },
4343
- {
4344
- no: 2,
4345
- name: "name",
4346
- kind: "scalar",
4347
- T: 9
4348
- /* ScalarType.STRING */
4349
- },
4350
- {
4351
- no: 3,
4352
- name: "value",
4353
- kind: "scalar",
4354
- T: 9
4355
- /* ScalarType.STRING */
4356
- }
4357
- ]));
4358
- let BlogPostMeta = _BlogPostMeta;
4359
3991
  const _BlogPost = class _BlogPost extends Message {
4360
3992
  constructor(data) {
4361
3993
  super();
@@ -4446,10 +4078,8 @@ const _BlogPost = class _BlogPost extends Message {
4446
4078
  */
4447
4079
  __publicField(this, "topImage", "");
4448
4080
  /**
4449
- * @generated from field: repeated sppb.BlogPostMeta metas = 22;
4450
- */
4451
- __publicField(this, "metas", []);
4452
- /**
4081
+ * repeated BlogPostMeta metas = 22;
4082
+ *
4453
4083
  * @generated from field: bool is_manual = 23;
4454
4084
  */
4455
4085
  __publicField(this, "isManual", false);
@@ -4613,7 +4243,6 @@ __publicField(_BlogPost, "fields", proto3.util.newFieldList(() => [
4613
4243
  T: 9
4614
4244
  /* ScalarType.STRING */
4615
4245
  },
4616
- { no: 22, name: "metas", kind: "message", T: BlogPostMeta, repeated: true },
4617
4246
  {
4618
4247
  no: 23,
4619
4248
  name: "is_manual",
@@ -4673,13 +4302,11 @@ const _BlogPostItem = class _BlogPostItem extends Message {
4673
4302
  */
4674
4303
  __publicField(this, "category");
4675
4304
  /**
4305
+ * repeated BlogPostMeta metas = 22;
4306
+ *
4676
4307
  * @generated from field: string top_image = 21;
4677
4308
  */
4678
4309
  __publicField(this, "topImage", "");
4679
- /**
4680
- * @generated from field: repeated sppb.BlogPostMeta metas = 22;
4681
- */
4682
- __publicField(this, "metas", []);
4683
4310
  proto3.util.initPartial(data, this);
4684
4311
  }
4685
4312
  static fromBinary(bytes, options) {
@@ -4754,8 +4381,7 @@ __publicField(_BlogPostItem, "fields", proto3.util.newFieldList(() => [
4754
4381
  kind: "scalar",
4755
4382
  T: 9
4756
4383
  /* ScalarType.STRING */
4757
- },
4758
- { no: 22, name: "metas", kind: "message", T: BlogPostMeta, repeated: true }
4384
+ }
4759
4385
  ]));
4760
4386
  let BlogPostItem = _BlogPostItem;
4761
4387
  const _BlogPostGetReq = class _BlogPostGetReq extends Message {
@@ -5206,10 +4832,8 @@ const _ArticleDetailBlock = class _ArticleDetailBlock extends Message {
5206
4832
  */
5207
4833
  __publicField(this, "topImage", "");
5208
4834
  /**
5209
- * @generated from field: repeated sppb.BlogPostMeta metas = 22;
5210
- */
5211
- __publicField(this, "metas", []);
5212
- /**
4835
+ * repeated BlogPostMeta metas = 22;
4836
+ *
5213
4837
  * @generated from field: bool is_manual = 23;
5214
4838
  */
5215
4839
  __publicField(this, "isManual", false);
@@ -5359,7 +4983,6 @@ __publicField(_ArticleDetailBlock, "fields", proto3.util.newFieldList(() => [
5359
4983
  T: 9
5360
4984
  /* ScalarType.STRING */
5361
4985
  },
5362
- { no: 22, name: "metas", kind: "message", T: BlogPostMeta, repeated: true },
5363
4986
  {
5364
4987
  no: 23,
5365
4988
  name: "is_manual",
@@ -7296,6 +6919,88 @@ __publicField(_FormCreateReq, "fields", proto3.util.newFieldList(() => [
7296
6919
  { no: 1, name: "input", kind: "message", T: FormSchema }
7297
6920
  ]));
7298
6921
  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;
7299
7004
  const slugs = proto3.makeExtension(
7300
7005
  "sppb.slugs",
7301
7006
  FieldOptions,
@@ -7369,20 +7074,16 @@ export {
7369
7074
  BlogPostImportReq,
7370
7075
  BlogPostItem,
7371
7076
  BlogPostListBySlugsReply,
7372
- BlogPostMeta,
7373
7077
  BlogPostUpdateReq,
7374
7078
  BlogTag,
7375
- BlogTagCreateReq,
7376
- BlogTagGetReq,
7377
- BlogTagListReply,
7378
- BlogTagListReq,
7379
- BlogTagUpdateReq,
7380
7079
  CmdSpSiteTakeScreenshot,
7381
7080
  CmdkItem,
7382
7081
  CommonCardItem,
7383
7082
  CommonListItem,
7384
7083
  CommontListReq,
7385
7084
  CommontListRes,
7085
+ CurdListReq,
7086
+ CurdListRes,
7386
7087
  CurdView,
7387
7088
  CurdViewCreateReq,
7388
7089
  CurdViewGetReq,
@@ -7447,8 +7148,6 @@ export {
7447
7148
  ResUpdateReply,
7448
7149
  Result,
7449
7150
  Role,
7450
- RoleListReply,
7451
- RoleListReq,
7452
7151
  ServiceMetaReq,
7453
7152
  ServiceMetaRes,
7454
7153
  SimpleText,