@lwrjs/types 0.10.0-alpha.13 → 0.10.0-alpha.15

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/build/config.d.ts CHANGED
@@ -188,10 +188,12 @@ export interface BundleConfig {
188
188
  UNSAFE_lwrDefaultExclude?: string[];
189
189
  external?: Record<string, string>;
190
190
  alias?: Record<string, string>;
191
+ groups?: BundleGroups;
191
192
  }
192
193
  export interface BundleConfigOverrides extends BundleConfig {
193
194
  appendExcludes?: boolean;
194
195
  }
196
+ export declare type BundleGroups = Record<string, string[]>;
195
197
  export declare type Environment = string;
196
198
  export interface EnvironmentConfig {
197
199
  default?: Environment;
package/build/index.d.ts CHANGED
@@ -108,6 +108,7 @@ export interface DynamicImportReference extends BaseDynamicModuleReference {
108
108
  export interface ModuleRecord {
109
109
  imports?: ImportModuleReference[];
110
110
  dynamicImports?: DynamicImportReference[];
111
+ importMeta?: ImportMeta[];
111
112
  }
112
113
  export interface ChildHashObject {
113
114
  [specifier: string]: string;
@@ -162,10 +163,11 @@ export interface ServerModeConfig {
162
163
  featureFlags: FeatureFlags;
163
164
  }
164
165
  export interface FeatureFlags extends Record<string, boolean | undefined> {
166
+ ASSETS_ON_LAMBDA?: boolean;
165
167
  LEGACY_LOADER?: boolean;
166
- SSR_STATIC_BUNDLES?: boolean;
167
168
  SSR_SANDBOX_WORKER?: boolean;
168
- ASSETS_ON_LAMBDA?: boolean;
169
+ SSR_STATIC_BUNDLES?: boolean;
170
+ EXPERIMENTAL_UNVERSIONED_ALIASES?: boolean;
169
171
  }
170
172
  export interface RuntimeEnvironment extends ServerModeConfig {
171
173
  apiVersion: string;
@@ -435,6 +437,7 @@ export declare type SourceMap = string | null | undefined;
435
437
  export interface CompiledMetadata {
436
438
  imports?: Import[];
437
439
  dynamicImports?: DynamicImport[];
440
+ importMeta?: ImportMeta[];
438
441
  }
439
442
  export interface SourceLocation {
440
443
  startColumn: number;
@@ -451,6 +454,10 @@ export interface DynamicImport {
451
454
  importLocation: SourceLocation;
452
455
  moduleNameType: ModuleNameType;
453
456
  }
457
+ export interface ImportMeta {
458
+ statement: string;
459
+ location: SourceLocation;
460
+ }
454
461
  export interface CompilerResult {
455
462
  code: string;
456
463
  map?: SourceMap;
package/package.json CHANGED
@@ -8,7 +8,7 @@
8
8
  "build": "tsc -b"
9
9
  },
10
10
  "type": "module",
11
- "version": "0.10.0-alpha.13",
11
+ "version": "0.10.0-alpha.15",
12
12
  "homepage": "https://developer.salesforce.com/docs/platform/lwr/overview",
13
13
  "repository": {
14
14
  "type": "git",
@@ -29,5 +29,5 @@
29
29
  "engines": {
30
30
  "node": ">=16.0.0 <20"
31
31
  },
32
- "gitHead": "f6d142d5a027554cb1685389e0b173734149683d"
32
+ "gitHead": "70557f63a46167c40cf1415f12af69f78ae402d6"
33
33
  }