@fluidframework/odsp-client 2.1.0-276326 → 2.1.0-276985
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/README.md +82 -0
- package/api-extractor/{api-extractor-lint-index.esm.json → api-extractor-lint-public.cjs.json} +1 -1
- package/api-extractor/{api-extractor-lint-index.cjs.json → api-extractor-lint-public.esm.json} +1 -1
- package/dist/public.d.ts +12 -0
- package/lib/public.d.ts +12 -0
- package/package.json +19 -19
package/README.md
CHANGED
|
@@ -2,6 +2,41 @@
|
|
|
2
2
|
|
|
3
3
|
The odsp-client package provides a simple and powerful way to consume collaborative Fluid data with OneDrive/SharePoint (ODSP) storage. Please note that odsp-client is currently an experimental package. We'd love for you to try it out and provide feedback but it is not yet recommended or supported for production scenarios.
|
|
4
4
|
|
|
5
|
+
<!-- AUTO-GENERATED-CONTENT:START (README_DEPENDENCY_GUIDELINES_SECTION:includeHeading=TRUE) -->
|
|
6
|
+
|
|
7
|
+
<!-- prettier-ignore-start -->
|
|
8
|
+
<!-- NOTE: This section is automatically generated using @fluid-tools/markdown-magic. Do not update these generated contents directly. -->
|
|
9
|
+
|
|
10
|
+
## Using Fluid Framework libraries
|
|
11
|
+
|
|
12
|
+
When taking a dependency on a Fluid Framework library's public APIs, we recommend using a `^` (caret) version range, such as `^1.3.4`.
|
|
13
|
+
While Fluid Framework libraries may use different ranges with interdependencies between other Fluid Framework libraries,
|
|
14
|
+
library consumers should always prefer `^`.
|
|
15
|
+
|
|
16
|
+
If using any of Fluid Framework's unstable APIs (for example, its `beta` APIs), we recommend using a more constrained version range, such as `~`.
|
|
17
|
+
|
|
18
|
+
<!-- prettier-ignore-end -->
|
|
19
|
+
|
|
20
|
+
<!-- AUTO-GENERATED-CONTENT:END -->
|
|
21
|
+
|
|
22
|
+
<!-- AUTO-GENERATED-CONTENT:START (README_IMPORT_INSTRUCTIONS:includeHeading=TRUE) -->
|
|
23
|
+
|
|
24
|
+
<!-- prettier-ignore-start -->
|
|
25
|
+
<!-- NOTE: This section is automatically generated using @fluid-tools/markdown-magic. Do not update these generated contents directly. -->
|
|
26
|
+
|
|
27
|
+
## Importing from this package
|
|
28
|
+
|
|
29
|
+
This package leverages [package.json exports](https://nodejs.org/api/packages.html#exports) to separate its APIs by support level.
|
|
30
|
+
For more information on the related support guarantees, see [API Support Levels](https://fluidframework.com/docs/build/releases-and-apitags/#api-support-levels).
|
|
31
|
+
|
|
32
|
+
To access the `public` ([SemVer](https://semver.org/)) APIs, import via `@fluidframework/odsp-client` like normal.
|
|
33
|
+
|
|
34
|
+
To access the `beta` APIs, import via `@fluidframework/odsp-client/beta`.
|
|
35
|
+
|
|
36
|
+
<!-- prettier-ignore-end -->
|
|
37
|
+
|
|
38
|
+
<!-- AUTO-GENERATED-CONTENT:END -->
|
|
39
|
+
|
|
5
40
|
## Using odsp-client
|
|
6
41
|
|
|
7
42
|
The odsp-client package has an `OdspClient` class that allows you to interact with Fluid.
|
|
@@ -107,3 +142,50 @@ const initialObjects = container.initialObjects;
|
|
|
107
142
|
const map1 = initialObjects.map1;
|
|
108
143
|
const text1 = initialObjects.text1;
|
|
109
144
|
```
|
|
145
|
+
|
|
146
|
+
<!-- AUTO-GENERATED-CONTENT:START (LIBRARY_PACKAGE_README:scripts=FALSE&installation=FALSE&importInstructions=FALSE) -->
|
|
147
|
+
|
|
148
|
+
<!-- prettier-ignore-start -->
|
|
149
|
+
<!-- NOTE: This section is automatically generated using @fluid-tools/markdown-magic. Do not update these generated contents directly. -->
|
|
150
|
+
|
|
151
|
+
## API Documentation
|
|
152
|
+
|
|
153
|
+
API documentation for **@fluidframework/odsp-client** is available at <https://fluidframework.com/docs/apis/odsp-client>.
|
|
154
|
+
|
|
155
|
+
## Contribution Guidelines
|
|
156
|
+
|
|
157
|
+
There are many ways to [contribute](https://github.com/microsoft/FluidFramework/blob/main/CONTRIBUTING.md) to Fluid.
|
|
158
|
+
|
|
159
|
+
- Participate in Q&A in our [GitHub Discussions](https://github.com/microsoft/FluidFramework/discussions).
|
|
160
|
+
- [Submit bugs](https://github.com/microsoft/FluidFramework/issues) and help us verify fixes as they are checked in.
|
|
161
|
+
- Review the [source code changes](https://github.com/microsoft/FluidFramework/pulls).
|
|
162
|
+
- [Contribute bug fixes](https://github.com/microsoft/FluidFramework/blob/main/CONTRIBUTING.md).
|
|
163
|
+
|
|
164
|
+
Detailed instructions for working in the repo can be found in the [Wiki](https://github.com/microsoft/FluidFramework/wiki).
|
|
165
|
+
|
|
166
|
+
This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).
|
|
167
|
+
For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.
|
|
168
|
+
|
|
169
|
+
This project may contain Microsoft trademarks or logos for Microsoft projects, products, or services.
|
|
170
|
+
Use of these trademarks or logos must follow Microsoft’s [Trademark & Brand Guidelines](https://www.microsoft.com/trademarks).
|
|
171
|
+
Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship.
|
|
172
|
+
|
|
173
|
+
## Help
|
|
174
|
+
|
|
175
|
+
Not finding what you're looking for in this README? Check out [fluidframework.com](https://fluidframework.com/docs/).
|
|
176
|
+
|
|
177
|
+
Still not finding what you're looking for? Please [file an issue](https://github.com/microsoft/FluidFramework/wiki/Submitting-Bugs-and-Feature-Requests).
|
|
178
|
+
|
|
179
|
+
Thank you!
|
|
180
|
+
|
|
181
|
+
## Trademark
|
|
182
|
+
|
|
183
|
+
This project may contain Microsoft trademarks or logos for Microsoft projects, products, or services.
|
|
184
|
+
|
|
185
|
+
Use of these trademarks or logos must follow Microsoft's [Trademark & Brand Guidelines](https://www.microsoft.com/en-us/legal/intellectualproperty/trademarks/usage/general).
|
|
186
|
+
|
|
187
|
+
Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship.
|
|
188
|
+
|
|
189
|
+
<!-- prettier-ignore-end -->
|
|
190
|
+
|
|
191
|
+
<!-- AUTO-GENERATED-CONTENT:END -->
|
package/api-extractor/{api-extractor-lint-index.esm.json → api-extractor-lint-public.cjs.json}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
|
|
3
3
|
"extends": "<projectFolder>/../../../common/build/build-common/api-extractor-lint.entrypoint.json",
|
|
4
|
-
"mainEntryPointFilePath": "<projectFolder>/
|
|
4
|
+
"mainEntryPointFilePath": "<projectFolder>/dist/public.d.ts"
|
|
5
5
|
}
|
package/api-extractor/{api-extractor-lint-index.cjs.json → api-extractor-lint-public.esm.json}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
|
|
3
3
|
"extends": "<projectFolder>/../../../common/build/build-common/api-extractor-lint.entrypoint.json",
|
|
4
|
-
"mainEntryPointFilePath": "<projectFolder>/
|
|
4
|
+
"mainEntryPointFilePath": "<projectFolder>/lib/public.d.ts"
|
|
5
5
|
}
|
package/dist/public.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
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
|
+
*/
|
|
10
|
+
|
|
11
|
+
export {}
|
|
12
|
+
|
package/lib/public.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
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
|
+
*/
|
|
10
|
+
|
|
11
|
+
export {}
|
|
12
|
+
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluidframework/odsp-client",
|
|
3
|
-
"version": "2.1.0-
|
|
3
|
+
"version": "2.1.0-276985",
|
|
4
4
|
"description": "A tool to enable creation and loading of Fluid containers using the ODSP service",
|
|
5
5
|
"homepage": "https://fluidframework.com",
|
|
6
6
|
"repository": {
|
|
@@ -15,11 +15,11 @@
|
|
|
15
15
|
"exports": {
|
|
16
16
|
".": {
|
|
17
17
|
"import": {
|
|
18
|
-
"types": "./lib/
|
|
18
|
+
"types": "./lib/public.d.ts",
|
|
19
19
|
"default": "./lib/index.js"
|
|
20
20
|
},
|
|
21
21
|
"require": {
|
|
22
|
-
"types": "./dist/
|
|
22
|
+
"types": "./dist/public.d.ts",
|
|
23
23
|
"default": "./dist/index.js"
|
|
24
24
|
}
|
|
25
25
|
},
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
}
|
|
46
46
|
},
|
|
47
47
|
"main": "lib/index.js",
|
|
48
|
-
"types": "lib/
|
|
48
|
+
"types": "lib/public.d.ts",
|
|
49
49
|
"c8": {
|
|
50
50
|
"all": true,
|
|
51
51
|
"cache-dir": "nyc/.cache",
|
|
@@ -67,28 +67,28 @@
|
|
|
67
67
|
"temp-directory": "nyc/.nyc_output"
|
|
68
68
|
},
|
|
69
69
|
"dependencies": {
|
|
70
|
-
"@fluidframework/container-definitions": "2.1.0-
|
|
71
|
-
"@fluidframework/container-loader": "2.1.0-
|
|
72
|
-
"@fluidframework/core-interfaces": "2.1.0-
|
|
73
|
-
"@fluidframework/core-utils": "2.1.0-
|
|
74
|
-
"@fluidframework/driver-definitions": "2.1.0-
|
|
75
|
-
"@fluidframework/fluid-static": "2.1.0-
|
|
76
|
-
"@fluidframework/map": "2.1.0-
|
|
77
|
-
"@fluidframework/odsp-doclib-utils": "2.1.0-
|
|
78
|
-
"@fluidframework/odsp-driver": "2.1.0-
|
|
79
|
-
"@fluidframework/odsp-driver-definitions": "2.1.0-
|
|
80
|
-
"@fluidframework/telemetry-utils": "2.1.0-
|
|
70
|
+
"@fluidframework/container-definitions": "2.1.0-276985",
|
|
71
|
+
"@fluidframework/container-loader": "2.1.0-276985",
|
|
72
|
+
"@fluidframework/core-interfaces": "2.1.0-276985",
|
|
73
|
+
"@fluidframework/core-utils": "2.1.0-276985",
|
|
74
|
+
"@fluidframework/driver-definitions": "2.1.0-276985",
|
|
75
|
+
"@fluidframework/fluid-static": "2.1.0-276985",
|
|
76
|
+
"@fluidframework/map": "2.1.0-276985",
|
|
77
|
+
"@fluidframework/odsp-doclib-utils": "2.1.0-276985",
|
|
78
|
+
"@fluidframework/odsp-driver": "2.1.0-276985",
|
|
79
|
+
"@fluidframework/odsp-driver-definitions": "2.1.0-276985",
|
|
80
|
+
"@fluidframework/telemetry-utils": "2.1.0-276985",
|
|
81
81
|
"uuid": "^9.0.0"
|
|
82
82
|
},
|
|
83
83
|
"devDependencies": {
|
|
84
84
|
"@arethetypeswrong/cli": "^0.15.2",
|
|
85
85
|
"@biomejs/biome": "^1.7.3",
|
|
86
|
-
"@fluid-internal/mocha-test-setup": "2.1.0-
|
|
86
|
+
"@fluid-internal/mocha-test-setup": "2.1.0-276985",
|
|
87
87
|
"@fluid-tools/build-cli": "^0.39.0",
|
|
88
88
|
"@fluidframework/build-common": "^2.0.3",
|
|
89
89
|
"@fluidframework/build-tools": "^0.39.0",
|
|
90
90
|
"@fluidframework/eslint-config-fluid": "^5.3.0",
|
|
91
|
-
"@fluidframework/test-utils": "2.1.0-
|
|
91
|
+
"@fluidframework/test-utils": "2.1.0-276985",
|
|
92
92
|
"@microsoft/api-extractor": "^7.45.1",
|
|
93
93
|
"@types/mocha": "^9.1.1",
|
|
94
94
|
"@types/node": "^18.19.0",
|
|
@@ -124,9 +124,9 @@
|
|
|
124
124
|
"check:exports": "concurrently \"npm:check:exports:*\"",
|
|
125
125
|
"check:exports:bundle-release-tags": "api-extractor run --config api-extractor/api-extractor-lint-bundle.json",
|
|
126
126
|
"check:exports:cjs:beta": "api-extractor run --config api-extractor/api-extractor-lint-beta.cjs.json",
|
|
127
|
-
"check:exports:cjs:
|
|
127
|
+
"check:exports:cjs:public": "api-extractor run --config api-extractor/api-extractor-lint-public.cjs.json",
|
|
128
128
|
"check:exports:esm:beta": "api-extractor run --config api-extractor/api-extractor-lint-beta.esm.json",
|
|
129
|
-
"check:exports:esm:
|
|
129
|
+
"check:exports:esm:public": "api-extractor run --config api-extractor/api-extractor-lint-public.esm.json",
|
|
130
130
|
"check:format": "npm run check:biome",
|
|
131
131
|
"check:prettier": "prettier --check . --cache --ignore-path ../../../.prettierignore",
|
|
132
132
|
"ci:build:docs": "api-extractor run",
|