@microsoft/sp-module-interfaces 1.21.1 → 1.22.0-beta.2

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.
Files changed (78) hide show
  1. package/dist/index-internal-beta.d.ts +17 -0
  2. package/dist/index-internal-public.d.ts +16 -0
  3. package/dist/index-internal.d.ts +724 -14
  4. package/lib-commonjs/index.js +1 -2
  5. package/lib-commonjs/manifestHelpers.js +1 -1
  6. package/lib-commonjs/manifestSchemaValidator.js +1 -1
  7. package/lib-commonjs/manifestSchemas/IAdaptiveCardExtensionManifest.js +1 -1
  8. package/lib-commonjs/manifestSchemas/IClientSideApplicationManifest.js +1 -1
  9. package/lib-commonjs/manifestSchemas/IClientSideAssemblyManifest.js +1 -1
  10. package/lib-commonjs/manifestSchemas/IClientSideComponentLoaderConfiguration.js +1 -1
  11. package/lib-commonjs/manifestSchemas/IClientSideComponentManifest.js +1 -1
  12. package/lib-commonjs/manifestSchemas/IClientSideExtensionManifest.js +1 -1
  13. package/lib-commonjs/manifestSchemas/IClientSideLibraryManifest.js +1 -1
  14. package/lib-commonjs/manifestSchemas/IClientSideManifestBase.js +1 -1
  15. package/lib-commonjs/manifestSchemas/IClientSideMultiVersionManifest.js +1 -1
  16. package/lib-commonjs/manifestSchemas/IClientSideWebPartManifest.js +1 -1
  17. package/lib-commonjs/manifestSchemas/ICommandSetExtensionManifest.js +1 -1
  18. package/lib-commonjs/manifestSchemas/IPrefabAppManifest.js +1 -1
  19. package/lib-commonjs/manifestSchemas/ManifestType.js +1 -1
  20. package/lib-commonjs/manifestSchemas/examples/application_1.manifest.js +1 -1
  21. package/lib-commonjs/manifestSchemas/examples/application_2.manifest.js +1 -1
  22. package/lib-commonjs/manifestSchemas/examples/application_3.manifest.js +1 -1
  23. package/lib-commonjs/manifestSchemas/examples/assembly_1.manifest.js +1 -1
  24. package/lib-commonjs/manifestSchemas/examples/commandSet_1.manifest.js +1 -1
  25. package/lib-commonjs/manifestSchemas/examples/extension_1.manifest.js +1 -1
  26. package/lib-commonjs/manifestSchemas/examples/extension_2.manifest.js +1 -1
  27. package/lib-commonjs/manifestSchemas/examples/extension_3.manifest.js +1 -1
  28. package/lib-commonjs/manifestSchemas/examples/extension_4.manifest.js +1 -1
  29. package/lib-commonjs/manifestSchemas/examples/library_1.manifest.js +1 -1
  30. package/lib-commonjs/manifestSchemas/examples/multi-version_1.manifest.js +1 -1
  31. package/lib-commonjs/manifestSchemas/examples/prefab_1.manifest.js +1 -1
  32. package/lib-commonjs/manifestSchemas/examples/prefab_2.manifest.js +1 -1
  33. package/lib-commonjs/manifestSchemas/examples/webpart.manifest.json +62 -0
  34. package/lib-commonjs/manifestSchemas/examples/webpart_1.manifest.js +63 -1
  35. package/lib-commonjs/manifestSchemas/examples/webpart_2.manifest.js +63 -1
  36. package/lib-commonjs/manifestSchemas/jsonSchemas/client-side-component-loader-configuration.schema.json +6 -1
  37. package/lib-commonjs/manifestSchemas/jsonSchemas/client-side-web-part-manifest.schema.json +59 -0
  38. package/lib-commonjs/manifestSchemas/jsonSchemas/component-fallback-version.schema.json +106 -0
  39. package/lib-dts/index.d.ts +1 -1
  40. package/lib-dts/manifestSchemas/IClientSideComponentLoaderConfiguration.d.ts +76 -0
  41. package/lib-dts/manifestSchemas/IClientSideWebPartManifest.d.ts +80 -0
  42. package/lib-dts/tsdoc-metadata.json +1 -1
  43. package/lib-esm/index.js +1 -2
  44. package/lib-esm/manifestHelpers.js +1 -1
  45. package/lib-esm/manifestSchemaValidator.js +1 -1
  46. package/lib-esm/manifestSchemas/IAdaptiveCardExtensionManifest.js +1 -1
  47. package/lib-esm/manifestSchemas/IClientSideApplicationManifest.js +1 -1
  48. package/lib-esm/manifestSchemas/IClientSideAssemblyManifest.js +1 -1
  49. package/lib-esm/manifestSchemas/IClientSideComponentLoaderConfiguration.js +1 -1
  50. package/lib-esm/manifestSchemas/IClientSideComponentManifest.js +1 -1
  51. package/lib-esm/manifestSchemas/IClientSideExtensionManifest.js +1 -1
  52. package/lib-esm/manifestSchemas/IClientSideLibraryManifest.js +1 -1
  53. package/lib-esm/manifestSchemas/IClientSideManifestBase.js +1 -1
  54. package/lib-esm/manifestSchemas/IClientSideMultiVersionManifest.js +1 -1
  55. package/lib-esm/manifestSchemas/IClientSideWebPartManifest.js +1 -1
  56. package/lib-esm/manifestSchemas/ICommandSetExtensionManifest.js +1 -1
  57. package/lib-esm/manifestSchemas/IPrefabAppManifest.js +1 -1
  58. package/lib-esm/manifestSchemas/ManifestType.js +1 -1
  59. package/lib-esm/manifestSchemas/examples/application_1.manifest.js +1 -1
  60. package/lib-esm/manifestSchemas/examples/application_2.manifest.js +1 -1
  61. package/lib-esm/manifestSchemas/examples/application_3.manifest.js +1 -1
  62. package/lib-esm/manifestSchemas/examples/assembly_1.manifest.js +1 -1
  63. package/lib-esm/manifestSchemas/examples/commandSet_1.manifest.js +1 -1
  64. package/lib-esm/manifestSchemas/examples/extension_1.manifest.js +1 -1
  65. package/lib-esm/manifestSchemas/examples/extension_2.manifest.js +1 -1
  66. package/lib-esm/manifestSchemas/examples/extension_3.manifest.js +1 -1
  67. package/lib-esm/manifestSchemas/examples/extension_4.manifest.js +1 -1
  68. package/lib-esm/manifestSchemas/examples/library_1.manifest.js +1 -1
  69. package/lib-esm/manifestSchemas/examples/multi-version_1.manifest.js +1 -1
  70. package/lib-esm/manifestSchemas/examples/prefab_1.manifest.js +1 -1
  71. package/lib-esm/manifestSchemas/examples/prefab_2.manifest.js +1 -1
  72. package/lib-esm/manifestSchemas/examples/webpart.manifest.json +62 -0
  73. package/lib-esm/manifestSchemas/examples/webpart_1.manifest.js +63 -1
  74. package/lib-esm/manifestSchemas/examples/webpart_2.manifest.js +63 -1
  75. package/lib-esm/manifestSchemas/jsonSchemas/client-side-component-loader-configuration.schema.json +6 -1
  76. package/lib-esm/manifestSchemas/jsonSchemas/client-side-web-part-manifest.schema.json +59 -0
  77. package/lib-esm/manifestSchemas/jsonSchemas/component-fallback-version.schema.json +106 -0
  78. package/package.json +4 -4
