@omnia/workplace 6.12.22-preview → 6.12.23-preview

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.
@@ -0,0 +1,17 @@
1
+ import { ApiPath, TranslatorProvider } from '@omnia/fx/models';
2
+ export interface ITranslatorProviderRegistrationApi {
3
+ registerTranslatorProvider: (providers: TranslatorProvider | TranslatorProvider[]) => void;
4
+ getAllTranslatorProviders: () => TranslatorProvider[];
5
+ }
6
+ declare module '../models/WorkplaceApi' {
7
+ interface IWorkplaceApi {
8
+ translatorprovider: {
9
+ registration: Promise<ITranslatorProviderRegistrationApi>;
10
+ };
11
+ }
12
+ interface IWorkplaceExtendApiManifest {
13
+ translatorprovider: {
14
+ registration: ApiPath;
15
+ };
16
+ }
17
+ }
@@ -6,3 +6,4 @@ import "./Header";
6
6
  import "../models";
7
7
  import "./SearchProviderApi";
8
8
  import "./ScopedPermissionApi";
9
+ import "./TranslatorProviderApi";
@@ -194,7 +194,8 @@ export declare const SetupWizard: {
194
194
  SettingsKey: string;
195
195
  BasicIntranetTemplateId: string;
196
196
  IntranetEssentialsTemplateId: string;
197
- TenantTemplateId: string;
197
+ TenantIntranetEssentialsTemplateId: string;
198
+ TenantBasicIntranetTemplateId: string;
198
199
  GeneralSettingsKey: string;
199
200
  BrandingSettingsKey: string;
200
201
  SharedLinkSettingsKey: string;
@@ -238,7 +238,8 @@ export var SetupWizard = {
238
238
  SettingsKey: "owp_setupwizard_",
239
239
  BasicIntranetTemplateId: "23D17EFE-E4AE-439D-A97D-CE184F7BC574",
240
240
  IntranetEssentialsTemplateId: "B8C0608F-61F7-4C2A-9001-C26A7A0CB268",
241
- TenantTemplateId: "5470C05D-7115-4F86-BF6D-70FC51F3A1AD",
241
+ TenantIntranetEssentialsTemplateId: "5470C05D-7115-4F86-BF6D-70FC51F3A1AD",
242
+ TenantBasicIntranetTemplateId: "87D71902-22F0-4DC3-9346-314CC5700C84",
242
243
  GeneralSettingsKey: "SetupWizardGeneralSettings",
243
244
  BrandingSettingsKey: "SetupWizardBrandingSettings",
244
245
  SharedLinkSettingsKey: "SetupWizardSharedLinksSettings",
@@ -123,6 +123,7 @@ export declare class ResourceManifests {
123
123
  static get SearchStatisticsMetricShared(): Guid;
124
124
  static get SearchStatisticsMetricGroup(): Guid;
125
125
  static get LinkHandlerSettingsRegistration(): Guid;
126
+ static get TranslatorProviderRegistration(): Guid;
126
127
  }
127
128
  export declare class WebComponentManifests {
128
129
  static get FaviconSettings(): Guid;
@@ -437,6 +438,7 @@ export declare class WebComponentManifests {
437
438
  static get TeamworkInactiveLastActivityMetricIndicator(): Guid;
438
439
  static get TeamworkInactiveLastActivityMetricDetail(): Guid;
439
440
  static get LinkHandlerJourney(): Guid;
441
+ static get AzureCognitiveProviderComponent(): Guid;
440
442
  }
441
443
  export declare class WebComponentElements {
442
444
  static get AppProvisioningStepMember(): string;
@@ -586,6 +586,11 @@ var ResourceManifests = /** @class */ (function () {
586
586
  enumerable: false,
587
587
  configurable: true
588
588
  });
589
+ Object.defineProperty(ResourceManifests, "TranslatorProviderRegistration", {
590
+ get: function () { return new Guid("94352c19-675f-4aa9-9a59-b216808bd9c5"); },
591
+ enumerable: false,
592
+ configurable: true
593
+ });
589
594
  return ResourceManifests;
590
595
  }());
591
596
  export { ResourceManifests };
@@ -2155,6 +2160,11 @@ var WebComponentManifests = /** @class */ (function () {
2155
2160
  enumerable: false,
2156
2161
  configurable: true
2157
2162
  });
2163
+ Object.defineProperty(WebComponentManifests, "AzureCognitiveProviderComponent", {
2164
+ get: function () { return new Guid("c32e69d5-bb4c-4b0e-9bb9-03af4dafcbca"); },
2165
+ enumerable: false,
2166
+ configurable: true
2167
+ });
2158
2168
  return WebComponentManifests;
2159
2169
  }());
2160
2170
  export { WebComponentManifests };
@@ -65,3 +65,4 @@ export * from "./ScopedPermissionRegistraion";
65
65
  export * from "./setupwizard";
66
66
  export * from "./searchstatistics";
67
67
  export * from "./searchtoken";
68
+ export * from "./texttranslator";
@@ -66,3 +66,4 @@ export * from "./ScopedPermissionRegistraion";
66
66
  export * from "./setupwizard";
67
67
  export * from "./searchstatistics";
68
68
  export * from "./searchtoken";
69
+ export * from "./texttranslator";
@@ -0,0 +1,5 @@
1
+ import { TranslatorProviderSetting } from '@omnia/fx/models';
2
+ export interface AzureCognitiveTranslatorProvider extends TranslatorProviderSetting {
3
+ useDefaultSetting: boolean;
4
+ subscriptionKey: string;
5
+ }
@@ -0,0 +1 @@
1
+ export * from './AzureCognitiveTranslatorProvider';
@@ -0,0 +1 @@
1
+ export * from './AzureCognitiveTranslatorProvider';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/workplace",
3
3
  "license": "MIT",
4
- "version": "6.12.22-preview",
4
+ "version": "6.12.23-preview",
5
5
  "description": "Omnia Workplace.",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1"