@qwik.dev/core 2.0.0-beta.29 → 2.0.0-beta.30
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/backpatch/package.json +1 -1
- package/dist/build/package.json +1 -1
- package/dist/cli.mjs +2 -2
- package/dist/core-internal.d.ts +32 -184
- package/dist/core.min.mjs +2 -1
- package/dist/core.mjs +810 -340
- package/dist/core.mjs.map +1 -1
- package/dist/core.prod.mjs +3692 -3249
- package/dist/loader/index.mjs +2 -2
- package/dist/loader/package.json +1 -1
- package/dist/optimizer.d.ts +8 -224
- package/dist/optimizer.mjs +1382 -1702
- package/dist/qwikloader.debug.js +10 -3
- package/dist/qwikloader.js +1 -1
- package/dist/server.d.ts +2 -181
- package/dist/server.mjs +23 -21
- package/dist/server.prod.mjs +337 -336
- package/dist/starters/adapters/netlify-edge/package.json +2 -2
- package/dist/testing/index.d.ts +4 -1
- package/dist/testing/index.mjs +1241 -696
- package/dist/testing/package.json +1 -1
- package/handlers.mjs +1 -1
- package/package.json +5 -6
- package/public.d.ts +1 -0
- package/bindings/qwik.darwin-arm64.node +0 -0
- package/bindings/qwik.linux-x64-gnu.node +0 -0
- package/bindings/qwik.wasm.mjs +0 -464
- package/bindings/qwik.win32-x64-msvc.node +0 -0
- package/bindings/qwik_wasm_bg.wasm +0 -0
- package/dist/starters/features/playwright/playwright-report/index.html +0 -22047
package/dist/build/package.json
CHANGED
package/dist/cli.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
|
-
* @qwik.dev/core/cli 2.0.0-beta.
|
|
3
|
+
* @qwik.dev/core/cli 2.0.0-beta.30-dev+5421ed4
|
|
4
4
|
* Copyright QwikDev. All Rights Reserved.
|
|
5
5
|
* Use of this source code is governed by an MIT-style license that can be
|
|
6
6
|
* found in the LICENSE file at https://github.com/QwikDev/qwik/blob/main/LICENSE
|
|
@@ -12908,7 +12908,7 @@ async function printHelp(app) {
|
|
|
12908
12908
|
await runCommand2(Object.assign(app, { task: args[0], args }));
|
|
12909
12909
|
}
|
|
12910
12910
|
function printVersion() {
|
|
12911
|
-
console.log("2.0.0-beta.
|
|
12911
|
+
console.log("2.0.0-beta.30-dev+5421ed4");
|
|
12912
12912
|
}
|
|
12913
12913
|
export {
|
|
12914
12914
|
runCli,
|
package/dist/core-internal.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import * as CSS_2 from 'csstype';
|
|
1
|
+
import type * as CSS_2 from 'csstype';
|
|
2
2
|
import { isBrowser } from './build';
|
|
3
3
|
import { isDev } from './build';
|
|
4
4
|
import { isServer } from './build';
|
|
5
|
+
import { ResolvedManifest } from './optimizer';
|
|
5
6
|
|
|
6
7
|
/**
|
|
7
8
|
* Qwik Optimizer marker function.
|
|
@@ -628,7 +629,8 @@ declare const enum ChoreBits {
|
|
|
628
629
|
COMPUTE = 16,
|
|
629
630
|
CHILDREN = 32,
|
|
630
631
|
CLEANUP = 64,
|
|
631
|
-
|
|
632
|
+
RECONCILE = 128,
|
|
633
|
+
DIRTY_MASK = 255
|
|
632
634
|
}
|
|
633
635
|
|
|
634
636
|
/**
|
|
@@ -738,12 +740,6 @@ declare type ComponentChildren<PROPS> = PROPS extends {
|
|
|
738
740
|
children?: JSXChildren;
|
|
739
741
|
};
|
|
740
742
|
|
|
741
|
-
/** @public */
|
|
742
|
-
declare interface ComponentEntryStrategy {
|
|
743
|
-
type: 'component';
|
|
744
|
-
manual?: Record<string, string>;
|
|
745
|
-
}
|
|
746
|
-
|
|
747
743
|
/** @internal */
|
|
748
744
|
export declare const componentQrl: <PROPS extends Record<any, any>>(componentQrl: QRL<OnRenderFn<PROPS>>) => Component<PROPS>;
|
|
749
745
|
|
|
@@ -1188,6 +1184,8 @@ declare class DomContainer extends _SharedContainer implements ClientContainer {
|
|
|
1188
1184
|
private $stateData$;
|
|
1189
1185
|
private $styleIds$;
|
|
1190
1186
|
constructor(element: _ContainerElement);
|
|
1187
|
+
/** Tear down this container so stale references fail gracefully. */
|
|
1188
|
+
$destroy$(): void;
|
|
1191
1189
|
/**
|
|
1192
1190
|
* The first time we render we need to hoist the styles. (Meaning we need to move all styles from
|
|
1193
1191
|
* component inline to <head>)
|
|
@@ -1222,6 +1220,23 @@ declare type DomRef = {
|
|
|
1222
1220
|
/** @internal */
|
|
1223
1221
|
export declare const _dumpState: (state: unknown[], color?: boolean, prefix?: string, limit?: number | null) => string;
|
|
1224
1222
|
|
|
1223
|
+
/** @internal */
|
|
1224
|
+
export declare const _eaC: (props: EachProps<any>) => JSXNode<unknown>;
|
|
1225
|
+
|
|
1226
|
+
/** @public @experimental */
|
|
1227
|
+
export declare const Each: EachComponent;
|
|
1228
|
+
|
|
1229
|
+
declare type EachComponent = <T, ITEM extends JSXOutput = JSXOutput>(props: PublicProps<EachProps<T, ITEM>>, key: string | null, flags: number, dev?: DevJSX) => JSXOutput;
|
|
1230
|
+
|
|
1231
|
+
declare interface EachProps<T, ITEM extends JSXOutput = JSXOutput> {
|
|
1232
|
+
items: readonly T[];
|
|
1233
|
+
item$: QRL<(item: T, index: number) => ITEM>;
|
|
1234
|
+
key$: QRL<(item: T, index: number) => string>;
|
|
1235
|
+
}
|
|
1236
|
+
|
|
1237
|
+
/** @internal */
|
|
1238
|
+
export declare const _eaT: ({ track }: TaskCtx) => Promise<void>;
|
|
1239
|
+
|
|
1225
1240
|
/** @internal */
|
|
1226
1241
|
export declare const _EFFECT_BACK_REF: unique symbol;
|
|
1227
1242
|
|
|
@@ -1289,9 +1304,6 @@ export declare const _EMPTY_ARRAY: any[];
|
|
|
1289
1304
|
/** @internal */
|
|
1290
1305
|
export declare const _EMPTY_OBJ: Record<string, any>;
|
|
1291
1306
|
|
|
1292
|
-
/** @public */
|
|
1293
|
-
declare type EntryStrategy = InlineEntryStrategy | HoistEntryStrategy | SingleEntryStrategy | HookEntryStrategy | SegmentEntryStrategy | ComponentEntryStrategy | SmartEntryStrategy;
|
|
1294
|
-
|
|
1295
1307
|
/** @public */
|
|
1296
1308
|
export declare interface ErrorBoundaryStore {
|
|
1297
1309
|
error: any | undefined;
|
|
@@ -1410,15 +1422,6 @@ export declare function _getQContainerElement(element: Element): Element | null;
|
|
|
1410
1422
|
/** Used by the optimizer for spread props operations @internal */
|
|
1411
1423
|
export declare const _getVarProps: (props: PropsProxy | Record<string, unknown> | null | undefined) => Props | null;
|
|
1412
1424
|
|
|
1413
|
-
/** @public */
|
|
1414
|
-
declare interface GlobalInjections {
|
|
1415
|
-
tag: string;
|
|
1416
|
-
attributes?: {
|
|
1417
|
-
[key: string]: string;
|
|
1418
|
-
};
|
|
1419
|
-
location: 'head' | 'body';
|
|
1420
|
-
}
|
|
1421
|
-
|
|
1422
1425
|
/**
|
|
1423
1426
|
* The legacy transform, used by some JSX transpilers. The optimizer normally replaces this with
|
|
1424
1427
|
* optimized calls, with the same caveat as `jsx()`.
|
|
@@ -1442,17 +1445,6 @@ export declare const _hasStoreEffects: (value: StoreTarget, prop: keyof StoreTar
|
|
|
1442
1445
|
*/
|
|
1443
1446
|
export declare const _hmr: (event: Event, element: Element) => void;
|
|
1444
1447
|
|
|
1445
|
-
/** @public */
|
|
1446
|
-
declare interface HoistEntryStrategy {
|
|
1447
|
-
type: 'hoist';
|
|
1448
|
-
}
|
|
1449
|
-
|
|
1450
|
-
/** @deprecated Use SegmentStrategy instead */
|
|
1451
|
-
declare interface HookEntryStrategy {
|
|
1452
|
-
type: 'hook';
|
|
1453
|
-
manual?: Record<string, string>;
|
|
1454
|
-
}
|
|
1455
|
-
|
|
1456
1448
|
declare type HostElement = _VNode | ISsrNode;
|
|
1457
1449
|
|
|
1458
1450
|
/** @public */
|
|
@@ -1578,11 +1570,6 @@ export declare const inlinedQrl: <T>(symbol: T | null, symbolName: string, lexic
|
|
|
1578
1570
|
/** @internal */
|
|
1579
1571
|
export declare const inlinedQrlDEV: <T = any>(symbol: T, symbolName: string, opts: QRLDev, lexicalScopeCapture?: Readonly<unknown[]>) => QRL<T>;
|
|
1580
1572
|
|
|
1581
|
-
/** @public */
|
|
1582
|
-
declare interface InlineEntryStrategy {
|
|
1583
|
-
type: 'inline';
|
|
1584
|
-
}
|
|
1585
|
-
|
|
1586
1573
|
/**
|
|
1587
1574
|
* These are the HTML tags with handlers allowing plain callbacks, to be used for the JSX interface
|
|
1588
1575
|
*
|
|
@@ -2465,47 +2452,11 @@ export declare function _qrlToString(serializationContext: SerializationContext,
|
|
|
2465
2452
|
/** @public @deprecated Use `AnimationEvent` and use the second argument to the handler function for the current event target */
|
|
2466
2453
|
export declare type QwikAnimationEvent<T = Element> = NativeAnimationEvent;
|
|
2467
2454
|
|
|
2468
|
-
/** @public */
|
|
2469
|
-
declare interface QwikAsset {
|
|
2470
|
-
/** Name of the asset */
|
|
2471
|
-
name: string | undefined;
|
|
2472
|
-
/** Size of the asset */
|
|
2473
|
-
size: number;
|
|
2474
|
-
}
|
|
2475
|
-
|
|
2476
2455
|
/** The Qwik DOM attributes without plain handlers, for use as function parameters @public */
|
|
2477
2456
|
export declare interface QwikAttributes<EL extends Element> extends DOMAttributesBase<EL>, QwikEvents<EL, false> {
|
|
2478
2457
|
class?: ClassList | undefined;
|
|
2479
2458
|
}
|
|
2480
2459
|
|
|
2481
|
-
/** @public */
|
|
2482
|
-
declare interface QwikBundle {
|
|
2483
|
-
/** Size of the bundle */
|
|
2484
|
-
size: number;
|
|
2485
|
-
/** Total size of this bundle's static import graph */
|
|
2486
|
-
total: number;
|
|
2487
|
-
/** Interactivity score of the bundle */
|
|
2488
|
-
interactivity?: number;
|
|
2489
|
-
/** Symbols in the bundle */
|
|
2490
|
-
symbols?: string[];
|
|
2491
|
-
/** Direct imports */
|
|
2492
|
-
imports?: string[];
|
|
2493
|
-
/** Dynamic imports */
|
|
2494
|
-
dynamicImports?: string[];
|
|
2495
|
-
/** Source files of the bundle */
|
|
2496
|
-
origins?: string[];
|
|
2497
|
-
}
|
|
2498
|
-
|
|
2499
|
-
/**
|
|
2500
|
-
* Bundle graph.
|
|
2501
|
-
*
|
|
2502
|
-
* Format: [ 'bundle-a.js', 3, 5 // Depends on 'bundle-b.js' and 'bundle-c.js' 'bundle-b.js', 5, //
|
|
2503
|
-
* Depends on 'bundle-c.js' 'bundle-c.js', ]
|
|
2504
|
-
*
|
|
2505
|
-
* @public
|
|
2506
|
-
*/
|
|
2507
|
-
declare type QwikBundleGraph = Array<string | number>;
|
|
2508
|
-
|
|
2509
2460
|
/** @public @deprecated Use `Event` and use the second argument to the handler function for the current event target. Also note that in Qwik, onInput$ with the InputEvent is the event that behaves like onChange in React. */
|
|
2510
2461
|
export declare type QwikChangeEvent<T = Element> = Event;
|
|
2511
2462
|
|
|
@@ -2626,61 +2577,6 @@ declare type QwikKnownEventsPlain<EL> = {
|
|
|
2626
2577
|
[K in keyof QwikJSXEvents]?: QRLEventHandlerMulti<QwikJSXEvents[K], EL> | EventHandler<QwikJSXEvents[K], EL>;
|
|
2627
2578
|
};
|
|
2628
2579
|
|
|
2629
|
-
/**
|
|
2630
|
-
* The metadata of the build. One of its uses is storing where QRL symbols are located.
|
|
2631
|
-
*
|
|
2632
|
-
* @public
|
|
2633
|
-
*/
|
|
2634
|
-
declare interface QwikManifest {
|
|
2635
|
-
/** Content hash of the manifest, if this changes, the code changed */
|
|
2636
|
-
manifestHash: string;
|
|
2637
|
-
/** QRL symbols */
|
|
2638
|
-
symbols: {
|
|
2639
|
-
[symbolName: string]: QwikSymbol;
|
|
2640
|
-
};
|
|
2641
|
-
/** Where QRLs are located. The key is the symbol name, the value is the bundle fileName */
|
|
2642
|
-
mapping: {
|
|
2643
|
-
[symbolName: string]: string;
|
|
2644
|
-
};
|
|
2645
|
-
/**
|
|
2646
|
-
* All code bundles, used to know the import graph. The key is the bundle fileName relative to
|
|
2647
|
-
* "build/"
|
|
2648
|
-
*/
|
|
2649
|
-
bundles: {
|
|
2650
|
-
[fileName: string]: QwikBundle;
|
|
2651
|
-
};
|
|
2652
|
-
/** All assets. The key is the fileName relative to the rootDir */
|
|
2653
|
-
assets?: {
|
|
2654
|
-
[fileName: string]: QwikAsset;
|
|
2655
|
-
};
|
|
2656
|
-
/** All bundles in a compact graph format with probabilities */
|
|
2657
|
-
bundleGraph?: QwikBundleGraph;
|
|
2658
|
-
/** The bundle graph fileName */
|
|
2659
|
-
bundleGraphAsset?: string;
|
|
2660
|
-
/** The preloader bundle fileName */
|
|
2661
|
-
preloader?: string;
|
|
2662
|
-
/** The Qwik core bundle fileName */
|
|
2663
|
-
core?: string;
|
|
2664
|
-
/** The Qwik loader bundle fileName */
|
|
2665
|
-
qwikLoader?: string;
|
|
2666
|
-
/** CSS etc to inject in the document head */
|
|
2667
|
-
injections?: GlobalInjections[];
|
|
2668
|
-
/** The version of the manifest */
|
|
2669
|
-
version: string;
|
|
2670
|
-
/** The options used to build the manifest */
|
|
2671
|
-
options?: {
|
|
2672
|
-
target?: string;
|
|
2673
|
-
buildMode?: string;
|
|
2674
|
-
entryStrategy?: {
|
|
2675
|
-
type: EntryStrategy['type'];
|
|
2676
|
-
};
|
|
2677
|
-
};
|
|
2678
|
-
/** The platform used to build the manifest */
|
|
2679
|
-
platform?: {
|
|
2680
|
-
[name: string]: string;
|
|
2681
|
-
};
|
|
2682
|
-
}
|
|
2683
|
-
|
|
2684
2580
|
/** @public @deprecated Use `MouseEvent` and use the second argument to the handler function for the current event target */
|
|
2685
2581
|
export declare type QwikMouseEvent<T = Element, E = NativeMouseEvent> = E;
|
|
2686
2582
|
|
|
@@ -2705,24 +2601,6 @@ export declare type QwikSVGElements = {
|
|
|
2705
2601
|
[K in keyof Omit<SVGElementTagNameMap, keyof HTMLElementTagNameMap>]: SVGProps<SVGElementTagNameMap[K]>;
|
|
2706
2602
|
};
|
|
2707
2603
|
|
|
2708
|
-
/** @public */
|
|
2709
|
-
declare interface QwikSymbol {
|
|
2710
|
-
origin: string;
|
|
2711
|
-
displayName: string;
|
|
2712
|
-
hash: string;
|
|
2713
|
-
canonicalFilename: string;
|
|
2714
|
-
ctxKind: 'function' | 'eventHandler';
|
|
2715
|
-
ctxName: string;
|
|
2716
|
-
/** Whether the symbol captures a variable */
|
|
2717
|
-
captures: boolean;
|
|
2718
|
-
parent: string | null;
|
|
2719
|
-
loc: [number, number];
|
|
2720
|
-
/** The parameter names if it's a function with parameters */
|
|
2721
|
-
paramNames?: string[];
|
|
2722
|
-
/** The transformed names of scoped variables, if any */
|
|
2723
|
-
captureNames?: string[];
|
|
2724
|
-
}
|
|
2725
|
-
|
|
2726
2604
|
/** Emitted by qwik-loader on document when a module was lazily loaded @public */
|
|
2727
2605
|
export declare type QwikSymbolEvent = CustomEvent<{
|
|
2728
2606
|
symbol: string;
|
|
@@ -2847,14 +2725,6 @@ export declare function _res(this: string | undefined, _: any, element: Element)
|
|
|
2847
2725
|
/** @internal */
|
|
2848
2726
|
export declare const _resolveContextWithoutSequentialScope: <STATE>(context: ContextId<STATE>) => STATE | undefined;
|
|
2849
2727
|
|
|
2850
|
-
/** @public */
|
|
2851
|
-
declare interface ResolvedManifest {
|
|
2852
|
-
mapper: SymbolMapper;
|
|
2853
|
-
manifest: ServerQwikManifest;
|
|
2854
|
-
injections?: GlobalInjections[];
|
|
2855
|
-
bundleGraph?: QwikBundleGraph;
|
|
2856
|
-
}
|
|
2857
|
-
|
|
2858
2728
|
/**
|
|
2859
2729
|
* ```tsx
|
|
2860
2730
|
* const Cmp = component$(() => {
|
|
@@ -2971,12 +2841,6 @@ declare type SeenRef = {
|
|
|
2971
2841
|
$parent$?: SeenRef | null;
|
|
2972
2842
|
};
|
|
2973
2843
|
|
|
2974
|
-
/** @public */
|
|
2975
|
-
declare interface SegmentEntryStrategy {
|
|
2976
|
-
type: 'segment';
|
|
2977
|
-
manual?: Record<string, string>;
|
|
2978
|
-
}
|
|
2979
|
-
|
|
2980
2844
|
declare interface SerializationContext {
|
|
2981
2845
|
$serialize$: () => ValueOrPromise<void>;
|
|
2982
2846
|
$symbolToChunkResolver$: SymbolToChunkResolver;
|
|
@@ -3133,13 +2997,6 @@ declare class SerializerSignalImpl<T, S> extends ComputedSignalImpl<T> {
|
|
|
3133
2997
|
*/
|
|
3134
2998
|
export declare const SerializerSymbol: unique symbol;
|
|
3135
2999
|
|
|
3136
|
-
/**
|
|
3137
|
-
* The manifest values that are needed for SSR.
|
|
3138
|
-
*
|
|
3139
|
-
* @public
|
|
3140
|
-
*/
|
|
3141
|
-
declare type ServerQwikManifest = Pick<QwikManifest, 'manifestHash' | 'injections' | 'bundleGraph' | 'bundleGraphAsset' | 'mapping' | 'preloader' | 'core' | 'qwikLoader'>;
|
|
3142
|
-
|
|
3143
3000
|
/** @internal */
|
|
3144
3001
|
export declare function _setEvent(serializationCtx: SerializationContext, key: string, rawValue: unknown, hasMovedCaptures: boolean): string | null;
|
|
3145
3002
|
|
|
@@ -3260,12 +3117,6 @@ declare interface SimplifiedServerRequestEvent<T = unknown> {
|
|
|
3260
3117
|
request: Request;
|
|
3261
3118
|
}
|
|
3262
3119
|
|
|
3263
|
-
/** @public */
|
|
3264
|
-
declare interface SingleEntryStrategy {
|
|
3265
|
-
type: 'single';
|
|
3266
|
-
manual?: Record<string, string>;
|
|
3267
|
-
}
|
|
3268
|
-
|
|
3269
3120
|
/** @public */
|
|
3270
3121
|
declare type Size = number | string;
|
|
3271
3122
|
|
|
@@ -3283,12 +3134,6 @@ export declare const Slot: FunctionComponent<{
|
|
|
3283
3134
|
children?: JSXChildren;
|
|
3284
3135
|
}>;
|
|
3285
3136
|
|
|
3286
|
-
/** @public */
|
|
3287
|
-
declare interface SmartEntryStrategy {
|
|
3288
|
-
type: 'smart';
|
|
3289
|
-
manual?: Record<string, string>;
|
|
3290
|
-
}
|
|
3291
|
-
|
|
3292
3137
|
/** @public */
|
|
3293
3138
|
export declare interface SnapshotListener {
|
|
3294
3139
|
key: string;
|
|
@@ -3566,6 +3411,10 @@ declare interface SSRContainer extends _Container {
|
|
|
3566
3411
|
addUnclaimedProjection(frame: ISsrComponentFrame, name: string, children: JSXChildren): void;
|
|
3567
3412
|
isStatic(): boolean;
|
|
3568
3413
|
render(jsx: JSXOutput): Promise<void>;
|
|
3414
|
+
renderJSX(jsx: JSXOutput, options: {
|
|
3415
|
+
currentStyleScoped: string | null;
|
|
3416
|
+
parentComponentFrame: ISsrComponentFrame | null;
|
|
3417
|
+
}): Promise<void>;
|
|
3569
3418
|
emitPreloaderPre(): void;
|
|
3570
3419
|
emitQwikLoaderAtTopIfNeeded(): void;
|
|
3571
3420
|
emitPatchDataIfNeeded(): void;
|
|
@@ -3908,9 +3757,6 @@ export declare interface SVGAttributes<T extends Element = Element> extends Aria
|
|
|
3908
3757
|
export declare interface SVGProps<T extends Element> extends SVGAttributes, QwikAttributes<T> {
|
|
3909
3758
|
}
|
|
3910
3759
|
|
|
3911
|
-
/** @public */
|
|
3912
|
-
declare type SymbolMapper = Record<string, readonly [symbol: string, chunk: string]>;
|
|
3913
|
-
|
|
3914
3760
|
declare type SymbolToChunkResolver = (symbol: string) => string;
|
|
3915
3761
|
|
|
3916
3762
|
/**
|
|
@@ -3953,6 +3799,8 @@ declare class Task<T = unknown, B = T> extends BackRef implements DescriptorBase
|
|
|
3953
3799
|
$qrl$: _QRLInternal<T>;
|
|
3954
3800
|
$state$: Signal<B> | undefined;
|
|
3955
3801
|
$destroy$: (() => void) | null;
|
|
3802
|
+
$destroyPromise$: Promise<void> | undefined;
|
|
3803
|
+
$taskPromise$: Promise<void> | null;
|
|
3956
3804
|
constructor($flags$: number, $index$: number, $el$: HostElement, $qrl$: _QRLInternal<T>, $state$: Signal<B> | undefined, $destroy$: (() => void) | null);
|
|
3957
3805
|
}
|
|
3958
3806
|
|
|
@@ -3967,13 +3815,13 @@ export declare function _task(this: string, _event: Event, element: Element): vo
|
|
|
3967
3815
|
/** @public */
|
|
3968
3816
|
export declare interface TaskCtx {
|
|
3969
3817
|
track: Tracker;
|
|
3970
|
-
cleanup: (callback: () => void) => void;
|
|
3818
|
+
cleanup: (callback: () => ValueOrPromise<void>) => void;
|
|
3971
3819
|
}
|
|
3972
3820
|
|
|
3973
3821
|
declare const TaskEvent = "qTask";
|
|
3974
3822
|
|
|
3975
3823
|
/** @public */
|
|
3976
|
-
export declare type TaskFn = (ctx: TaskCtx) => ValueOrPromise<void | (() => void)>;
|
|
3824
|
+
export declare type TaskFn = (ctx: TaskCtx) => ValueOrPromise<void | (() => ValueOrPromise<void>)>;
|
|
3977
3825
|
|
|
3978
3826
|
/** @public */
|
|
3979
3827
|
export declare interface TaskOptions {
|
|
@@ -4773,7 +4621,7 @@ export declare const _VAR_PROPS: unique symbol;
|
|
|
4773
4621
|
export declare const _verifySerializable: <T>(value: T, preMessage?: string) => T;
|
|
4774
4622
|
|
|
4775
4623
|
/**
|
|
4776
|
-
* 2.0.0-beta.
|
|
4624
|
+
* 2.0.0-beta.30-dev+5421ed4
|
|
4777
4625
|
*
|
|
4778
4626
|
* @public
|
|
4779
4627
|
*/
|