@citolab/qti-components 6.9.1-16 → 6.9.1-17

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.
@@ -836,7 +836,13 @@ interface ModuleResolutionConfig {
836
836
  context?: string;
837
837
  catchError?: boolean;
838
838
  paths: {
839
- [key: string]: string;
839
+ [key: string]: string | string[];
840
+ };
841
+ shim?: {
842
+ [key: string]: {
843
+ deps?: string[];
844
+ exports?: string;
845
+ };
840
846
  };
841
847
  }
842
848
 
@@ -857,11 +863,12 @@ declare class QtiPortableCustomInteraction extends Interaction {
857
863
  register(pci: IMSpci<unknown>): void;
858
864
  connectedCallback(): void;
859
865
  disconnectedCallback(): void;
860
- registerModules(config: ModuleResolutionConfig): Promise<void>;
866
+ buildRequireConfig(): ModuleResolutionConfig;
867
+ private combineRequireResolvePaths;
861
868
  private removeDoubleSlashes;
862
869
  loadConfig: (url: string, baseUrl?: string) => Promise<ModuleResolutionConfig>;
863
- getResolvablePath: (path: string, basePath?: string) => string;
864
- mergeConfigs: (config: ModuleResolutionConfig, primaryConfig: ModuleResolutionConfig, fallback: string | ModuleResolutionConfig) => Promise<void>;
870
+ getResolvablePathString: (path: string, basePath?: string) => string;
871
+ getResolvablePath: (path: string | string[], basePath?: string) => string | string[];
865
872
  render(): lit_html.TemplateResult<1>;
866
873
  }
867
874
  declare global {