gomtm 0.0.182 → 0.0.184
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 +7 -8
- package/dist/esm/curd/curd.atoms.d.ts +3 -2
- package/dist/esm/curd/curd.atoms.js +17 -4
- package/dist/esm/gomtmpb/mtm/sppb/mtm-MtmService_connectquery.d.ts +11 -111
- package/dist/esm/gomtmpb/mtm/sppb/mtm-MtmService_connectquery.js +12 -122
- package/dist/esm/gomtmpb/mtm/sppb/mtm_connect.d.ts +7 -67
- package/dist/esm/gomtmpb/mtm/sppb/mtm_connect.js +15 -105
- package/dist/esm/gomtmpb/mtm/sppb/mtm_pb.d.ts +0 -103
- package/dist/esm/gomtmpb/mtm/sppb/mtm_pb.js +7 -392
- package/dist/tsconfig.type.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -1,23 +1,22 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { useAtom } from "jotai";
|
|
4
|
-
import {
|
|
5
|
-
import { AtomsHydrator } from "mtxlib/jotai/jotai-helper";
|
|
4
|
+
import { ScopeAtomsHydrator } from "mtxlib/jotai/jotai-helper";
|
|
6
5
|
import { usePathname } from "next/navigation";
|
|
7
6
|
import { MtUnaryCallErrorView } from "../components/MtUnaryCallErrorView";
|
|
8
|
-
import { curd3ItemsAtom, curd3ListParamsAtom,
|
|
7
|
+
import { curd3ItemsAtom, curd3ListParamsAtom, curdMethodListAtom, curdSvcAtom } from "./curd.atoms";
|
|
9
8
|
import { ListItemView } from "./list-item/ListItem";
|
|
10
9
|
function Curd3ListProviderV2(props) {
|
|
11
10
|
const { params, children } = props;
|
|
12
|
-
const [curdMethodList, setcurdMethodList] = useAtom(curdMethodListAtom);
|
|
13
11
|
const pathName = usePathname();
|
|
14
|
-
return /* @__PURE__ */
|
|
15
|
-
[curd3ListParamsAtom, params]
|
|
16
|
-
[
|
|
12
|
+
return /* @__PURE__ */ jsxs(ScopeAtomsHydrator, { atomValues: [
|
|
13
|
+
[curd3ListParamsAtom, params]
|
|
14
|
+
// [curdMethodListAtom, listMethod],
|
|
15
|
+
// [curdSvcAtom, svcName]
|
|
17
16
|
], children: [
|
|
18
17
|
/* @__PURE__ */ jsx(Curd3ListProviderV2Debug, {}),
|
|
19
18
|
children
|
|
20
|
-
] })
|
|
19
|
+
] });
|
|
21
20
|
}
|
|
22
21
|
const Curd2ListViewV2 = () => {
|
|
23
22
|
const [res] = useAtom(curd3ItemsAtom);
|
|
@@ -15,7 +15,8 @@ export declare const curdMethodListAtom: import("jotai").PrimitiveAtom<string> &
|
|
|
15
15
|
export declare const curd3ListParamsAtom: import("jotai").PrimitiveAtom<PlainMessage<AnyMessage>> & {
|
|
16
16
|
init: PlainMessage<AnyMessage>;
|
|
17
17
|
};
|
|
18
|
-
export declare const
|
|
18
|
+
export declare const curd3ItemsAtom: import("jotai").Atom<Promise<PlainMessage<MtmError> | CommontListRes>>;
|
|
19
|
+
export declare const curdPathAtom: import("jotai").PrimitiveAtom<string> & {
|
|
19
20
|
init: string;
|
|
20
21
|
};
|
|
21
|
-
export declare const
|
|
22
|
+
export declare const curd3ItemsV2Atom: import("jotai").Atom<Promise<CommontListRes>>;
|
|
@@ -20,16 +20,16 @@ var __async = (__this, __arguments, generator) => {
|
|
|
20
20
|
});
|
|
21
21
|
};
|
|
22
22
|
import { atom } from "jotai";
|
|
23
|
-
import { createMtmServiceClientByName } from "../gomtm-clients-ss";
|
|
23
|
+
import { createMtmServiceClient, createMtmServiceClientByName } from "../gomtm-clients-ss";
|
|
24
|
+
import { MtmService } from "../gomtmpb/mtm/sppb/mtm_connect";
|
|
24
25
|
const curdDashPathPrefixAtom = atom("/gomtmadmin");
|
|
25
26
|
const curdActivateIdAtom = atom("");
|
|
26
27
|
const curdSvcAtom = atom("sppb.MtmService");
|
|
27
28
|
const curdMethodListAtom = atom("blogPostList");
|
|
28
29
|
const curd3ListParamsAtom = atom({});
|
|
29
|
-
const curd3MethodListAtom = atom("");
|
|
30
30
|
const curd3ItemsAtom = atom((get) => __async(void 0, null, function* () {
|
|
31
31
|
const params = get(curd3ListParamsAtom);
|
|
32
|
-
const methodList = get(
|
|
32
|
+
const methodList = get(curdMethodListAtom);
|
|
33
33
|
if (!methodList) {
|
|
34
34
|
throw new Error("curd3ItemsAtom, missing methodList");
|
|
35
35
|
}
|
|
@@ -45,12 +45,25 @@ const curd3ItemsAtom = atom((get) => __async(void 0, null, function* () {
|
|
|
45
45
|
const data = yield methodFn(params);
|
|
46
46
|
return data;
|
|
47
47
|
}));
|
|
48
|
+
const curdPathAtom = atom("");
|
|
49
|
+
const curd3ItemsV2Atom = atom((get) => __async(void 0, null, function* () {
|
|
50
|
+
const client = yield createMtmServiceClient(MtmService);
|
|
51
|
+
const slugPath = get(curdPathAtom);
|
|
52
|
+
const data = yield client.curdList({
|
|
53
|
+
params: {
|
|
54
|
+
slugs: slugPath
|
|
55
|
+
}
|
|
56
|
+
});
|
|
57
|
+
console.log("list response data", data);
|
|
58
|
+
return data;
|
|
59
|
+
}));
|
|
48
60
|
export {
|
|
49
61
|
curd3ItemsAtom,
|
|
62
|
+
curd3ItemsV2Atom,
|
|
50
63
|
curd3ListParamsAtom,
|
|
51
|
-
curd3MethodListAtom,
|
|
52
64
|
curdActivateIdAtom,
|
|
53
65
|
curdDashPathPrefixAtom,
|
|
54
66
|
curdMethodListAtom,
|
|
67
|
+
curdPathAtom,
|
|
55
68
|
curdSvcAtom
|
|
56
69
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
2
|
-
import { ArtContentClassifyReply, ArtContentClassifyReq, ArtRewriteReply, ArtRewriteReq, AuthToken, BlogCategorie, BlogCategorieCreateReply, BlogCategorieCreateReq, BlogCategorieGetReq, BlogCategorieListReply, BlogCategorieListReq, BlogCategorieUpdateReq, BlogCategorieUpdateReqply, BlogCleanReq, BlogPost, BlogPostCreateReq, BlogPostGetReq, BlogPostImportReq, BlogPostUpdateReq,
|
|
2
|
+
import { ArtContentClassifyReply, ArtContentClassifyReq, ArtRewriteReply, ArtRewriteReq, AuthToken, BlogCategorie, BlogCategorieCreateReply, BlogCategorieCreateReq, BlogCategorieGetReq, BlogCategorieListReply, BlogCategorieListReq, BlogCategorieUpdateReq, BlogCategorieUpdateReqply, BlogCleanReq, BlogPost, BlogPostCreateReq, BlogPostGetReq, BlogPostImportReq, BlogPostUpdateReq, CommontListReq, CommontListRes, CurdViewCreateReq, CurdViewGetReq, CurdViewGetRes, CurdViewUpdateReq, DemoGetProductionRequest, Empty, FormCreateReq, FormGetReq, FormSchema, GetMetaReq, GetMetaRes, LoginReply, LoginReq, MtmServerListReq, MtmServerListRes, Oauth2LoginHookRequest, PullLogReq, PullLogRes, RegisterReply, RegisterReq, ResDeleteReq, Result, ServiceMetaReq, ServiceMetaRes, Site, SiteCreateReq, SiteCreateRes, SiteGetReq, SiteHost, SiteHostCreateReq, SiteHostGetReq, SiteHostListReply, SiteHostListReq, SiteHostUpdateReq, SiteImportReq, SiteSetupCftunnelReply, SiteSetupCftunnelReq, SiteUpdateReq, SlugReq, SlugRes, UserinfoRes } from "./mtm_pb";
|
|
3
3
|
export declare const oauth2LoginHook: {
|
|
4
4
|
readonly localName: "oauth2LoginHook";
|
|
5
5
|
readonly name: "Oauth2LoginHook";
|
|
@@ -30,66 +30,6 @@ export declare const register: {
|
|
|
30
30
|
readonly typeName: "sppb.MtmService";
|
|
31
31
|
};
|
|
32
32
|
};
|
|
33
|
-
export declare const userList: {
|
|
34
|
-
readonly localName: "userList";
|
|
35
|
-
readonly name: "UserList";
|
|
36
|
-
readonly kind: MethodKind.Unary;
|
|
37
|
-
readonly I: typeof UserListReq;
|
|
38
|
-
readonly O: typeof UserListReply;
|
|
39
|
-
readonly service: {
|
|
40
|
-
readonly typeName: "sppb.MtmService";
|
|
41
|
-
};
|
|
42
|
-
};
|
|
43
|
-
export declare const userGet: {
|
|
44
|
-
readonly localName: "userGet";
|
|
45
|
-
readonly name: "UserGet";
|
|
46
|
-
readonly kind: MethodKind.Unary;
|
|
47
|
-
readonly I: typeof UserGetReq;
|
|
48
|
-
readonly O: typeof User;
|
|
49
|
-
readonly service: {
|
|
50
|
-
readonly typeName: "sppb.MtmService";
|
|
51
|
-
};
|
|
52
|
-
};
|
|
53
|
-
export declare const userCreate: {
|
|
54
|
-
readonly localName: "userCreate";
|
|
55
|
-
readonly name: "UserCreate";
|
|
56
|
-
readonly kind: MethodKind.Unary;
|
|
57
|
-
readonly I: typeof UserCreateReq;
|
|
58
|
-
readonly O: typeof UserCreateReply;
|
|
59
|
-
readonly service: {
|
|
60
|
-
readonly typeName: "sppb.MtmService";
|
|
61
|
-
};
|
|
62
|
-
};
|
|
63
|
-
export declare const userUpdate: {
|
|
64
|
-
readonly localName: "userUpdate";
|
|
65
|
-
readonly name: "UserUpdate";
|
|
66
|
-
readonly kind: MethodKind.Unary;
|
|
67
|
-
readonly I: typeof UserUpdateReq;
|
|
68
|
-
readonly O: typeof Result;
|
|
69
|
-
readonly service: {
|
|
70
|
-
readonly typeName: "sppb.MtmService";
|
|
71
|
-
};
|
|
72
|
-
};
|
|
73
|
-
export declare const userDelete: {
|
|
74
|
-
readonly localName: "userDelete";
|
|
75
|
-
readonly name: "UserDelete";
|
|
76
|
-
readonly kind: MethodKind.Unary;
|
|
77
|
-
readonly I: typeof ResDeleteReq;
|
|
78
|
-
readonly O: typeof Result;
|
|
79
|
-
readonly service: {
|
|
80
|
-
readonly typeName: "sppb.MtmService";
|
|
81
|
-
};
|
|
82
|
-
};
|
|
83
|
-
export declare const roleList: {
|
|
84
|
-
readonly localName: "roleList";
|
|
85
|
-
readonly name: "RoleList";
|
|
86
|
-
readonly kind: MethodKind.Unary;
|
|
87
|
-
readonly I: typeof RoleListReq;
|
|
88
|
-
readonly O: typeof RoleListReply;
|
|
89
|
-
readonly service: {
|
|
90
|
-
readonly typeName: "sppb.MtmService";
|
|
91
|
-
};
|
|
92
|
-
};
|
|
93
33
|
export declare const getMeta: {
|
|
94
34
|
readonly localName: "getMeta";
|
|
95
35
|
readonly name: "GetMeta";
|
|
@@ -270,56 +210,6 @@ export declare const blogCategorieDelete: {
|
|
|
270
210
|
readonly typeName: "sppb.MtmService";
|
|
271
211
|
};
|
|
272
212
|
};
|
|
273
|
-
export declare const blogTagList: {
|
|
274
|
-
readonly localName: "blogTagList";
|
|
275
|
-
readonly name: "BlogTagList";
|
|
276
|
-
readonly kind: MethodKind.Unary;
|
|
277
|
-
readonly I: typeof BlogTagListReq;
|
|
278
|
-
readonly O: typeof BlogTagListReply;
|
|
279
|
-
readonly service: {
|
|
280
|
-
readonly typeName: "sppb.MtmService";
|
|
281
|
-
};
|
|
282
|
-
};
|
|
283
|
-
export declare const blogTagGet: {
|
|
284
|
-
readonly localName: "blogTagGet";
|
|
285
|
-
readonly name: "BlogTagGet";
|
|
286
|
-
readonly kind: MethodKind.Unary;
|
|
287
|
-
readonly I: typeof BlogTagGetReq;
|
|
288
|
-
readonly O: typeof BlogTag;
|
|
289
|
-
readonly service: {
|
|
290
|
-
readonly typeName: "sppb.MtmService";
|
|
291
|
-
};
|
|
292
|
-
};
|
|
293
|
-
export declare const blogTagCreate: {
|
|
294
|
-
readonly localName: "blogTagCreate";
|
|
295
|
-
readonly name: "BlogTagCreate";
|
|
296
|
-
readonly kind: MethodKind.Unary;
|
|
297
|
-
readonly I: typeof BlogTagCreateReq;
|
|
298
|
-
readonly O: typeof Result;
|
|
299
|
-
readonly service: {
|
|
300
|
-
readonly typeName: "sppb.MtmService";
|
|
301
|
-
};
|
|
302
|
-
};
|
|
303
|
-
export declare const blogTagUpdate: {
|
|
304
|
-
readonly localName: "blogTagUpdate";
|
|
305
|
-
readonly name: "BlogTagUpdate";
|
|
306
|
-
readonly kind: MethodKind.Unary;
|
|
307
|
-
readonly I: typeof BlogTagUpdateReq;
|
|
308
|
-
readonly O: typeof Result;
|
|
309
|
-
readonly service: {
|
|
310
|
-
readonly typeName: "sppb.MtmService";
|
|
311
|
-
};
|
|
312
|
-
};
|
|
313
|
-
export declare const blogTagDelete: {
|
|
314
|
-
readonly localName: "blogTagDelete";
|
|
315
|
-
readonly name: "BlogTagDelete";
|
|
316
|
-
readonly kind: MethodKind.Unary;
|
|
317
|
-
readonly I: typeof ResDeleteReq;
|
|
318
|
-
readonly O: typeof Result;
|
|
319
|
-
readonly service: {
|
|
320
|
-
readonly typeName: "sppb.MtmService";
|
|
321
|
-
};
|
|
322
|
-
};
|
|
323
213
|
export declare const blogClean: {
|
|
324
214
|
readonly localName: "blogClean";
|
|
325
215
|
readonly name: "BlogClean";
|
|
@@ -550,3 +440,13 @@ export declare const demoGetProduction: {
|
|
|
550
440
|
readonly typeName: "sppb.MtmService";
|
|
551
441
|
};
|
|
552
442
|
};
|
|
443
|
+
export declare const curdList: {
|
|
444
|
+
readonly localName: "curdList";
|
|
445
|
+
readonly name: "CurdList";
|
|
446
|
+
readonly kind: MethodKind.Unary;
|
|
447
|
+
readonly I: typeof CommontListReq;
|
|
448
|
+
readonly O: typeof CommontListRes;
|
|
449
|
+
readonly service: {
|
|
450
|
+
readonly typeName: "sppb.MtmService";
|
|
451
|
+
};
|
|
452
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
2
|
-
import { ArtContentClassifyReply, ArtContentClassifyReq, ArtRewriteReply, ArtRewriteReq, AuthToken, BlogCategorie, BlogCategorieCreateReply, BlogCategorieCreateReq, BlogCategorieGetReq, BlogCategorieListReply, BlogCategorieListReq, BlogCategorieUpdateReq, BlogCategorieUpdateReqply, BlogCleanReq, BlogPost, BlogPostCreateReq, BlogPostGetReq, BlogPostImportReq, BlogPostUpdateReq,
|
|
2
|
+
import { ArtContentClassifyReply, ArtContentClassifyReq, ArtRewriteReply, ArtRewriteReq, AuthToken, BlogCategorie, BlogCategorieCreateReply, BlogCategorieCreateReq, BlogCategorieGetReq, BlogCategorieListReply, BlogCategorieListReq, BlogCategorieUpdateReq, BlogCategorieUpdateReqply, BlogCleanReq, BlogPost, BlogPostCreateReq, BlogPostGetReq, BlogPostImportReq, BlogPostUpdateReq, CommontListReq, CommontListRes, CurdViewCreateReq, CurdViewGetReq, CurdViewGetRes, CurdViewUpdateReq, DemoGetProductionRequest, Empty, FormCreateReq, FormGetReq, FormSchema, GetMetaReq, GetMetaRes, LoginReply, LoginReq, MtmServerListReq, MtmServerListRes, Oauth2LoginHookRequest, PullLogReq, PullLogRes, RegisterReply, RegisterReq, ResDeleteReq, Result, ServiceMetaReq, ServiceMetaRes, Site, SiteCreateReq, SiteCreateRes, SiteGetReq, SiteHost, SiteHostCreateReq, SiteHostGetReq, SiteHostListReply, SiteHostListReq, SiteHostUpdateReq, SiteImportReq, SiteSetupCftunnelReply, SiteSetupCftunnelReq, SiteUpdateReq, SlugReq, SlugRes, UserinfoRes } from "./mtm_pb";
|
|
3
3
|
const oauth2LoginHook = {
|
|
4
4
|
localName: "oauth2LoginHook",
|
|
5
5
|
name: "Oauth2LoginHook",
|
|
@@ -30,66 +30,6 @@ const register = {
|
|
|
30
30
|
typeName: "sppb.MtmService"
|
|
31
31
|
}
|
|
32
32
|
};
|
|
33
|
-
const userList = {
|
|
34
|
-
localName: "userList",
|
|
35
|
-
name: "UserList",
|
|
36
|
-
kind: MethodKind.Unary,
|
|
37
|
-
I: UserListReq,
|
|
38
|
-
O: UserListReply,
|
|
39
|
-
service: {
|
|
40
|
-
typeName: "sppb.MtmService"
|
|
41
|
-
}
|
|
42
|
-
};
|
|
43
|
-
const userGet = {
|
|
44
|
-
localName: "userGet",
|
|
45
|
-
name: "UserGet",
|
|
46
|
-
kind: MethodKind.Unary,
|
|
47
|
-
I: UserGetReq,
|
|
48
|
-
O: User,
|
|
49
|
-
service: {
|
|
50
|
-
typeName: "sppb.MtmService"
|
|
51
|
-
}
|
|
52
|
-
};
|
|
53
|
-
const userCreate = {
|
|
54
|
-
localName: "userCreate",
|
|
55
|
-
name: "UserCreate",
|
|
56
|
-
kind: MethodKind.Unary,
|
|
57
|
-
I: UserCreateReq,
|
|
58
|
-
O: UserCreateReply,
|
|
59
|
-
service: {
|
|
60
|
-
typeName: "sppb.MtmService"
|
|
61
|
-
}
|
|
62
|
-
};
|
|
63
|
-
const userUpdate = {
|
|
64
|
-
localName: "userUpdate",
|
|
65
|
-
name: "UserUpdate",
|
|
66
|
-
kind: MethodKind.Unary,
|
|
67
|
-
I: UserUpdateReq,
|
|
68
|
-
O: Result,
|
|
69
|
-
service: {
|
|
70
|
-
typeName: "sppb.MtmService"
|
|
71
|
-
}
|
|
72
|
-
};
|
|
73
|
-
const userDelete = {
|
|
74
|
-
localName: "userDelete",
|
|
75
|
-
name: "UserDelete",
|
|
76
|
-
kind: MethodKind.Unary,
|
|
77
|
-
I: ResDeleteReq,
|
|
78
|
-
O: Result,
|
|
79
|
-
service: {
|
|
80
|
-
typeName: "sppb.MtmService"
|
|
81
|
-
}
|
|
82
|
-
};
|
|
83
|
-
const roleList = {
|
|
84
|
-
localName: "roleList",
|
|
85
|
-
name: "RoleList",
|
|
86
|
-
kind: MethodKind.Unary,
|
|
87
|
-
I: RoleListReq,
|
|
88
|
-
O: RoleListReply,
|
|
89
|
-
service: {
|
|
90
|
-
typeName: "sppb.MtmService"
|
|
91
|
-
}
|
|
92
|
-
};
|
|
93
33
|
const getMeta = {
|
|
94
34
|
localName: "getMeta",
|
|
95
35
|
name: "GetMeta",
|
|
@@ -270,56 +210,6 @@ const blogCategorieDelete = {
|
|
|
270
210
|
typeName: "sppb.MtmService"
|
|
271
211
|
}
|
|
272
212
|
};
|
|
273
|
-
const blogTagList = {
|
|
274
|
-
localName: "blogTagList",
|
|
275
|
-
name: "BlogTagList",
|
|
276
|
-
kind: MethodKind.Unary,
|
|
277
|
-
I: BlogTagListReq,
|
|
278
|
-
O: BlogTagListReply,
|
|
279
|
-
service: {
|
|
280
|
-
typeName: "sppb.MtmService"
|
|
281
|
-
}
|
|
282
|
-
};
|
|
283
|
-
const blogTagGet = {
|
|
284
|
-
localName: "blogTagGet",
|
|
285
|
-
name: "BlogTagGet",
|
|
286
|
-
kind: MethodKind.Unary,
|
|
287
|
-
I: BlogTagGetReq,
|
|
288
|
-
O: BlogTag,
|
|
289
|
-
service: {
|
|
290
|
-
typeName: "sppb.MtmService"
|
|
291
|
-
}
|
|
292
|
-
};
|
|
293
|
-
const blogTagCreate = {
|
|
294
|
-
localName: "blogTagCreate",
|
|
295
|
-
name: "BlogTagCreate",
|
|
296
|
-
kind: MethodKind.Unary,
|
|
297
|
-
I: BlogTagCreateReq,
|
|
298
|
-
O: Result,
|
|
299
|
-
service: {
|
|
300
|
-
typeName: "sppb.MtmService"
|
|
301
|
-
}
|
|
302
|
-
};
|
|
303
|
-
const blogTagUpdate = {
|
|
304
|
-
localName: "blogTagUpdate",
|
|
305
|
-
name: "BlogTagUpdate",
|
|
306
|
-
kind: MethodKind.Unary,
|
|
307
|
-
I: BlogTagUpdateReq,
|
|
308
|
-
O: Result,
|
|
309
|
-
service: {
|
|
310
|
-
typeName: "sppb.MtmService"
|
|
311
|
-
}
|
|
312
|
-
};
|
|
313
|
-
const blogTagDelete = {
|
|
314
|
-
localName: "blogTagDelete",
|
|
315
|
-
name: "BlogTagDelete",
|
|
316
|
-
kind: MethodKind.Unary,
|
|
317
|
-
I: ResDeleteReq,
|
|
318
|
-
O: Result,
|
|
319
|
-
service: {
|
|
320
|
-
typeName: "sppb.MtmService"
|
|
321
|
-
}
|
|
322
|
-
};
|
|
323
213
|
const blogClean = {
|
|
324
214
|
localName: "blogClean",
|
|
325
215
|
name: "BlogClean",
|
|
@@ -550,6 +440,16 @@ const demoGetProduction = {
|
|
|
550
440
|
typeName: "sppb.MtmService"
|
|
551
441
|
}
|
|
552
442
|
};
|
|
443
|
+
const curdList = {
|
|
444
|
+
localName: "curdList",
|
|
445
|
+
name: "CurdList",
|
|
446
|
+
kind: MethodKind.Unary,
|
|
447
|
+
I: CommontListReq,
|
|
448
|
+
O: CommontListRes,
|
|
449
|
+
service: {
|
|
450
|
+
typeName: "sppb.MtmService"
|
|
451
|
+
}
|
|
452
|
+
};
|
|
553
453
|
export {
|
|
554
454
|
artContentClassify,
|
|
555
455
|
artRewrite,
|
|
@@ -565,11 +465,7 @@ export {
|
|
|
565
465
|
blogPostImport,
|
|
566
466
|
blogPostList,
|
|
567
467
|
blogPostUpdate,
|
|
568
|
-
|
|
569
|
-
blogTagDelete,
|
|
570
|
-
blogTagGet,
|
|
571
|
-
blogTagList,
|
|
572
|
-
blogTagUpdate,
|
|
468
|
+
curdList,
|
|
573
469
|
curdViewCreate,
|
|
574
470
|
curdViewGet,
|
|
575
471
|
curdViewList,
|
|
@@ -584,7 +480,6 @@ export {
|
|
|
584
480
|
oauth2LoginHook,
|
|
585
481
|
pullLogs,
|
|
586
482
|
register,
|
|
587
|
-
roleList,
|
|
588
483
|
search,
|
|
589
484
|
serviceMeta,
|
|
590
485
|
siteCreate,
|
|
@@ -600,10 +495,5 @@ export {
|
|
|
600
495
|
siteSetupCftunnel,
|
|
601
496
|
siteUpdate,
|
|
602
497
|
slugPage,
|
|
603
|
-
userCreate,
|
|
604
|
-
userDelete,
|
|
605
|
-
userGet,
|
|
606
|
-
userList,
|
|
607
|
-
userUpdate,
|
|
608
498
|
userinfo
|
|
609
499
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ArtContentClassifyReply, ArtContentClassifyReq, ArtRewriteReply, ArtRewriteReq, AuthToken, BlogCategorie, BlogCategorieCreateReply, BlogCategorieCreateReq, BlogCategorieGetReq, BlogCategorieListReply, BlogCategorieListReq, BlogCategorieUpdateReq, BlogCategorieUpdateReqply, BlogCleanReq, BlogPost, BlogPostCreateReq, BlogPostGetReq, BlogPostImportReq, BlogPostUpdateReq,
|
|
1
|
+
import { ArtContentClassifyReply, ArtContentClassifyReq, ArtRewriteReply, ArtRewriteReq, AuthToken, BlogCategorie, BlogCategorieCreateReply, BlogCategorieCreateReq, BlogCategorieGetReq, BlogCategorieListReply, BlogCategorieListReq, BlogCategorieUpdateReq, BlogCategorieUpdateReqply, BlogCleanReq, BlogPost, BlogPostCreateReq, BlogPostGetReq, BlogPostImportReq, BlogPostUpdateReq, CommontListReq, CommontListRes, CurdViewCreateReq, CurdViewGetReq, CurdViewGetRes, CurdViewUpdateReq, DemoGetProductionRequest, Empty, FormCreateReq, FormGetReq, FormSchema, GetMetaReq, GetMetaRes, LoginReply, LoginReq, MtmServerListReq, MtmServerListRes, Oauth2LoginHookRequest, PullLogReq, PullLogRes, RegisterReply, RegisterReq, ResDeleteReq, Result, ServiceMetaReq, ServiceMetaRes, Site, SiteCreateReq, SiteCreateRes, SiteGetReq, SiteHost, SiteHostCreateReq, SiteHostGetReq, SiteHostListReply, SiteHostListReq, SiteHostUpdateReq, SiteImportReq, SiteSetupCftunnelReply, SiteSetupCftunnelReq, SiteUpdateReq, SlugReq, SlugRes, UserinfoRes } from "./mtm_pb";
|
|
2
2
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
3
3
|
export declare const MtmService: {
|
|
4
4
|
readonly typeName: "sppb.MtmService";
|
|
@@ -21,42 +21,6 @@ export declare const MtmService: {
|
|
|
21
21
|
readonly O: typeof RegisterReply;
|
|
22
22
|
readonly kind: MethodKind.Unary;
|
|
23
23
|
};
|
|
24
|
-
readonly userList: {
|
|
25
|
-
readonly name: "UserList";
|
|
26
|
-
readonly I: typeof UserListReq;
|
|
27
|
-
readonly O: typeof UserListReply;
|
|
28
|
-
readonly kind: MethodKind.Unary;
|
|
29
|
-
};
|
|
30
|
-
readonly userGet: {
|
|
31
|
-
readonly name: "UserGet";
|
|
32
|
-
readonly I: typeof UserGetReq;
|
|
33
|
-
readonly O: typeof User;
|
|
34
|
-
readonly kind: MethodKind.Unary;
|
|
35
|
-
};
|
|
36
|
-
readonly userCreate: {
|
|
37
|
-
readonly name: "UserCreate";
|
|
38
|
-
readonly I: typeof UserCreateReq;
|
|
39
|
-
readonly O: typeof UserCreateReply;
|
|
40
|
-
readonly kind: MethodKind.Unary;
|
|
41
|
-
};
|
|
42
|
-
readonly userUpdate: {
|
|
43
|
-
readonly name: "UserUpdate";
|
|
44
|
-
readonly I: typeof UserUpdateReq;
|
|
45
|
-
readonly O: typeof Result;
|
|
46
|
-
readonly kind: MethodKind.Unary;
|
|
47
|
-
};
|
|
48
|
-
readonly userDelete: {
|
|
49
|
-
readonly name: "UserDelete";
|
|
50
|
-
readonly I: typeof ResDeleteReq;
|
|
51
|
-
readonly O: typeof Result;
|
|
52
|
-
readonly kind: MethodKind.Unary;
|
|
53
|
-
};
|
|
54
|
-
readonly roleList: {
|
|
55
|
-
readonly name: "RoleList";
|
|
56
|
-
readonly I: typeof RoleListReq;
|
|
57
|
-
readonly O: typeof RoleListReply;
|
|
58
|
-
readonly kind: MethodKind.Unary;
|
|
59
|
-
};
|
|
60
24
|
readonly getMeta: {
|
|
61
25
|
readonly name: "GetMeta";
|
|
62
26
|
readonly I: typeof GetMetaReq;
|
|
@@ -165,36 +129,6 @@ export declare const MtmService: {
|
|
|
165
129
|
readonly O: typeof Result;
|
|
166
130
|
readonly kind: MethodKind.Unary;
|
|
167
131
|
};
|
|
168
|
-
readonly blogTagList: {
|
|
169
|
-
readonly name: "BlogTagList";
|
|
170
|
-
readonly I: typeof BlogTagListReq;
|
|
171
|
-
readonly O: typeof BlogTagListReply;
|
|
172
|
-
readonly kind: MethodKind.Unary;
|
|
173
|
-
};
|
|
174
|
-
readonly blogTagGet: {
|
|
175
|
-
readonly name: "BlogTagGet";
|
|
176
|
-
readonly I: typeof BlogTagGetReq;
|
|
177
|
-
readonly O: typeof BlogTag;
|
|
178
|
-
readonly kind: MethodKind.Unary;
|
|
179
|
-
};
|
|
180
|
-
readonly blogTagCreate: {
|
|
181
|
-
readonly name: "BlogTagCreate";
|
|
182
|
-
readonly I: typeof BlogTagCreateReq;
|
|
183
|
-
readonly O: typeof Result;
|
|
184
|
-
readonly kind: MethodKind.Unary;
|
|
185
|
-
};
|
|
186
|
-
readonly blogTagUpdate: {
|
|
187
|
-
readonly name: "BlogTagUpdate";
|
|
188
|
-
readonly I: typeof BlogTagUpdateReq;
|
|
189
|
-
readonly O: typeof Result;
|
|
190
|
-
readonly kind: MethodKind.Unary;
|
|
191
|
-
};
|
|
192
|
-
readonly blogTagDelete: {
|
|
193
|
-
readonly name: "BlogTagDelete";
|
|
194
|
-
readonly I: typeof ResDeleteReq;
|
|
195
|
-
readonly O: typeof Result;
|
|
196
|
-
readonly kind: MethodKind.Unary;
|
|
197
|
-
};
|
|
198
132
|
readonly blogClean: {
|
|
199
133
|
readonly name: "BlogClean";
|
|
200
134
|
readonly I: typeof BlogCleanReq;
|
|
@@ -333,5 +267,11 @@ export declare const MtmService: {
|
|
|
333
267
|
readonly O: typeof Empty;
|
|
334
268
|
readonly kind: MethodKind.Unary;
|
|
335
269
|
};
|
|
270
|
+
readonly curdList: {
|
|
271
|
+
readonly name: "CurdList";
|
|
272
|
+
readonly I: typeof CommontListReq;
|
|
273
|
+
readonly O: typeof CommontListRes;
|
|
274
|
+
readonly kind: MethodKind.Unary;
|
|
275
|
+
};
|
|
336
276
|
};
|
|
337
277
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ArtContentClassifyReply, ArtContentClassifyReq, ArtRewriteReply, ArtRewriteReq, AuthToken, BlogCategorie, BlogCategorieCreateReply, BlogCategorieCreateReq, BlogCategorieGetReq, BlogCategorieListReply, BlogCategorieListReq, BlogCategorieUpdateReq, BlogCategorieUpdateReqply, BlogCleanReq, BlogPost, BlogPostCreateReq, BlogPostGetReq, BlogPostImportReq, BlogPostUpdateReq,
|
|
1
|
+
import { ArtContentClassifyReply, ArtContentClassifyReq, ArtRewriteReply, ArtRewriteReq, AuthToken, BlogCategorie, BlogCategorieCreateReply, BlogCategorieCreateReq, BlogCategorieGetReq, BlogCategorieListReply, BlogCategorieListReq, BlogCategorieUpdateReq, BlogCategorieUpdateReqply, BlogCleanReq, BlogPost, BlogPostCreateReq, BlogPostGetReq, BlogPostImportReq, BlogPostUpdateReq, CommontListReq, CommontListRes, CurdViewCreateReq, CurdViewGetReq, CurdViewGetRes, CurdViewUpdateReq, DemoGetProductionRequest, Empty, FormCreateReq, FormGetReq, FormSchema, GetMetaReq, GetMetaRes, LoginReply, LoginReq, MtmServerListReq, MtmServerListRes, Oauth2LoginHookRequest, PullLogReq, PullLogRes, RegisterReply, RegisterReq, ResDeleteReq, Result, ServiceMetaReq, ServiceMetaRes, Site, SiteCreateReq, SiteCreateRes, SiteGetReq, SiteHost, SiteHostCreateReq, SiteHostGetReq, SiteHostListReply, SiteHostListReq, SiteHostUpdateReq, SiteImportReq, SiteSetupCftunnelReply, SiteSetupCftunnelReq, SiteUpdateReq, SlugReq, SlugRes, UserinfoRes } from "./mtm_pb";
|
|
2
2
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
3
3
|
const MtmService = {
|
|
4
4
|
typeName: "sppb.MtmService",
|
|
@@ -30,64 +30,6 @@ const MtmService = {
|
|
|
30
30
|
O: RegisterReply,
|
|
31
31
|
kind: MethodKind.Unary
|
|
32
32
|
},
|
|
33
|
-
/**
|
|
34
|
-
* user
|
|
35
|
-
*
|
|
36
|
-
* @generated from rpc sppb.MtmService.UserList
|
|
37
|
-
*/
|
|
38
|
-
userList: {
|
|
39
|
-
name: "UserList",
|
|
40
|
-
I: UserListReq,
|
|
41
|
-
O: UserListReply,
|
|
42
|
-
kind: MethodKind.Unary
|
|
43
|
-
},
|
|
44
|
-
/**
|
|
45
|
-
* @generated from rpc sppb.MtmService.UserGet
|
|
46
|
-
*/
|
|
47
|
-
userGet: {
|
|
48
|
-
name: "UserGet",
|
|
49
|
-
I: UserGetReq,
|
|
50
|
-
O: User,
|
|
51
|
-
kind: MethodKind.Unary
|
|
52
|
-
},
|
|
53
|
-
/**
|
|
54
|
-
* @generated from rpc sppb.MtmService.UserCreate
|
|
55
|
-
*/
|
|
56
|
-
userCreate: {
|
|
57
|
-
name: "UserCreate",
|
|
58
|
-
I: UserCreateReq,
|
|
59
|
-
O: UserCreateReply,
|
|
60
|
-
kind: MethodKind.Unary
|
|
61
|
-
},
|
|
62
|
-
/**
|
|
63
|
-
* @generated from rpc sppb.MtmService.UserUpdate
|
|
64
|
-
*/
|
|
65
|
-
userUpdate: {
|
|
66
|
-
name: "UserUpdate",
|
|
67
|
-
I: UserUpdateReq,
|
|
68
|
-
O: Result,
|
|
69
|
-
kind: MethodKind.Unary
|
|
70
|
-
},
|
|
71
|
-
/**
|
|
72
|
-
* @generated from rpc sppb.MtmService.UserDelete
|
|
73
|
-
*/
|
|
74
|
-
userDelete: {
|
|
75
|
-
name: "UserDelete",
|
|
76
|
-
I: ResDeleteReq,
|
|
77
|
-
O: Result,
|
|
78
|
-
kind: MethodKind.Unary
|
|
79
|
-
},
|
|
80
|
-
/**
|
|
81
|
-
* role
|
|
82
|
-
*
|
|
83
|
-
* @generated from rpc sppb.MtmService.RoleList
|
|
84
|
-
*/
|
|
85
|
-
roleList: {
|
|
86
|
-
name: "RoleList",
|
|
87
|
-
I: RoleListReq,
|
|
88
|
-
O: RoleListReply,
|
|
89
|
-
kind: MethodKind.Unary
|
|
90
|
-
},
|
|
91
33
|
/**
|
|
92
34
|
* gomtm 基本元数据
|
|
93
35
|
*
|
|
@@ -266,52 +208,11 @@ const MtmService = {
|
|
|
266
208
|
},
|
|
267
209
|
/**
|
|
268
210
|
* blog-tag
|
|
269
|
-
*
|
|
270
|
-
*
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
I: BlogTagListReq,
|
|
275
|
-
O: BlogTagListReply,
|
|
276
|
-
kind: MethodKind.Unary
|
|
277
|
-
},
|
|
278
|
-
/**
|
|
279
|
-
* @generated from rpc sppb.MtmService.BlogTagGet
|
|
280
|
-
*/
|
|
281
|
-
blogTagGet: {
|
|
282
|
-
name: "BlogTagGet",
|
|
283
|
-
I: BlogTagGetReq,
|
|
284
|
-
O: BlogTag,
|
|
285
|
-
kind: MethodKind.Unary
|
|
286
|
-
},
|
|
287
|
-
/**
|
|
288
|
-
* @generated from rpc sppb.MtmService.BlogTagCreate
|
|
289
|
-
*/
|
|
290
|
-
blogTagCreate: {
|
|
291
|
-
name: "BlogTagCreate",
|
|
292
|
-
I: BlogTagCreateReq,
|
|
293
|
-
O: Result,
|
|
294
|
-
kind: MethodKind.Unary
|
|
295
|
-
},
|
|
296
|
-
/**
|
|
297
|
-
* @generated from rpc sppb.MtmService.BlogTagUpdate
|
|
298
|
-
*/
|
|
299
|
-
blogTagUpdate: {
|
|
300
|
-
name: "BlogTagUpdate",
|
|
301
|
-
I: BlogTagUpdateReq,
|
|
302
|
-
O: Result,
|
|
303
|
-
kind: MethodKind.Unary
|
|
304
|
-
},
|
|
305
|
-
/**
|
|
306
|
-
* @generated from rpc sppb.MtmService.BlogTagDelete
|
|
307
|
-
*/
|
|
308
|
-
blogTagDelete: {
|
|
309
|
-
name: "BlogTagDelete",
|
|
310
|
-
I: ResDeleteReq,
|
|
311
|
-
O: Result,
|
|
312
|
-
kind: MethodKind.Unary
|
|
313
|
-
},
|
|
314
|
-
/**
|
|
211
|
+
* rpc BlogTagList(BlogTagListReq) returns (BlogTagListReply) {}
|
|
212
|
+
* rpc BlogTagGet(BlogTagGetReq) returns (BlogTag) {}
|
|
213
|
+
* rpc BlogTagCreate(BlogTagCreateReq) returns (Result) {}
|
|
214
|
+
* rpc BlogTagUpdate(BlogTagUpdateReq) returns (Result) {}
|
|
215
|
+
* rpc BlogTagDelete(ResDeleteReq) returns (Result) {}
|
|
315
216
|
* 管理
|
|
316
217
|
* 清理重复内容
|
|
317
218
|
*
|
|
@@ -533,6 +434,15 @@ const MtmService = {
|
|
|
533
434
|
I: DemoGetProductionRequest,
|
|
534
435
|
O: Empty,
|
|
535
436
|
kind: MethodKind.Unary
|
|
437
|
+
},
|
|
438
|
+
/**
|
|
439
|
+
* @generated from rpc sppb.MtmService.CurdList
|
|
440
|
+
*/
|
|
441
|
+
curdList: {
|
|
442
|
+
name: "CurdList",
|
|
443
|
+
I: CommontListReq,
|
|
444
|
+
O: CommontListRes,
|
|
445
|
+
kind: MethodKind.Unary
|
|
536
446
|
}
|
|
537
447
|
}
|
|
538
448
|
};
|