Skip to content

Commit 97256ce

Browse files
committed
update sdk
1 parent c98f648 commit 97256ce

8 files changed

+51
-35
lines changed

.wundergraph/generated/client.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -98,9 +98,9 @@ export class Client {
9898
this.logoutCallback = cb;
9999
}
100100
private readonly baseURL: string = "http://localhost:9991";
101-
private readonly applicationHash: string = "1f40b44d";
101+
private readonly applicationHash: string = "20cb70b3";
102102
private readonly applicationPath: string = "api/main";
103-
private readonly sdkVersion: string = "0.21.2";
103+
private readonly sdkVersion: string = "0.21.5";
104104
private csrfToken: string | undefined;
105105
private user: User | undefined;
106106
private userListener: UserListener | undefined;

.wundergraph/generated/linkbuilder.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -79,14 +79,14 @@ interface TargetTypes {
7979
MessagesMinAggregateOutputType: "id" | "user_id" | "message";
8080
MessagesMaxAggregateOutputType: "id" | "user_id" | "message";
8181
AggregateMessages: "count" | "avg" | "sum" | "min" | "max";
82-
MessagesGroupByOutputType: "id" | "user_id" | "message" | "count" | "avg" | "sum" | "min" | "max";
82+
MessagesGroupByOutputType: "id" | "user_id" | "message";
8383
UsersCountAggregateOutputType: "id" | "email" | "name";
8484
UsersAvgAggregateOutputType: "id";
8585
UsersSumAggregateOutputType: "id";
8686
UsersMinAggregateOutputType: "id" | "email" | "name";
8787
UsersMaxAggregateOutputType: "id" | "email" | "name";
8888
AggregateUsers: "count" | "avg" | "sum" | "min" | "max";
89-
UsersGroupByOutputType: "id" | "email" | "name" | "count" | "avg" | "sum" | "min" | "max";
89+
UsersGroupByOutputType: "id" | "email" | "name";
9090
AffectedRowsOutput: "count";
9191
}
9292

.wundergraph/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"license": "ISC",
1414
"dependencies": {
1515
"@types/node": "^14.14.37",
16-
"@wundergraph/sdk": "0.21.2",
16+
"@wundergraph/sdk": "0.21.5",
1717
"concurrently": "^6.0.0",
1818
"ts-node-dev": "^1.1.1",
1919
"typescript": "^4.1.3"

.wundergraph/wundergraph.app.schema.graphql

+16-10
Original file line numberDiff line numberDiff line change
@@ -178,10 +178,15 @@ input NestedIntWithAggregatesFilter {
178178
gt: Int
179179
gte: Int
180180
not: NestedIntWithAggregatesFilter
181+
_count: NestedIntFilter
181182
count: NestedIntFilter
183+
_avg: NestedFloatFilter
182184
avg: NestedFloatFilter
185+
_sum: NestedIntFilter
183186
sum: NestedIntFilter
187+
_min: NestedIntFilter
184188
min: NestedIntFilter
189+
_max: NestedIntFilter
185190
max: NestedIntFilter
186191
}
187192

@@ -194,10 +199,15 @@ input IntWithAggregatesFilter {
194199
gt: Int
195200
gte: Int
196201
not: NestedIntWithAggregatesFilter
202+
_count: NestedIntFilter
197203
count: NestedIntFilter
204+
_avg: NestedFloatFilter
198205
avg: NestedFloatFilter
206+
_sum: NestedIntFilter
199207
sum: NestedIntFilter
208+
_min: NestedIntFilter
200209
min: NestedIntFilter
210+
_max: NestedIntFilter
201211
max: NestedIntFilter
202212
}
203213

@@ -213,8 +223,11 @@ input NestedStringWithAggregatesFilter {
213223
startsWith: String
214224
endsWith: String
215225
not: NestedStringWithAggregatesFilter
226+
_count: NestedIntFilter
216227
count: NestedIntFilter
228+
_min: NestedStringFilter
217229
min: NestedStringFilter
230+
_max: NestedStringFilter
218231
max: NestedStringFilter
219232
}
220233

@@ -231,8 +244,11 @@ input StringWithAggregatesFilter {
231244
endsWith: String
232245
mode: QueryMode
233246
not: NestedStringWithAggregatesFilter
247+
_count: NestedIntFilter
234248
count: NestedIntFilter
249+
_min: NestedStringFilter
235250
min: NestedStringFilter
251+
_max: NestedStringFilter
236252
max: NestedStringFilter
237253
}
238254

@@ -249,11 +265,6 @@ type MessagesGroupByOutputType {
249265
id: Int!
250266
user_id: Int!
251267
message: String!
252-
count: MessagesCountAggregateOutputType
253-
avg: MessagesAvgAggregateOutputType
254-
sum: MessagesSumAggregateOutputType
255-
min: MessagesMinAggregateOutputType
256-
max: MessagesMaxAggregateOutputType
257268
}
258269

259270
input usersOrderByInput {
@@ -320,11 +331,6 @@ type UsersGroupByOutputType {
320331
id: Int!
321332
email: String!
322333
name: String!
323-
count: UsersCountAggregateOutputType
324-
avg: UsersAvgAggregateOutputType
325-
sum: UsersSumAggregateOutputType
326-
min: UsersMinAggregateOutputType
327-
max: UsersMaxAggregateOutputType
328334
}
329335

330336
type Query {

.wundergraph/wundergraph.config.json

+24-14
Large diffs are not rendered by default.

.wundergraph/wundergraph.config.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import {
99
import {ConfigureOperations} from "./generated/operations";
1010

1111
const db = introspect.postgresql({
12-
database_querystring: "postgresql://admin:admin@localhost:55555/example?schema=public",
12+
database_querystring: "postgresql://admin:admin@localhost:54322/example?schema=public",
1313
});
1414

1515
const operations: ConfigureOperations = {

.wundergraph/yarn.lock

+4-4
Original file line numberDiff line numberDiff line change
@@ -181,10 +181,10 @@
181181
dependencies:
182182
ts-proto "^1.65.0"
183183

184-
"@wundergraph/sdk@0.21.2":
185-
version "0.21.2"
186-
resolved "https://registry.yarnpkg.com/@wundergraph/sdk/-/sdk-0.21.2.tgz#dfe469bc9aa4e418498b3d0efd328ce92a09e63d"
187-
integrity sha512-WMPJHJA+clCsa56qgVR+b3/IbitmhdxnY4GpDAtuT7PS4VTh7xYxzaKTxYd49qURfEVoFA+jZfQKQI2Jbe1mmA==
184+
"@wundergraph/sdk@0.21.5":
185+
version "0.21.5"
186+
resolved "https://registry.yarnpkg.com/@wundergraph/sdk/-/sdk-0.21.5.tgz#fc604a88c4b479c1792902d3bedc4d349b989535"
187+
integrity sha512-8pZ2c7Z7Q8roCb9oN3kXDUc61YyyKWsskmU2brZ+K5w/DL95Gr72LtbSS9ZgL27ImyZMVF89dWheVkcXzdVchg==
188188
dependencies:
189189
"@graphql-tools/merge" "^6.2.6"
190190
"@types/chokidar" "^2.1.3"

docker-compose.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ services:
33
database:
44
image: "postgres"
55
ports:
6-
- 55555:5432
6+
- 54322:5432
77
env_file:
88
- database.env
99
volumes:

0 commit comments

Comments
 (0)