@fluidframework/routerlicious-driver 2.0.0-dev-rc.5.0.0.267932 → 2.0.0-dev-rc.5.0.0.268409

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,36 @@
1
+ ## Alpha API Report File for "@fluidframework/routerlicious-driver"
2
+
3
+ > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
4
+
5
+ ```ts
6
+
7
+ import { IDocumentService } from '@fluidframework/driver-definitions/internal';
8
+ import { IDocumentServiceFactory } from '@fluidframework/driver-definitions/internal';
9
+ import { IResolvedUrl } from '@fluidframework/driver-definitions/internal';
10
+ import { ISession } from '@fluidframework/server-services-client';
11
+ import { ISummaryTree } from '@fluidframework/driver-definitions';
12
+ import { ITelemetryBaseLogger } from '@fluidframework/core-interfaces';
13
+ import { ITokenClaims } from '@fluidframework/driver-definitions/internal';
14
+
15
+ // @alpha
16
+ export interface IRouterliciousResolvedUrl extends IResolvedUrl {
17
+ createAsEphemeral?: boolean;
18
+ routerliciousResolvedUrl: true;
19
+ }
20
+
21
+ // @public
22
+ export interface ITokenProvider {
23
+ documentPostCreateCallback?(documentId: string, creationToken: string): Promise<void>;
24
+ fetchOrdererToken(tenantId: string, documentId?: string, refresh?: boolean): Promise<ITokenResponse>;
25
+ fetchStorageToken(tenantId: string, documentId: string, refresh?: boolean): Promise<ITokenResponse>;
26
+ }
27
+
28
+ // @public (undocumented)
29
+ export interface ITokenResponse {
30
+ fromCache?: boolean;
31
+ jwt: string;
32
+ }
33
+
34
+ // (No @packageDocumentation comment for this package)
35
+
36
+ ```
@@ -0,0 +1,30 @@
1
+ ## Beta API Report File for "@fluidframework/routerlicious-driver"
2
+
3
+ > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
4
+
5
+ ```ts
6
+
7
+ import { IDocumentService } from '@fluidframework/driver-definitions/internal';
8
+ import { IDocumentServiceFactory } from '@fluidframework/driver-definitions/internal';
9
+ import { IResolvedUrl } from '@fluidframework/driver-definitions/internal';
10
+ import { ISession } from '@fluidframework/server-services-client';
11
+ import { ISummaryTree } from '@fluidframework/driver-definitions';
12
+ import { ITelemetryBaseLogger } from '@fluidframework/core-interfaces';
13
+ import { ITokenClaims } from '@fluidframework/driver-definitions/internal';
14
+
15
+ // @public
16
+ export interface ITokenProvider {
17
+ documentPostCreateCallback?(documentId: string, creationToken: string): Promise<void>;
18
+ fetchOrdererToken(tenantId: string, documentId?: string, refresh?: boolean): Promise<ITokenResponse>;
19
+ fetchStorageToken(tenantId: string, documentId: string, refresh?: boolean): Promise<ITokenResponse>;
20
+ }
21
+
22
+ // @public (undocumented)
23
+ export interface ITokenResponse {
24
+ fromCache?: boolean;
25
+ jwt: string;
26
+ }
27
+
28
+ // (No @packageDocumentation comment for this package)
29
+
30
+ ```
@@ -0,0 +1,30 @@
1
+ ## Public API Report File for "@fluidframework/routerlicious-driver"
2
+
3
+ > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
4
+
5
+ ```ts
6
+
7
+ import { IDocumentService } from '@fluidframework/driver-definitions/internal';
8
+ import { IDocumentServiceFactory } from '@fluidframework/driver-definitions/internal';
9
+ import { IResolvedUrl } from '@fluidframework/driver-definitions/internal';
10
+ import { ISession } from '@fluidframework/server-services-client';
11
+ import { ISummaryTree } from '@fluidframework/driver-definitions';
12
+ import { ITelemetryBaseLogger } from '@fluidframework/core-interfaces';
13
+ import { ITokenClaims } from '@fluidframework/driver-definitions/internal';
14
+
15
+ // @public
16
+ export interface ITokenProvider {
17
+ documentPostCreateCallback?(documentId: string, creationToken: string): Promise<void>;
18
+ fetchOrdererToken(tenantId: string, documentId?: string, refresh?: boolean): Promise<ITokenResponse>;
19
+ fetchStorageToken(tenantId: string, documentId: string, refresh?: boolean): Promise<ITokenResponse>;
20
+ }
21
+
22
+ // @public (undocumented)
23
+ export interface ITokenResponse {
24
+ fromCache?: boolean;
25
+ jwt: string;
26
+ }
27
+
28
+ // (No @packageDocumentation comment for this package)
29
+
30
+ ```
@@ -5,5 +5,5 @@
5
5
  * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY
