@fluidframework/container-definitions 2.0.0-dev.2.3.0.115467 → 2.0.0-dev.4.1.0.148229
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/.eslintrc.js +20 -9
- package/README.md +5 -5
- package/api-extractor.json +2 -2
- package/dist/audience.d.ts +3 -4
- package/dist/audience.d.ts.map +1 -1
- package/dist/audience.js.map +1 -1
- package/dist/browserPackage.d.ts.map +1 -1
- package/dist/browserPackage.js +3 -3
- package/dist/browserPackage.js.map +1 -1
- package/dist/deltas.d.ts +8 -4
- package/dist/deltas.d.ts.map +1 -1
- package/dist/deltas.js.map +1 -1
- package/dist/error.d.ts +13 -0
- package/dist/error.d.ts.map +1 -1
- package/dist/error.js.map +1 -1
- package/dist/fluidModule.d.ts.map +1 -1
- package/dist/fluidModule.js.map +1 -1
- package/dist/fluidPackage.d.ts.map +1 -1
- package/dist/fluidPackage.js +5 -6
- package/dist/fluidPackage.js.map +1 -1
- package/dist/index.d.ts +2 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -3
- package/dist/index.js.map +1 -1
- package/dist/loader.d.ts +56 -4
- package/dist/loader.d.ts.map +1 -1
- package/dist/loader.js +1 -0
- package/dist/loader.js.map +1 -1
- package/dist/runtime.d.ts +30 -3
- package/dist/runtime.d.ts.map +1 -1
- package/dist/runtime.js.map +1 -1
- package/lib/audience.d.ts +3 -4
- package/lib/audience.d.ts.map +1 -1
- package/lib/audience.js.map +1 -1
- package/lib/browserPackage.d.ts.map +1 -1
- package/lib/browserPackage.js +3 -3
- package/lib/browserPackage.js.map +1 -1
- package/lib/deltas.d.ts +8 -4
- package/lib/deltas.d.ts.map +1 -1
- package/lib/deltas.js.map +1 -1
- package/lib/error.d.ts +13 -0
- package/lib/error.d.ts.map +1 -1
- package/lib/error.js.map +1 -1
- package/lib/fluidModule.d.ts.map +1 -1
- package/lib/fluidModule.js.map +1 -1
- package/lib/fluidPackage.d.ts.map +1 -1
- package/lib/fluidPackage.js +5 -6
- package/lib/fluidPackage.js.map +1 -1
- package/lib/index.d.ts +2 -3
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +1 -2
- package/lib/index.js.map +1 -1
- package/lib/loader.d.ts +56 -4
- package/lib/loader.d.ts.map +1 -1
- package/lib/loader.js +1 -0
- package/lib/loader.js.map +1 -1
- package/lib/runtime.d.ts +30 -3
- package/lib/runtime.d.ts.map +1 -1
- package/lib/runtime.js.map +1 -1
- package/package.json +31 -33
- package/prettier.config.cjs +1 -1
- package/src/audience.ts +25 -22
- package/src/browserPackage.ts +33 -34
- package/src/deltas.ts +256 -245
- package/src/error.ts +71 -58
- package/src/fluidModule.ts +1 -1
- package/src/fluidPackage.ts +86 -86
- package/src/index.ts +52 -48
- package/src/loader.ts +534 -489
- package/src/runtime.ts +178 -148
- package/tsconfig.esnext.json +6 -6
- package/tsconfig.json +8 -15
- package/dist/tokenProvider.d.ts +0 -14
- package/dist/tokenProvider.d.ts.map +0 -1
- package/dist/tokenProvider.js +0 -9
- package/dist/tokenProvider.js.map +0 -1
- package/lib/tokenProvider.d.ts +0 -14
- package/lib/tokenProvider.d.ts.map +0 -1
- package/lib/tokenProvider.js +0 -6
- package/lib/tokenProvider.js.map +0 -1
- package/src/tokenProvider.ts +0 -14
package/src/runtime.ts
CHANGED
|
@@ -4,23 +4,19 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
import { ITelemetryBaseLogger, IDisposable } from "@fluidframework/common-definitions";
|
|
7
|
-
import {
|
|
8
|
-
FluidObject,
|
|
9
|
-
IRequest,
|
|
10
|
-
IResponse,
|
|
11
|
-
} from "@fluidframework/core-interfaces";
|
|
7
|
+
import { FluidObject, IRequest, IResponse } from "@fluidframework/core-interfaces";
|
|
12
8
|
import { IDocumentStorageService } from "@fluidframework/driver-definitions";
|
|
13
9
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
10
|
+
IClientConfiguration,
|
|
11
|
+
IClientDetails,
|
|
12
|
+
ISequencedDocumentMessage,
|
|
13
|
+
ISnapshotTree,
|
|
14
|
+
MessageType,
|
|
15
|
+
ISummaryTree,
|
|
16
|
+
IVersion,
|
|
17
|
+
IDocumentMessage,
|
|
18
|
+
IQuorumClients,
|
|
19
|
+
ISummaryContent,
|
|
24
20
|
} from "@fluidframework/protocol-definitions";
|
|
25
21
|
import { IAudience } from "./audience";
|
|
26
22
|
import { IDeltaManager } from "./deltas";
|
|
@@ -33,22 +29,22 @@ import { IFluidCodeDetails } from "./fluidPackage";
|
|
|
33
29
|
* service. The transition from detached to attached state is a one-way transition.
|
|
34
30
|
*/
|
|
35
31
|
export enum AttachState {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
32
|
+
/**
|
|
33
|
+
* In detached state, the data is only present on the local client's machine. It has not yet been uploaded
|
|
34
|
+
* to the service.
|
|
35
|
+
*/
|
|
36
|
+
Detached = "Detached",
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* In attaching state, the data has started the upload to the service, but has not yet completed.
|
|
40
|
+
*/
|
|
41
|
+
Attaching = "Attaching",
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* In attached state, the data has completed upload to the service. It can be accessed by other clients after
|
|
45
|
+
* reaching attached state.
|
|
46
|
+
*/
|
|
47
|
+
Attached = "Attached",
|
|
52
48
|
}
|
|
53
49
|
|
|
54
50
|
/**
|
|
@@ -56,61 +52,81 @@ export enum AttachState {
|
|
|
56
52
|
* Primarily held by the ContainerContext to be able to interact with the running instance of the Container.
|
|
57
53
|
*/
|
|
58
54
|
export interface IRuntime extends IDisposable {
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
55
|
+
/**
|
|
56
|
+
* Executes a request against the runtime
|
|
57
|
+
*/
|
|
58
|
+
request(request: IRequest): Promise<IResponse>;
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* Notifies the runtime of a change in the connection state
|
|
62
|
+
*/
|
|
63
|
+
setConnectionState(connected: boolean, clientId?: string);
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* Processes the given op (message)
|
|
67
|
+
*/
|
|
68
|
+
process(message: ISequencedDocumentMessage, local: boolean);
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* Processes the given signal
|
|
72
|
+
*/
|
|
73
|
+
processSignal(message: any, local: boolean);
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* Create a summary. Used when attaching or serializing a detached container.
|
|
77
|
+
*
|
|
78
|
+
* @param blobRedirectTable - A table passed during the attach process. While detached, blob upload is supported
|
|
79
|
+
* using IDs generated locally. After attach, these IDs cannot be used, so this table maps the old local IDs to the
|
|
80
|
+
* new storage IDs so requests can be redirected.
|
|
81
|
+
*/
|
|
82
|
+
createSummary(blobRedirectTable?: Map<string, string>): ISummaryTree;
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* Propagate the container state when container is attaching or attached.
|
|
86
|
+
* @param attachState - State of the container.
|
|
87
|
+
*/
|
|
88
|
+
setAttachState(attachState: AttachState.Attaching | AttachState.Attached): void;
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* Get pending local state in a serializable format to be given back to a newly loaded container
|
|
92
|
+
* @experimental
|
|
93
|
+
* {@link https://github.com/microsoft/FluidFramework/packages/tree/main/loader/container-loader/closeAndGetPendingLocalState.md}
|
|
94
|
+
*/
|
|
95
|
+
getPendingLocalState(): unknown;
|
|
96
|
+
|
|
97
|
+
/**
|
|
98
|
+
* Notify runtime that container is moving to "Attaching" state
|
|
99
|
+
* @param snapshot - snapshot created at attach time
|
|
100
|
+
* @deprecated - not necessary after op replay moved to Container
|
|
101
|
+
*/
|
|
102
|
+
notifyAttaching(snapshot: ISnapshotTreeWithBlobContents): void;
|
|
103
|
+
|
|
104
|
+
/**
|
|
105
|
+
* Notify runtime that we have processed a saved message, so that it can do async work (applying
|
|
106
|
+
* stashed ops) after having processed it.
|
|
107
|
+
*/
|
|
108
|
+
notifyOpReplay?(message: ISequencedDocumentMessage): Promise<void>;
|
|
109
|
+
|
|
110
|
+
/**
|
|
111
|
+
* Exposes the entryPoint for the container runtime.
|
|
112
|
+
* Use this as the primary way of getting access to the user-defined logic within the container runtime.
|
|
113
|
+
*
|
|
114
|
+
* @see {@link IContainer.getEntryPoint}
|
|
115
|
+
*
|
|
116
|
+
* @remarks The plan is that eventually IRuntime will no longer have a request() method, this method will no
|
|
117
|
+
* longer be optional, and it will become the only way to access the entryPoint for the runtime.
|
|
118
|
+
*/
|
|
119
|
+
getEntryPoint?(): Promise<FluidObject | undefined>;
|
|
105
120
|
}
|
|
106
121
|
|
|
107
122
|
/**
|
|
108
123
|
* Payload type for IContainerContext.submitBatchFn()
|
|
109
124
|
*/
|
|
110
125
|
export interface IBatchMessage {
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
126
|
+
contents?: string;
|
|
127
|
+
metadata: Record<string, unknown> | undefined;
|
|
128
|
+
compression?: string;
|
|
129
|
+
referenceSequenceNumber?: number;
|
|
114
130
|
}
|
|
115
131
|
|
|
116
132
|
/**
|
|
@@ -122,71 +138,85 @@ export interface IBatchMessage {
|
|
|
122
138
|
* and the Container has created a new ContainerContext.
|
|
123
139
|
*/
|
|
124
140
|
export interface IContainerContext extends IDisposable {
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
141
|
+
/** @deprecated Please pass in existing directly in instantiateRuntime */
|
|
142
|
+
readonly existing: boolean | undefined;
|
|
143
|
+
readonly options: ILoaderOptions;
|
|
144
|
+
readonly clientId: string | undefined;
|
|
145
|
+
readonly clientDetails: IClientDetails;
|
|
146
|
+
readonly storage: IDocumentStorageService;
|
|
147
|
+
readonly connected: boolean;
|
|
148
|
+
readonly baseSnapshot: ISnapshotTree | undefined;
|
|
149
|
+
/** @deprecated Please use submitBatchFn & submitSummaryFn */
|
|
150
|
+
readonly submitFn: (type: MessageType, contents: any, batch: boolean, appData?: any) => number;
|
|
151
|
+
/** @returns clientSequenceNumber of last message in a batch */
|
|
152
|
+
readonly submitBatchFn: (batch: IBatchMessage[], referenceSequenceNumber?: number) => number;
|
|
153
|
+
readonly submitSummaryFn: (
|
|
154
|
+
summaryOp: ISummaryContent,
|
|
155
|
+
referenceSequenceNumber?: number,
|
|
156
|
+
) => number;
|
|
157
|
+
readonly submitSignalFn: (contents: any) => void;
|
|
158
|
+
readonly disposeFn?: (error?: ICriticalContainerError) => void;
|
|
159
|
+
readonly closeFn: (error?: ICriticalContainerError) => void;
|
|
160
|
+
readonly deltaManager: IDeltaManager<ISequencedDocumentMessage, IDocumentMessage>;
|
|
161
|
+
readonly quorum: IQuorumClients;
|
|
162
|
+
/**
|
|
163
|
+
* @deprecated This method is provided as a migration tool for customers currently reading the code details
|
|
164
|
+
* from within the Container by directly accessing the Quorum proposals. The code details should not be accessed
|
|
165
|
+
* from within the Container as this requires coupling between the container contents and the code loader.
|
|
166
|
+
* Direct access to Quorum proposals will be removed in an upcoming release, and in a further future release this
|
|
167
|
+
* migration tool will be removed.
|
|
168
|
+
*/
|
|
169
|
+
getSpecifiedCodeDetails?(): IFluidCodeDetails | undefined;
|
|
170
|
+
readonly audience: IAudience | undefined;
|
|
171
|
+
readonly loader: ILoader;
|
|
172
|
+
// The logger implementation, which would support tagged events, should be provided by the loader.
|
|
173
|
+
readonly taggedLogger: ITelemetryBaseLogger;
|
|
174
|
+
readonly serviceConfiguration: IClientConfiguration | undefined;
|
|
175
|
+
pendingLocalState?: unknown;
|
|
176
|
+
|
|
177
|
+
/**
|
|
178
|
+
* Ambient services provided with the context
|
|
179
|
+
*/
|
|
180
|
+
readonly scope: FluidObject;
|
|
181
|
+
|
|
182
|
+
/**
|
|
183
|
+
* Get an absolute url for a provided container-relative request.
|
|
184
|
+
* @param relativeUrl - A relative request within the container
|
|
185
|
+
*
|
|
186
|
+
* TODO: Optional for backwards compatibility. Make non-optional in version 0.19
|
|
187
|
+
*/
|
|
188
|
+
getAbsoluteUrl?(relativeUrl: string): Promise<string | undefined>;
|
|
189
|
+
|
|
190
|
+
/**
|
|
191
|
+
* Indicates the attachment state of the container to a host service.
|
|
192
|
+
*/
|
|
193
|
+
readonly attachState: AttachState;
|
|
194
|
+
|
|
195
|
+
getLoadedFromVersion(): IVersion | undefined;
|
|
196
|
+
|
|
197
|
+
updateDirtyContainerState(dirty: boolean): void;
|
|
198
|
+
|
|
199
|
+
readonly supportedFeatures?: ReadonlyMap<string, unknown>;
|
|
200
|
+
|
|
201
|
+
/**
|
|
202
|
+
* WARNING: this id is meant for telemetry usages ONLY, not recommended for other consumption
|
|
203
|
+
* This id is not supposed to be exposed anywhere else. It is dependant on usage or drivers
|
|
204
|
+
* and scenarios which can change in the future.
|
|
205
|
+
*/
|
|
206
|
+
readonly id: string;
|
|
207
|
+
|
|
208
|
+
/**
|
|
209
|
+
* Proxy for {@link IRuntime.getEntryPoint}, the entryPoint defined in the container's runtime.
|
|
210
|
+
*
|
|
211
|
+
* @see {@link IContainer.getEntryPoint}
|
|
212
|
+
*/
|
|
213
|
+
getEntryPoint?(): Promise<FluidObject | undefined>;
|
|
184
214
|
}
|
|
185
215
|
|
|
186
216
|
export const IRuntimeFactory: keyof IProvideRuntimeFactory = "IRuntimeFactory";
|
|
187
217
|
|
|
188
218
|
export interface IProvideRuntimeFactory {
|
|
189
|
-
|
|
219
|
+
readonly IRuntimeFactory: IRuntimeFactory;
|
|
190
220
|
}
|
|
191
221
|
|
|
192
222
|
/**
|
|
@@ -196,12 +226,12 @@ export interface IProvideRuntimeFactory {
|
|
|
196
226
|
* to start up the running instance of the Container.
|
|
197
227
|
*/
|
|
198
228
|
export interface IRuntimeFactory extends IProvideRuntimeFactory {
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
229
|
+
/**
|
|
230
|
+
* Instantiates a new IRuntime for the given IContainerContext to proxy to
|
|
231
|
+
* This is the main entry point to the Container's business logic
|
|
232
|
+
*
|
|
233
|
+
* @param context - container context to be supplied to the runtime
|
|
234
|
+
* @param existing - whether to instantiate for the first time or from an existing context
|
|
235
|
+
*/
|
|
236
|
+
instantiateRuntime(context: IContainerContext, existing: boolean): Promise<IRuntime>;
|
|
207
237
|
}
|
package/tsconfig.esnext.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
}
|
|
2
|
+
"extends": "./tsconfig.json",
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"outDir": "./lib",
|
|
5
|
+
"module": "esnext",
|
|
6
|
+
},
|
|
7
|
+
}
|
package/tsconfig.json
CHANGED
|
@@ -1,17 +1,10 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
"types": [
|
|
11
|
-
"node"
|
|
12
|
-
]
|
|
13
|
-
},
|
|
14
|
-
"include": [
|
|
15
|
-
"src/**/*"
|
|
16
|
-
]
|
|
2
|
+
"extends": "@fluidframework/build-common/ts-common-config.json",
|
|
3
|
+
"exclude": ["src/test/**/*"],
|
|
4
|
+
"compilerOptions": {
|
|
5
|
+
"rootDir": "./src",
|
|
6
|
+
"outDir": "./dist",
|
|
7
|
+
"composite": true,
|
|
8
|
+
},
|
|
9
|
+
"include": ["src/**/*"],
|
|
17
10
|
}
|
package/dist/tokenProvider.d.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Copyright (c) Microsoft Corporation and contributors. All rights reserved.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
*/
|
|
5
|
-
export declare const IFluidTokenProvider: keyof IProvideFluidTokenProvider;
|
|
6
|
-
export interface IProvideFluidTokenProvider {
|
|
7
|
-
readonly IFluidTokenProvider: IFluidTokenProvider;
|
|
8
|
-
}
|
|
9
|
-
export interface IFluidTokenProvider extends IProvideFluidTokenProvider {
|
|
10
|
-
intelligence: {
|
|
11
|
-
[service: string]: any;
|
|
12
|
-
};
|
|
13
|
-
}
|
|
14
|
-
//# sourceMappingURL=tokenProvider.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"tokenProvider.d.ts","sourceRoot":"","sources":["../src/tokenProvider.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,eAAO,MAAM,mBAAmB,EAAE,MAAM,0BAAkD,CAAC;AAE3F,MAAM,WAAW,0BAA0B;IACvC,QAAQ,CAAC,mBAAmB,EAAE,mBAAmB,CAAC;CACrD;AAED,MAAM,WAAW,mBAAoB,SAAQ,0BAA0B;IACnE,YAAY,EAAE;QAAE,CAAC,OAAO,EAAE,MAAM,GAAG,GAAG,CAAC;KAAE,CAAC;CAC7C"}
|
package/dist/tokenProvider.js
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*!
|
|
3
|
-
* Copyright (c) Microsoft Corporation and contributors. All rights reserved.
|
|
4
|
-
* Licensed under the MIT License.
|
|
5
|
-
*/
|
|
6
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
exports.IFluidTokenProvider = void 0;
|
|
8
|
-
exports.IFluidTokenProvider = "IFluidTokenProvider";
|
|
9
|
-
//# sourceMappingURL=tokenProvider.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"tokenProvider.js","sourceRoot":"","sources":["../src/tokenProvider.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAEU,QAAA,mBAAmB,GAAqC,qBAAqB,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nexport const IFluidTokenProvider: keyof IProvideFluidTokenProvider = \"IFluidTokenProvider\";\n\nexport interface IProvideFluidTokenProvider {\n readonly IFluidTokenProvider: IFluidTokenProvider;\n}\n\nexport interface IFluidTokenProvider extends IProvideFluidTokenProvider {\n intelligence: { [service: string]: any; };\n}\n"]}
|
package/lib/tokenProvider.d.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Copyright (c) Microsoft Corporation and contributors. All rights reserved.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
*/
|
|
5
|
-
export declare const IFluidTokenProvider: keyof IProvideFluidTokenProvider;
|
|
6
|
-
export interface IProvideFluidTokenProvider {
|
|
7
|
-
readonly IFluidTokenProvider: IFluidTokenProvider;
|
|
8
|
-
}
|
|
9
|
-
export interface IFluidTokenProvider extends IProvideFluidTokenProvider {
|
|
10
|
-
intelligence: {
|
|
11
|
-
[service: string]: any;
|
|
12
|
-
};
|
|
13
|
-
}
|
|
14
|
-
//# sourceMappingURL=tokenProvider.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"tokenProvider.d.ts","sourceRoot":"","sources":["../src/tokenProvider.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,eAAO,MAAM,mBAAmB,EAAE,MAAM,0BAAkD,CAAC;AAE3F,MAAM,WAAW,0BAA0B;IACvC,QAAQ,CAAC,mBAAmB,EAAE,mBAAmB,CAAC;CACrD;AAED,MAAM,WAAW,mBAAoB,SAAQ,0BAA0B;IACnE,YAAY,EAAE;QAAE,CAAC,OAAO,EAAE,MAAM,GAAG,GAAG,CAAC;KAAE,CAAC;CAC7C"}
|
package/lib/tokenProvider.js
DELETED
package/lib/tokenProvider.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"tokenProvider.js","sourceRoot":"","sources":["../src/tokenProvider.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,MAAM,CAAC,MAAM,mBAAmB,GAAqC,qBAAqB,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nexport const IFluidTokenProvider: keyof IProvideFluidTokenProvider = \"IFluidTokenProvider\";\n\nexport interface IProvideFluidTokenProvider {\n readonly IFluidTokenProvider: IFluidTokenProvider;\n}\n\nexport interface IFluidTokenProvider extends IProvideFluidTokenProvider {\n intelligence: { [service: string]: any; };\n}\n"]}
|
package/src/tokenProvider.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Copyright (c) Microsoft Corporation and contributors. All rights reserved.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
export const IFluidTokenProvider: keyof IProvideFluidTokenProvider = "IFluidTokenProvider";
|
|
7
|
-
|
|
8
|
-
export interface IProvideFluidTokenProvider {
|
|
9
|
-
readonly IFluidTokenProvider: IFluidTokenProvider;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
export interface IFluidTokenProvider extends IProvideFluidTokenProvider {
|
|
13
|
-
intelligence: { [service: string]: any; };
|
|
14
|
-
}
|