@@ -265,6 +265,8 @@ export declare interface IAdaptiveCardExtensionManifestEntry<TProperties> {
265
265
  properties: TProperties;
266
266
  }
267
267
 
268
+ /* Excluded from this release type: IAIProperties */
269
+
268
270
  /* Excluded from this release type: ICapabilityCollection */
269
271
 
270
272
  /* Excluded from this release type: IClientSideApplicationManifest */
@@ -658,6 +660,7 @@ export declare interface IClientSideWebPartManifest<TProperties> extends IClient
658
660
  */
659
661
  supportsThemeVariants?: boolean;
660
662
  /* Excluded from this release type: useFallbackWhenPropertiesUpdatedExternally */
663
+ /* Excluded from this release type: idleLoadComponents */
661
664
  /**
662
665
  * A Web Part can have pre-configured properties like the title, description, toolbox group name and Web
663
666
  * Part specific custom properties. And there can be multiple instances of these pre-configured properties.
@@ -748,6 +751,7 @@ export declare interface IClientSideWebPartManifest<TProperties> extends IClient
748
751
  * Ensure this remains up to date with IFlexibleControlSizingData in FlexibleControl.types.ts
749
752
  */
750
753
  flexibleLayoutSizing?: IFlexibleLayoutSizing;
754
+ /* Excluded from this release type: aiProperties */
751
755
  }
752
756
 
753
757
  /**
@@ -1004,6 +1008,8 @@ export declare interface ICommandSetExtensionManifest extends IClientSideExtensi
1004
1008
  };
1005
1009
  }
1006
1010
 
1011
+ /* Excluded from this release type: _IComponentFallbackVersion */
1012
+
1007
1013
  /**
1008
1014
  * This is the interface for a script module with the "component" type. Modules of this type will be provided via
1009
1015
  * manifests. In order for the dependency to be loaded, the manifest must be available on the site.
@@ -1048,6 +1054,7 @@ export declare interface IComponentModuleConfiguration extends IModuleConfigurat
1048
1054
  * Example: `"https://code.jquery.com/jquery-2.2.4.min.js"`
1049
1055
  */
