bantr-api-client 1.0.1 → 1.0.3
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.
@@ -0,0 +1,179 @@
|
|
1
|
+
import Koa from 'koa';
|
2
|
+
export declare const oauthRouter: import("@trpc/server").CreateRouterInner<import("@trpc/server").RootConfig<{
|
3
|
+
ctx: import("trpc-koa-adapter").CreateTrpcKoaContextOptions;
|
4
|
+
meta: object;
|
5
|
+
errorShape: import("@trpc/server").DefaultErrorShape;
|
6
|
+
transformer: import("@trpc/server").DefaultDataTransformer;
|
7
|
+
}>, {
|
8
|
+
googleAuth: import("@trpc/server").BuildProcedure<"mutation", {
|
9
|
+
_config: import("@trpc/server").RootConfig<{
|
10
|
+
ctx: import("trpc-koa-adapter").CreateTrpcKoaContextOptions;
|
11
|
+
meta: object;
|
12
|
+
errorShape: import("@trpc/server").DefaultErrorShape;
|
13
|
+
transformer: import("@trpc/server").DefaultDataTransformer;
|
14
|
+
}>;
|
15
|
+
_ctx_out: import("trpc-koa-adapter").CreateTrpcKoaContextOptions;
|
16
|
+
_input_in: typeof import("@trpc/server").unsetMarker;
|
17
|
+
_input_out: typeof import("@trpc/server").unsetMarker;
|
18
|
+
_output_in: typeof import("@trpc/server").unsetMarker;
|
19
|
+
_output_out: typeof import("@trpc/server").unsetMarker;
|
20
|
+
_meta: object;
|
21
|
+
}, string>;
|
22
|
+
googleCallback: import("@trpc/server").BuildProcedure<"query", {
|
23
|
+
_config: import("@trpc/server").RootConfig<{
|
24
|
+
ctx: import("trpc-koa-adapter").CreateTrpcKoaContextOptions;
|
25
|
+
meta: object;
|
26
|
+
errorShape: import("@trpc/server").DefaultErrorShape;
|
27
|
+
transformer: import("@trpc/server").DefaultDataTransformer;
|
28
|
+
}>;
|
29
|
+
_ctx_out: import("trpc-koa-adapter").CreateTrpcKoaContextOptions;
|
30
|
+
_input_in: typeof import("@trpc/server").unsetMarker;
|
31
|
+
_input_out: typeof import("@trpc/server").unsetMarker;
|
32
|
+
_output_in: typeof import("@trpc/server").unsetMarker;
|
33
|
+
_output_out: typeof import("@trpc/server").unsetMarker;
|
34
|
+
_meta: object;
|
35
|
+
}, void>;
|
36
|
+
googleMobileCallback: import("@trpc/server").BuildProcedure<"mutation", {
|
37
|
+
_config: import("@trpc/server").RootConfig<{
|
38
|
+
ctx: import("trpc-koa-adapter").CreateTrpcKoaContextOptions;
|
39
|
+
meta: object;
|
40
|
+
errorShape: import("@trpc/server").DefaultErrorShape;
|
41
|
+
transformer: import("@trpc/server").DefaultDataTransformer;
|
42
|
+
}>;
|
43
|
+
_meta: object;
|
44
|
+
_ctx_out: import("trpc-koa-adapter").CreateTrpcKoaContextOptions;
|
45
|
+
_input_in: {
|
46
|
+
code: string;
|
47
|
+
idToken?: string | undefined;
|
48
|
+
};
|
49
|
+
_input_out: {
|
50
|
+
code: string;
|
51
|
+
idToken?: string | undefined;
|
52
|
+
};
|
53
|
+
_output_in: typeof import("@trpc/server").unsetMarker;
|
54
|
+
_output_out: typeof import("@trpc/server").unsetMarker;
|
55
|
+
}, {
|
56
|
+
accessToken: string;
|
57
|
+
refreshToken: string;
|
58
|
+
accountStatus: string;
|
59
|
+
redirectTeamId?: number | null | undefined;
|
60
|
+
authSchemas: import("../types/member").TAuthSchemas;
|
61
|
+
memberId: number;
|
62
|
+
bio: string | null;
|
63
|
+
city?: string | undefined;
|
64
|
+
street?: string | undefined;
|
65
|
+
state?: string | undefined;
|
66
|
+
avatar: string | null;
|
67
|
+
teams: import("../models/team").Team[];
|
68
|
+
favoriteTeam: number | null | undefined;
|
69
|
+
zip: string | undefined;
|
70
|
+
phoneNumber: string | null;
|
71
|
+
gender?: string | undefined;
|
72
|
+
birthday: string | null;
|
73
|
+
location: string | null;
|
74
|
+
email: string;
|
75
|
+
firstName: string | null;
|
76
|
+
lastName: string | null;
|
77
|
+
}>;
|
78
|
+
facebookAuth: import("@trpc/server").BuildProcedure<"mutation", {
|
79
|
+
_config: import("@trpc/server").RootConfig<{
|
80
|
+
ctx: import("trpc-koa-adapter").CreateTrpcKoaContextOptions;
|
81
|
+
meta: object;
|
82
|
+
errorShape: import("@trpc/server").DefaultErrorShape;
|
83
|
+
transformer: import("@trpc/server").DefaultDataTransformer;
|
84
|
+
}>;
|
85
|
+
_ctx_out: import("trpc-koa-adapter").CreateTrpcKoaContextOptions;
|
86
|
+
_input_in: typeof import("@trpc/server").unsetMarker;
|
87
|
+
_input_out: typeof import("@trpc/server").unsetMarker;
|
88
|
+
_output_in: typeof import("@trpc/server").unsetMarker;
|
89
|
+
_output_out: typeof import("@trpc/server").unsetMarker;
|
90
|
+
_meta: object;
|
91
|
+
}, string>;
|
92
|
+
facebookCallback: import("@trpc/server").BuildProcedure<"query", {
|
93
|
+
_config: import("@trpc/server").RootConfig<{
|
94
|
+
ctx: import("trpc-koa-adapter").CreateTrpcKoaContextOptions;
|
95
|
+
meta: object;
|
96
|
+
errorShape: import("@trpc/server").DefaultErrorShape;
|
97
|
+
transformer: import("@trpc/server").DefaultDataTransformer;
|
98
|
+
}>;
|
99
|
+
_ctx_out: import("trpc-koa-adapter").CreateTrpcKoaContextOptions;
|
100
|
+
_input_in: typeof import("@trpc/server").unsetMarker;
|
101
|
+
_input_out: typeof import("@trpc/server").unsetMarker;
|
102
|
+
_output_in: typeof import("@trpc/server").unsetMarker;
|
103
|
+
_output_out: typeof import("@trpc/server").unsetMarker;
|
104
|
+
_meta: object;
|
105
|
+
}, void>;
|
106
|
+
appleAuth: import("@trpc/server").BuildProcedure<"mutation", {
|
107
|
+
_config: import("@trpc/server").RootConfig<{
|
108
|
+
ctx: import("trpc-koa-adapter").CreateTrpcKoaContextOptions;
|
109
|
+
meta: object;
|
110
|
+
errorShape: import("@trpc/server").DefaultErrorShape;
|
111
|
+
transformer: import("@trpc/server").DefaultDataTransformer;
|
112
|
+
}>;
|
113
|
+
_ctx_out: import("trpc-koa-adapter").CreateTrpcKoaContextOptions;
|
114
|
+
_input_in: typeof import("@trpc/server").unsetMarker;
|
115
|
+
_input_out: typeof import("@trpc/server").unsetMarker;
|
116
|
+
_output_in: typeof import("@trpc/server").unsetMarker;
|
117
|
+
_output_out: typeof import("@trpc/server").unsetMarker;
|
118
|
+
_meta: object;
|
119
|
+
}, string>;
|
120
|
+
appleCallback: import("@trpc/server").BuildProcedure<"mutation", {
|
121
|
+
_config: import("@trpc/server").RootConfig<{
|
122
|
+
ctx: import("trpc-koa-adapter").CreateTrpcKoaContextOptions;
|
123
|
+
meta: object;
|
124
|
+
errorShape: import("@trpc/server").DefaultErrorShape;
|
125
|
+
transformer: import("@trpc/server").DefaultDataTransformer;
|
126
|
+
}>;
|
127
|
+
_meta: object;
|
128
|
+
_ctx_out: import("trpc-koa-adapter").CreateTrpcKoaContextOptions;
|
129
|
+
_input_in: {
|
130
|
+
code: string;
|
131
|
+
};
|
132
|
+
_input_out: {
|
133
|
+
code: string;
|
134
|
+
};
|
135
|
+
_output_in: typeof import("@trpc/server").unsetMarker;
|
136
|
+
_output_out: typeof import("@trpc/server").unsetMarker;
|
137
|
+
}, void>;
|
138
|
+
appleMobileCallback: import("@trpc/server").BuildProcedure<"mutation", {
|
139
|
+
_config: import("@trpc/server").RootConfig<{
|
140
|
+
ctx: import("trpc-koa-adapter").CreateTrpcKoaContextOptions;
|
141
|
+
meta: object;
|
142
|
+
errorShape: import("@trpc/server").DefaultErrorShape;
|
143
|
+
transformer: import("@trpc/server").DefaultDataTransformer;
|
144
|
+
}>;
|
145
|
+
_meta: object;
|
146
|
+
_ctx_out: import("trpc-koa-adapter").CreateTrpcKoaContextOptions;
|
147
|
+
_input_in: {
|
148
|
+
idToken: string;
|
149
|
+
};
|
150
|
+
_input_out: {
|
151
|
+
idToken: string;
|
152
|
+
};
|
153
|
+
_output_in: typeof import("@trpc/server").unsetMarker;
|
154
|
+
_output_out: typeof import("@trpc/server").unsetMarker;
|
155
|
+
}, {
|
156
|
+
accessToken: string;
|
157
|
+
refreshToken: string;
|
158
|
+
accountStatus: string;
|
159
|
+
redirectTeamId?: number | null | undefined;
|
160
|
+
authSchemas: import("../types/member").TAuthSchemas;
|
161
|
+
memberId: number;
|
162
|
+
bio: string | null;
|
163
|
+
city?: string | undefined;
|
164
|
+
street?: string | undefined;
|
165
|
+
state?: string | undefined;
|
166
|
+
avatar: string | null;
|
167
|
+
teams: import("../models/team").Team[];
|
168
|
+
favoriteTeam: number | null | undefined;
|
169
|
+
zip: string | undefined;
|
170
|
+
phoneNumber: string | null;
|
171
|
+
gender?: string | undefined;
|
172
|
+
birthday: string | null;
|
173
|
+
location: string | null;
|
174
|
+
email: string;
|
175
|
+
firstName: string | null;
|
176
|
+
lastName: string | null;
|
177
|
+
}>;
|
178
|
+
}>;
|
179
|
+
export declare const appleCallback: (ctx: Koa.Context) => Promise<void>;
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1,373 @@
|
|
1
|
+
export declare const appRouter: import("@trpc/server").CreateRouterInner<import("@trpc/server").RootConfig<{
|
2
|
+
ctx: import("trpc-koa-adapter").CreateTrpcKoaContextOptions;
|
3
|
+
meta: object;
|
4
|
+
errorShape: import("@trpc/server").DefaultErrorShape;
|
5
|
+
transformer: import("@trpc/server").DefaultDataTransformer;
|
6
|
+
}>, {
|
7
|
+
oauth: import("@trpc/server").CreateRouterInner<import("@trpc/server").RootConfig<{
|
8
|
+
ctx: import("trpc-koa-adapter").CreateTrpcKoaContextOptions;
|
9
|
+
meta: object;
|
10
|
+
errorShape: import("@trpc/server").DefaultErrorShape;
|
11
|
+
transformer: import("@trpc/server").DefaultDataTransformer;
|
12
|
+
}>, {
|
13
|
+
googleAuth: import("@trpc/server").BuildProcedure<"mutation", {
|
14
|
+
_config: import("@trpc/server").RootConfig<{
|
15
|
+
ctx: import("trpc-koa-adapter").CreateTrpcKoaContextOptions;
|
16
|
+
meta: object;
|
17
|
+
errorShape: import("@trpc/server").DefaultErrorShape;
|
18
|
+
transformer: import("@trpc/server").DefaultDataTransformer;
|
19
|
+
}>;
|
20
|
+
_ctx_out: import("trpc-koa-adapter").CreateTrpcKoaContextOptions;
|
21
|
+
_input_in: typeof import("@trpc/server").unsetMarker;
|
22
|
+
_input_out: typeof import("@trpc/server").unsetMarker;
|
23
|
+
_output_in: typeof import("@trpc/server").unsetMarker;
|
24
|
+
_output_out: typeof import("@trpc/server").unsetMarker;
|
25
|
+
_meta: object;
|
26
|
+
}, string>;
|
27
|
+
googleCallback: import("@trpc/server").BuildProcedure<"query", {
|
28
|
+
_config: import("@trpc/server").RootConfig<{
|
29
|
+
ctx: import("trpc-koa-adapter").CreateTrpcKoaContextOptions;
|
30
|
+
meta: object;
|
31
|
+
errorShape: import("@trpc/server").DefaultErrorShape;
|
32
|
+
transformer: import("@trpc/server").DefaultDataTransformer;
|
33
|
+
}>;
|
34
|
+
_ctx_out: import("trpc-koa-adapter").CreateTrpcKoaContextOptions;
|
35
|
+
_input_in: typeof import("@trpc/server").unsetMarker;
|
36
|
+
_input_out: typeof import("@trpc/server").unsetMarker;
|
37
|
+
_output_in: typeof import("@trpc/server").unsetMarker;
|
38
|
+
_output_out: typeof import("@trpc/server").unsetMarker;
|
39
|
+
_meta: object;
|
40
|
+
}, void>;
|
41
|
+
googleMobileCallback: import("@trpc/server").BuildProcedure<"mutation", {
|
42
|
+
_config: import("@trpc/server").RootConfig<{
|
43
|
+
ctx: import("trpc-koa-adapter").CreateTrpcKoaContextOptions;
|
44
|
+
meta: object;
|
45
|
+
errorShape: import("@trpc/server").DefaultErrorShape;
|
46
|
+
transformer: import("@trpc/server").DefaultDataTransformer;
|
47
|
+
}>;
|
48
|
+
_meta: object;
|
49
|
+
_ctx_out: import("trpc-koa-adapter").CreateTrpcKoaContextOptions;
|
50
|
+
_input_in: {
|
51
|
+
code: string;
|
52
|
+
idToken?: string | undefined;
|
53
|
+
};
|
54
|
+
_input_out: {
|
55
|
+
code: string;
|
56
|
+
idToken?: string | undefined;
|
57
|
+
};
|
58
|
+
_output_in: typeof import("@trpc/server").unsetMarker;
|
59
|
+
_output_out: typeof import("@trpc/server").unsetMarker;
|
60
|
+
}, {
|
61
|
+
accessToken: string;
|
62
|
+
refreshToken: string;
|
63
|
+
accountStatus: string;
|
64
|
+
redirectTeamId?: number | null | undefined;
|
65
|
+
authSchemas: import("../types/member").TAuthSchemas;
|
66
|
+
memberId: number;
|
67
|
+
bio: string | null;
|
68
|
+
city?: string | undefined;
|
69
|
+
street?: string | undefined;
|
70
|
+
state?: string | undefined;
|
71
|
+
avatar: string | null;
|
72
|
+
teams: import("../models/team").Team[];
|
73
|
+
favoriteTeam: number | null | undefined;
|
74
|
+
zip: string | undefined;
|
75
|
+
phoneNumber: string | null;
|
76
|
+
gender?: string | undefined;
|
77
|
+
birthday: string | null;
|
78
|
+
location: string | null;
|
79
|
+
email: string;
|
80
|
+
firstName: string | null;
|
81
|
+
lastName: string | null;
|
82
|
+
}>;
|
83
|
+
facebookAuth: import("@trpc/server").BuildProcedure<"mutation", {
|
84
|
+
_config: import("@trpc/server").RootConfig<{
|
85
|
+
ctx: import("trpc-koa-adapter").CreateTrpcKoaContextOptions;
|
86
|
+
meta: object;
|
87
|
+
errorShape: import("@trpc/server").DefaultErrorShape;
|
88
|
+
transformer: import("@trpc/server").DefaultDataTransformer;
|
89
|
+
}>;
|
90
|
+
_ctx_out: import("trpc-koa-adapter").CreateTrpcKoaContextOptions;
|
91
|
+
_input_in: typeof import("@trpc/server").unsetMarker;
|
92
|
+
_input_out: typeof import("@trpc/server").unsetMarker;
|
93
|
+
_output_in: typeof import("@trpc/server").unsetMarker;
|
94
|
+
_output_out: typeof import("@trpc/server").unsetMarker;
|
95
|
+
_meta: object;
|
96
|
+
}, string>;
|
97
|
+
facebookCallback: import("@trpc/server").BuildProcedure<"query", {
|
98
|
+
_config: import("@trpc/server").RootConfig<{
|
99
|
+
ctx: import("trpc-koa-adapter").CreateTrpcKoaContextOptions;
|
100
|
+
meta: object;
|
101
|
+
errorShape: import("@trpc/server").DefaultErrorShape;
|
102
|
+
transformer: import("@trpc/server").DefaultDataTransformer;
|
103
|
+
}>;
|
104
|
+
_ctx_out: import("trpc-koa-adapter").CreateTrpcKoaContextOptions;
|
105
|
+
_input_in: typeof import("@trpc/server").unsetMarker;
|
106
|
+
_input_out: typeof import("@trpc/server").unsetMarker;
|
107
|
+
_output_in: typeof import("@trpc/server").unsetMarker;
|
108
|
+
_output_out: typeof import("@trpc/server").unsetMarker;
|
109
|
+
_meta: object;
|
110
|
+
}, void>;
|
111
|
+
appleAuth: import("@trpc/server").BuildProcedure<"mutation", {
|
112
|
+
_config: import("@trpc/server").RootConfig<{
|
113
|
+
ctx: import("trpc-koa-adapter").CreateTrpcKoaContextOptions;
|
114
|
+
meta: object;
|
115
|
+
errorShape: import("@trpc/server").DefaultErrorShape;
|
116
|
+
transformer: import("@trpc/server").DefaultDataTransformer;
|
117
|
+
}>;
|
118
|
+
_ctx_out: import("trpc-koa-adapter").CreateTrpcKoaContextOptions;
|
119
|
+
_input_in: typeof import("@trpc/server").unsetMarker;
|
120
|
+
_input_out: typeof import("@trpc/server").unsetMarker;
|
121
|
+
_output_in: typeof import("@trpc/server").unsetMarker;
|
122
|
+
_output_out: typeof import("@trpc/server").unsetMarker;
|
123
|
+
_meta: object;
|
124
|
+
}, string>;
|
125
|
+
appleCallback: import("@trpc/server").BuildProcedure<"mutation", {
|
126
|
+
_config: import("@trpc/server").RootConfig<{
|
127
|
+
ctx: import("trpc-koa-adapter").CreateTrpcKoaContextOptions;
|
128
|
+
meta: object;
|
129
|
+
errorShape: import("@trpc/server").DefaultErrorShape;
|
130
|
+
transformer: import("@trpc/server").DefaultDataTransformer;
|
131
|
+
}>;
|
132
|
+
_meta: object;
|
133
|
+
_ctx_out: import("trpc-koa-adapter").CreateTrpcKoaContextOptions;
|
134
|
+
_input_in: {
|
135
|
+
code: string;
|
136
|
+
};
|
137
|
+
_input_out: {
|
138
|
+
code: string;
|
139
|
+
};
|
140
|
+
_output_in: typeof import("@trpc/server").unsetMarker;
|
141
|
+
_output_out: typeof import("@trpc/server").unsetMarker;
|
142
|
+
}, void>;
|
143
|
+
appleMobileCallback: import("@trpc/server").BuildProcedure<"mutation", {
|
144
|
+
_config: import("@trpc/server").RootConfig<{
|
145
|
+
ctx: import("trpc-koa-adapter").CreateTrpcKoaContextOptions;
|
146
|
+
meta: object;
|
147
|
+
errorShape: import("@trpc/server").DefaultErrorShape;
|
148
|
+
transformer: import("@trpc/server").DefaultDataTransformer;
|
149
|
+
}>;
|
150
|
+
_meta: object;
|
151
|
+
_ctx_out: import("trpc-koa-adapter").CreateTrpcKoaContextOptions;
|
152
|
+
_input_in: {
|
153
|
+
idToken: string;
|
154
|
+
};
|
155
|
+
_input_out: {
|
156
|
+
idToken: string;
|
157
|
+
};
|
158
|
+
_output_in: typeof import("@trpc/server").unsetMarker;
|
159
|
+
_output_out: typeof import("@trpc/server").unsetMarker;
|
160
|
+
}, {
|
161
|
+
accessToken: string;
|
162
|
+
refreshToken: string;
|
163
|
+
accountStatus: string;
|
164
|
+
redirectTeamId?: number | null | undefined;
|
165
|
+
authSchemas: import("../types/member").TAuthSchemas;
|
166
|
+
memberId: number;
|
167
|
+
bio: string | null;
|
168
|
+
city?: string | undefined;
|
169
|
+
street?: string | undefined;
|
170
|
+
state?: string | undefined;
|
171
|
+
avatar: string | null;
|
172
|
+
teams: import("../models/team").Team[];
|
173
|
+
favoriteTeam: number | null | undefined;
|
174
|
+
zip: string | undefined;
|
175
|
+
phoneNumber: string | null;
|
176
|
+
gender?: string | undefined;
|
177
|
+
birthday: string | null;
|
178
|
+
location: string | null;
|
179
|
+
email: string;
|
180
|
+
firstName: string | null;
|
181
|
+
lastName: string | null;
|
182
|
+
}>;
|
183
|
+
}>;
|
184
|
+
}>;
|
185
|
+
export declare const createTrpcCaller: import("@trpc/server").RouterCaller<import("@trpc/server/dist/core/router").RouterDef<import("@trpc/server").RootConfig<{
|
186
|
+
ctx: import("trpc-koa-adapter").CreateTrpcKoaContextOptions;
|
187
|
+
meta: object;
|
188
|
+
errorShape: import("@trpc/server").DefaultErrorShape;
|
189
|
+
transformer: import("@trpc/server").DefaultDataTransformer;
|
190
|
+
}>, {
|
191
|
+
oauth: import("@trpc/server").CreateRouterInner<import("@trpc/server").RootConfig<{
|
192
|
+
ctx: import("trpc-koa-adapter").CreateTrpcKoaContextOptions;
|
193
|
+
meta: object;
|
194
|
+
errorShape: import("@trpc/server").DefaultErrorShape;
|
195
|
+
transformer: import("@trpc/server").DefaultDataTransformer;
|
196
|
+
}>, {
|
197
|
+
googleAuth: import("@trpc/server").BuildProcedure<"mutation", {
|
198
|
+
_config: import("@trpc/server").RootConfig<{
|
199
|
+
ctx: import("trpc-koa-adapter").CreateTrpcKoaContextOptions;
|
200
|
+
meta: object;
|
201
|
+
errorShape: import("@trpc/server").DefaultErrorShape;
|
202
|
+
transformer: import("@trpc/server").DefaultDataTransformer;
|
203
|
+
}>;
|
204
|
+
_ctx_out: import("trpc-koa-adapter").CreateTrpcKoaContextOptions;
|
205
|
+
_input_in: typeof import("@trpc/server").unsetMarker;
|
206
|
+
_input_out: typeof import("@trpc/server").unsetMarker;
|
207
|
+
_output_in: typeof import("@trpc/server").unsetMarker;
|
208
|
+
_output_out: typeof import("@trpc/server").unsetMarker;
|
209
|
+
_meta: object;
|
210
|
+
}, string>;
|
211
|
+
googleCallback: import("@trpc/server").BuildProcedure<"query", {
|
212
|
+
_config: import("@trpc/server").RootConfig<{
|
213
|
+
ctx: import("trpc-koa-adapter").CreateTrpcKoaContextOptions;
|
214
|
+
meta: object;
|
215
|
+
errorShape: import("@trpc/server").DefaultErrorShape;
|
216
|
+
transformer: import("@trpc/server").DefaultDataTransformer;
|
217
|
+
}>;
|
218
|
+
_ctx_out: import("trpc-koa-adapter").CreateTrpcKoaContextOptions;
|
219
|
+
_input_in: typeof import("@trpc/server").unsetMarker;
|
220
|
+
_input_out: typeof import("@trpc/server").unsetMarker;
|
221
|
+
_output_in: typeof import("@trpc/server").unsetMarker;
|
222
|
+
_output_out: typeof import("@trpc/server").unsetMarker;
|
223
|
+
_meta: object;
|
224
|
+
}, void>;
|
225
|
+
googleMobileCallback: import("@trpc/server").BuildProcedure<"mutation", {
|
226
|
+
_config: import("@trpc/server").RootConfig<{
|
227
|
+
ctx: import("trpc-koa-adapter").CreateTrpcKoaContextOptions;
|
228
|
+
meta: object;
|
229
|
+
errorShape: import("@trpc/server").DefaultErrorShape;
|
230
|
+
transformer: import("@trpc/server").DefaultDataTransformer;
|
231
|
+
}>;
|
232
|
+
_meta: object;
|
233
|
+
_ctx_out: import("trpc-koa-adapter").CreateTrpcKoaContextOptions;
|
234
|
+
_input_in: {
|
235
|
+
code: string;
|
236
|
+
idToken?: string | undefined;
|
237
|
+
};
|
238
|
+
_input_out: {
|
239
|
+
code: string;
|
240
|
+
idToken?: string | undefined;
|
241
|
+
};
|
242
|
+
_output_in: typeof import("@trpc/server").unsetMarker;
|
243
|
+
_output_out: typeof import("@trpc/server").unsetMarker;
|
244
|
+
}, {
|
245
|
+
accessToken: string;
|
246
|
+
refreshToken: string;
|
247
|
+
accountStatus: string;
|
248
|
+
redirectTeamId?: number | null | undefined;
|
249
|
+
authSchemas: import("../types/member").TAuthSchemas;
|
250
|
+
memberId: number;
|
251
|
+
bio: string | null;
|
252
|
+
city?: string | undefined;
|
253
|
+
street?: string | undefined;
|
254
|
+
state?: string | undefined;
|
255
|
+
avatar: string | null;
|
256
|
+
teams: import("../models/team").Team[];
|
257
|
+
favoriteTeam: number | null | undefined;
|
258
|
+
zip: string | undefined;
|
259
|
+
phoneNumber: string | null;
|
260
|
+
gender?: string | undefined;
|
261
|
+
birthday: string | null;
|
262
|
+
location: string | null;
|
263
|
+
email: string;
|
264
|
+
firstName: string | null;
|
265
|
+
lastName: string | null;
|
266
|
+
}>;
|
267
|
+
facebookAuth: import("@trpc/server").BuildProcedure<"mutation", {
|
268
|
+
_config: import("@trpc/server").RootConfig<{
|
269
|
+
ctx: import("trpc-koa-adapter").CreateTrpcKoaContextOptions;
|
270
|
+
meta: object;
|
271
|
+
errorShape: import("@trpc/server").DefaultErrorShape;
|
272
|
+
transformer: import("@trpc/server").DefaultDataTransformer;
|
273
|
+
}>;
|
274
|
+
_ctx_out: import("trpc-koa-adapter").CreateTrpcKoaContextOptions;
|
275
|
+
_input_in: typeof import("@trpc/server").unsetMarker;
|
276
|
+
_input_out: typeof import("@trpc/server").unsetMarker;
|
277
|
+
_output_in: typeof import("@trpc/server").unsetMarker;
|
278
|
+
_output_out: typeof import("@trpc/server").unsetMarker;
|
279
|
+
_meta: object;
|
280
|
+
}, string>;
|
281
|
+
facebookCallback: import("@trpc/server").BuildProcedure<"query", {
|
282
|
+
_config: import("@trpc/server").RootConfig<{
|
283
|
+
ctx: import("trpc-koa-adapter").CreateTrpcKoaContextOptions;
|
284
|
+
meta: object;
|
285
|
+
errorShape: import("@trpc/server").DefaultErrorShape;
|
286
|
+
transformer: import("@trpc/server").DefaultDataTransformer;
|
287
|
+
}>;
|
288
|
+
_ctx_out: import("trpc-koa-adapter").CreateTrpcKoaContextOptions;
|
289
|
+
_input_in: typeof import("@trpc/server").unsetMarker;
|
290
|
+
_input_out: typeof import("@trpc/server").unsetMarker;
|
291
|
+
_output_in: typeof import("@trpc/server").unsetMarker;
|
292
|
+
_output_out: typeof import("@trpc/server").unsetMarker;
|
293
|
+
_meta: object;
|
294
|
+
}, void>;
|
295
|
+
appleAuth: import("@trpc/server").BuildProcedure<"mutation", {
|
296
|
+
_config: import("@trpc/server").RootConfig<{
|
297
|
+
ctx: import("trpc-koa-adapter").CreateTrpcKoaContextOptions;
|
298
|
+
meta: object;
|
299
|
+
errorShape: import("@trpc/server").DefaultErrorShape;
|
300
|
+
transformer: import("@trpc/server").DefaultDataTransformer;
|
301
|
+
}>;
|
302
|
+
_ctx_out: import("trpc-koa-adapter").CreateTrpcKoaContextOptions;
|
303
|
+
_input_in: typeof import("@trpc/server").unsetMarker;
|
304
|
+
_input_out: typeof import("@trpc/server").unsetMarker;
|
305
|
+
_output_in: typeof import("@trpc/server").unsetMarker;
|
306
|
+
_output_out: typeof import("@trpc/server").unsetMarker;
|
307
|
+
_meta: object;
|
308
|
+
}, string>;
|
309
|
+
appleCallback: import("@trpc/server").BuildProcedure<"mutation", {
|
310
|
+
_config: import("@trpc/server").RootConfig<{
|
311
|
+
ctx: import("trpc-koa-adapter").CreateTrpcKoaContextOptions;
|
312
|
+
meta: object;
|
313
|
+
errorShape: import("@trpc/server").DefaultErrorShape;
|
314
|
+
transformer: import("@trpc/server").DefaultDataTransformer;
|
315
|
+
}>;
|
316
|
+
_meta: object;
|
317
|
+
_ctx_out: import("trpc-koa-adapter").CreateTrpcKoaContextOptions;
|
318
|
+
_input_in: {
|
319
|
+
code: string;
|
320
|
+
};
|
321
|
+
_input_out: {
|
322
|
+
code: string;
|
323
|
+
};
|
324
|
+
_output_in: typeof import("@trpc/server").unsetMarker;
|
325
|
+
_output_out: typeof import("@trpc/server").unsetMarker;
|
326
|
+
}, void>;
|
327
|
+
appleMobileCallback: import("@trpc/server").BuildProcedure<"mutation", {
|
328
|
+
_config: import("@trpc/server").RootConfig<{
|
329
|
+
ctx: import("trpc-koa-adapter").CreateTrpcKoaContextOptions;
|
330
|
+
meta: object;
|
331
|
+
errorShape: import("@trpc/server").DefaultErrorShape;
|
332
|
+
transformer: import("@trpc/server").DefaultDataTransformer;
|
333
|
+
}>;
|
334
|
+
_meta: object;
|
335
|
+
_ctx_out: import("trpc-koa-adapter").CreateTrpcKoaContextOptions;
|
336
|
+
_input_in: {
|
337
|
+
idToken: string;
|
338
|
+
};
|
339
|
+
_input_out: {
|
340
|
+
idToken: string;
|
341
|
+
};
|
342
|
+
_output_in: typeof import("@trpc/server").unsetMarker;
|
343
|
+
_output_out: typeof import("@trpc/server").unsetMarker;
|
344
|
+
}, {
|
345
|
+
accessToken: string;
|
346
|
+
refreshToken: string;
|
347
|
+
accountStatus: string;
|
348
|
+
redirectTeamId?: number | null | undefined;
|
349
|
+
authSchemas: import("../types/member").TAuthSchemas;
|
350
|
+
memberId: number;
|
351
|
+
bio: string | null;
|
352
|
+
city?: string | undefined;
|
353
|
+
street?: string | undefined;
|
354
|
+
state?: string | undefined;
|
355
|
+
avatar: string | null;
|
356
|
+
teams: import("../models/team").Team[];
|
357
|
+
favoriteTeam: number | null | undefined;
|
358
|
+
zip: string | undefined;
|
359
|
+
phoneNumber: string | null;
|
360
|
+
gender?: string | undefined;
|
361
|
+
birthday: string | null;
|
362
|
+
location: string | null;
|
363
|
+
email: string;
|
364
|
+
firstName: string | null;
|
365
|
+
lastName: string | null;
|
366
|
+
}>;
|
367
|
+
}>;
|
368
|
+
}, {
|
369
|
+
queries: {};
|
370
|
+
mutations: {};
|
371
|
+
subscriptions: {};
|
372
|
+
}>>;
|
373
|
+
export declare type AppRouter = typeof appRouter;
|
package/dist/index.d.ts
CHANGED
@@ -47,6 +47,48 @@ export declare const BantrSdk: {
|
|
47
47
|
_output_out: typeof import("@trpc/server").unsetMarker;
|
48
48
|
_meta: object;
|
49
49
|
}, void>;
|
50
|
+
googleMobileCallback: import("@trpc/server").BuildProcedure<"mutation", {
|
51
|
+
_config: import("@trpc/server").RootConfig<{
|
52
|
+
ctx: import("trpc-koa-adapter").CreateTrpcKoaContextOptions;
|
53
|
+
meta: object;
|
54
|
+
errorShape: import("@trpc/server").DefaultErrorShape;
|
55
|
+
transformer: import("@trpc/server").DefaultDataTransformer;
|
56
|
+
}>;
|
57
|
+
_meta: object;
|
58
|
+
_ctx_out: import("trpc-koa-adapter").CreateTrpcKoaContextOptions;
|
59
|
+
_input_in: {
|
60
|
+
code: string;
|
61
|
+
idToken?: string | undefined;
|
62
|
+
};
|
63
|
+
_input_out: {
|
64
|
+
code: string;
|
65
|
+
idToken?: string | undefined;
|
66
|
+
};
|
67
|
+
_output_in: typeof import("@trpc/server").unsetMarker;
|
68
|
+
_output_out: typeof import("@trpc/server").unsetMarker;
|
69
|
+
}, {
|
70
|
+
accessToken: string;
|
71
|
+
refreshToken: string;
|
72
|
+
accountStatus: string;
|
73
|
+
redirectTeamId?: number | null | undefined;
|
74
|
+
authSchemas: import("../api-type/src/types/member").TAuthSchemas;
|
75
|
+
memberId: number;
|
76
|
+
bio: string | null;
|
77
|
+
city?: string | undefined;
|
78
|
+
street?: string | undefined;
|
79
|
+
state?: string | undefined;
|
80
|
+
avatar: string | null;
|
81
|
+
teams: import("../api-type/src/models/team").Team[];
|
82
|
+
favoriteTeam: number | null | undefined;
|
83
|
+
zip: string | undefined;
|
84
|
+
phoneNumber: string | null;
|
85
|
+
gender?: string | undefined;
|
86
|
+
birthday: string | null;
|
87
|
+
location: string | null;
|
88
|
+
email: string;
|
89
|
+
firstName: string | null;
|
90
|
+
lastName: string | null;
|
91
|
+
}>;
|
50
92
|
facebookAuth: import("@trpc/server").BuildProcedure<"mutation", {
|
51
93
|
_config: import("@trpc/server").RootConfig<{
|
52
94
|
ctx: import("trpc-koa-adapter").CreateTrpcKoaContextOptions;
|
@@ -107,6 +149,46 @@ export declare const BantrSdk: {
|
|
107
149
|
_output_in: typeof import("@trpc/server").unsetMarker;
|
108
150
|
_output_out: typeof import("@trpc/server").unsetMarker;
|
109
151
|
}, void>;
|
152
|
+
appleMobileCallback: import("@trpc/server").BuildProcedure<"mutation", {
|
153
|
+
_config: import("@trpc/server").RootConfig<{
|
154
|
+
ctx: import("trpc-koa-adapter").CreateTrpcKoaContextOptions;
|
155
|
+
meta: object;
|
156
|
+
errorShape: import("@trpc/server").DefaultErrorShape;
|
157
|
+
transformer: import("@trpc/server").DefaultDataTransformer;
|
158
|
+
}>;
|
159
|
+
_meta: object;
|
160
|
+
_ctx_out: import("trpc-koa-adapter").CreateTrpcKoaContextOptions;
|
161
|
+
_input_in: {
|
162
|
+
idToken: string;
|
163
|
+
};
|
164
|
+
_input_out: {
|
165
|
+
idToken: string;
|
166
|
+
};
|
167
|
+
_output_in: typeof import("@trpc/server").unsetMarker;
|
168
|
+
_output_out: typeof import("@trpc/server").unsetMarker;
|
169
|
+
}, {
|
170
|
+
accessToken: string;
|
171
|
+
refreshToken: string;
|
172
|
+
accountStatus: string;
|
173
|
+
redirectTeamId?: number | null | undefined;
|
174
|
+
authSchemas: import("../api-type/src/types/member").TAuthSchemas;
|
175
|
+
memberId: number;
|
176
|
+
bio: string | null;
|
177
|
+
city?: string | undefined;
|
178
|
+
street?: string | undefined;
|
179
|
+
state?: string | undefined;
|
180
|
+
avatar: string | null;
|
181
|
+
teams: import("../api-type/src/models/team").Team[];
|
182
|
+
favoriteTeam: number | null | undefined;
|
183
|
+
zip: string | undefined;
|
184
|
+
phoneNumber: string | null;
|
185
|
+
gender?: string | undefined;
|
186
|
+
birthday: string | null;
|
187
|
+
location: string | null;
|
188
|
+
email: string;
|
189
|
+
firstName: string | null;
|
190
|
+
lastName: string | null;
|
191
|
+
}>;
|
110
192
|
}>;
|
111
193
|
}>, unknown> & import("@trpc/react-query/dist/createTRPCReact").DecoratedProcedureRecord<{
|
112
194
|
oauth: import("@trpc/server").CreateRouterInner<import("@trpc/server").RootConfig<{
|
@@ -143,6 +225,48 @@ export declare const BantrSdk: {
|
|
143
225
|
_output_out: typeof import("@trpc/server").unsetMarker;
|
144
226
|
_meta: object;
|
145
227
|
}, void>;
|
228
|
+
googleMobileCallback: import("@trpc/server").BuildProcedure<"mutation", {
|
229
|
+
_config: import("@trpc/server").RootConfig<{
|
230
|
+
ctx: import("trpc-koa-adapter").CreateTrpcKoaContextOptions;
|
231
|
+
meta: object;
|
232
|
+
errorShape: import("@trpc/server").DefaultErrorShape;
|
233
|
+
transformer: import("@trpc/server").DefaultDataTransformer;
|
234
|
+
}>;
|
235
|
+
_meta: object;
|
236
|
+
_ctx_out: import("trpc-koa-adapter").CreateTrpcKoaContextOptions;
|
237
|
+
_input_in: {
|
238
|
+
code: string;
|
239
|
+
idToken?: string | undefined;
|
240
|
+
};
|
241
|
+
_input_out: {
|
242
|
+
code: string;
|
243
|
+
idToken?: string | undefined;
|
244
|
+
};
|
245
|
+
_output_in: typeof import("@trpc/server").unsetMarker;
|
246
|
+
_output_out: typeof import("@trpc/server").unsetMarker;
|
247
|
+
}, {
|
248
|
+
accessToken: string;
|
249
|
+
refreshToken: string;
|
250
|
+
accountStatus: string;
|
251
|
+
redirectTeamId?: number | null | undefined;
|
252
|
+
authSchemas: import("../api-type/src/types/member").TAuthSchemas;
|
253
|
+
memberId: number;
|
254
|
+
bio: string | null;
|
255
|
+
city?: string | undefined;
|
256
|
+
street?: string | undefined;
|
257
|
+
state?: string | undefined;
|
258
|
+
avatar: string | null;
|
259
|
+
teams: import("../api-type/src/models/team").Team[];
|
260
|
+
favoriteTeam: number | null | undefined;
|
261
|
+
zip: string | undefined;
|
262
|
+
phoneNumber: string | null;
|
263
|
+
gender?: string | undefined;
|
264
|
+
birthday: string | null;
|
265
|
+
location: string | null;
|
266
|
+
email: string;
|
267
|
+
firstName: string | null;
|
268
|
+
lastName: string | null;
|
269
|
+
}>;
|
146
270
|
facebookAuth: import("@trpc/server").BuildProcedure<"mutation", {
|
147
271
|
_config: import("@trpc/server").RootConfig<{
|
148
272
|
ctx: import("trpc-koa-adapter").CreateTrpcKoaContextOptions;
|
@@ -203,6 +327,46 @@ export declare const BantrSdk: {
|
|
203
327
|
_output_in: typeof import("@trpc/server").unsetMarker;
|
204
328
|
_output_out: typeof import("@trpc/server").unsetMarker;
|
205
329
|
}, void>;
|
330
|
+
appleMobileCallback: import("@trpc/server").BuildProcedure<"mutation", {
|
331
|
+
_config: import("@trpc/server").RootConfig<{
|
332
|
+
ctx: import("trpc-koa-adapter").CreateTrpcKoaContextOptions;
|
333
|
+
meta: object;
|
334
|
+
errorShape: import("@trpc/server").DefaultErrorShape;
|
335
|
+
transformer: import("@trpc/server").DefaultDataTransformer;
|
336
|
+
}>;
|
337
|
+
_meta: object;
|
338
|
+
_ctx_out: import("trpc-koa-adapter").CreateTrpcKoaContextOptions;
|
339
|
+
_input_in: {
|
340
|
+
idToken: string;
|
341
|
+
};
|
342
|
+
_input_out: {
|
343
|
+
idToken: string;
|
344
|
+
};
|
345
|
+
_output_in: typeof import("@trpc/server").unsetMarker;
|
346
|
+
_output_out: typeof import("@trpc/server").unsetMarker;
|
347
|
+
}, {
|
348
|
+
accessToken: string;
|
349
|
+
refreshToken: string;
|
350
|
+
accountStatus: string;
|
351
|
+
redirectTeamId?: number | null | undefined;
|
352
|
+
authSchemas: import("../api-type/src/types/member").TAuthSchemas;
|
353
|
+
memberId: number;
|
354
|
+
bio: string | null;
|
355
|
+
city?: string | undefined;
|
356
|
+
street?: string | undefined;
|
357
|
+
state?: string | undefined;
|
358
|
+
avatar: string | null;
|
359
|
+
teams: import("../api-type/src/models/team").Team[];
|
360
|
+
favoriteTeam: number | null | undefined;
|
361
|
+
zip: string | undefined;
|
362
|
+
phoneNumber: string | null;
|
363
|
+
gender?: string | undefined;
|
364
|
+
birthday: string | null;
|
365
|
+
location: string | null;
|
366
|
+
email: string;
|
367
|
+
firstName: string | null;
|
368
|
+
lastName: string | null;
|
369
|
+
}>;
|
206
370
|
}>;
|
207
371
|
}, null, "">;
|
208
372
|
createTRPCClientQuery: (options?: {
|
@@ -242,6 +406,50 @@ export declare const BantrSdk: {
|
|
242
406
|
_meta: object;
|
243
407
|
}, void>>;
|
244
408
|
};
|
409
|
+
googleMobileCallback: {
|
410
|
+
mutate: import("@trpc/client").Resolver<import("@trpc/server").BuildProcedure<"mutation", {
|
411
|
+
_config: import("@trpc/server").RootConfig<{
|
412
|
+
ctx: import("trpc-koa-adapter").CreateTrpcKoaContextOptions;
|
413
|
+
meta: object;
|
414
|
+
errorShape: import("@trpc/server").DefaultErrorShape;
|
415
|
+
transformer: import("@trpc/server").DefaultDataTransformer;
|
416
|
+
}>;
|
417
|
+
_meta: object;
|
418
|
+
_ctx_out: import("trpc-koa-adapter").CreateTrpcKoaContextOptions;
|
419
|
+
_input_in: {
|
420
|
+
code: string;
|
421
|
+
idToken?: string | undefined;
|
422
|
+
};
|
423
|
+
_input_out: {
|
424
|
+
code: string;
|
425
|
+
idToken?: string | undefined;
|
426
|
+
};
|
427
|
+
_output_in: typeof import("@trpc/server").unsetMarker;
|
428
|
+
_output_out: typeof import("@trpc/server").unsetMarker;
|
429
|
+
}, {
|
430
|
+
accessToken: string;
|
431
|
+
refreshToken: string;
|
432
|
+
accountStatus: string;
|
433
|
+
redirectTeamId?: number | null | undefined;
|
434
|
+
authSchemas: import("../api-type/src/types/member").TAuthSchemas;
|
435
|
+
memberId: number;
|
436
|
+
bio: string | null;
|
437
|
+
city?: string | undefined;
|
438
|
+
street?: string | undefined;
|
439
|
+
state?: string | undefined;
|
440
|
+
avatar: string | null;
|
441
|
+
teams: import("../api-type/src/models/team").Team[];
|
442
|
+
favoriteTeam: number | null | undefined;
|
443
|
+
zip: string | undefined;
|
444
|
+
phoneNumber: string | null;
|
445
|
+
gender?: string | undefined;
|
446
|
+
birthday: string | null;
|
447
|
+
location: string | null;
|
448
|
+
email: string;
|
449
|
+
firstName: string | null;
|
450
|
+
lastName: string | null;
|
451
|
+
}>>;
|
452
|
+
};
|
245
453
|
facebookAuth: {
|
246
454
|
mutate: import("@trpc/client").Resolver<import("@trpc/server").BuildProcedure<"mutation", {
|
247
455
|
_config: import("@trpc/server").RootConfig<{
|
@@ -310,6 +518,48 @@ export declare const BantrSdk: {
|
|
310
518
|
_output_out: typeof import("@trpc/server").unsetMarker;
|
311
519
|
}, void>>;
|
312
520
|
};
|
521
|
+
appleMobileCallback: {
|
522
|
+
mutate: import("@trpc/client").Resolver<import("@trpc/server").BuildProcedure<"mutation", {
|
523
|
+
_config: import("@trpc/server").RootConfig<{
|
524
|
+
ctx: import("trpc-koa-adapter").CreateTrpcKoaContextOptions;
|
525
|
+
meta: object;
|
526
|
+
errorShape: import("@trpc/server").DefaultErrorShape;
|
527
|
+
transformer: import("@trpc/server").DefaultDataTransformer;
|
528
|
+
}>;
|
529
|
+
_meta: object;
|
530
|
+
_ctx_out: import("trpc-koa-adapter").CreateTrpcKoaContextOptions;
|
531
|
+
_input_in: {
|
532
|
+
idToken: string;
|
533
|
+
};
|
534
|
+
_input_out: {
|
535
|
+
idToken: string;
|
536
|
+
};
|
537
|
+
_output_in: typeof import("@trpc/server").unsetMarker;
|
538
|
+
_output_out: typeof import("@trpc/server").unsetMarker;
|
539
|
+
}, {
|
540
|
+
accessToken: string;
|
541
|
+
refreshToken: string;
|
542
|
+
accountStatus: string;
|
543
|
+
redirectTeamId?: number | null | undefined;
|
544
|
+
authSchemas: import("../api-type/src/types/member").TAuthSchemas;
|
545
|
+
memberId: number;
|
546
|
+
bio: string | null;
|
547
|
+
city?: string | undefined;
|
548
|
+
street?: string | undefined;
|
549
|
+
state?: string | undefined;
|
550
|
+
avatar: string | null;
|
551
|
+
teams: import("../api-type/src/models/team").Team[];
|
552
|
+
favoriteTeam: number | null | undefined;
|
553
|
+
zip: string | undefined;
|
554
|
+
phoneNumber: string | null;
|
555
|
+
gender?: string | undefined;
|
556
|
+
birthday: string | null;
|
557
|
+
location: string | null;
|
558
|
+
email: string;
|
559
|
+
firstName: string | null;
|
560
|
+
lastName: string | null;
|
561
|
+
}>>;
|
562
|
+
};
|
313
563
|
};
|
314
564
|
};
|
315
565
|
};
|
package/dist/provider.d.ts
CHANGED
@@ -41,6 +41,48 @@ export declare const reactQuery: import("@trpc/react-query/dist/createTRPCReact"
|
|
41
41
|
_output_out: typeof import("@trpc/server").unsetMarker;
|
42
42
|
_meta: object;
|
43
43
|
}, void>;
|
44
|
+
googleMobileCallback: import("@trpc/server").BuildProcedure<"mutation", {
|
45
|
+
_config: import("@trpc/server").RootConfig<{
|
46
|
+
ctx: import("trpc-koa-adapter").CreateTrpcKoaContextOptions;
|
47
|
+
meta: object;
|
48
|
+
errorShape: import("@trpc/server").DefaultErrorShape;
|
49
|
+
transformer: import("@trpc/server").DefaultDataTransformer;
|
50
|
+
}>;
|
51
|
+
_meta: object;
|
52
|
+
_ctx_out: import("trpc-koa-adapter").CreateTrpcKoaContextOptions;
|
53
|
+
_input_in: {
|
54
|
+
code: string;
|
55
|
+
idToken?: string | undefined;
|
56
|
+
};
|
57
|
+
_input_out: {
|
58
|
+
code: string;
|
59
|
+
idToken?: string | undefined;
|
60
|
+
};
|
61
|
+
_output_in: typeof import("@trpc/server").unsetMarker;
|
62
|
+
_output_out: typeof import("@trpc/server").unsetMarker;
|
63
|
+
}, {
|
64
|
+
accessToken: string;
|
65
|
+
refreshToken: string;
|
66
|
+
accountStatus: string;
|
67
|
+
redirectTeamId?: number | null | undefined;
|
68
|
+
authSchemas: import("../api-type/src/types/member").TAuthSchemas;
|
69
|
+
memberId: number;
|
70
|
+
bio: string | null;
|
71
|
+
city?: string | undefined;
|
72
|
+
street?: string | undefined;
|
73
|
+
state?: string | undefined;
|
74
|
+
avatar: string | null;
|
75
|
+
teams: import("../api-type/src/models/team").Team[];
|
76
|
+
favoriteTeam: number | null | undefined;
|
77
|
+
zip: string | undefined;
|
78
|
+
phoneNumber: string | null;
|
79
|
+
gender?: string | undefined;
|
80
|
+
birthday: string | null;
|
81
|
+
location: string | null;
|
82
|
+
email: string;
|
83
|
+
firstName: string | null;
|
84
|
+
lastName: string | null;
|
85
|
+
}>;
|
44
86
|
facebookAuth: import("@trpc/server").BuildProcedure<"mutation", {
|
45
87
|
_config: import("@trpc/server").RootConfig<{
|
46
88
|
ctx: import("trpc-koa-adapter").CreateTrpcKoaContextOptions;
|
@@ -101,6 +143,46 @@ export declare const reactQuery: import("@trpc/react-query/dist/createTRPCReact"
|
|
101
143
|
_output_in: typeof import("@trpc/server").unsetMarker;
|
102
144
|
_output_out: typeof import("@trpc/server").unsetMarker;
|
103
145
|
}, void>;
|
146
|
+
appleMobileCallback: import("@trpc/server").BuildProcedure<"mutation", {
|
147
|
+
_config: import("@trpc/server").RootConfig<{
|
148
|
+
ctx: import("trpc-koa-adapter").CreateTrpcKoaContextOptions;
|
149
|
+
meta: object;
|
150
|
+
errorShape: import("@trpc/server").DefaultErrorShape;
|
151
|
+
transformer: import("@trpc/server").DefaultDataTransformer;
|
152
|
+
}>;
|
153
|
+
_meta: object;
|
154
|
+
_ctx_out: import("trpc-koa-adapter").CreateTrpcKoaContextOptions;
|
155
|
+
_input_in: {
|
156
|
+
idToken: string;
|
157
|
+
};
|
158
|
+
_input_out: {
|
159
|
+
idToken: string;
|
160
|
+
};
|
161
|
+
_output_in: typeof import("@trpc/server").unsetMarker;
|
162
|
+
_output_out: typeof import("@trpc/server").unsetMarker;
|
163
|
+
}, {
|
164
|
+
accessToken: string;
|
165
|
+
refreshToken: string;
|
166
|
+
accountStatus: string;
|
167
|
+
redirectTeamId?: number | null | undefined;
|
168
|
+
authSchemas: import("../api-type/src/types/member").TAuthSchemas;
|
169
|
+
memberId: number;
|
170
|
+
bio: string | null;
|
171
|
+
city?: string | undefined;
|
172
|
+
street?: string | undefined;
|
173
|
+
state?: string | undefined;
|
174
|
+
avatar: string | null;
|
175
|
+
teams: import("../api-type/src/models/team").Team[];
|
176
|
+
favoriteTeam: number | null | undefined;
|
177
|
+
zip: string | undefined;
|
178
|
+
phoneNumber: string | null;
|
179
|
+
gender?: string | undefined;
|
180
|
+
birthday: string | null;
|
181
|
+
location: string | null;
|
182
|
+
email: string;
|
183
|
+
firstName: string | null;
|
184
|
+
lastName: string | null;
|
185
|
+
}>;
|
104
186
|
}>;
|
105
187
|
}>, unknown> & import("@trpc/react-query/dist/createTRPCReact").DecoratedProcedureRecord<{
|
106
188
|
oauth: import("@trpc/server").CreateRouterInner<import("@trpc/server").RootConfig<{
|
@@ -137,6 +219,48 @@ export declare const reactQuery: import("@trpc/react-query/dist/createTRPCReact"
|
|
137
219
|
_output_out: typeof import("@trpc/server").unsetMarker;
|
138
220
|
_meta: object;
|
139
221
|
}, void>;
|
222
|
+
googleMobileCallback: import("@trpc/server").BuildProcedure<"mutation", {
|
223
|
+
_config: import("@trpc/server").RootConfig<{
|
224
|
+
ctx: import("trpc-koa-adapter").CreateTrpcKoaContextOptions;
|
225
|
+
meta: object;
|
226
|
+
errorShape: import("@trpc/server").DefaultErrorShape;
|
227
|
+
transformer: import("@trpc/server").DefaultDataTransformer;
|
228
|
+
}>;
|
229
|
+
_meta: object;
|
230
|
+
_ctx_out: import("trpc-koa-adapter").CreateTrpcKoaContextOptions;
|
231
|
+
_input_in: {
|
232
|
+
code: string;
|
233
|
+
idToken?: string | undefined;
|
234
|
+
};
|
235
|
+
_input_out: {
|
236
|
+
code: string;
|
237
|
+
idToken?: string | undefined;
|
238
|
+
};
|
239
|
+
_output_in: typeof import("@trpc/server").unsetMarker;
|
240
|
+
_output_out: typeof import("@trpc/server").unsetMarker;
|
241
|
+
}, {
|
242
|
+
accessToken: string;
|
243
|
+
refreshToken: string;
|
244
|
+
accountStatus: string;
|
245
|
+
redirectTeamId?: number | null | undefined;
|
246
|
+
authSchemas: import("../api-type/src/types/member").TAuthSchemas;
|
247
|
+
memberId: number;
|
248
|
+
bio: string | null;
|
249
|
+
city?: string | undefined;
|
250
|
+
street?: string | undefined;
|
251
|
+
state?: string | undefined;
|
252
|
+
avatar: string | null;
|
253
|
+
teams: import("../api-type/src/models/team").Team[];
|
254
|
+
favoriteTeam: number | null | undefined;
|
255
|
+
zip: string | undefined;
|
256
|
+
phoneNumber: string | null;
|
257
|
+
gender?: string | undefined;
|
258
|
+
birthday: string | null;
|
259
|
+
location: string | null;
|
260
|
+
email: string;
|
261
|
+
firstName: string | null;
|
262
|
+
lastName: string | null;
|
263
|
+
}>;
|
140
264
|
facebookAuth: import("@trpc/server").BuildProcedure<"mutation", {
|
141
265
|
_config: import("@trpc/server").RootConfig<{
|
142
266
|
ctx: import("trpc-koa-adapter").CreateTrpcKoaContextOptions;
|
@@ -197,6 +321,46 @@ export declare const reactQuery: import("@trpc/react-query/dist/createTRPCReact"
|
|
197
321
|
_output_in: typeof import("@trpc/server").unsetMarker;
|
198
322
|
_output_out: typeof import("@trpc/server").unsetMarker;
|
199
323
|
}, void>;
|
324
|
+
appleMobileCallback: import("@trpc/server").BuildProcedure<"mutation", {
|
325
|
+
_config: import("@trpc/server").RootConfig<{
|
326
|
+
ctx: import("trpc-koa-adapter").CreateTrpcKoaContextOptions;
|
327
|
+
meta: object;
|
328
|
+
errorShape: import("@trpc/server").DefaultErrorShape;
|
329
|
+
transformer: import("@trpc/server").DefaultDataTransformer;
|
330
|
+
}>;
|
331
|
+
_meta: object;
|
332
|
+
_ctx_out: import("trpc-koa-adapter").CreateTrpcKoaContextOptions;
|
333
|
+
_input_in: {
|
334
|
+
idToken: string;
|
335
|
+
};
|
336
|
+
_input_out: {
|
337
|
+
idToken: string;
|
338
|
+
};
|
339
|
+
_output_in: typeof import("@trpc/server").unsetMarker;
|
340
|
+
_output_out: typeof import("@trpc/server").unsetMarker;
|
341
|
+
}, {
|
342
|
+
accessToken: string;
|
343
|
+
refreshToken: string;
|
344
|
+
accountStatus: string;
|
345
|
+
redirectTeamId?: number | null | undefined;
|
346
|
+
authSchemas: import("../api-type/src/types/member").TAuthSchemas;
|
347
|
+
memberId: number;
|
348
|
+
bio: string | null;
|
349
|
+
city?: string | undefined;
|
350
|
+
street?: string | undefined;
|
351
|
+
state?: string | undefined;
|
352
|
+
avatar: string | null;
|
353
|
+
teams: import("../api-type/src/models/team").Team[];
|
354
|
+
favoriteTeam: number | null | undefined;
|
355
|
+
zip: string | undefined;
|
356
|
+
phoneNumber: string | null;
|
357
|
+
gender?: string | undefined;
|
358
|
+
birthday: string | null;
|
359
|
+
location: string | null;
|
360
|
+
email: string;
|
361
|
+
firstName: string | null;
|
362
|
+
lastName: string | null;
|
363
|
+
}>;
|
200
364
|
}>;
|
201
365
|
}, null, "">;
|
202
366
|
export declare const TRPCProvider: ({ children, useLocalUrl, customUrl, queryClientConfig, queryClient, }: {
|
package/dist/query.d.ts
CHANGED
@@ -36,6 +36,50 @@ export declare const createTRPCClientQuery: (options?: InstanceOptions) => {
|
|
36
36
|
_meta: object;
|
37
37
|
}, void>>;
|
38
38
|
};
|
39
|
+
googleMobileCallback: {
|
40
|
+
mutate: import("@trpc/client").Resolver<import("@trpc/server").BuildProcedure<"mutation", {
|
41
|
+
_config: import("@trpc/server").RootConfig<{
|
42
|
+
ctx: import("trpc-koa-adapter").CreateTrpcKoaContextOptions;
|
43
|
+
meta: object;
|
44
|
+
errorShape: import("@trpc/server").DefaultErrorShape;
|
45
|
+
transformer: import("@trpc/server").DefaultDataTransformer;
|
46
|
+
}>;
|
47
|
+
_meta: object;
|
48
|
+
_ctx_out: import("trpc-koa-adapter").CreateTrpcKoaContextOptions;
|
49
|
+
_input_in: {
|
50
|
+
code: string;
|
51
|
+
idToken?: string | undefined;
|
52
|
+
};
|
53
|
+
_input_out: {
|
54
|
+
code: string;
|
55
|
+
idToken?: string | undefined;
|
56
|
+
};
|
57
|
+
_output_in: typeof import("@trpc/server").unsetMarker;
|
58
|
+
_output_out: typeof import("@trpc/server").unsetMarker;
|
59
|
+
}, {
|
60
|
+
accessToken: string;
|
61
|
+
refreshToken: string;
|
62
|
+
accountStatus: string;
|
63
|
+
redirectTeamId?: number | null | undefined;
|
64
|
+
authSchemas: import("../api-type/src/types/member").TAuthSchemas;
|
65
|
+
memberId: number;
|
66
|
+
bio: string | null;
|
67
|
+
city?: string | undefined;
|
68
|
+
street?: string | undefined;
|
69
|
+
state?: string | undefined;
|
70
|
+
avatar: string | null;
|
71
|
+
teams: import("../api-type/src/models/team").Team[];
|
72
|
+
favoriteTeam: number | null | undefined;
|
73
|
+
zip: string | undefined;
|
74
|
+
phoneNumber: string | null;
|
75
|
+
gender?: string | undefined;
|
76
|
+
birthday: string | null;
|
77
|
+
location: string | null;
|
78
|
+
email: string;
|
79
|
+
firstName: string | null;
|
80
|
+
lastName: string | null;
|
81
|
+
}>>;
|
82
|
+
};
|
39
83
|
facebookAuth: {
|
40
84
|
mutate: import("@trpc/client").Resolver<import("@trpc/server").BuildProcedure<"mutation", {
|
41
85
|
_config: import("@trpc/server").RootConfig<{
|
@@ -104,6 +148,48 @@ export declare const createTRPCClientQuery: (options?: InstanceOptions) => {
|
|
104
148
|
_output_out: typeof import("@trpc/server").unsetMarker;
|
105
149
|
}, void>>;
|
106
150
|
};
|
151
|
+
appleMobileCallback: {
|
152
|
+
mutate: import("@trpc/client").Resolver<import("@trpc/server").BuildProcedure<"mutation", {
|
153
|
+
_config: import("@trpc/server").RootConfig<{
|
154
|
+
ctx: import("trpc-koa-adapter").CreateTrpcKoaContextOptions;
|
155
|
+
meta: object;
|
156
|
+
errorShape: import("@trpc/server").DefaultErrorShape;
|
157
|
+
transformer: import("@trpc/server").DefaultDataTransformer;
|
158
|
+
}>;
|
159
|
+
_meta: object;
|
160
|
+
_ctx_out: import("trpc-koa-adapter").CreateTrpcKoaContextOptions;
|
161
|
+
_input_in: {
|
162
|
+
idToken: string;
|
163
|
+
};
|
164
|
+
_input_out: {
|
165
|
+
idToken: string;
|
166
|
+
};
|
167
|
+
_output_in: typeof import("@trpc/server").unsetMarker;
|
168
|
+
_output_out: typeof import("@trpc/server").unsetMarker;
|
169
|
+
}, {
|
170
|
+
accessToken: string;
|
171
|
+
refreshToken: string;
|
172
|
+
accountStatus: string;
|
173
|
+
redirectTeamId?: number | null | undefined;
|
174
|
+
authSchemas: import("../api-type/src/types/member").TAuthSchemas;
|
175
|
+
memberId: number;
|
176
|
+
bio: string | null;
|
177
|
+
city?: string | undefined;
|
178
|
+
street?: string | undefined;
|
179
|
+
state?: string | undefined;
|
180
|
+
avatar: string | null;
|
181
|
+
teams: import("../api-type/src/models/team").Team[];
|
182
|
+
favoriteTeam: number | null | undefined;
|
183
|
+
zip: string | undefined;
|
184
|
+
phoneNumber: string | null;
|
185
|
+
gender?: string | undefined;
|
186
|
+
birthday: string | null;
|
187
|
+
location: string | null;
|
188
|
+
email: string;
|
189
|
+
firstName: string | null;
|
190
|
+
lastName: string | null;
|
191
|
+
}>>;
|
192
|
+
};
|
107
193
|
};
|
108
194
|
};
|
109
195
|
export {};
|