push neon reactor
This commit is contained in:
Generated
Vendored
+14
@@ -0,0 +1,14 @@
|
||||
/*!
|
||||
* Copyright (C) Microsoft Corporation. All rights reserved.
|
||||
*/
|
||||
/**
|
||||
* Maps legacy wire-format `service.action` keys to canonical plugin keys.
|
||||
*
|
||||
* **IMPORTANT — backwards compatibility:** These aliases exist because deployed apps send
|
||||
* plugin calls using the legacy `service` + `action` wire format. The PluginRouter combines
|
||||
* them into `${service}.${action}` and resolves through this map. Removing any entry will
|
||||
* break all apps that still use the old wire format. **Never remove entries from this map.**
|
||||
* New canonical keys should be added to the plugin definitions instead.
|
||||
*/
|
||||
export declare const PluginAliases: ReadonlyMap<string, string>;
|
||||
//# sourceMappingURL=PluginAliases.d.ts.map
|
||||
Generated
Vendored
+1
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"PluginAliases.d.ts","sourceRoot":"","sources":["../../src/plugins/PluginAliases.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH;;;;;;;;GAQG;AACH,eAAO,MAAM,aAAa,EAAE,WAAW,CAAC,MAAM,EAAE,MAAM,CAgBpD,CAAC"}
|
||||
Generated
Vendored
+30
@@ -0,0 +1,30 @@
|
||||
/*!
|
||||
* Copyright (C) Microsoft Corporation. All rights reserved.
|
||||
*/
|
||||
/**
|
||||
* Maps legacy wire-format `service.action` keys to canonical plugin keys.
|
||||
*
|
||||
* **IMPORTANT — backwards compatibility:** These aliases exist because deployed apps send
|
||||
* plugin calls using the legacy `service` + `action` wire format. The PluginRouter combines
|
||||
* them into `${service}.${action}` and resolves through this map. Removing any entry will
|
||||
* break all apps that still use the old wire format. **Never remove entries from this map.**
|
||||
* New canonical keys should be added to the plugin definitions instead.
|
||||
*/
|
||||
export const PluginAliases = new Map([
|
||||
['AppPowerAppsClientPlugin.getAppCdsDataSourceConfigsAsync', 'DataSources.getCds'],
|
||||
['AppPowerAppsClientPlugin.loadAppConnectionsAsync_v2', 'DataSources.getAppConnections'],
|
||||
['AppHttpClientPlugin.sendHttpAsync', 'Http.send'],
|
||||
['SendMessagePlugin.getVersionInfo', 'Messaging.getVersionInfo'],
|
||||
['SendMessagePlugin.sendMessage', 'Messaging.send'],
|
||||
[
|
||||
'AppPowerAppsClientPlugin.loadNonCompositeConnectionsAsync',
|
||||
'DataSources.loadNonCompositeConnections',
|
||||
],
|
||||
[
|
||||
'AppPowerAppsClientPlugin.resolveCompositeConnectionsAsync',
|
||||
'DataSources.resolveCompositeConnections',
|
||||
],
|
||||
['PublishedAppTelemetry.trackEvent', 'Telemetry.trackEvent'],
|
||||
['PublishedAppTelemetry.trackException', 'Telemetry.trackException'],
|
||||
]);
|
||||
//# sourceMappingURL=PluginAliases.js.map
|
||||
Generated
Vendored
+1
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"PluginAliases.js","sourceRoot":"","sources":["../../src/plugins/PluginAliases.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,aAAa,GAAgC,IAAI,GAAG,CAAC;IAChE,CAAC,0DAA0D,EAAE,oBAAoB,CAAC;IAClF,CAAC,qDAAqD,EAAE,+BAA+B,CAAC;IACxF,CAAC,mCAAmC,EAAE,WAAW,CAAC;IAClD,CAAC,kCAAkC,EAAE,0BAA0B,CAAC;IAChE,CAAC,+BAA+B,EAAE,gBAAgB,CAAC;IACnD;QACE,2DAA2D;QAC3D,yCAAyC;KAC1C;IACD;QACE,2DAA2D;QAC3D,yCAAyC;KAC1C;IACD,CAAC,kCAAkC,EAAE,sBAAsB,CAAC;IAC5D,CAAC,sCAAsC,EAAE,0BAA0B,CAAC;CACrE,CAAC,CAAC"}
|
||||
Generated
Vendored
+15
@@ -0,0 +1,15 @@
|
||||
/*!
|
||||
* Copyright (C) Microsoft Corporation. All rights reserved.
|
||||
*/
|
||||
export declare const PluginAction: {
|
||||
readonly GetAppConnections: "DataSources.getAppConnections";
|
||||
readonly GetCds: "DataSources.getCds";
|
||||
readonly GetContext: "AppLifecycle.getContext";
|
||||
readonly HttpSend: "Http.send";
|
||||
readonly MessagingGetVersionInfo: "Messaging.getVersionInfo";
|
||||
readonly MessagingSend: "Messaging.send";
|
||||
readonly NotifyAppSdkLoaded: "AppLifecycle.notifyAppSdkLoaded";
|
||||
readonly TelemetryTrackEvent: "Telemetry.trackEvent";
|
||||
readonly TelemetryTrackException: "Telemetry.trackException";
|
||||
};
|
||||
//# sourceMappingURL=PluginConstants.d.ts.map
|
||||
Generated
Vendored
+1
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"PluginConstants.d.ts","sourceRoot":"","sources":["../../src/plugins/PluginConstants.ts"],"names":[],"mappings":"AAAA;;GAEG;AAUH,eAAO,MAAM,YAAY;;;;;;;;;;CAUf,CAAC"}
|
||||
Generated
Vendored
+22
@@ -0,0 +1,22 @@
|
||||
/*!
|
||||
* Copyright (C) Microsoft Corporation. All rights reserved.
|
||||
*/
|
||||
import { GetAppConnectionsKey } from './definitions/GetAppConnectionsPlugin.js';
|
||||
import { GetCdsKey } from './definitions/GetCdsPlugin.js';
|
||||
import { GetContextKey } from './definitions/GetContextPlugin.js';
|
||||
import { HttpSendKey } from './definitions/HttpSendPlugin.js';
|
||||
import { MessagingGetVersionInfoKey, MessagingSendKey } from './definitions/MessagingPlugin.js';
|
||||
import { NotifyAppSdkLoadedKey } from './definitions/NotifyAppSdkLoadedPlugin.js';
|
||||
import { TelemetryTrackEventKey, TelemetryTrackExceptionKey } from './definitions/TelemetryPlugin.js';
|
||||
export const PluginAction = {
|
||||
GetAppConnections: GetAppConnectionsKey,
|
||||
GetCds: GetCdsKey,
|
||||
GetContext: GetContextKey,
|
||||
HttpSend: HttpSendKey,
|
||||
MessagingGetVersionInfo: MessagingGetVersionInfoKey,
|
||||
MessagingSend: MessagingSendKey,
|
||||
NotifyAppSdkLoaded: NotifyAppSdkLoadedKey,
|
||||
TelemetryTrackEvent: TelemetryTrackEventKey,
|
||||
TelemetryTrackException: TelemetryTrackExceptionKey,
|
||||
};
|
||||
//# sourceMappingURL=PluginConstants.js.map
|
||||
Generated
Vendored
+1
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"PluginConstants.js","sourceRoot":"","sources":["../../src/plugins/PluginConstants.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,oBAAoB,EAAE,MAAM,uCAAuC,CAAC;AAC7E,OAAO,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AACvD,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAC/D,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAC3D,OAAO,EAAE,0BAA0B,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAC7F,OAAO,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;AAC/E,OAAO,EAAE,sBAAsB,EAAE,0BAA0B,EAAE,MAAM,+BAA+B,CAAC;AAEnG,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,iBAAiB,EAAE,oBAAoB;IACvC,MAAM,EAAE,SAAS;IACjB,UAAU,EAAE,aAAa;IACzB,QAAQ,EAAE,WAAW;IACrB,uBAAuB,EAAE,0BAA0B;IACnD,aAAa,EAAE,gBAAgB;IAC/B,kBAAkB,EAAE,qBAAqB;IACzC,mBAAmB,EAAE,sBAAsB;IAC3C,uBAAuB,EAAE,0BAA0B;CAC3C,CAAC"}
|
||||
Generated
Vendored
+118
@@ -0,0 +1,118 @@
|
||||
/*!
|
||||
* Copyright (C) Microsoft Corporation. All rights reserved.
|
||||
*/
|
||||
/**
|
||||
* **Wire Contract Guards — Compile-Time Layer**
|
||||
*
|
||||
* This file uses TypeScript conditional types to assert exact type equality
|
||||
* for every plugin interface. If any interface changes shape (field added,
|
||||
* removed, renamed, type changed, or optionality changed), `tsc` will fail.
|
||||
*
|
||||
* This file produces no runtime output — it exists solely for `bun run check-types`.
|
||||
*/
|
||||
import type { CompatibleReceiverMessage, GetAppConnectionsHandler, GetCdsHandler, GetContextHandler, GetVersionInfoHandler, HttpSendHandler, IAppContext, ICdsDataSource, IConnectionReference, IContext, IHostContext, IUserContext, NotifyAppSdkLoadedHandler, SendHttpRequest, SendHttpResponse, SendMessageSendHandler, TelemetryTrackEventHandler, TelemetryTrackExceptionHandler } from './definitions/index.js';
|
||||
import type { PluginHandler, PluginKey } from './PluginMap.js';
|
||||
type IsExact<T, U> = (<G>() => G extends T ? 1 : 2) extends <G>() => G extends U ? 1 : 2 ? true : false;
|
||||
type Assert<T extends true> = T;
|
||||
type _IAppContext = Assert<IsExact<IAppContext, {
|
||||
appId: string;
|
||||
appSettings: object;
|
||||
environmentId: string;
|
||||
queryParams: Record<string, string>;
|
||||
}>>;
|
||||
type _IHostContext = Assert<IsExact<IHostContext, {
|
||||
sessionId: string;
|
||||
}>>;
|
||||
type _IUserContext = Assert<IsExact<IUserContext, {
|
||||
fullName?: string;
|
||||
objectId?: string;
|
||||
tenantId?: string;
|
||||
userPrincipalName?: string;
|
||||
}>>;
|
||||
type _IContext = Assert<IsExact<IContext, {
|
||||
app: IAppContext;
|
||||
host: IHostContext;
|
||||
user: IUserContext;
|
||||
}>>;
|
||||
type _SendHttpResponse = Assert<IsExact<SendHttpResponse, {
|
||||
statusCode: number;
|
||||
headers: Record<string, string>;
|
||||
body: unknown;
|
||||
}>>;
|
||||
type _IConnectionReference = Assert<IsExact<IConnectionReference, {
|
||||
apiId?: string;
|
||||
connectionName?: string;
|
||||
datasetName?: string;
|
||||
datasetNameOverride?: string;
|
||||
isShareableConnection?: string;
|
||||
runtimePolicyName?: string;
|
||||
runtimeUrl?: string;
|
||||
}>>;
|
||||
type _ICdsDataSource = Assert<IsExact<ICdsDataSource, {
|
||||
entitySetName: string;
|
||||
logicalName: string;
|
||||
runtimeUrl: string;
|
||||
version: string;
|
||||
}>>;
|
||||
type _CompatibleReceiverMessage = Assert<IsExact<CompatibleReceiverMessage, {
|
||||
isUpdate: boolean;
|
||||
message: string;
|
||||
}>>;
|
||||
type _SendHttpRequest = Assert<IsExact<SendHttpRequest, {
|
||||
url: string;
|
||||
method: string;
|
||||
headers: Record<string, string>;
|
||||
body?: string;
|
||||
connectionId?: string;
|
||||
}>>;
|
||||
type _GetContextHandler = Assert<IsExact<GetContextHandler, () => Promise<IContext>>>;
|
||||
type _NotifyAppSdkLoadedHandler = Assert<IsExact<NotifyAppSdkLoadedHandler, (perfData: Record<string, unknown>) => Promise<void>>>;
|
||||
type _GetAppConnectionsHandler = Assert<IsExact<GetAppConnectionsHandler, () => Promise<Record<string, IConnectionReference>>>>;
|
||||
type _GetCdsHandler = Assert<IsExact<GetCdsHandler, () => Promise<Record<string, ICdsDataSource>>>>;
|
||||
type _HttpSendHandler = Assert<IsExact<HttpSendHandler, (request: SendHttpRequest) => Promise<SendHttpResponse>>>;
|
||||
type _GetVersionInfoHandler = Assert<IsExact<GetVersionInfoHandler, (receiverName: string) => Promise<string>>>;
|
||||
type _SendMessageSendHandler = Assert<IsExact<SendMessageSendHandler, (receiverName: string, message: string, correlationId: string) => Promise<CompatibleReceiverMessage>>>;
|
||||
type _TelemetryTrackEventHandler = Assert<IsExact<TelemetryTrackEventHandler, (eventName: string, eventData: Record<string, unknown>) => Promise<void>>>;
|
||||
type _TelemetryTrackExceptionHandler = Assert<IsExact<TelemetryTrackExceptionHandler, (error: Record<string, unknown>) => Promise<void>>>;
|
||||
type _PluginKey = Assert<IsExact<PluginKey, 'AppLifecycle.getContext' | 'AppLifecycle.notifyAppSdkLoaded' | 'DataSources.getAppConnections' | 'DataSources.getCds' | 'Http.send' | 'Messaging.getVersionInfo' | 'Messaging.send' | 'Telemetry.trackEvent' | 'Telemetry.trackException'>>;
|
||||
type _HandlerGetContext = Assert<IsExact<PluginHandler<'AppLifecycle.getContext'>, GetContextHandler>>;
|
||||
type _HandlerNotifyLoaded = Assert<IsExact<PluginHandler<'AppLifecycle.notifyAppSdkLoaded'>, NotifyAppSdkLoadedHandler>>;
|
||||
type _HandlerGetAppConns = Assert<IsExact<PluginHandler<'DataSources.getAppConnections'>, GetAppConnectionsHandler>>;
|
||||
type _HandlerGetCds = Assert<IsExact<PluginHandler<'DataSources.getCds'>, GetCdsHandler>>;
|
||||
type _HandlerHttpSend = Assert<IsExact<PluginHandler<'Http.send'>, HttpSendHandler>>;
|
||||
type _HandlerGetVersionInfo = Assert<IsExact<PluginHandler<'Messaging.getVersionInfo'>, GetVersionInfoHandler>>;
|
||||
type _HandlerMessagingSend = Assert<IsExact<PluginHandler<'Messaging.send'>, SendMessageSendHandler>>;
|
||||
type _HandlerTelemetryTrackEvent = Assert<IsExact<PluginHandler<'Telemetry.trackEvent'>, TelemetryTrackEventHandler>>;
|
||||
type _HandlerTelemetryTrackException = Assert<IsExact<PluginHandler<'Telemetry.trackException'>, TelemetryTrackExceptionHandler>>;
|
||||
export type _ContractChecks = [
|
||||
_IAppContext,
|
||||
_IHostContext,
|
||||
_IUserContext,
|
||||
_IContext,
|
||||
_SendHttpResponse,
|
||||
_IConnectionReference,
|
||||
_ICdsDataSource,
|
||||
_CompatibleReceiverMessage,
|
||||
_SendHttpRequest,
|
||||
_GetContextHandler,
|
||||
_NotifyAppSdkLoadedHandler,
|
||||
_GetAppConnectionsHandler,
|
||||
_GetCdsHandler,
|
||||
_HttpSendHandler,
|
||||
_GetVersionInfoHandler,
|
||||
_SendMessageSendHandler,
|
||||
_PluginKey,
|
||||
_HandlerGetContext,
|
||||
_HandlerNotifyLoaded,
|
||||
_HandlerGetAppConns,
|
||||
_HandlerGetCds,
|
||||
_HandlerHttpSend,
|
||||
_HandlerGetVersionInfo,
|
||||
_HandlerMessagingSend,
|
||||
_TelemetryTrackEventHandler,
|
||||
_TelemetryTrackExceptionHandler,
|
||||
_HandlerTelemetryTrackEvent,
|
||||
_HandlerTelemetryTrackException
|
||||
];
|
||||
export {};
|
||||
//# sourceMappingURL=PluginContracts.typecheck.d.ts.map
|
||||
Generated
Vendored
+1
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"PluginContracts.typecheck.d.ts","sourceRoot":"","sources":["../../src/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C,CACjE,CAAC;AACF,KAAK,2BAA2B,GAAG,MAAM,CACvC,OAAO,CAAC,aAAa,CAAC,sBAAsB,CAAC,EAAE,0BAA0B,CAAC,CAC3E,CAAC;AACF,KAAK,+BAA+B,GAAG,MAAM,CAC3C,OAAO,CAAC,aAAa,CAAC,0BAA0B,CAAC,EAAE,8BAA8B,CAAC,CACnF,CAAC;AAGF,MAAM,MAAM,eAAe,GAAG;IAC5B,YAAY;IACZ,aAAa;IACb,aAAa;IACb,SAAS;IACT,iBAAiB;IACjB,qBAAqB;IACrB,eAAe;IACf,0BAA0B;IAC1B,gBAAgB;IAChB,kBAAkB;IAClB,0BAA0B;IAC1B,yBAAyB;IACzB,cAAc;IACd,gBAAgB;IAChB,sBAAsB;IACtB,uBAAuB;IACvB,UAAU;IACV,kBAAkB;IAClB,oBAAoB;IACpB,mBAAmB;IACnB,cAAc;IACd,gBAAgB;IAChB,sBAAsB;IACtB,qBAAqB;IACrB,2BAA2B;IAC3B,+BAA+B;IAC/B,2BAA2B;IAC3B,+BAA+B;CAChC,CAAC"}
|
||||
Generated
Vendored
+5
@@ -0,0 +1,5 @@
|
||||
/*!
|
||||
* Copyright (C) Microsoft Corporation. All rights reserved.
|
||||
*/
|
||||
export {};
|
||||
//# sourceMappingURL=PluginContracts.typecheck.js.map
|
||||
Generated
Vendored
+1
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"PluginContracts.typecheck.js","sourceRoot":"","sources":["../../src/plugins/PluginContracts.typecheck.ts"],"names":[],"mappings":"AAAA;;GAEG"}
|
||||
Generated
Vendored
+17
@@ -0,0 +1,17 @@
|
||||
/*!
|
||||
* Copyright (C) Microsoft Corporation. All rights reserved.
|
||||
*/
|
||||
/**
|
||||
* Generic definition entry type. Maps a plugin key to its async handler.
|
||||
*
|
||||
* Each plugin definition file should use this to define its map entry,
|
||||
* ensuring a consistent `{ [key]: handler }` shape:
|
||||
*
|
||||
* ```ts
|
||||
* export type MyPluginDefinition = PluginDefinition<typeof MyPluginKey, MyPluginHandler>;
|
||||
* ```
|
||||
*/
|
||||
export type PluginDefinition<K extends string, H extends (...args: any[]) => Promise<any>> = {
|
||||
[P in K]: H;
|
||||
};
|
||||
//# sourceMappingURL=PluginDefinition.d.ts.map
|
||||
CodeApp_NeonReactor/node_modules/@microsoft/power-apps-common/dist/plugins/PluginDefinition.d.ts.map
Generated
Vendored
+1
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"PluginDefinition.d.ts","sourceRoot":"","sources":["../../src/plugins/PluginDefinition.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH;;;;;;;;;GASG;AAEH,MAAM,MAAM,gBAAgB,CAAC,CAAC,SAAS,MAAM,EAAE,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,OAAO,CAAC,GAAG,CAAC,IAAI;KAC1F,CAAC,IAAI,CAAC,GAAG,CAAC;CACZ,CAAC"}
|
||||
Generated
Vendored
+5
@@ -0,0 +1,5 @@
|
||||
/*!
|
||||
* Copyright (C) Microsoft Corporation. All rights reserved.
|
||||
*/
|
||||
export {};
|
||||
//# sourceMappingURL=PluginDefinition.js.map
|
||||
Generated
Vendored
+1
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"PluginDefinition.js","sourceRoot":"","sources":["../../src/plugins/PluginDefinition.ts"],"names":[],"mappings":"AAAA;;GAEG"}
|
||||
Generated
Vendored
+28
@@ -0,0 +1,28 @@
|
||||
/*!
|
||||
* Copyright (C) Microsoft Corporation. All rights reserved.
|
||||
*/
|
||||
import type { GetAppConnectionsPluginDefinition } from './definitions/GetAppConnectionsPlugin.js';
|
||||
import type { GetCdsPluginDefinition } from './definitions/GetCdsPlugin.js';
|
||||
import type { GetContextPluginDefinition } from './definitions/GetContextPlugin.js';
|
||||
import type { HttpSendPluginDefinition } from './definitions/HttpSendPlugin.js';
|
||||
import type { MessagingGetVersionInfoPluginDefinition, MessagingSendPluginDefinition } from './definitions/MessagingPlugin.js';
|
||||
import type { NotifyAppSdkLoadedPluginDefinition } from './definitions/NotifyAppSdkLoadedPlugin.js';
|
||||
import type { TelemetryTrackEventPluginDefinition, TelemetryTrackExceptionPluginDefinition } from './definitions/TelemetryPlugin.js';
|
||||
/**
|
||||
* Single source of truth for all plugin definitions.
|
||||
* Each key is a dot-namespaced action string (e.g. 'AppLifecycle.getContext'),
|
||||
* and each value is a typed async handler.
|
||||
*
|
||||
* To add a new plugin, create a definition file in `./definitions/` and
|
||||
* extend its definition type here.
|
||||
*/
|
||||
export type PluginMap = GetAppConnectionsPluginDefinition & GetCdsPluginDefinition & GetContextPluginDefinition & HttpSendPluginDefinition & MessagingGetVersionInfoPluginDefinition & MessagingSendPluginDefinition & NotifyAppSdkLoadedPluginDefinition & TelemetryTrackEventPluginDefinition & TelemetryTrackExceptionPluginDefinition;
|
||||
/** All known plugin keys (e.g. 'AppLifecycle.getContext'). */
|
||||
export type PluginKey = keyof PluginMap;
|
||||
/** Typed parameter tuple for a given plugin key. */
|
||||
export type PluginParams<K extends PluginKey> = Parameters<PluginMap[K]>;
|
||||
/** Typed return value (unwrapped from Promise) for a given plugin key. */
|
||||
export type PluginResponse<K extends PluginKey> = Awaited<ReturnType<PluginMap[K]>>;
|
||||
/** A typed async handler for a given plugin key. */
|
||||
export type PluginHandler<K extends PluginKey> = PluginMap[K];
|
||||
//# sourceMappingURL=PluginMap.d.ts.map
|
||||
Generated
Vendored
+1
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"PluginMap.d.ts","sourceRoot":"","sources":["../../src/plugins/PluginMap.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,iCAAiC,EAAE,MAAM,uCAAuC,CAAC;AAC/F,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AACzE,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,gCAAgC,CAAC;AACjF,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,8BAA8B,CAAC;AAC7E,OAAO,KAAK,EACV,uCAAuC,EACvC,6BAA6B,EAC9B,MAAM,+BAA+B,CAAC;AACvC,OAAO,KAAK,EAAE,kCAAkC,EAAE,MAAM,wCAAwC,CAAC;AACjG,OAAO,KAAK,EACV,mCAAmC,EACnC,uCAAuC,EACxC,MAAM,+BAA+B,CAAC;AAIvC;;;;;;;GAOG;AACH,MAAM,MAAM,SAAS,GAAG,iCAAiC,GACvD,sBAAsB,GACtB,0BAA0B,GAC1B,wBAAwB,GACxB,uCAAuC,GACvC,6BAA6B,GAC7B,kCAAkC,GAClC,mCAAmC,GACnC,uCAAuC,CAAC;AAI1C,8DAA8D;AAC9D,MAAM,MAAM,SAAS,GAAG,MAAM,SAAS,CAAC;AAExC,oDAAoD;AACpD,MAAM,MAAM,YAAY,CAAC,CAAC,SAAS,SAAS,IAAI,UAAU,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC;AAEzE,0EAA0E;AAC1E,MAAM,MAAM,cAAc,CAAC,CAAC,SAAS,SAAS,IAAI,OAAO,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AAEpF,oDAAoD;AACpD,MAAM,MAAM,aAAa,CAAC,CAAC,SAAS,SAAS,IAAI,SAAS,CAAC,CAAC,CAAC,CAAC"}
|
||||
Generated
Vendored
+5
@@ -0,0 +1,5 @@
|
||||
/*!
|
||||
* Copyright (C) Microsoft Corporation. All rights reserved.
|
||||
*/
|
||||
export {};
|
||||
//# sourceMappingURL=PluginMap.js.map
|
||||
Generated
Vendored
+1
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"PluginMap.js","sourceRoot":"","sources":["../../src/plugins/PluginMap.ts"],"names":[],"mappings":"AAAA;;GAEG"}
|
||||
Generated
Vendored
+17
@@ -0,0 +1,17 @@
|
||||
/*!
|
||||
* Copyright (C) Microsoft Corporation. All rights reserved.
|
||||
*/
|
||||
import type { PluginDefinition } from '../PluginDefinition.js';
|
||||
export declare const GetAppConnectionsKey: "DataSources.getAppConnections";
|
||||
export interface IConnectionReference {
|
||||
apiId?: string;
|
||||
connectionName?: string;
|
||||
datasetName?: string;
|
||||
datasetNameOverride?: string;
|
||||
isShareableConnection?: string;
|
||||
runtimePolicyName?: string;
|
||||
runtimeUrl?: string;
|
||||
}
|
||||
export type GetAppConnectionsHandler = () => Promise<Record<string, IConnectionReference>>;
|
||||
export type GetAppConnectionsPluginDefinition = PluginDefinition<typeof GetAppConnectionsKey, GetAppConnectionsHandler>;
|
||||
//# sourceMappingURL=GetAppConnectionsPlugin.d.ts.map
|
||||
Generated
Vendored
+1
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"GetAppConnectionsPlugin.d.ts","sourceRoot":"","sources":["../../../src/plugins/definitions/GetAppConnectionsPlugin.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAE5D,eAAO,MAAM,oBAAoB,EAAG,+BAAwC,CAAC;AAE7E,MAAM,WAAW,oBAAoB;IACnC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,MAAM,wBAAwB,GAAG,MAAM,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,oBAAoB,CAAC,CAAC,CAAC;AAE3F,MAAM,MAAM,iCAAiC,GAAG,gBAAgB,CAC9D,OAAO,oBAAoB,EAC3B,wBAAwB,CACzB,CAAC"}
|
||||
Generated
Vendored
+5
@@ -0,0 +1,5 @@
|
||||
/*!
|
||||
* Copyright (C) Microsoft Corporation. All rights reserved.
|
||||
*/
|
||||
export const GetAppConnectionsKey = 'DataSources.getAppConnections';
|
||||
//# sourceMappingURL=GetAppConnectionsPlugin.js.map
|
||||
Generated
Vendored
+1
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"GetAppConnectionsPlugin.js","sourceRoot":"","sources":["../../../src/plugins/definitions/GetAppConnectionsPlugin.ts"],"names":[],"mappings":"AAAA;;GAEG;AAIH,MAAM,CAAC,MAAM,oBAAoB,GAAG,+BAAwC,CAAC"}
|
||||
Generated
Vendored
+14
@@ -0,0 +1,14 @@
|
||||
/*!
|
||||
* Copyright (C) Microsoft Corporation. All rights reserved.
|
||||
*/
|
||||
import type { PluginDefinition } from '../PluginDefinition.js';
|
||||
export declare const GetCdsKey: "DataSources.getCds";
|
||||
export interface ICdsDataSource {
|
||||
entitySetName: string;
|
||||
logicalName: string;
|
||||
runtimeUrl: string;
|
||||
version: string;
|
||||
}
|
||||
export type GetCdsHandler = () => Promise<Record<string, ICdsDataSource>>;
|
||||
export type GetCdsPluginDefinition = PluginDefinition<typeof GetCdsKey, GetCdsHandler>;
|
||||
//# sourceMappingURL=GetCdsPlugin.d.ts.map
|
||||
Generated
Vendored
+1
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"GetCdsPlugin.d.ts","sourceRoot":"","sources":["../../../src/plugins/definitions/GetCdsPlugin.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAE5D,eAAO,MAAM,SAAS,EAAG,oBAA6B,CAAC;AAEvD,MAAM,WAAW,cAAc;IAC7B,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,MAAM,aAAa,GAAG,MAAM,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,cAAc,CAAC,CAAC,CAAC;AAE1E,MAAM,MAAM,sBAAsB,GAAG,gBAAgB,CAAC,OAAO,SAAS,EAAE,aAAa,CAAC,CAAC"}
|
||||
Generated
Vendored
+5
@@ -0,0 +1,5 @@
|
||||
/*!
|
||||
* Copyright (C) Microsoft Corporation. All rights reserved.
|
||||
*/
|
||||
export const GetCdsKey = 'DataSources.getCds';
|
||||
//# sourceMappingURL=GetCdsPlugin.js.map
|
||||
Generated
Vendored
+1
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"GetCdsPlugin.js","sourceRoot":"","sources":["../../../src/plugins/definitions/GetCdsPlugin.ts"],"names":[],"mappings":"AAAA;;GAEG;AAIH,MAAM,CAAC,MAAM,SAAS,GAAG,oBAA6B,CAAC"}
|
||||
Generated
Vendored
+28
@@ -0,0 +1,28 @@
|
||||
/*!
|
||||
* Copyright (C) Microsoft Corporation. All rights reserved.
|
||||
*/
|
||||
import type { PluginDefinition } from '../PluginDefinition.js';
|
||||
export declare const GetContextKey: "AppLifecycle.getContext";
|
||||
export interface IContext {
|
||||
app: IAppContext;
|
||||
host: IHostContext;
|
||||
user: IUserContext;
|
||||
}
|
||||
export interface IAppContext {
|
||||
appId: string;
|
||||
appSettings: object;
|
||||
environmentId: string;
|
||||
queryParams: Record<string, string>;
|
||||
}
|
||||
export interface IHostContext {
|
||||
sessionId: string;
|
||||
}
|
||||
export interface IUserContext {
|
||||
fullName?: string;
|
||||
objectId?: string;
|
||||
tenantId?: string;
|
||||
userPrincipalName?: string;
|
||||
}
|
||||
export type GetContextHandler = () => Promise<IContext>;
|
||||
export type GetContextPluginDefinition = PluginDefinition<typeof GetContextKey, GetContextHandler>;
|
||||
//# sourceMappingURL=GetContextPlugin.d.ts.map
|
||||
Generated
Vendored
+1
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"GetContextPlugin.d.ts","sourceRoot":"","sources":["../../../src/plugins/definitions/GetContextPlugin.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAE5D,eAAO,MAAM,aAAa,EAAG,yBAAkC,CAAC;AAEhE,MAAM,WAAW,QAAQ;IACvB,GAAG,EAAE,WAAW,CAAC;IACjB,IAAI,EAAE,YAAY,CAAC;IACnB,IAAI,EAAE,YAAY,CAAC;CACpB;AAED,MAAM,WAAW,WAAW;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACrC;AAED,MAAM,WAAW,YAAY;IAC3B,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,YAAY;IAC3B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAED,MAAM,MAAM,iBAAiB,GAAG,MAAM,OAAO,CAAC,QAAQ,CAAC,CAAC;AAExD,MAAM,MAAM,0BAA0B,GAAG,gBAAgB,CAAC,OAAO,aAAa,EAAE,iBAAiB,CAAC,CAAC"}
|
||||
Generated
Vendored
+5
@@ -0,0 +1,5 @@
|
||||
/*!
|
||||
* Copyright (C) Microsoft Corporation. All rights reserved.
|
||||
*/
|
||||
export const GetContextKey = 'AppLifecycle.getContext';
|
||||
//# sourceMappingURL=GetContextPlugin.js.map
|
||||
Generated
Vendored
+1
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"GetContextPlugin.js","sourceRoot":"","sources":["../../../src/plugins/definitions/GetContextPlugin.ts"],"names":[],"mappings":"AAAA;;GAEG;AAIH,MAAM,CAAC,MAAM,aAAa,GAAG,yBAAkC,CAAC"}
|
||||
Generated
Vendored
+20
@@ -0,0 +1,20 @@
|
||||
/*!
|
||||
* Copyright (C) Microsoft Corporation. All rights reserved.
|
||||
*/
|
||||
import type { PluginDefinition } from '../PluginDefinition.js';
|
||||
export declare const HttpSendKey: "Http.send";
|
||||
export interface SendHttpRequest {
|
||||
url: string;
|
||||
method: string;
|
||||
headers: Record<string, string>;
|
||||
body?: string;
|
||||
connectionId?: string;
|
||||
}
|
||||
export interface SendHttpResponse {
|
||||
statusCode: number;
|
||||
headers: Record<string, string>;
|
||||
body: unknown;
|
||||
}
|
||||
export type HttpSendHandler = (request: SendHttpRequest) => Promise<SendHttpResponse>;
|
||||
export type HttpSendPluginDefinition = PluginDefinition<typeof HttpSendKey, HttpSendHandler>;
|
||||
//# sourceMappingURL=HttpSendPlugin.d.ts.map
|
||||
Generated
Vendored
+1
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"HttpSendPlugin.d.ts","sourceRoot":"","sources":["../../../src/plugins/definitions/HttpSendPlugin.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAE5D,eAAO,MAAM,WAAW,EAAG,WAAoB,CAAC;AAEhD,MAAM,WAAW,eAAe;IAC9B,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAChC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,gBAAgB;IAC/B,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAChC,IAAI,EAAE,OAAO,CAAC;CACf;AAED,MAAM,MAAM,eAAe,GAAG,CAAC,OAAO,EAAE,eAAe,KAAK,OAAO,CAAC,gBAAgB,CAAC,CAAC;AAEtF,MAAM,MAAM,wBAAwB,GAAG,gBAAgB,CAAC,OAAO,WAAW,EAAE,eAAe,CAAC,CAAC"}
|
||||
Generated
Vendored
+5
@@ -0,0 +1,5 @@
|
||||
/*!
|
||||
* Copyright (C) Microsoft Corporation. All rights reserved.
|
||||
*/
|
||||
export const HttpSendKey = 'Http.send';
|
||||
//# sourceMappingURL=HttpSendPlugin.js.map
|
||||
Generated
Vendored
+1
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"HttpSendPlugin.js","sourceRoot":"","sources":["../../../src/plugins/definitions/HttpSendPlugin.ts"],"names":[],"mappings":"AAAA;;GAEG;AAIH,MAAM,CAAC,MAAM,WAAW,GAAG,WAAoB,CAAC"}
|
||||
Generated
Vendored
+16
@@ -0,0 +1,16 @@
|
||||
/*!
|
||||
* Copyright (C) Microsoft Corporation. All rights reserved.
|
||||
*/
|
||||
import type { PluginDefinition } from '../PluginDefinition.js';
|
||||
export declare const MessagingGetVersionInfoKey: "Messaging.getVersionInfo";
|
||||
export declare const MessagingSendKey: "Messaging.send";
|
||||
/** Response payload for sendMessage plugin calls. */
|
||||
export interface CompatibleReceiverMessage {
|
||||
isUpdate: boolean;
|
||||
message: string;
|
||||
}
|
||||
export type GetVersionInfoHandler = (receiverName: string) => Promise<string>;
|
||||
export type SendMessageSendHandler = (receiverName: string, message: string, correlationId: string) => Promise<CompatibleReceiverMessage>;
|
||||
export type MessagingGetVersionInfoPluginDefinition = PluginDefinition<typeof MessagingGetVersionInfoKey, GetVersionInfoHandler>;
|
||||
export type MessagingSendPluginDefinition = PluginDefinition<typeof MessagingSendKey, SendMessageSendHandler>;
|
||||
//# sourceMappingURL=MessagingPlugin.d.ts.map
|
||||
Generated
Vendored
+1
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"MessagingPlugin.d.ts","sourceRoot":"","sources":["../../../src/plugins/definitions/MessagingPlugin.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAI5D,eAAO,MAAM,0BAA0B,EAAG,0BAAmC,CAAC;AAC9E,eAAO,MAAM,gBAAgB,EAAG,gBAAyB,CAAC;AAI1D,qDAAqD;AACrD,MAAM,WAAW,yBAAyB;IACxC,QAAQ,EAAE,OAAO,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;CACjB;AAID,MAAM,MAAM,qBAAqB,GAAG,CAAC,YAAY,EAAE,MAAM,KAAK,OAAO,CAAC,MAAM,CAAC,CAAC;AAC9E,MAAM,MAAM,sBAAsB,GAAG,CACnC,YAAY,EAAE,MAAM,EACpB,OAAO,EAAE,MAAM,EACf,aAAa,EAAE,MAAM,KAClB,OAAO,CAAC,yBAAyB,CAAC,CAAC;AAIxC,MAAM,MAAM,uCAAuC,GAAG,gBAAgB,CACpE,OAAO,0BAA0B,EACjC,qBAAqB,CACtB,CAAC;AACF,MAAM,MAAM,6BAA6B,GAAG,gBAAgB,CAC1D,OAAO,gBAAgB,EACvB,sBAAsB,CACvB,CAAC"}
|
||||
Generated
Vendored
+7
@@ -0,0 +1,7 @@
|
||||
/*!
|
||||
* Copyright (C) Microsoft Corporation. All rights reserved.
|
||||
*/
|
||||
// ── Action keys ──────────────────────────────────────────────────────────────
|
||||
export const MessagingGetVersionInfoKey = 'Messaging.getVersionInfo';
|
||||
export const MessagingSendKey = 'Messaging.send';
|
||||
//# sourceMappingURL=MessagingPlugin.js.map
|
||||
Generated
Vendored
+1
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"MessagingPlugin.js","sourceRoot":"","sources":["../../../src/plugins/definitions/MessagingPlugin.ts"],"names":[],"mappings":"AAAA;;GAEG;AAIH,gFAAgF;AAEhF,MAAM,CAAC,MAAM,0BAA0B,GAAG,0BAAmC,CAAC;AAC9E,MAAM,CAAC,MAAM,gBAAgB,GAAG,gBAAyB,CAAC"}
|
||||
Generated
Vendored
+8
@@ -0,0 +1,8 @@
|
||||
/*!
|
||||
* Copyright (C) Microsoft Corporation. All rights reserved.
|
||||
*/
|
||||
import type { PluginDefinition } from '../PluginDefinition.js';
|
||||
export declare const NotifyAppSdkLoadedKey: "AppLifecycle.notifyAppSdkLoaded";
|
||||
export type NotifyAppSdkLoadedHandler = (perfData: Record<string, unknown>) => Promise<void>;
|
||||
export type NotifyAppSdkLoadedPluginDefinition = PluginDefinition<typeof NotifyAppSdkLoadedKey, NotifyAppSdkLoadedHandler>;
|
||||
//# sourceMappingURL=NotifyAppSdkLoadedPlugin.d.ts.map
|
||||
Generated
Vendored
+1
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"NotifyAppSdkLoadedPlugin.d.ts","sourceRoot":"","sources":["../../../src/plugins/definitions/NotifyAppSdkLoadedPlugin.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAE5D,eAAO,MAAM,qBAAqB,EAAG,iCAA0C,CAAC;AAEhF,MAAM,MAAM,yBAAyB,GAAG,CAAC,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;AAE7F,MAAM,MAAM,kCAAkC,GAAG,gBAAgB,CAC/D,OAAO,qBAAqB,EAC5B,yBAAyB,CAC1B,CAAC"}
|
||||
Generated
Vendored
+5
@@ -0,0 +1,5 @@
|
||||
/*!
|
||||
* Copyright (C) Microsoft Corporation. All rights reserved.
|
||||
*/
|
||||
export const NotifyAppSdkLoadedKey = 'AppLifecycle.notifyAppSdkLoaded';
|
||||
//# sourceMappingURL=NotifyAppSdkLoadedPlugin.js.map
|
||||
Generated
Vendored
+1
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"NotifyAppSdkLoadedPlugin.js","sourceRoot":"","sources":["../../../src/plugins/definitions/NotifyAppSdkLoadedPlugin.ts"],"names":[],"mappings":"AAAA;;GAEG;AAIH,MAAM,CAAC,MAAM,qBAAqB,GAAG,iCAA0C,CAAC"}
|
||||
Generated
Vendored
+11
@@ -0,0 +1,11 @@
|
||||
/*!
|
||||
* Copyright (C) Microsoft Corporation. All rights reserved.
|
||||
*/
|
||||
import type { PluginDefinition } from '../PluginDefinition.js';
|
||||
export declare const TelemetryTrackEventKey: "Telemetry.trackEvent";
|
||||
export declare const TelemetryTrackExceptionKey: "Telemetry.trackException";
|
||||
export type TelemetryTrackEventHandler = (eventName: string, eventData: Record<string, unknown>) => Promise<void>;
|
||||
export type TelemetryTrackExceptionHandler = (error: Record<string, unknown>) => Promise<void>;
|
||||
export type TelemetryTrackEventPluginDefinition = PluginDefinition<typeof TelemetryTrackEventKey, TelemetryTrackEventHandler>;
|
||||
export type TelemetryTrackExceptionPluginDefinition = PluginDefinition<typeof TelemetryTrackExceptionKey, TelemetryTrackExceptionHandler>;
|
||||
//# sourceMappingURL=TelemetryPlugin.d.ts.map
|
||||
Generated
Vendored
+1
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"TelemetryPlugin.d.ts","sourceRoot":"","sources":["../../../src/plugins/definitions/TelemetryPlugin.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAE5D,eAAO,MAAM,sBAAsB,EAAG,sBAA+B,CAAC;AACtE,eAAO,MAAM,0BAA0B,EAAG,0BAAmC,CAAC;AAE9E,MAAM,MAAM,0BAA0B,GAAG,CACvC,SAAS,EAAE,MAAM,EACjB,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAC/B,OAAO,CAAC,IAAI,CAAC,CAAC;AAEnB,MAAM,MAAM,8BAA8B,GAAG,CAAC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;AAE/F,MAAM,MAAM,mCAAmC,GAAG,gBAAgB,CAChE,OAAO,sBAAsB,EAC7B,0BAA0B,CAC3B,CAAC;AAEF,MAAM,MAAM,uCAAuC,GAAG,gBAAgB,CACpE,OAAO,0BAA0B,EACjC,8BAA8B,CAC/B,CAAC"}
|
||||
Generated
Vendored
+6
@@ -0,0 +1,6 @@
|
||||
/*!
|
||||
* Copyright (C) Microsoft Corporation. All rights reserved.
|
||||
*/
|
||||
export const TelemetryTrackEventKey = 'Telemetry.trackEvent';
|
||||
export const TelemetryTrackExceptionKey = 'Telemetry.trackException';
|
||||
//# sourceMappingURL=TelemetryPlugin.js.map
|
||||
Generated
Vendored
+1
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"TelemetryPlugin.js","sourceRoot":"","sources":["../../../src/plugins/definitions/TelemetryPlugin.ts"],"names":[],"mappings":"AAAA;;GAEG;AAIH,MAAM,CAAC,MAAM,sBAAsB,GAAG,sBAA+B,CAAC;AACtE,MAAM,CAAC,MAAM,0BAA0B,GAAG,0BAAmC,CAAC"}
|
||||
Generated
Vendored
+19
@@ -0,0 +1,19 @@
|
||||
/*!
|
||||
* Copyright (C) Microsoft Corporation. All rights reserved.
|
||||
*/
|
||||
export type { PluginDefinition } from '../PluginDefinition.js';
|
||||
export type { GetAppConnectionsHandler, GetAppConnectionsPluginDefinition, IConnectionReference, } from './GetAppConnectionsPlugin.js';
|
||||
export { GetAppConnectionsKey } from './GetAppConnectionsPlugin.js';
|
||||
export type { GetCdsHandler, GetCdsPluginDefinition, ICdsDataSource } from './GetCdsPlugin.js';
|
||||
export { GetCdsKey } from './GetCdsPlugin.js';
|
||||
export type { GetContextHandler, GetContextPluginDefinition, IAppContext, IContext, IHostContext, IUserContext, } from './GetContextPlugin.js';
|
||||
export { GetContextKey } from './GetContextPlugin.js';
|
||||
export type { HttpSendHandler, HttpSendPluginDefinition, SendHttpRequest, SendHttpResponse, } from './HttpSendPlugin.js';
|
||||
export { HttpSendKey } from './HttpSendPlugin.js';
|
||||
export type { CompatibleReceiverMessage, GetVersionInfoHandler, MessagingGetVersionInfoPluginDefinition, MessagingSendPluginDefinition, SendMessageSendHandler, } from './MessagingPlugin.js';
|
||||
export { MessagingGetVersionInfoKey, MessagingSendKey } from './MessagingPlugin.js';
|
||||
export type { NotifyAppSdkLoadedHandler, NotifyAppSdkLoadedPluginDefinition, } from './NotifyAppSdkLoadedPlugin.js';
|
||||
export { NotifyAppSdkLoadedKey } from './NotifyAppSdkLoadedPlugin.js';
|
||||
export type { TelemetryTrackEventHandler, TelemetryTrackEventPluginDefinition, TelemetryTrackExceptionHandler, TelemetryTrackExceptionPluginDefinition, } from './TelemetryPlugin.js';
|
||||
export { TelemetryTrackEventKey, TelemetryTrackExceptionKey } from './TelemetryPlugin.js';
|
||||
//# sourceMappingURL=index.d.ts.map
|
||||
Generated
Vendored
+1
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/plugins/definitions/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,YAAY,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAC5D,YAAY,EACV,wBAAwB,EACxB,iCAAiC,EACjC,oBAAoB,GACrB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACjE,YAAY,EAAE,aAAa,EAAE,sBAAsB,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC5F,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,YAAY,EACV,iBAAiB,EACjB,0BAA0B,EAC1B,WAAW,EACX,QAAQ,EACR,YAAY,EACZ,YAAY,GACb,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,YAAY,EACV,eAAe,EACf,wBAAwB,EACxB,eAAe,EACf,gBAAgB,GACjB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/C,YAAY,EACV,yBAAyB,EACzB,qBAAqB,EACrB,uCAAuC,EACvC,6BAA6B,EAC7B,sBAAsB,GACvB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,0BAA0B,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AACjF,YAAY,EACV,yBAAyB,EACzB,kCAAkC,GACnC,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AACnE,YAAY,EACV,0BAA0B,EAC1B,mCAAmC,EACnC,8BAA8B,EAC9B,uCAAuC,GACxC,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,sBAAsB,EAAE,0BAA0B,EAAE,MAAM,mBAAmB,CAAC"}
|
||||
Generated
Vendored
+11
@@ -0,0 +1,11 @@
|
||||
/*!
|
||||
* Copyright (C) Microsoft Corporation. All rights reserved.
|
||||
*/
|
||||
export { GetAppConnectionsKey } from './GetAppConnectionsPlugin.js';
|
||||
export { GetCdsKey } from './GetCdsPlugin.js';
|
||||
export { GetContextKey } from './GetContextPlugin.js';
|
||||
export { HttpSendKey } from './HttpSendPlugin.js';
|
||||
export { MessagingGetVersionInfoKey, MessagingSendKey } from './MessagingPlugin.js';
|
||||
export { NotifyAppSdkLoadedKey } from './NotifyAppSdkLoadedPlugin.js';
|
||||
export { TelemetryTrackEventKey, TelemetryTrackExceptionKey } from './TelemetryPlugin.js';
|
||||
//# sourceMappingURL=index.js.map
|
||||
Generated
Vendored
+1
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/plugins/definitions/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAQH,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAEjE,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAS3C,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAOnD,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAQ/C,OAAO,EAAE,0BAA0B,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAKjF,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AAOnE,OAAO,EAAE,sBAAsB,EAAE,0BAA0B,EAAE,MAAM,mBAAmB,CAAC"}
|
||||
Generated
Vendored
+9
@@ -0,0 +1,9 @@
|
||||
/*!
|
||||
* Copyright (C) Microsoft Corporation. All rights reserved.
|
||||
*/
|
||||
export type { CompatibleReceiverMessage, GetAppConnectionsHandler, GetCdsHandler, GetContextHandler, GetVersionInfoHandler, HttpSendHandler, IAppContext, ICdsDataSource, IConnectionReference, IContext, IHostContext, IUserContext, NotifyAppSdkLoadedHandler, PluginDefinition, SendHttpRequest, SendHttpResponse, SendMessageSendHandler, } from './definitions/index.js';
|
||||
export { GetAppConnectionsKey, GetCdsKey, GetContextKey, HttpSendKey, MessagingGetVersionInfoKey, MessagingSendKey, NotifyAppSdkLoadedKey, } from './definitions/index.js';
|
||||
export { PluginAliases } from './PluginAliases.js';
|
||||
export { PluginAction } from './PluginConstants.js';
|
||||
export type { PluginHandler, PluginKey, PluginMap, PluginParams, PluginResponse, } from './PluginMap.js';
|
||||
//# sourceMappingURL=index.d.ts.map
|
||||
Generated
Vendored
+1
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/plugins/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,YAAY,EACV,yBAAyB,EACzB,wBAAwB,EACxB,aAAa,EACb,iBAAiB,EACjB,qBAAqB,EACrB,eAAe,EACf,WAAW,EACX,cAAc,EACd,oBAAoB,EACpB,QAAQ,EACR,YAAY,EACZ,YAAY,EACZ,yBAAyB,EACzB,gBAAgB,EAChB,eAAe,EACf,gBAAgB,EAChB,sBAAsB,GACvB,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,oBAAoB,EACpB,SAAS,EACT,aAAa,EACb,WAAW,EACX,0BAA0B,EAC1B,gBAAgB,EAChB,qBAAqB,GACtB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,YAAY,EACV,aAAa,EACb,SAAS,EACT,SAAS,EACT,YAAY,EACZ,cAAc,GACf,MAAM,aAAa,CAAC"}
|
||||
Generated
Vendored
+7
@@ -0,0 +1,7 @@
|
||||
/*!
|
||||
* Copyright (C) Microsoft Corporation. All rights reserved.
|
||||
*/
|
||||
export { GetAppConnectionsKey, GetCdsKey, GetContextKey, HttpSendKey, MessagingGetVersionInfoKey, MessagingSendKey, NotifyAppSdkLoadedKey, } from './definitions/index.js';
|
||||
export { PluginAliases } from './PluginAliases.js';
|
||||
export { PluginAction } from './PluginConstants.js';
|
||||
//# sourceMappingURL=index.js.map
|
||||
Generated
Vendored
+1
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/plugins/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAqBH,OAAO,EACL,oBAAoB,EACpB,SAAS,EACT,aAAa,EACb,WAAW,EACX,0BAA0B,EAC1B,gBAAgB,EAChB,qBAAqB,GACtB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC"}
|
||||
Reference in New Issue
Block a user