@fluidframework/odsp-urlresolver 2.0.0-dev-rc.3.0.0.254274 → 2.0.0-dev-rc.3.0.0.254674

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,9 @@
1
+ /*!
2
+ * Copyright (c) Microsoft Corporation and contributors. All rights reserved.
3
+ * Licensed under the MIT License.
4
+ */
5
+
6
+ /*
7
+ * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
8
+ * Generated by "flub generate entrypoints" in @fluidframework/build-tools.
9
+ */
package/dist/beta.d.ts ADDED
@@ -0,0 +1,9 @@
1
+ /*!
2
+ * Copyright (c) Microsoft Corporation and contributors. All rights reserved.
3
+ * Licensed under the MIT License.
4
+ */
5
+
6
+ /*
7
+ * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
8
+ * Generated by "flub generate entrypoints" in @fluidframework/build-tools.
9
+ */
@@ -0,0 +1,9 @@
1
+ /*!
2
+ * Copyright (c) Microsoft Corporation and contributors. All rights reserved.
3
+ * Licensed under the MIT License.
4
+ */
5
+
6
+ /*
7
+ * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
8
+ * Generated by "flub generate entrypoints" in @fluidframework/build-tools.
9
+ */
package/lib/alpha.d.ts ADDED
@@ -0,0 +1,9 @@
1
+ /*!
2
+ * Copyright (c) Microsoft Corporation and contributors. All rights reserved.
3
+ * Licensed under the MIT License.
4
+ */
5
+
6
+ /*
7
+ * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
8
+ * Generated by "flub generate entrypoints" in @fluidframework/build-tools.
9
+ */
package/lib/beta.d.ts ADDED
@@ -0,0 +1,9 @@
1
+ /*!
2
+ * Copyright (c) Microsoft Corporation and contributors. All rights reserved.
3
+ * Licensed under the MIT License.
4
+ */
5
+
6
+ /*
7
+ * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
8
+ * Generated by "flub generate entrypoints" in @fluidframework/build-tools.
9
+ */
@@ -0,0 +1,9 @@
1
+ /*!
2
+ * Copyright (c) Microsoft Corporation and contributors. All rights reserved.
3
+ * Licensed under the MIT License.
4
+ */
5
+
6
+ /*
7
+ * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
8
+ * Generated by "flub generate entrypoints" in @fluidframework/build-tools.
9
+ */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluidframework/odsp-urlresolver",
3
- "version": "2.0.0-dev-rc.3.0.0.254274",
3
+ "version": "2.0.0-dev-rc.3.0.0.254674",
4
4
  "description": "Url Resolver for odsp urls.",
5
5
  "homepage": "https://fluidframework.com",
6
6
  "repository": {
@@ -15,11 +15,11 @@
15
15
  "exports": {
16
16
  ".": {
17
17
  "import": {
18
- "types": "./lib/odsp-urlresolver-public.d.ts",
18
+ "types": "./lib/public.d.ts",
19
19
  "default": "./lib/index.js"
20
20
  },
21
21
  "require": {
22
- "types": "./dist/odsp-urlresolver-public.d.ts",
22
+ "types": "./dist/public.d.ts",
23
23
  "default": "./dist/index.js"
24
24
  }
25
25
  },
@@ -35,22 +35,22 @@
35
35
  }
36
36
  },
37
37
  "main": "dist/index.js",
38
- "types": "./dist/odsp-urlresolver-public.d.ts",
38
+ "types": "./dist/public.d.ts",
39
39
  "dependencies": {
40
- "@fluid-internal/client-utils": "2.0.0-dev-rc.3.0.0.254274",
41
- "@fluidframework/core-interfaces": "2.0.0-dev-rc.3.0.0.254274",
42
- "@fluidframework/core-utils": "2.0.0-dev-rc.3.0.0.254274",
43
- "@fluidframework/driver-definitions": "2.0.0-dev-rc.3.0.0.254274",
44
- "@fluidframework/odsp-driver": "2.0.0-dev-rc.3.0.0.254274",
45
- "@fluidframework/odsp-driver-definitions": "2.0.0-dev-rc.3.0.0.254274"
40
+ "@fluid-internal/client-utils": "2.0.0-dev-rc.3.0.0.254674",
41
+ "@fluidframework/core-interfaces": "2.0.0-dev-rc.3.0.0.254674",
42
+ "@fluidframework/core-utils": "2.0.0-dev-rc.3.0.0.254674",
43
+ "@fluidframework/driver-definitions": "2.0.0-dev-rc.3.0.0.254674",
44
+ "@fluidframework/odsp-driver": "2.0.0-dev-rc.3.0.0.254674",
45
+ "@fluidframework/odsp-driver-definitions": "2.0.0-dev-rc.3.0.0.254674"
46
46
  },
