Skip to content

Commit a41c83f

Browse files
committed
chore: remove flags file
1 parent b5f1377 commit a41c83f

File tree

12 files changed

+29
-26
lines changed

12 files changed

+29
-26
lines changed

packages/qwik/src/core/client/vnode.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ import {
175175
vnode_getElementNamespaceFlags,
176176
} from './vnode-namespace';
177177
import { mergeMaps } from '../shared/utils/maps';
178-
import { _EFFECT_BACK_REF } from '../signal/flags';
178+
import { _EFFECT_BACK_REF } from '../signal/types';
179179

180180
//////////////////////////////////////////////////////////////////////////////////////////////////////
181181

packages/qwik/src/core/internal.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,5 @@ export {
3737
export { EMPTY_ARRAY as _EMPTY_ARRAY } from './shared/utils/flyweight';
3838
export { _serialize, _deserialize } from './shared/shared-serialization';
3939
export { _jsxQ, _jsxC, _jsxS } from './shared/jsx/jsx-runtime';
40-
export { _EFFECT_BACK_REF } from './signal/flags';
40+
export { _EFFECT_BACK_REF } from './signal/types';
4141
export { SubscriptionData as _SubscriptionData } from './signal/subscription-data';

packages/qwik/src/core/shared/scheduler.unit.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import { createScheduler } from './scheduler';
1818
import { ChoreType } from './util-chore-type';
1919
import type { HostElement } from './types';
2020
import { QContainerAttr } from './utils/markers';
21-
import { _EFFECT_BACK_REF } from '../signal/flags';
21+
import { _EFFECT_BACK_REF } from '../signal/types';
2222

2323
declare global {
2424
let testLog: string[];

packages/qwik/src/core/shared/shared-serialization.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import type { VNodeData } from '../../server/vnode-data';
77
import { type DomContainer } from '../client/dom-container';
88
import type { VNode } from '../client/types';
99
import { vnode_getNode, vnode_isVNode, vnode_locate, vnode_toString } from '../client/vnode';
10-
import { _EFFECT_BACK_REF, NEEDS_COMPUTATION } from '../signal/flags';
1110
import { isSerializerObj } from '../signal/signal';
1211
import type { SerializerArg } from '../signal/types';
1312
import { getOrCreateStore, getStoreHandler, getStoreTarget, isStore } from '../signal/store';
@@ -40,7 +39,9 @@ import { isPromise } from './utils/promises';
4039
import { SerializerSymbol, fastSkipSerialize } from './utils/serialize-utils';
4140
import { type ValueOrPromise } from './utils/types';
4241
import {
42+
_EFFECT_BACK_REF,
4343
EffectSubscriptionProp,
44+
NEEDS_COMPUTATION,
4445
SignalFlags,
4546
STORE_ALL_PROPS,
4647
type AllSignalFlags,

packages/qwik/src/core/signal/flags.ts

Lines changed: 0 additions & 8 deletions
This file was deleted.

packages/qwik/src/core/signal/impl/computed-signal-impl.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,11 @@ import type { Container } from '../../shared/types';
55
import { ChoreType } from '../../shared/util-chore-type';
66
import { isPromise } from '../../shared/utils/promises';
77
import { tryGetInvokeContext } from '../../use/use-core';
8-
import { _EFFECT_BACK_REF, NEEDS_COMPUTATION } from '../flags';
98
import { throwIfQRLNotResolved } from '../signal';
109
import type { BackRef } from '../signal-cleanup';
1110
import { getSubscriber } from '../subscriber';
1211
import type { ComputeQRL, EffectSubscription } from '../types';
13-
import { EffectProperty, SignalFlags } from '../types';
12+
import { _EFFECT_BACK_REF, EffectProperty, NEEDS_COMPUTATION, SignalFlags } from '../types';
1413
import { SignalImpl } from './signal-impl';
1514

1615
const DEBUG = false;

packages/qwik/src/core/signal/impl/serializer-signal-impl.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,9 @@ import { qwikDebugToString } from '../../debug';
22
import type { QRLInternal } from '../../shared/qrl/qrl-class';
33
import type { Container } from '../../shared/types';
44
import { trackSignal } from '../../use/use-core';
5-
import { NEEDS_COMPUTATION } from '../flags';
65
import { throwIfQRLNotResolved } from '../signal';
76
import type { SerializerArg } from '../types';
8-
import { EffectProperty, SignalFlags, type ComputeQRL } from '../types';
7+
import { EffectProperty, NEEDS_COMPUTATION, SignalFlags, type ComputeQRL } from '../types';
98
import { ComputedSignalImpl } from './computed-signal-impl';
109

1110
const DEBUG = false;

packages/qwik/src/core/signal/impl/wrapped-signal-impl.ts

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,16 @@ import { QError, qError } from '../../shared/error/error';
33
import type { Container, HostElement } from '../../shared/types';
44
import { ChoreType } from '../../shared/util-chore-type';
55
import { trackSignal } from '../../use/use-core';
6-
import { _EFFECT_BACK_REF, NEEDS_COMPUTATION } from '../flags';
76
import { triggerEffects } from '../signal';
87
import type { BackRef } from '../signal-cleanup';
98
import type { AllSignalFlags, EffectSubscription } from '../types';
10-
import { EffectProperty, SignalFlags, WrappedSignalFlags } from '../types';
9+
import {
10+
_EFFECT_BACK_REF,
11+
EffectProperty,
12+
NEEDS_COMPUTATION,
13+
SignalFlags,
14+
WrappedSignalFlags,
15+
} from '../types';
1116
import { SignalImpl } from './signal-impl';
1217

1318
export class WrappedSignalImpl<T> extends SignalImpl<T> implements BackRef {

packages/qwik/src/core/signal/signal-cleanup.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
import { StoreHandler, getStoreHandler } from './store';
2-
import type { Container } from '../shared/types';
31
import { ensureMaterialized, vnode_isElementVNode, vnode_isVNode } from '../client/vnode';
4-
import { _EFFECT_BACK_REF } from './flags';
2+
import type { Container } from '../shared/types';
3+
import { SignalImpl } from './impl/signal-impl';
4+
import { WrappedSignalImpl } from './impl/wrapped-signal-impl';
5+
import { StoreHandler, getStoreHandler } from './store';
56
import {
67
EffectSubscriptionProp,
8+
_EFFECT_BACK_REF,
79
type Consumer,
810
type EffectProperty,
911
type EffectSubscription,
1012
} from './types';
11-
import { SignalImpl } from './impl/signal-impl';
12-
import { WrappedSignalImpl } from './impl/wrapped-signal-impl';
1313

1414
/** Class for back reference to the EffectSubscription */
1515
export abstract class BackRef {

packages/qwik/src/core/signal/signal.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ import { ELEMENT_PROPS, OnRenderProp } from '../shared/utils/markers';
1111
import { SerializerSymbol } from '../shared/utils/serialize-utils';
1212
import type { ISsrNode, SSRContainer } from '../ssr/ssr-types';
1313
import { TaskFlags, isTask } from '../use/use-task';
14-
import { _EFFECT_BACK_REF } from './flags';
1514
import { ComputedSignalImpl } from './impl/computed-signal-impl';
1615
import { SignalImpl } from './impl/signal-impl';
1716
import type { WrappedSignalImpl } from './impl/wrapped-signal-impl';

0 commit comments

Comments
 (0)