gomtm 0.0.43 → 0.0.45
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/connectquery/call-unary-method.d.ts +2 -2
- package/dist/esm/connectquery/call-unary-method.js +2 -2
- package/dist/esm/connectquery/create-use-infinite-query-options.d.ts +5 -4
- package/dist/esm/connectquery/create-use-query-options.d.ts +6 -4
- package/dist/esm/connectquery/use-infinite-query.d.ts +5 -3
- package/dist/esm/connectquery/use-query.d.ts +5 -3
- package/dist/esm/connectquery/utils.d.ts +0 -4
- package/dist/esm/gomtmpb/mtm/sppb/mtm-MtmService_connectquery.d.ts +22 -2
- package/dist/esm/gomtmpb/mtm/sppb/mtm-MtmService_connectquery.js +24 -2
- package/dist/esm/gomtmpb/mtm/sppb/mtm_connect.d.ts +14 -2
- package/dist/esm/gomtmpb/mtm/sppb/mtm_connect.js +22 -2
- package/dist/esm/gomtmpb/mtm/sppb/mtm_pb.d.ts +34 -69
- package/dist/esm/gomtmpb/mtm/sppb/mtm_pb.js +88 -226
- package/dist/esm/mtmFetcher.d.ts +3 -2
- package/dist/esm/mtmFetcher.js +9 -8
- package/dist/esm/mtmquery.d.ts +4 -3
- package/dist/esm/mtmquery.js +4 -2
- package/dist/tsconfig.type.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { PlainMessage, type Message, type PartialMessage } from "@bufbuild/protobuf";
|
|
2
2
|
import type { CallOptions, Transport } from "@connectrpc/connect";
|
|
3
|
+
import { MtmError } from "../gomtmpb/mtm/sppb/mtm_pb";
|
|
3
4
|
import type { MethodUnaryDescriptor } from "./method-unary-descriptor";
|
|
4
|
-
import { MtUnaryCallError } from "./utils";
|
|
5
5
|
export declare function callUnaryMethod<I extends Message<I>, O extends Message<O>>(methodType: MethodUnaryDescriptor<I, O>, input: PartialMessage<I> | undefined, { callOptions, transport, }: {
|
|
6
6
|
transport: Transport;
|
|
7
7
|
callOptions?: CallOptions | undefined;
|
|
8
|
-
}): Promise<PlainMessage<O> &
|
|
8
|
+
}): Promise<PlainMessage<O> & PlainMessage<MtmError>>;
|
|
@@ -36,8 +36,8 @@ function callUnaryMethod(_0, _1, _2) {
|
|
|
36
36
|
return toPlainMessage(result.message);
|
|
37
37
|
} catch (e) {
|
|
38
38
|
return {
|
|
39
|
-
|
|
40
|
-
|
|
39
|
+
errMessage: e == null ? void 0 : e.toString(),
|
|
40
|
+
errCode: "unary_call_error"
|
|
41
41
|
};
|
|
42
42
|
}
|
|
43
43
|
});
|
|
@@ -1,21 +1,22 @@
|
|
|
1
|
-
import type { Message, PartialMessage } from "@bufbuild/protobuf";
|
|
1
|
+
import type { Message, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
|
|
2
2
|
import type { CallOptions, ConnectError, Transport } from "@connectrpc/connect";
|
|
3
3
|
import type { GetNextPageParamFunction, InfiniteData, QueryFunction, UseInfiniteQueryOptions, UseSuspenseInfiniteQueryOptions } from "@tanstack/react-query";
|
|
4
4
|
import { type ConnectInfiniteQueryKey } from "./connect-query-key";
|
|
5
5
|
import type { MethodUnaryDescriptor } from "./method-unary-descriptor";
|
|
6
|
-
import {
|
|
6
|
+
import { type DisableQuery } from "./utils";
|
|
7
|
+
import { MtmError } from "../gomtmpb/mtm/sppb/mtm_pb";
|
|
7
8
|
export interface ConnectInfiniteQueryOptions<I extends Message<I>, O extends Message<O>, ParamKey extends keyof PartialMessage<I>> {
|
|
8
9
|
pageParamKey: ParamKey;
|
|
9
10
|
transport: Transport;
|
|
10
11
|
callOptions?: Omit<CallOptions, "signal"> | undefined;
|
|
11
|
-
getNextPageParam: GetNextPageParamFunction<PartialMessage<I>[ParamKey], O |
|
|
12
|
+
getNextPageParam: GetNextPageParamFunction<PartialMessage<I>[ParamKey], O | PlainMessage<MtmError>>;
|
|
12
13
|
}
|
|
13
14
|
export type CreateInfiniteQueryOptions<I extends Message<I>, O extends Message<O>, ParamKey extends keyof PartialMessage<I>> = ConnectInfiniteQueryOptions<I, O, ParamKey> & Omit<UseInfiniteQueryOptions<O, ConnectError, InfiniteData<O>, O, ConnectInfiniteQueryKey<I>, PartialMessage<I>[ParamKey]>, "getNextPageParam" | "initialPageParam" | "queryFn" | "queryKey">;
|
|
14
15
|
export type CreateSuspenseInfiniteQueryOptions<I extends Message<I>, O extends Message<O>, ParamKey extends keyof PartialMessage<I>> = ConnectInfiniteQueryOptions<I, O, ParamKey> & Omit<UseSuspenseInfiniteQueryOptions<O, ConnectError, InfiniteData<O>, O, ConnectInfiniteQueryKey<I>, PartialMessage<I>[ParamKey]>, "getNextPageParam" | "initialPageParam" | "queryFn" | "queryKey">;
|
|
15
16
|
export declare function createUseInfiniteQueryOptions<I extends Message<I>, O extends Message<O>, ParamKey extends keyof PartialMessage<I>>(methodSig: MethodUnaryDescriptor<I, O>, input: DisableQuery | (PartialMessage<I> & Required<Pick<PartialMessage<I>, ParamKey>>), { transport, getNextPageParam, pageParamKey, callOptions, }: ConnectInfiniteQueryOptions<I, O, ParamKey>): {
|
|
16
17
|
getNextPageParam: ConnectInfiniteQueryOptions<I, O, ParamKey>["getNextPageParam"];
|
|
17
18
|
queryKey: ConnectInfiniteQueryKey<I>;
|
|
18
|
-
queryFn: QueryFunction<O |
|
|
19
|
+
queryFn: QueryFunction<O | PlainMessage<MtmError>, ConnectInfiniteQueryKey<I>, PartialMessage<I>[ParamKey]>;
|
|
19
20
|
initialPageParam: PartialMessage<I>[ParamKey];
|
|
20
21
|
enabled: boolean;
|
|
21
22
|
};
|
|
@@ -1,19 +1,21 @@
|
|
|
1
1
|
import type { Message, PartialMessage } from "@bufbuild/protobuf";
|
|
2
2
|
import type { CallOptions, ConnectError, Transport } from "@connectrpc/connect";
|
|
3
3
|
import type { QueryFunction, UseQueryOptions, UseSuspenseQueryOptions } from "@tanstack/react-query";
|
|
4
|
+
import { PlainMessage } from "..";
|
|
5
|
+
import { MtmError } from "../gomtmpb/mtm/sppb/mtm_pb";
|
|
4
6
|
import type { ConnectQueryKey } from "./connect-query-key";
|
|
5
7
|
import type { MethodUnaryDescriptor } from "./method-unary-descriptor";
|
|
6
|
-
import {
|
|
8
|
+
import { type DisableQuery } from "./utils";
|
|
7
9
|
export interface ConnectQueryOptions {
|
|
8
10
|
transport: Transport;
|
|
9
11
|
callOptions?: Omit<CallOptions, "signal"> | undefined;
|
|
10
12
|
}
|
|
11
|
-
export type CreateQueryOptions<I extends Message<I>, O extends Message<O>, SelectOutData = 0 |
|
|
12
|
-
export type CreateSuspenseQueryOptions<I extends Message<I>, O extends Message<O>, SelectOutData = 0> = ConnectQueryOptions & Omit<UseSuspenseQueryOptions<O |
|
|
13
|
+
export type CreateQueryOptions<I extends Message<I>, O extends Message<O>, SelectOutData = 0 | PlainMessage<MtmError>> = ConnectQueryOptions & Omit<UseQueryOptions<O | PlainMessage<MtmError>, ConnectError, SelectOutData, ConnectQueryKey<I>>, "queryFn" | "queryKey">;
|
|
14
|
+
export type CreateSuspenseQueryOptions<I extends Message<I>, O extends Message<O>, SelectOutData = 0> = ConnectQueryOptions & Omit<UseSuspenseQueryOptions<O | PlainMessage<MtmError>, ConnectError, SelectOutData, ConnectQueryKey<I>>, "queryFn" | "queryKey">;
|
|
13
15
|
export declare function createUseQueryOptions<I extends Message<I>, O extends Message<O>>(methodSig: MethodUnaryDescriptor<I, O>, input: DisableQuery | PartialMessage<I> | undefined, { transport, callOptions, }: ConnectQueryOptions & {
|
|
14
16
|
transport: Transport;
|
|
15
17
|
}): {
|
|
16
18
|
queryKey: ConnectQueryKey<I>;
|
|
17
|
-
queryFn: QueryFunction<O |
|
|
19
|
+
queryFn: QueryFunction<O | PlainMessage<MtmError>, ConnectQueryKey<I>>;
|
|
18
20
|
enabled: boolean;
|
|
19
21
|
};
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import type { Message, PartialMessage } from "@bufbuild/protobuf";
|
|
2
2
|
import type { ConnectError, Transport } from "@connectrpc/connect";
|
|
3
3
|
import type { InfiniteData, UseInfiniteQueryResult, UseSuspenseInfiniteQueryResult } from "@tanstack/react-query";
|
|
4
|
+
import { PlainMessage } from "..";
|
|
5
|
+
import { MtmError } from "../gomtmpb/mtm/sppb/mtm_pb";
|
|
4
6
|
import type { CreateInfiniteQueryOptions, CreateSuspenseInfiniteQueryOptions } from "./create-use-infinite-query-options";
|
|
5
7
|
import type { MethodUnaryDescriptor } from "./method-unary-descriptor";
|
|
6
|
-
import type { DisableQuery
|
|
8
|
+
import type { DisableQuery } from "./utils";
|
|
7
9
|
export declare function useInfiniteQuery<I extends Message<I>, O extends Message<O>, ParamKey extends keyof PartialMessage<I>>(methodSig: MethodUnaryDescriptor<I, O>, input: DisableQuery | (PartialMessage<I> & Required<Pick<PartialMessage<I>, ParamKey>>), { transport, callOptions, pageParamKey, getNextPageParam, ...options }: Omit<CreateInfiniteQueryOptions<I, O, ParamKey>, "transport"> & {
|
|
8
10
|
transport?: Transport;
|
|
9
|
-
}): UseInfiniteQueryResult<InfiniteData<O |
|
|
11
|
+
}): UseInfiniteQueryResult<InfiniteData<O | PlainMessage<MtmError>>, ConnectError>;
|
|
10
12
|
export declare function useSuspenseInfiniteQuery<I extends Message<I>, O extends Message<O>, ParamKey extends keyof PartialMessage<I>>(methodSig: MethodUnaryDescriptor<I, O>, input: PartialMessage<I> & Required<Pick<PartialMessage<I>, ParamKey>>, { transport, callOptions, pageParamKey, getNextPageParam, ...options }: Omit<CreateSuspenseInfiniteQueryOptions<I, O, ParamKey>, "transport" | "refetchInterval"> & {
|
|
11
13
|
transport?: Transport;
|
|
12
|
-
}): UseSuspenseInfiniteQueryResult<InfiniteData<O &
|
|
14
|
+
}): UseSuspenseInfiniteQueryResult<InfiniteData<O & PlainMessage<MtmError>>, ConnectError>;
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import type { Message, PartialMessage } from "@bufbuild/protobuf";
|
|
2
2
|
import type { ConnectError, Transport } from "@connectrpc/connect";
|
|
3
3
|
import type { UseQueryResult, UseSuspenseQueryResult } from "@tanstack/react-query";
|
|
4
|
+
import { MtmError } from "../gomtmpb/mtm/sppb/mtm_pb";
|
|
4
5
|
import type { CreateQueryOptions, CreateSuspenseQueryOptions } from "./create-use-query-options";
|
|
5
6
|
import type { MethodUnaryDescriptor } from "./method-unary-descriptor";
|
|
6
|
-
import type { DisableQuery
|
|
7
|
+
import type { DisableQuery } from "./utils";
|
|
8
|
+
import { PlainMessage } from "..";
|
|
7
9
|
export declare function useQuery<I extends Message<I>, O extends Message<O>, SelectOutData = O>(methodSig: MethodUnaryDescriptor<I, O>, input?: DisableQuery | PartialMessage<I>, { transport, callOptions, ...queryOptions }?: Omit<CreateQueryOptions<I, O, SelectOutData>, "transport"> & {
|
|
8
10
|
transport?: Transport;
|
|
9
|
-
}): UseQueryResult<SelectOutData |
|
|
10
|
-
export declare function useSuspenseQuery<I extends Message<I>, O extends Message<O>, SelectOutData = O &
|
|
11
|
+
}): UseQueryResult<SelectOutData | PlainMessage<MtmError>, ConnectError>;
|
|
12
|
+
export declare function useSuspenseQuery<I extends Message<I>, O extends Message<O>, SelectOutData = O & PlainMessage<MtmError>>(methodSig: MethodUnaryDescriptor<I, O>, input?: PartialMessage<I>, { transport, callOptions, ...queryOptions }?: Omit<CreateSuspenseQueryOptions<I, O, SelectOutData>, "transport"> & {
|
|
11
13
|
transport?: Transport;
|
|
12
14
|
}): UseSuspenseQueryResult<SelectOutData, ConnectError>;
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
import type { Message, PartialMessage } from "@bufbuild/protobuf";
|
|
2
2
|
import type { MethodUnaryDescriptor } from "./method-unary-descriptor";
|
|
3
|
-
export interface MtUnaryCallError {
|
|
4
|
-
error_code: string;
|
|
5
|
-
error_message?: string;
|
|
6
|
-
}
|
|
7
3
|
export declare const disableQuery: unique symbol;
|
|
8
4
|
export type DisableQuery = typeof disableQuery;
|
|
9
5
|
export declare function assert(condition: boolean, message: string): asserts condition;
|
|
@@ -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, BlogTag, BlogTagCreateReq, BlogTagGetReq, BlogTagListReply, BlogTagListReq, BlogTagUpdateReq, CommontListReq, CommontListRes, CurdViewCreateReq, CurdViewGetReq, CurdViewGetRes, CurdViewUpdateReq, FormGetReq, FormSchema, GetMetaReq, GetMetaRes, LoginReply, LoginReq, MtmServerListReq, MtmServerListRes, Oauth2LoginHookRequest, PullLogReq, PullLogRes, RegisterReply, RegisterReq, ResDeleteReq, Result, RoleListReply, RoleListReq, ServiceMetaReq, ServiceMetaRes, Site, SiteCreateReq, SiteCreateRes, SiteGetReq, SiteHost, SiteHostCreateReq, SiteHostGetReq, SiteHostListReply, SiteHostListReq, SiteHostUpdateReq, SiteImportReq, SiteSetupCftunnelReply, SiteSetupCftunnelReq, SiteUpdateReq, SlugReq, SlugRes, User, UserCreateReply, UserCreateReq, UserGetReq,
|
|
2
|
+
import { ArtContentClassifyReply, ArtContentClassifyReq, ArtRewriteReply, ArtRewriteReq, AuthToken, BlogCategorie, BlogCategorieCreateReply, BlogCategorieCreateReq, BlogCategorieGetReq, BlogCategorieListReply, BlogCategorieListReq, BlogCategorieUpdateReq, BlogCategorieUpdateReqply, BlogCleanReq, BlogPost, BlogPostCreateReq, BlogPostGetReq, BlogPostImportReq, BlogPostUpdateReq, BlogTag, BlogTagCreateReq, BlogTagGetReq, BlogTagListReply, BlogTagListReq, BlogTagUpdateReq, CommontListReq, CommontListRes, CurdViewCreateReq, CurdViewGetReq, CurdViewGetRes, CurdViewUpdateReq, DemoGetProductionRequest, Empty, FormCreateReq, FormGetReq, FormSchema, GetMetaReq, GetMetaRes, LoginReply, LoginReq, MtmServerListReq, MtmServerListRes, Oauth2LoginHookRequest, PullLogReq, PullLogRes, RegisterReply, RegisterReq, ResDeleteReq, Result, RoleListReply, RoleListReq, ServiceMetaReq, ServiceMetaRes, Site, SiteCreateReq, SiteCreateRes, SiteGetReq, SiteHost, SiteHostCreateReq, SiteHostGetReq, SiteHostListReply, SiteHostListReq, SiteHostUpdateReq, SiteImportReq, SiteSetupCftunnelReply, SiteSetupCftunnelReq, SiteUpdateReq, SlugReq, SlugRes, User, UserCreateReply, UserCreateReq, UserGetReq, UserinfoRes, UserListReply, UserListReq, UserUpdateReq } from "./mtm_pb";
|
|
3
3
|
export declare const oauth2LoginHook: {
|
|
4
4
|
readonly localName: "oauth2LoginHook";
|
|
5
5
|
readonly name: "Oauth2LoginHook";
|
|
@@ -154,7 +154,7 @@ export declare const userinfo: {
|
|
|
154
154
|
readonly localName: "userinfo";
|
|
155
155
|
readonly name: "Userinfo";
|
|
156
156
|
readonly kind: MethodKind.Unary;
|
|
157
|
-
readonly I: typeof
|
|
157
|
+
readonly I: typeof Empty;
|
|
158
158
|
readonly O: typeof UserinfoRes;
|
|
159
159
|
readonly service: {
|
|
160
160
|
readonly typeName: "sppb.MtmService";
|
|
@@ -510,6 +510,16 @@ export declare const formGet: {
|
|
|
510
510
|
readonly typeName: "sppb.MtmService";
|
|
511
511
|
};
|
|
512
512
|
};
|
|
513
|
+
export declare const formCreate: {
|
|
514
|
+
readonly localName: "formCreate";
|
|
515
|
+
readonly name: "FormCreate";
|
|
516
|
+
readonly kind: MethodKind.Unary;
|
|
517
|
+
readonly I: typeof FormCreateReq;
|
|
518
|
+
readonly O: typeof FormSchema;
|
|
519
|
+
readonly service: {
|
|
520
|
+
readonly typeName: "sppb.MtmService";
|
|
521
|
+
};
|
|
522
|
+
};
|
|
513
523
|
export declare const artContentClassify: {
|
|
514
524
|
readonly localName: "artContentClassify";
|
|
515
525
|
readonly name: "ArtContentClassify";
|
|
@@ -530,3 +540,13 @@ export declare const artRewrite: {
|
|
|
530
540
|
readonly typeName: "sppb.MtmService";
|
|
531
541
|
};
|
|
532
542
|
};
|
|
543
|
+
export declare const demoGetProduction: {
|
|
544
|
+
readonly localName: "demoGetProduction";
|
|
545
|
+
readonly name: "DemoGetProduction";
|
|
546
|
+
readonly kind: MethodKind.Unary;
|
|
547
|
+
readonly I: typeof DemoGetProductionRequest;
|
|
548
|
+
readonly O: typeof Empty;
|
|
549
|
+
readonly service: {
|
|
550
|
+
readonly typeName: "sppb.MtmService";
|
|
551
|
+
};
|
|
552
|
+
};
|
|
@@ -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, BlogTag, BlogTagCreateReq, BlogTagGetReq, BlogTagListReply, BlogTagListReq, BlogTagUpdateReq, CommontListReq, CommontListRes, CurdViewCreateReq, CurdViewGetReq, CurdViewGetRes, CurdViewUpdateReq, FormGetReq, FormSchema, GetMetaReq, GetMetaRes, LoginReply, LoginReq, MtmServerListReq, MtmServerListRes, Oauth2LoginHookRequest, PullLogReq, PullLogRes, RegisterReply, RegisterReq, ResDeleteReq, Result, RoleListReply, RoleListReq, ServiceMetaReq, ServiceMetaRes, Site, SiteCreateReq, SiteCreateRes, SiteGetReq, SiteHost, SiteHostCreateReq, SiteHostGetReq, SiteHostListReply, SiteHostListReq, SiteHostUpdateReq, SiteImportReq, SiteSetupCftunnelReply, SiteSetupCftunnelReq, SiteUpdateReq, SlugReq, SlugRes, User, UserCreateReply, UserCreateReq, UserGetReq,
|
|
2
|
+
import { ArtContentClassifyReply, ArtContentClassifyReq, ArtRewriteReply, ArtRewriteReq, AuthToken, BlogCategorie, BlogCategorieCreateReply, BlogCategorieCreateReq, BlogCategorieGetReq, BlogCategorieListReply, BlogCategorieListReq, BlogCategorieUpdateReq, BlogCategorieUpdateReqply, BlogCleanReq, BlogPost, BlogPostCreateReq, BlogPostGetReq, BlogPostImportReq, BlogPostUpdateReq, BlogTag, BlogTagCreateReq, BlogTagGetReq, BlogTagListReply, BlogTagListReq, BlogTagUpdateReq, CommontListReq, CommontListRes, CurdViewCreateReq, CurdViewGetReq, CurdViewGetRes, CurdViewUpdateReq, DemoGetProductionRequest, Empty, FormCreateReq, FormGetReq, FormSchema, GetMetaReq, GetMetaRes, LoginReply, LoginReq, MtmServerListReq, MtmServerListRes, Oauth2LoginHookRequest, PullLogReq, PullLogRes, RegisterReply, RegisterReq, ResDeleteReq, Result, RoleListReply, RoleListReq, ServiceMetaReq, ServiceMetaRes, Site, SiteCreateReq, SiteCreateRes, SiteGetReq, SiteHost, SiteHostCreateReq, SiteHostGetReq, SiteHostListReply, SiteHostListReq, SiteHostUpdateReq, SiteImportReq, SiteSetupCftunnelReply, SiteSetupCftunnelReq, SiteUpdateReq, SlugReq, SlugRes, User, UserCreateReply, UserCreateReq, UserGetReq, UserinfoRes, UserListReply, UserListReq, UserUpdateReq } from "./mtm_pb";
|
|
3
3
|
const oauth2LoginHook = {
|
|
4
4
|
localName: "oauth2LoginHook",
|
|
5
5
|
name: "Oauth2LoginHook",
|
|
@@ -154,7 +154,7 @@ const userinfo = {
|
|
|
154
154
|
localName: "userinfo",
|
|
155
155
|
name: "Userinfo",
|
|
156
156
|
kind: MethodKind.Unary,
|
|
157
|
-
I:
|
|
157
|
+
I: Empty,
|
|
158
158
|
O: UserinfoRes,
|
|
159
159
|
service: {
|
|
160
160
|
typeName: "sppb.MtmService"
|
|
@@ -510,6 +510,16 @@ const formGet = {
|
|
|
510
510
|
typeName: "sppb.MtmService"
|
|
511
511
|
}
|
|
512
512
|
};
|
|
513
|
+
const formCreate = {
|
|
514
|
+
localName: "formCreate",
|
|
515
|
+
name: "FormCreate",
|
|
516
|
+
kind: MethodKind.Unary,
|
|
517
|
+
I: FormCreateReq,
|
|
518
|
+
O: FormSchema,
|
|
519
|
+
service: {
|
|
520
|
+
typeName: "sppb.MtmService"
|
|
521
|
+
}
|
|
522
|
+
};
|
|
513
523
|
const artContentClassify = {
|
|
514
524
|
localName: "artContentClassify",
|
|
515
525
|
name: "ArtContentClassify",
|
|
@@ -530,6 +540,16 @@ const artRewrite = {
|
|
|
530
540
|
typeName: "sppb.MtmService"
|
|
531
541
|
}
|
|
532
542
|
};
|
|
543
|
+
const demoGetProduction = {
|
|
544
|
+
localName: "demoGetProduction",
|
|
545
|
+
name: "DemoGetProduction",
|
|
546
|
+
kind: MethodKind.Unary,
|
|
547
|
+
I: DemoGetProductionRequest,
|
|
548
|
+
O: Empty,
|
|
549
|
+
service: {
|
|
550
|
+
typeName: "sppb.MtmService"
|
|
551
|
+
}
|
|
552
|
+
};
|
|
533
553
|
export {
|
|
534
554
|
artContentClassify,
|
|
535
555
|
artRewrite,
|
|
@@ -554,6 +574,8 @@ export {
|
|
|
554
574
|
curdViewGet,
|
|
555
575
|
curdViewList,
|
|
556
576
|
curdViewUpdate,
|
|
577
|
+
demoGetProduction,
|
|
578
|
+
formCreate,
|
|
557
579
|
formGet,
|
|
558
580
|
formList,
|
|
559
581
|
getMeta,
|
|
@@ -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, BlogTag, BlogTagCreateReq, BlogTagGetReq, BlogTagListReply, BlogTagListReq, BlogTagUpdateReq, CommontListReq, CommontListRes, CurdViewCreateReq, CurdViewGetReq, CurdViewGetRes, CurdViewUpdateReq, FormGetReq, FormSchema, GetMetaReq, GetMetaRes, LoginReply, LoginReq, MtmServerListReq, MtmServerListRes, Oauth2LoginHookRequest, PullLogReq, PullLogRes, RegisterReply, RegisterReq, ResDeleteReq, Result, RoleListReply, RoleListReq, ServiceMetaReq, ServiceMetaRes, Site, SiteCreateReq, SiteCreateRes, SiteGetReq, SiteHost, SiteHostCreateReq, SiteHostGetReq, SiteHostListReply, SiteHostListReq, SiteHostUpdateReq, SiteImportReq, SiteSetupCftunnelReply, SiteSetupCftunnelReq, SiteUpdateReq, SlugReq, SlugRes, User, UserCreateReply, UserCreateReq, UserGetReq,
|
|
1
|
+
import { ArtContentClassifyReply, ArtContentClassifyReq, ArtRewriteReply, ArtRewriteReq, AuthToken, BlogCategorie, BlogCategorieCreateReply, BlogCategorieCreateReq, BlogCategorieGetReq, BlogCategorieListReply, BlogCategorieListReq, BlogCategorieUpdateReq, BlogCategorieUpdateReqply, BlogCleanReq, BlogPost, BlogPostCreateReq, BlogPostGetReq, BlogPostImportReq, BlogPostUpdateReq, BlogTag, BlogTagCreateReq, BlogTagGetReq, BlogTagListReply, BlogTagListReq, BlogTagUpdateReq, CommontListReq, CommontListRes, CurdViewCreateReq, CurdViewGetReq, CurdViewGetRes, CurdViewUpdateReq, DemoGetProductionRequest, Empty, FormCreateReq, FormGetReq, FormSchema, GetMetaReq, GetMetaRes, LoginReply, LoginReq, MtmServerListReq, MtmServerListRes, Oauth2LoginHookRequest, PullLogReq, PullLogRes, RegisterReply, RegisterReq, ResDeleteReq, Result, RoleListReply, RoleListReq, ServiceMetaReq, ServiceMetaRes, Site, SiteCreateReq, SiteCreateRes, SiteGetReq, SiteHost, SiteHostCreateReq, SiteHostGetReq, SiteHostListReply, SiteHostListReq, SiteHostUpdateReq, SiteImportReq, SiteSetupCftunnelReply, SiteSetupCftunnelReq, SiteUpdateReq, SlugReq, SlugRes, User, UserCreateReply, UserCreateReq, UserGetReq, UserinfoRes, UserListReply, UserListReq, UserUpdateReq } from "./mtm_pb";
|
|
2
2
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
3
3
|
export declare const MtmService: {
|
|
4
4
|
readonly typeName: "sppb.MtmService";
|
|
@@ -95,7 +95,7 @@ export declare const MtmService: {
|
|
|
95
95
|
};
|
|
96
96
|
readonly userinfo: {
|
|
97
97
|
readonly name: "Userinfo";
|
|
98
|
-
readonly I: typeof
|
|
98
|
+
readonly I: typeof Empty;
|
|
99
99
|
readonly O: typeof UserinfoRes;
|
|
100
100
|
readonly kind: MethodKind.Unary;
|
|
101
101
|
};
|
|
@@ -309,6 +309,12 @@ export declare const MtmService: {
|
|
|
309
309
|
readonly O: typeof FormSchema;
|
|
310
310
|
readonly kind: MethodKind.Unary;
|
|
311
311
|
};
|
|
312
|
+
readonly formCreate: {
|
|
313
|
+
readonly name: "FormCreate";
|
|
314
|
+
readonly I: typeof FormCreateReq;
|
|
315
|
+
readonly O: typeof FormSchema;
|
|
316
|
+
readonly kind: MethodKind.Unary;
|
|
317
|
+
};
|
|
312
318
|
readonly artContentClassify: {
|
|
313
319
|
readonly name: "ArtContentClassify";
|
|
314
320
|
readonly I: typeof ArtContentClassifyReq;
|
|
@@ -321,5 +327,11 @@ export declare const MtmService: {
|
|
|
321
327
|
readonly O: typeof ArtRewriteReply;
|
|
322
328
|
readonly kind: MethodKind.Unary;
|
|
323
329
|
};
|
|
330
|
+
readonly demoGetProduction: {
|
|
331
|
+
readonly name: "DemoGetProduction";
|
|
332
|
+
readonly I: typeof DemoGetProductionRequest;
|
|
333
|
+
readonly O: typeof Empty;
|
|
334
|
+
readonly kind: MethodKind.Unary;
|
|
335
|
+
};
|
|
324
336
|
};
|
|
325
337
|
};
|
|
@@ -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, BlogTag, BlogTagCreateReq, BlogTagGetReq, BlogTagListReply, BlogTagListReq, BlogTagUpdateReq, CommontListReq, CommontListRes, CurdViewCreateReq, CurdViewGetReq, CurdViewGetRes, CurdViewUpdateReq, FormGetReq, FormSchema, GetMetaReq, GetMetaRes, LoginReply, LoginReq, MtmServerListReq, MtmServerListRes, Oauth2LoginHookRequest, PullLogReq, PullLogRes, RegisterReply, RegisterReq, ResDeleteReq, Result, RoleListReply, RoleListReq, ServiceMetaReq, ServiceMetaRes, Site, SiteCreateReq, SiteCreateRes, SiteGetReq, SiteHost, SiteHostCreateReq, SiteHostGetReq, SiteHostListReply, SiteHostListReq, SiteHostUpdateReq, SiteImportReq, SiteSetupCftunnelReply, SiteSetupCftunnelReq, SiteUpdateReq, SlugReq, SlugRes, User, UserCreateReply, UserCreateReq, UserGetReq,
|
|
1
|
+
import { ArtContentClassifyReply, ArtContentClassifyReq, ArtRewriteReply, ArtRewriteReq, AuthToken, BlogCategorie, BlogCategorieCreateReply, BlogCategorieCreateReq, BlogCategorieGetReq, BlogCategorieListReply, BlogCategorieListReq, BlogCategorieUpdateReq, BlogCategorieUpdateReqply, BlogCleanReq, BlogPost, BlogPostCreateReq, BlogPostGetReq, BlogPostImportReq, BlogPostUpdateReq, BlogTag, BlogTagCreateReq, BlogTagGetReq, BlogTagListReply, BlogTagListReq, BlogTagUpdateReq, CommontListReq, CommontListRes, CurdViewCreateReq, CurdViewGetReq, CurdViewGetRes, CurdViewUpdateReq, DemoGetProductionRequest, Empty, FormCreateReq, FormGetReq, FormSchema, GetMetaReq, GetMetaRes, LoginReply, LoginReq, MtmServerListReq, MtmServerListRes, Oauth2LoginHookRequest, PullLogReq, PullLogRes, RegisterReply, RegisterReq, ResDeleteReq, Result, RoleListReply, RoleListReq, ServiceMetaReq, ServiceMetaRes, Site, SiteCreateReq, SiteCreateRes, SiteGetReq, SiteHost, SiteHostCreateReq, SiteHostGetReq, SiteHostListReply, SiteHostListReq, SiteHostUpdateReq, SiteImportReq, SiteSetupCftunnelReply, SiteSetupCftunnelReq, SiteUpdateReq, SlugReq, SlugRes, User, UserCreateReply, UserCreateReq, UserGetReq, UserinfoRes, UserListReply, UserListReq, UserUpdateReq } from "./mtm_pb";
|
|
2
2
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
3
3
|
const MtmService = {
|
|
4
4
|
typeName: "sppb.MtmService",
|
|
@@ -157,7 +157,7 @@ const MtmService = {
|
|
|
157
157
|
*/
|
|
158
158
|
userinfo: {
|
|
159
159
|
name: "Userinfo",
|
|
160
|
-
I:
|
|
160
|
+
I: Empty,
|
|
161
161
|
O: UserinfoRes,
|
|
162
162
|
kind: MethodKind.Unary
|
|
163
163
|
},
|
|
@@ -492,6 +492,15 @@ const MtmService = {
|
|
|
492
492
|
O: FormSchema,
|
|
493
493
|
kind: MethodKind.Unary
|
|
494
494
|
},
|
|
495
|
+
/**
|
|
496
|
+
* @generated from rpc sppb.MtmService.FormCreate
|
|
497
|
+
*/
|
|
498
|
+
formCreate: {
|
|
499
|
+
name: "FormCreate",
|
|
500
|
+
I: FormCreateReq,
|
|
501
|
+
O: FormSchema,
|
|
502
|
+
kind: MethodKind.Unary
|
|
503
|
+
},
|
|
495
504
|
/**
|
|
496
505
|
* 文本内容分类(过时,因为文章分类不会直接调用)
|
|
497
506
|
*
|
|
@@ -513,6 +522,17 @@ const MtmService = {
|
|
|
513
522
|
I: ArtRewriteReq,
|
|
514
523
|
O: ArtRewriteReply,
|
|
515
524
|
kind: MethodKind.Unary
|
|
525
|
+
},
|
|
526
|
+
/**
|
|
527
|
+
* 临时范例
|
|
528
|
+
*
|
|
529
|
+
* @generated from rpc sppb.MtmService.DemoGetProduction
|
|
530
|
+
*/
|
|
531
|
+
demoGetProduction: {
|
|
532
|
+
name: "DemoGetProduction",
|
|
533
|
+
I: DemoGetProductionRequest,
|
|
534
|
+
O: Empty,
|
|
535
|
+
kind: MethodKind.Unary
|
|
516
536
|
}
|
|
517
537
|
}
|
|
518
538
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
|
|
2
|
-
import { Any, FieldOptions, Message, MessageOptions, MethodOptions, proto3 } from "@bufbuild/protobuf";
|
|
2
|
+
import { Any, FieldMask, FieldOptions, Message, MessageOptions, MethodOptions, proto3 } from "@bufbuild/protobuf";
|
|
3
3
|
export declare enum ErrorReason {
|
|
4
4
|
GREETER_UNSPECIFIED = 0,
|
|
5
5
|
USER_NOT_FOUND = 1
|
|
@@ -102,20 +102,20 @@ export declare class LoginReq extends Message<LoginReq> {
|
|
|
102
102
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): LoginReq;
|
|
103
103
|
static equals(a: LoginReq | PlainMessage<LoginReq> | undefined, b: LoginReq | PlainMessage<LoginReq> | undefined): boolean;
|
|
104
104
|
}
|
|
105
|
-
export declare class
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
constructor(data?: PartialMessage<
|
|
105
|
+
export declare class MtmError extends Message<MtmError> {
|
|
106
|
+
errCode: string;
|
|
107
|
+
errMessage: string;
|
|
108
|
+
constructor(data?: PartialMessage<MtmError>);
|
|
109
109
|
static readonly runtime: typeof proto3;
|
|
110
|
-
static readonly typeName = "sppb.
|
|
110
|
+
static readonly typeName = "sppb.MtmError";
|
|
111
111
|
static readonly fields: FieldList;
|
|
112
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
113
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
114
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
115
|
-
static equals(a:
|
|
112
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MtmError;
|
|
113
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MtmError;
|
|
114
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MtmError;
|
|
115
|
+
static equals(a: MtmError | PlainMessage<MtmError> | undefined, b: MtmError | PlainMessage<MtmError> | undefined): boolean;
|
|
116
116
|
}
|
|
117
117
|
export declare class LoginReply extends Message<LoginReply> {
|
|
118
|
-
error?:
|
|
118
|
+
error?: MtmError;
|
|
119
119
|
accessToken: string;
|
|
120
120
|
constructor(data?: PartialMessage<LoginReply>);
|
|
121
121
|
static readonly runtime: typeof proto3;
|
|
@@ -126,17 +126,6 @@ export declare class LoginReply extends Message<LoginReply> {
|
|
|
126
126
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): LoginReply;
|
|
127
127
|
static equals(a: LoginReply | PlainMessage<LoginReply> | undefined, b: LoginReply | PlainMessage<LoginReply> | undefined): boolean;
|
|
128
128
|
}
|
|
129
|
-
export declare class MeReq extends Message<MeReq> {
|
|
130
|
-
token: string;
|
|
131
|
-
constructor(data?: PartialMessage<MeReq>);
|
|
132
|
-
static readonly runtime: typeof proto3;
|
|
133
|
-
static readonly typeName = "sppb.MeReq";
|
|
134
|
-
static readonly fields: FieldList;
|
|
135
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MeReq;
|
|
136
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MeReq;
|
|
137
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MeReq;
|
|
138
|
-
static equals(a: MeReq | PlainMessage<MeReq> | undefined, b: MeReq | PlainMessage<MeReq> | undefined): boolean;
|
|
139
|
-
}
|
|
140
129
|
export declare class User extends Message<User> {
|
|
141
130
|
id: number;
|
|
142
131
|
email: string;
|
|
@@ -943,16 +932,6 @@ export declare class UserNavItem extends Message<UserNavItem> {
|
|
|
943
932
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UserNavItem;
|
|
944
933
|
static equals(a: UserNavItem | PlainMessage<UserNavItem> | undefined, b: UserNavItem | PlainMessage<UserNavItem> | undefined): boolean;
|
|
945
934
|
}
|
|
946
|
-
export declare class UserinfoReq extends Message<UserinfoReq> {
|
|
947
|
-
constructor(data?: PartialMessage<UserinfoReq>);
|
|
948
|
-
static readonly runtime: typeof proto3;
|
|
949
|
-
static readonly typeName = "sppb.UserinfoReq";
|
|
950
|
-
static readonly fields: FieldList;
|
|
951
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UserinfoReq;
|
|
952
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UserinfoReq;
|
|
953
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UserinfoReq;
|
|
954
|
-
static equals(a: UserinfoReq | PlainMessage<UserinfoReq> | undefined, b: UserinfoReq | PlainMessage<UserinfoReq> | undefined): boolean;
|
|
955
|
-
}
|
|
956
935
|
export declare class UserinfoRes extends Message<UserinfoRes> {
|
|
957
936
|
userInfo?: UserInfo;
|
|
958
937
|
navs: UserNavItem[];
|
|
@@ -1185,43 +1164,6 @@ export declare class BlogTagUpdateReq extends Message<BlogTagUpdateReq> {
|
|
|
1185
1164
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): BlogTagUpdateReq;
|
|
1186
1165
|
static equals(a: BlogTagUpdateReq | PlainMessage<BlogTagUpdateReq> | undefined, b: BlogTagUpdateReq | PlainMessage<BlogTagUpdateReq> | undefined): boolean;
|
|
1187
1166
|
}
|
|
1188
|
-
export declare class BlogHostGetReq extends Message<BlogHostGetReq> {
|
|
1189
|
-
id: number;
|
|
1190
|
-
constructor(data?: PartialMessage<BlogHostGetReq>);
|
|
1191
|
-
static readonly runtime: typeof proto3;
|
|
1192
|
-
static readonly typeName = "sppb.BlogHostGetReq";
|
|
1193
|
-
static readonly fields: FieldList;
|
|
1194
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): BlogHostGetReq;
|
|
1195
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): BlogHostGetReq;
|
|
1196
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): BlogHostGetReq;
|
|
1197
|
-
static equals(a: BlogHostGetReq | PlainMessage<BlogHostGetReq> | undefined, b: BlogHostGetReq | PlainMessage<BlogHostGetReq> | undefined): boolean;
|
|
1198
|
-
}
|
|
1199
|
-
export declare class BlogHostCreateReq extends Message<BlogHostCreateReq> {
|
|
1200
|
-
id: number;
|
|
1201
|
-
host: string;
|
|
1202
|
-
siteId: number;
|
|
1203
|
-
constructor(data?: PartialMessage<BlogHostCreateReq>);
|
|
1204
|
-
static readonly runtime: typeof proto3;
|
|
1205
|
-
static readonly typeName = "sppb.BlogHostCreateReq";
|
|
1206
|
-
static readonly fields: FieldList;
|
|
1207
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): BlogHostCreateReq;
|
|
1208
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): BlogHostCreateReq;
|
|
1209
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): BlogHostCreateReq;
|
|
1210
|
-
static equals(a: BlogHostCreateReq | PlainMessage<BlogHostCreateReq> | undefined, b: BlogHostCreateReq | PlainMessage<BlogHostCreateReq> | undefined): boolean;
|
|
1211
|
-
}
|
|
1212
|
-
export declare class BlogHostUpdateReq extends Message<BlogHostUpdateReq> {
|
|
1213
|
-
id: number;
|
|
1214
|
-
title: string;
|
|
1215
|
-
siteId: number;
|
|
1216
|
-
constructor(data?: PartialMessage<BlogHostUpdateReq>);
|
|
1217
|
-
static readonly runtime: typeof proto3;
|
|
1218
|
-
static readonly typeName = "sppb.BlogHostUpdateReq";
|
|
1219
|
-
static readonly fields: FieldList;
|
|
1220
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): BlogHostUpdateReq;
|
|
1221
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): BlogHostUpdateReq;
|
|
1222
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): BlogHostUpdateReq;
|
|
1223
|
-
static equals(a: BlogHostUpdateReq | PlainMessage<BlogHostUpdateReq> | undefined, b: BlogHostUpdateReq | PlainMessage<BlogHostUpdateReq> | undefined): boolean;
|
|
1224
|
-
}
|
|
1225
1167
|
export declare class BlogPostMeta extends Message<BlogPostMeta> {
|
|
1226
1168
|
blogPostId: number;
|
|
1227
1169
|
name: string;
|
|
@@ -1872,6 +1814,29 @@ export declare class FormGetReq extends Message<FormGetReq> {
|
|
|
1872
1814
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FormGetReq;
|
|
1873
1815
|
static equals(a: FormGetReq | PlainMessage<FormGetReq> | undefined, b: FormGetReq | PlainMessage<FormGetReq> | undefined): boolean;
|
|
1874
1816
|
}
|
|
1817
|
+
export declare class DemoGetProductionRequest extends Message<DemoGetProductionRequest> {
|
|
1818
|
+
productionId: string;
|
|
1819
|
+
fieldMask?: FieldMask;
|
|
1820
|
+
constructor(data?: PartialMessage<DemoGetProductionRequest>);
|
|
1821
|
+
static readonly runtime: typeof proto3;
|
|
1822
|
+
static readonly typeName = "sppb.DemoGetProductionRequest";
|
|
1823
|
+
static readonly fields: FieldList;
|
|
1824
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DemoGetProductionRequest;
|
|
1825
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DemoGetProductionRequest;
|
|
1826
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DemoGetProductionRequest;
|
|
1827
|
+
static equals(a: DemoGetProductionRequest | PlainMessage<DemoGetProductionRequest> | undefined, b: DemoGetProductionRequest | PlainMessage<DemoGetProductionRequest> | undefined): boolean;
|
|
1828
|
+
}
|
|
1829
|
+
export declare class FormCreateReq extends Message<FormCreateReq> {
|
|
1830
|
+
input?: FormSchema;
|
|
1831
|
+
constructor(data?: PartialMessage<FormCreateReq>);
|
|
1832
|
+
static readonly runtime: typeof proto3;
|
|
1833
|
+
static readonly typeName = "sppb.FormCreateReq";
|
|
1834
|
+
static readonly fields: FieldList;
|
|
1835
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FormCreateReq;
|
|
1836
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FormCreateReq;
|
|
1837
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FormCreateReq;
|
|
1838
|
+
static equals(a: FormCreateReq | PlainMessage<FormCreateReq> | undefined, b: FormCreateReq | PlainMessage<FormCreateReq> | undefined): boolean;
|
|
1839
|
+
}
|
|
1875
1840
|
export declare const slugs: import("@bufbuild/protobuf").Extension<FieldOptions, string>;
|
|
1876
1841
|
export declare const is_title: import("@bufbuild/protobuf").Extension<FieldOptions, boolean>;
|
|
1877
1842
|
export declare const is_sub_title: import("@bufbuild/protobuf").Extension<FieldOptions, boolean>;
|