6
6
  */
7
7
  export declare const pkgName = "@fluidframework/routerlicious-driver";
8
- export declare const pkgVersion = "2.0.0-dev-rc.5.0.0.267932";
8
+ export declare const pkgVersion = "2.0.0-dev-rc.5.0.0.268409";
9
9
  //# sourceMappingURL=packageVersion.d.ts.map
@@ -8,5 +8,5 @@
8
8
  Object.defineProperty(exports, "__esModule", { value: true });
9
9
  exports.pkgVersion = exports.pkgName = void 0;
10
10
  exports.pkgName = "@fluidframework/routerlicious-driver";
11
- exports.pkgVersion = "2.0.0-dev-rc.5.0.0.267932";
11
+ exports.pkgVersion = "2.0.0-dev-rc.5.0.0.268409";
12
12
  //# sourceMappingURL=packageVersion.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEU,QAAA,OAAO,GAAG,sCAAsC,CAAC;AACjD,QAAA,UAAU,GAAG,2BAA2B,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n *\n * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY\n */\n\nexport const pkgName = \"@fluidframework/routerlicious-driver\";\nexport const pkgVersion = \"2.0.0-dev-rc.5.0.0.267932\";\n"]}
1
+ {"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEU,QAAA,OAAO,GAAG,sCAAsC,CAAC;AACjD,QAAA,UAAU,GAAG,2BAA2B,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n *\n * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY\n */\n\nexport const pkgName = \"@fluidframework/routerlicious-driver\";\nexport const pkgVersion = \"2.0.0-dev-rc.5.0.0.268409\";\n"]}
@@ -5,5 +5,5 @@
5
5
  * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY
6
6
  */
7
7
  export declare const pkgName = "@fluidframework/routerlicious-driver";
8
- export declare const pkgVersion = "2.0.0-dev-rc.5.0.0.267932";
8
+ export declare const pkgVersion = "2.0.0-dev-rc.5.0.0.268409";
9
9
  //# sourceMappingURL=packageVersion.d.ts.map
@@ -5,5 +5,5 @@
5
5
  * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY
6
6
  */
7
7
  export const pkgName = "@fluidframework/routerlicious-driver";
8
- export const pkgVersion = "2.0.0-dev-rc.5.0.0.267932";
8
+ export const pkgVersion = "2.0.0-dev-rc.5.0.0.268409";
9
9
  //# sourceMappingURL=packageVersion.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,MAAM,CAAC,MAAM,OAAO,GAAG,sCAAsC,CAAC;AAC9D,MAAM,CAAC,MAAM,UAAU,GAAG,2BAA2B,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n *\n * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY\n */\n\nexport const pkgName = \"@fluidframework/routerlicious-driver\";\nexport const pkgVersion = \"2.0.0-dev-rc.5.0.0.267932\";\n"]}
