From 9c330298984dd6aa34b2d31fe3193ed679f16360 Mon Sep 17 00:00:00 2001 From: Martin Sosic Date: Mon, 9 Sep 2024 19:00:33 +0200 Subject: [PATCH] Fixed e2e tests for jobs (parenthesses). --- .../.wasp/out/sdk/wasp/dist/server/jobs/mySpecialJob.d.ts | 4 ++-- .../.wasp/out/sdk/wasp/dist/server/jobs/returnHelloJob.d.ts | 4 ++-- .../.wasp/out/sdk/wasp/dist/server/jobs/mySpecialJob.d.ts | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/waspc/e2e-test/test-outputs/waspComplexTest-golden/waspComplexTest/.wasp/out/sdk/wasp/dist/server/jobs/mySpecialJob.d.ts b/waspc/e2e-test/test-outputs/waspComplexTest-golden/waspComplexTest/.wasp/out/sdk/wasp/dist/server/jobs/mySpecialJob.d.ts index 0b1d0b120a..5bfe012bf8 100644 --- a/waspc/e2e-test/test-outputs/waspComplexTest-golden/waspComplexTest/.wasp/out/sdk/wasp/dist/server/jobs/mySpecialJob.d.ts +++ b/waspc/e2e-test/test-outputs/waspComplexTest-golden/waspComplexTest/.wasp/out/sdk/wasp/dist/server/jobs/mySpecialJob.d.ts @@ -16,7 +16,7 @@ export declare const mySpecialJob: { readonly pgBoss: { readonly cancel: () => ReturnType; readonly resume: () => ReturnType; - readonly details: () => Promise, "output" | "state"> & { + readonly details: () => Promise, "output" | "state"> & ({ data: JSONObject; } & ({ state: "failed"; @@ -35,7 +35,7 @@ export declare const mySpecialJob: { } | { value: true; }; - })>; + }))>; }; readonly job: import("./core/job").Job; readonly jobId: string; diff --git a/waspc/e2e-test/test-outputs/waspComplexTest-golden/waspComplexTest/.wasp/out/sdk/wasp/dist/server/jobs/returnHelloJob.d.ts b/waspc/e2e-test/test-outputs/waspComplexTest-golden/waspComplexTest/.wasp/out/sdk/wasp/dist/server/jobs/returnHelloJob.d.ts index 1cdfa14ed1..edd67b776c 100644 --- a/waspc/e2e-test/test-outputs/waspComplexTest-golden/waspComplexTest/.wasp/out/sdk/wasp/dist/server/jobs/returnHelloJob.d.ts +++ b/waspc/e2e-test/test-outputs/waspComplexTest-golden/waspComplexTest/.wasp/out/sdk/wasp/dist/server/jobs/returnHelloJob.d.ts @@ -20,7 +20,7 @@ export declare const returnHelloJob: { readonly pgBoss: { readonly cancel: () => ReturnType; readonly resume: () => ReturnType; - readonly details: () => Promise, "output" | "state"> & { + readonly details: () => Promise, "output" | "state"> & ({ data: JSONObject; } & ({ state: "failed"; @@ -39,7 +39,7 @@ export declare const returnHelloJob: { } | { value: true; }; - })>; + }))>; }; readonly job: import("./core/job").Job; readonly jobId: string; diff --git a/waspc/e2e-test/test-outputs/waspJob-golden/waspJob/.wasp/out/sdk/wasp/dist/server/jobs/mySpecialJob.d.ts b/waspc/e2e-test/test-outputs/waspJob-golden/waspJob/.wasp/out/sdk/wasp/dist/server/jobs/mySpecialJob.d.ts index 0b1d0b120a..5bfe012bf8 100644 --- a/waspc/e2e-test/test-outputs/waspJob-golden/waspJob/.wasp/out/sdk/wasp/dist/server/jobs/mySpecialJob.d.ts +++ b/waspc/e2e-test/test-outputs/waspJob-golden/waspJob/.wasp/out/sdk/wasp/dist/server/jobs/mySpecialJob.d.ts @@ -16,7 +16,7 @@ export declare const mySpecialJob: { readonly pgBoss: { readonly cancel: () => ReturnType; readonly resume: () => ReturnType; - readonly details: () => Promise, "output" | "state"> & { + readonly details: () => Promise, "output" | "state"> & ({ data: JSONObject; } & ({ state: "failed"; @@ -35,7 +35,7 @@ export declare const mySpecialJob: { } | { value: true; }; - })>; + }))>; }; readonly job: import("./core/job").Job; readonly jobId: string;