47
47
  "devDependencies": {
48
48
  "@arethetypeswrong/cli": "^0.15.2",
49
49
  "@biomejs/biome": "^1.6.2",
50
- "@fluid-internal/mocha-test-setup": "2.0.0-dev-rc.3.0.0.254274",
51
- "@fluid-tools/build-cli": "^0.34.0",
50
+ "@fluid-internal/mocha-test-setup": "2.0.0-dev-rc.3.0.0.254674",
51
+ "@fluid-tools/build-cli": "^0.35.0",
52
52
  "@fluidframework/build-common": "^2.0.3",
53
- "@fluidframework/build-tools": "^0.34.0",
53
+ "@fluidframework/build-tools": "^0.35.0",
54
54
  "@fluidframework/eslint-config-fluid": "^5.1.0",
55
55
  "@fluidframework/odsp-urlresolver-previous": "npm:@fluidframework/odsp-urlresolver@2.0.0-internal.8.0.0",
56
56
  "@microsoft/api-extractor": "^7.42.3",
@@ -67,18 +67,6 @@
67
67
  "rimraf": "^4.4.0",
68
68
  "typescript": "~5.1.6"
69
69
  },
70
- "fluidBuild": {
71
- "tasks": {
72
- "build:docs": {
73
- "dependsOn": [
74
- "...",
75
- "api-extractor:commonjs",
76
- "api-extractor:esnext"
77
- ],
78
- "script": false
79
- }
80
- }
81
- },
82
70
  "typeValidation": {
83
71
  "broken": {
84
72
  "RemovedVariableDeclaration_isOdspUrl": {
@@ -89,12 +77,12 @@
89
77
  },
90
78
  "scripts": {
91
79
  "api": "fluid-build . --task api",
92
- "api-extractor:commonjs": "api-extractor run --config ./api-extractor-cjs.json",
93
- "api-extractor:esnext": "api-extractor run --local",
80
+ "api-extractor:commonjs": "flub generate entrypoints --outDir ./dist",
81
+ "api-extractor:esnext": "flub generate entrypoints --outDir ./lib",
94
82
  "build": "fluid-build . --task build",
95
83
  "build:commonjs": "fluid-build . --task commonjs",
96
84
  "build:compile": "fluid-build . --task compile",
97
- "build:docs": "fluid-build . --task api",
85
+ "build:docs": "api-extractor run --local",
98
86
  "build:esnext": "tsc --project ./tsconfig.json",
99
87
  "build:test": "npm run build:test:esm && npm run build:test:cjs",
100
88
  "build:test:cjs": "fluid-tsc commonjs --project ./src/test/tsconfig.cjs.json",
@@ -1,8 +0,0 @@
1
- {
2
- "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
3
- "extends": "../../../common/build/build-common/api-extractor-base.cjs.primary.json",
4
- // CJS is actually secondary; so, no report.
5
- "apiReport": {
6
- "enabled": false
7
- }
8
- }
@@ -1,10 +0,0 @@
1
- import { IContainerPackageInfo } from '@fluidframework/driver-definitions/internal';
2
- import { IRequest } from '@fluidframework/core-interfaces';
3
- import { IResolvedUrl } from '@fluidframework/driver-definitions/internal';
4
- import { IUrlResolver } from '@fluidframework/driver-definitions/internal';
5
-
6
- /* Excluded from this release type: FluidAppOdspUrlResolver */
7
-
8
- /* Excluded from this release type: OdspUrlResolver */
9
-
10
- export { }
@@ -1,16 +0,0 @@
1
- import { IContainerPackageInfo } from '@fluidframework/driver-definitions/internal';
2
- import { IRequest } from '@fluidframework/core-interfaces';
3
- import { IResolvedUrl } from '@fluidframework/driver-definitions/internal';
4
- import { IUrlResolver } from '@fluidframework/driver-definitions/internal';
5
-
6
- /* Excluded from this release type: FluidAppOdspUrlResolver */
7
-
8
- /* Excluded from this release type: IContainerPackageInfo */
9
-
10
- /* Excluded from this release type: IResolvedUrl */
11
-
12
- /* Excluded from this release type: IUrlResolver */
13
-
14
- /* Excluded from this release type: OdspUrlResolver */
15
-
16
- export { }
@@ -1,16 +0,0 @@
1
- import { IContainerPackageInfo } from '@fluidframework/driver-definitions/internal';
2
- import { IRequest } from '@fluidframework/core-interfaces';
3
- import { IResolvedUrl } from '@fluidframework/driver-definitions/internal';
4
- import { IUrlResolver } from '@fluidframework/driver-definitions/internal';
5
-
6
- /* Excluded from this release type: FluidAppOdspUrlResolver */
7
-
8
- /* Excluded from this release type: IContainerPackageInfo */
9
-
10
- /* Excluded from this release type: IResolvedUrl */
11
-
12
- /* Excluded from this release type: IUrlResolver */
13
-
14
- /* Excluded from this release type: OdspUrlResolver */
15
-
16
- export { }
@@ -1,23 +0,0 @@
1
- import { IContainerPackageInfo } from '@fluidframework/driver-definitions/internal';
2
- import { IRequest } from '@fluidframework/core-interfaces';
3
- import { IResolvedUrl } from '@fluidframework/driver-definitions/internal';
4
- import { IUrlResolver } from '@fluidframework/driver-definitions/internal';
5
-
6
- /**
7
- * This class helps to resolve Fluid URLs from Office and OneNote. Construct the resolver class and invoke its resolve function to retrieve the content parameters.
8
- * @internal
9
- */
10
- export declare class FluidAppOdspUrlResolver implements IUrlResolver {
11
- resolve(request: IRequest): Promise<IResolvedUrl | undefined>;
12
- getAbsoluteUrl(resolvedUrl: IResolvedUrl, relativeUrl: string, packageInfoSource?: IContainerPackageInfo): Promise<string>;
13
- }
14
-
15
- /**
16
- * @internal
17
- */
18
- export declare class OdspUrlResolver implements IUrlResolver {
19
- resolve(request: IRequest): Promise<IResolvedUrl | undefined>;
20
- getAbsoluteUrl(resolvedUrl: IResolvedUrl, relativeUrl: string): Promise<string>;
21
- }
22
-
23
- export { }
@@ -1,11 +0,0 @@
1
- // This file is read by tools that parse documentation comments conforming to the TSDoc standard.
2
- // It should be published with your NPM package. It should not be tracked by Git.
3
- {
4
- "tsdocVersion": "0.12",
5
- "toolPackages": [
6
- {
7
- "packageName": "@microsoft/api-extractor",
8
- "packageVersion": "7.42.3"
9
- }
10
- ]
11
- }
@@ -1,10 +0,0 @@
1
- import { IContainerPackageInfo } from '@fluidframework/driver-definitions/internal';
2
- import { IRequest } from '@fluidframework/core-interfaces';
3
- import { IResolvedUrl } from '@fluidframework/driver-definitions/internal';
4
- import { IUrlResolver } from '@fluidframework/driver-definitions/internal';
5
-
6
- /* Excluded from this release type: FluidAppOdspUrlResolver */
7
-
8
- /* Excluded from this release type: OdspUrlResolver */
9
-
10
- export { }
@@ -1,16 +0,0 @@
1
- import { IContainerPackageInfo } from '@fluidframework/driver-definitions/internal';
2
- import { IRequest } from '@fluidframework/core-interfaces';
3
- import { IResolvedUrl } from '@fluidframework/driver-definitions/internal';
4
- import { IUrlResolver } from '@fluidframework/driver-definitions/internal';
5
-
6
- /* Excluded from this release type: FluidAppOdspUrlResolver */
7
-
8
- /* Excluded from this release type: IContainerPackageInfo */
9
-
10
- /* Excluded from this release type: IResolvedUrl */
11
-
12
- /* Excluded from this release type: IUrlResolver */
13
-
14
- /* Excluded from this release type: OdspUrlResolver */
15
-
16
- export { }
@@ -1,16 +0,0 @@
1
- import { IContainerPackageInfo } from '@fluidframework/driver-definitions/internal';
2
- import { IRequest } from '@fluidframework/core-interfaces';
3
- import { IResolvedUrl } from '@fluidframework/driver-definitions/internal';
4
- import { IUrlResolver } from '@fluidframework/driver-definitions/internal';
5
-
6
- /* Excluded from this release type: FluidAppOdspUrlResolver */
7
-
8
- /* Excluded from this release type: IContainerPackageInfo */
9
-
10
- /* Excluded from this release type: IResolvedUrl */
11
-
12
- /* Excluded from this release type: IUrlResolver */
13
-
14
- /* Excluded from this release type: OdspUrlResolver */
15
-
16
- export { }
@@ -1,23 +0,0 @@
1
- import { IContainerPackageInfo } from '@fluidframework/driver-definitions/internal';
2
- import { IRequest } from '@fluidframework/core-interfaces';
3
- import { IResolvedUrl } from '@fluidframework/driver-definitions/internal';
4
- import { IUrlResolver } from '@fluidframework/driver-definitions/internal';
5
-
6
- /**
7
- * This class helps to resolve Fluid URLs from Office and OneNote. Construct the resolver class and invoke its resolve function to retrieve the content parameters.
8
- * @internal
9
- */
10
- export declare class FluidAppOdspUrlResolver implements IUrlResolver {
11
- resolve(request: IRequest): Promise<IResolvedUrl | undefined>;
12
- getAbsoluteUrl(resolvedUrl: IResolvedUrl, relativeUrl: string, packageInfoSource?: IContainerPackageInfo): Promise<string>;
13
- }
14
-
15
- /**
16
- * @internal
17
- */
18
- export declare class OdspUrlResolver implements IUrlResolver {
19
- resolve(request: IRequest): Promise<IResolvedUrl | undefined>;
20
- getAbsoluteUrl(resolvedUrl: IResolvedUrl, relativeUrl: string): Promise<string>;
21
- }
22
-
23
- export { }