1050
1056
  failoverPath?: string | IIntegrityPath;
1057
+ /* Excluded from this release type: fallbackVersion */
1051
1058
  }
1052
1059
 
1053
1060
  /**
@@ -1070,6 +1077,12 @@ export declare interface IFlexibleLayoutSizing {
1070
1077
  defaultRowHeight?: number;
1071
1078
  }
1072
1079
 
1080
+ /* Excluded from this release type: _IFlightedComponent */
1081
+
1082
+ /* Excluded from this release type: _IFlightOrKillSwitch */
1083
+
1084
+ /* Excluded from this release type: _IIdleLoadComponent */
1085
+
1073
1086
  /**
1074
1087
  * A path with the subresource integrity hash of the resource.
1075
1088
  *
@@ -1086,6 +1099,8 @@ export declare interface IIntegrityPath {
1086
1099
  integrity?: string;
1087
1100
  }
1088
1101
 
1102
+ /* Excluded from this release type: _IKillSwitchComponent */
1103
+
1089
1104
  /**
1090
1105
  * This is the interface for a script module with the "localizedPath" type.
1091
1106
  *
@@ -1231,6 +1246,8 @@ export declare interface IModuleConfigurationBase {
1231
1246
  shouldNotPreload?: boolean;
1232
1247
  }
1233
1248
 
1249
+ /* Excluded from this release type: _IOperatorOrSwitch */
1250
+
1234
1251
  /**
1235
1252
  * This is the interface for a script module with the "path" type. Modules of this type must be provided by the
1236
1253
  * component developer.
@@ -15,6 +15,8 @@ export declare type ExtensionType = 'Unknown' | 'ApplicationCustomizer' | 'Field
15
15
 
16
16
  /* Excluded from this release type: IAdaptiveCardExtensionManifestEntry */
17
17
 
18
+ /* Excluded from this release type: IAIProperties */
19
+
18
20
  /* Excluded from this release type: ICapabilityCollection */
19
21
 
20
22
  /* Excluded from this release type: IClientSideApplicationManifest */
@@ -283,6 +285,7 @@ export declare interface IClientSideWebPartManifest<TProperties> extends IClient
283
285
  */
284
286
  supportsThemeVariants?: boolean;
285
287
  /* Excluded from this release type: useFallbackWhenPropertiesUpdatedExternally */
288
+ /* Excluded from this release type: idleLoadComponents */
286
289
  /**
287
290
  * A Web Part can have pre-configured properties like the title, description, toolbox group name and Web
288
291
  * Part specific custom properties. And there can be multiple instances of these pre-configured properties.
@@ -373,6 +376,7 @@ export declare interface IClientSideWebPartManifest<TProperties> extends IClient
373
376
  * Ensure this remains up to date with IFlexibleControlSizingData in FlexibleControl.types.ts
374
377
  */
375
378
  flexibleLayoutSizing?: IFlexibleLayoutSizing;
379
+ /* Excluded from this release type: aiProperties */
376
380
  }
377
381
 
378
382
  /**
@@ -596,6 +600,8 @@ export declare interface ICommandSetExtensionManifest extends IClientSideExtensi
596
600
  };
597
601
  }
598
602
 
603
+ /* Excluded from this release type: _IComponentFallbackVersion */
604
+
599
605
  /* Excluded from this release type: IComponentModuleConfiguration */
600
606
 
601
607
  /**
@@ -618,8 +624,16 @@ export declare interface IFlexibleLayoutSizing {
618
624
  defaultRowHeight?: number;
619
625
  }
620
626
 
627
+ /* Excluded from this release type: _IFlightedComponent */
628
+
629
+ /* Excluded from this release type: _IFlightOrKillSwitch */
630
+
631
+ /* Excluded from this release type: _IIdleLoadComponent */
632
+
621
633
  /* Excluded from this release type: IIntegrityPath */
622
634
 
635
+ /* Excluded from this release type: _IKillSwitchComponent */
636
+
623
637
  /* Excluded from this release type: ILocalizedPathModuleConfiguration */
624
638
 
625
639
  /**
@@ -672,6 +686,8 @@ export declare interface ILocalizedString {
672
686
 
673
687
  /* Excluded from this release type: IModuleConfigurationBase */
674
688
 
689
+ /* Excluded from this release type: _IOperatorOrSwitch */
690
+
675
691
  /* Excluded from this release type: IPathModuleConfiguration */
676
692
 
677
693
  /* Excluded from this release type: IPrefabAppManifest */