@lipsjs/lips 0.0.8 → 0.0.10
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/lips.min.js +2 -2
- package/dist/lips.min.js.map +5 -5
- package/dist/test.component.min.js +2 -26
- package/dist/test.component.min.js.map +7 -10
- package/dist/test.stress.min.js +7 -7
- package/dist/test.stress.min.js.map +6 -6
- package/dist/types/component.d.ts +0 -1
- package/dist/types/types.d.ts +6 -0
- package/package.json +1 -1
package/dist/types/types.d.ts
CHANGED
|
@@ -117,17 +117,23 @@ export type VirtualEventsRegistry<T> = {
|
|
|
117
117
|
/**
|
|
118
118
|
* (FGU) Fine-Grain Update Dependencies
|
|
119
119
|
*/
|
|
120
|
+
export type NodeType = 'component' | 'dynamic' | 'element' | 'macro' | 'text' | 'let' | 'log';
|
|
121
|
+
export type FGUDTarget = 'spread-attr' | 'meta-attr' | 'argument' | 'value' | 'attr' | 'dtag';
|
|
120
122
|
export interface FGUSync {
|
|
121
123
|
memo?: VariableSet;
|
|
122
124
|
cleanup?: () => void;
|
|
123
125
|
}
|
|
124
126
|
export interface I18nDependency {
|
|
127
|
+
nodetype: NodeType;
|
|
128
|
+
target: FGUDTarget;
|
|
125
129
|
path: string;
|
|
126
130
|
$fragment: Cash;
|
|
127
131
|
memo: VariableSet;
|
|
128
132
|
update: (memo: VariableSet, by?: string) => FGUSync | void;
|
|
129
133
|
}
|
|
130
134
|
export interface FGUDependency {
|
|
135
|
+
nodetype: NodeType;
|
|
136
|
+
target: FGUDTarget;
|
|
131
137
|
path: string;
|
|
132
138
|
$fragment: Cash | null;
|
|
133
139
|
boundaries?: FragmentBoundaries;
|