1
+ {"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,MAAM,CAAC,MAAM,OAAO,GAAG,sCAAsC,CAAC;AAC9D,MAAM,CAAC,MAAM,UAAU,GAAG,2BAA2B,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n *\n * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY\n */\n\nexport const pkgName = \"@fluidframework/routerlicious-driver\";\nexport const pkgVersion = \"2.0.0-dev-rc.5.0.0.268409\";\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluidframework/routerlicious-driver",
3
- "version": "2.0.0-dev-rc.5.0.0.267932",
3
+ "version": "2.0.0-dev-rc.5.0.0.268409",
4
4
  "description": "Socket.IO + Git implementation of Fluid service API",
5
5
  "homepage": "https://fluidframework.com",
6
6
  "repository": {
@@ -77,15 +77,15 @@
77
77
  "temp-directory": "nyc/.nyc_output"
78
78
  },
79
79
  "dependencies": {
80
- "@fluid-internal/client-utils": "2.0.0-dev-rc.5.0.0.267932",
81
- "@fluidframework/core-interfaces": "2.0.0-dev-rc.5.0.0.267932",
82
- "@fluidframework/core-utils": "2.0.0-dev-rc.5.0.0.267932",
83
- "@fluidframework/driver-base": "2.0.0-dev-rc.5.0.0.267932",
84
- "@fluidframework/driver-definitions": "2.0.0-dev-rc.5.0.0.267932",
85
- "@fluidframework/driver-utils": "2.0.0-dev-rc.5.0.0.267932",
80
+ "@fluid-internal/client-utils": "2.0.0-dev-rc.5.0.0.268409",
81
+ "@fluidframework/core-interfaces": "2.0.0-dev-rc.5.0.0.268409",
82
+ "@fluidframework/core-utils": "2.0.0-dev-rc.5.0.0.268409",
83
+ "@fluidframework/driver-base": "2.0.0-dev-rc.5.0.0.268409",
84
+ "@fluidframework/driver-definitions": "2.0.0-dev-rc.5.0.0.268409",
85
+ "@fluidframework/driver-utils": "2.0.0-dev-rc.5.0.0.268409",
86
86
  "@fluidframework/protocol-base": "^4.0.0",
87
87
  "@fluidframework/server-services-client": "^4.0.0",
88
- "@fluidframework/telemetry-utils": "2.0.0-dev-rc.5.0.0.267932",
88
+ "@fluidframework/telemetry-utils": "2.0.0-dev-rc.5.0.0.268409",
89
89
  "cross-fetch": "^3.1.5",
90
90
  "json-stringify-safe": "5.0.1",
91
91
  "socket.io-client": "^4.7.3",
@@ -93,12 +93,12 @@
93
93
  },
94
94
  "devDependencies": {
95
95
  "@arethetypeswrong/cli": "^0.15.2",
96
- "@biomejs/biome": "^1.6.2",
97
- "@fluid-internal/mocha-test-setup": "2.0.0-dev-rc.5.0.0.267932",
96
+ "@biomejs/biome": "^1.7.3",
97
+ "@fluid-internal/mocha-test-setup": "2.0.0-dev-rc.5.0.0.268409",
98
98
  "@fluid-tools/build-cli": "^0.39.0-264124",
99
99
  "@fluidframework/build-common": "^2.0.3",
100
100
  "@fluidframework/build-tools": "^0.39.0-264124",
101
- "@fluidframework/eslint-config-fluid": "^5.1.0",
101
+ "@fluidframework/eslint-config-fluid": "^5.3.0",
102
102
  "@fluidframework/routerlicious-driver-previous": "npm:@fluidframework/routerlicious-driver@2.0.0-rc.4.0.0",
103
103
  "@microsoft/api-extractor": "^7.45.1",
104
104
  "@types/mocha": "^9.1.1",
@@ -6,4 +6,4 @@
6
6
  */
7
7
 
8
8
  export const pkgName = "@fluidframework/routerlicious-driver";
9
- export const pkgVersion = "2.0.0-dev-rc.5.0.0.267932";
9
+ export const pkgVersion = "2.0.0-dev-rc.5.0.0.268409";
@@ -1,105 +0,0 @@
1
- ## API Report File for "@fluidframework/routerlicious-driver"
2
-
3
- > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
4
-
5
- ```ts
6
-
7
- import { IDocumentService } from '@fluidframework/driver-definitions/internal';
8
- import { IDocumentServiceFactory } from '@fluidframework/driver-definitions/internal';
9
- import { IResolvedUrl } from '@fluidframework/driver-definitions/internal';
10
- import { ISession } from '@fluidframework/server-services-client';
11
- import { ISummaryTree } from '@fluidframework/driver-definitions';
12
- import { ITelemetryBaseLogger } from '@fluidframework/core-interfaces';
13
- import { ITokenClaims } from '@fluidframework/driver-definitions/internal';
14
-
15
- // @internal
16
- export class DefaultTokenProvider implements ITokenProvider {
17
- constructor(jwt: string);
18
- // (undocumented)
19
- fetchOrdererToken(): Promise<ITokenResponse>;
20
- // (undocumented)
21
- fetchStorageToken(): Promise<ITokenResponse>;
22
- }
23
-
24
- // @internal
25
- export class DocumentPostCreateError extends Error {
26
- constructor(
27
- innerError: Error);
28
- // (undocumented)
29
- readonly name = "DocumentPostCreateError";
30
- // (undocumented)
31
- get stack(): string | undefined;
32
- }
33
-
34
- // @internal (undocumented)
35
- export interface IRouterliciousDriverPolicies {
36
- enableDiscovery: boolean;
37
- enableInternalSummaryCaching: boolean;
38
- enableLongPollingDowngrade: boolean;
39
- enablePrefetch: boolean;
40
- enableRestLess: boolean;
41
- enableWholeSummaryUpload: boolean;
42
- maxConcurrentOrdererRequests: number;
43
- maxConcurrentStorageRequests: number;
44
- }
45
-
46
- // @alpha
47
- export interface IRouterliciousResolvedUrl extends IResolvedUrl {
48
- createAsEphemeral?: boolean;
49
- routerliciousResolvedUrl: true;
50
- }
51
-
52
- // @public
53
- export interface ITokenProvider {
54
- documentPostCreateCallback?(documentId: string, creationToken: string): Promise<void>;
55
- fetchOrdererToken(tenantId: string, documentId?: string, refresh?: boolean): Promise<ITokenResponse>;
56
- fetchStorageToken(tenantId: string, documentId: string, refresh?: boolean): Promise<ITokenResponse>;
57
- }
58
-
59
- // @public (undocumented)
60
- export interface ITokenResponse {
61
- fromCache?: boolean;
62
- jwt: string;
63
- }
64
-
65
- // @internal
66
- export interface ITokenService {
67
- extractClaims(token: string): ITokenClaims;
68
- }
69
-
70
- // @internal
71
- export class RouterliciousDocumentServiceFactory implements IDocumentServiceFactory {
72
- constructor(tokenProvider: ITokenProvider, driverPolicies?: Partial<IRouterliciousDriverPolicies>);
73
- createContainer(createNewSummary: ISummaryTree | undefined, resolvedUrl: IResolvedUrl, logger?: ITelemetryBaseLogger, clientIsSummarizer?: boolean): Promise<IDocumentService>;
74
- createDocumentService(resolvedUrl: IResolvedUrl, logger?: ITelemetryBaseLogger, clientIsSummarizer?: boolean, session?: ISession): Promise<IDocumentService>;
75
- }
76
-
77
- // @internal
78
- export const RouterliciousErrorTypes: {
79
- readonly sslCertError: "sslCertError";
80
- readonly genericNetworkError: "genericNetworkError";
81
- readonly authorizationError: "authorizationError";
82
- readonly fileNotFoundOrAccessDeniedError: "fileNotFoundOrAccessDeniedError";
83
- readonly offlineError: "offlineError";
84
- readonly unsupportedClientProtocolVersion: "unsupportedClientProtocolVersion";
85
- readonly writeError: "writeError";
86
- readonly fetchFailure: "fetchFailure";
87
- readonly fetchTokenError: "fetchTokenError";
88
- readonly incorrectServerResponse: "incorrectServerResponse";
89
- readonly fileOverwrittenInStorage: "fileOverwrittenInStorage";
90
- readonly deltaStreamConnectionForbidden: "deltaStreamConnectionForbidden";
91
- readonly locationRedirection: "locationRedirection";
92
- readonly fluidInvalidSchema: "fluidInvalidSchema";
93
- readonly fileIsLocked: "fileIsLocked";
94
- readonly outOfStorageError: "outOfStorageError";
95
- readonly genericError: "genericError";
96
- readonly throttlingError: "throttlingError";
97
- readonly usageError: "usageError";
98
- };
99
-
100
- // @internal (undocumented)
101
- export type RouterliciousErrorTypes = (typeof RouterliciousErrorTypes)[keyof typeof RouterliciousErrorTypes];
102
-
103
- // (No @packageDocumentation comment for this package)
104
-
105
- ```