@fluidframework/odsp-driver-definitions 1.4.0-115997 → 2.0.0-dev-rc.1.0.0.224419
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 +6 -9
- package/CHANGELOG.md +141 -0
- package/README.md +39 -1
- package/api-extractor-lint.json +4 -0
- package/api-extractor.json +2 -2
- package/api-report/odsp-driver-definitions.api.md +320 -0
- package/dist/errors.cjs +110 -0
- package/dist/errors.cjs.map +1 -0
- package/dist/errors.d.ts +122 -6
- package/dist/errors.d.ts.map +1 -1
- package/dist/{factory.js → factory.cjs} +1 -1
- package/dist/factory.cjs.map +1 -0
- package/dist/factory.d.ts +36 -6
- package/dist/factory.d.ts.map +1 -1
- package/dist/index.cjs +21 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.ts +6 -5
- package/dist/index.d.ts.map +1 -1
- package/dist/odsp-driver-definitions-alpha.d.ts +626 -0
- package/dist/odsp-driver-definitions-beta.d.ts +88 -0
- package/dist/odsp-driver-definitions-public.d.ts +79 -0
- package/dist/odsp-driver-definitions-untrimmed.d.ts +652 -0
- package/dist/odspCache.cjs +23 -0
- package/dist/odspCache.cjs.map +1 -0
- package/dist/odspCache.d.ts +21 -4
- package/dist/odspCache.d.ts.map +1 -1
- package/dist/resolvedUrl.cjs +37 -0
- package/dist/resolvedUrl.cjs.map +1 -0
- package/dist/resolvedUrl.d.ts +59 -16
- package/dist/resolvedUrl.d.ts.map +1 -1
- package/dist/{odspCache.js → sessionProvider.cjs} +1 -6
- package/dist/sessionProvider.cjs.map +1 -0
- package/dist/sessionProvider.d.ts +48 -0
- package/dist/sessionProvider.d.ts.map +1 -0
- package/dist/{tokenFetch.js → tokenFetch.cjs} +6 -2
- package/dist/tokenFetch.cjs.map +1 -0
- package/dist/tokenFetch.d.ts +15 -5
- package/dist/tokenFetch.d.ts.map +1 -1
- package/dist/tsdoc-metadata.json +11 -0
- package/lib/errors.d.mts +153 -0
- package/lib/errors.d.mts.map +1 -0
- package/lib/errors.mjs +103 -0
- package/lib/errors.mjs.map +1 -0
- package/lib/{factory.d.ts → factory.d.mts} +36 -6
- package/lib/factory.d.mts.map +1 -0
- package/lib/{factory.js → factory.mjs} +1 -1
- package/lib/factory.mjs.map +1 -0
- package/lib/index.d.mts +11 -0
- package/lib/index.d.mts.map +1 -0
- package/lib/index.mjs +9 -0
- package/lib/index.mjs.map +1 -0
- package/lib/odsp-driver-definitions-alpha.d.mts +626 -0
- package/lib/odsp-driver-definitions-beta.d.mts +88 -0
- package/lib/odsp-driver-definitions-public.d.mts +79 -0
- package/lib/odsp-driver-definitions-untrimmed.d.mts +652 -0
- package/lib/{odspCache.d.ts → odspCache.d.mts} +21 -4
- package/lib/odspCache.d.mts.map +1 -0
- package/lib/odspCache.mjs +19 -0
- package/lib/odspCache.mjs.map +1 -0
- package/lib/{resolvedUrl.d.ts → resolvedUrl.d.mts} +59 -16
- package/lib/resolvedUrl.d.mts.map +1 -0
- package/lib/resolvedUrl.mjs +34 -0
- package/lib/resolvedUrl.mjs.map +1 -0
- package/lib/sessionProvider.d.mts +48 -0
- package/lib/sessionProvider.d.mts.map +1 -0
- package/lib/sessionProvider.mjs +6 -0
- package/lib/sessionProvider.mjs.map +1 -0
- package/lib/{tokenFetch.d.ts → tokenFetch.d.mts} +15 -5
- package/lib/tokenFetch.d.mts.map +1 -0
- package/lib/{tokenFetch.js → tokenFetch.mjs} +6 -2
- package/lib/tokenFetch.mjs.map +1 -0
- package/package.json +71 -42
- package/prettier.config.cjs +8 -0
- package/src/errors.ts +153 -57
- package/src/factory.ts +146 -114
- package/src/index.ts +47 -5
- package/src/odspCache.ts +71 -51
- package/src/resolvedUrl.ts +125 -72
- package/src/sessionProvider.ts +61 -0
- package/src/tokenFetch.ts +56 -39
- package/tsc-multi.test.json +4 -0
- package/tsconfig.json +11 -13
- package/.editorconfig +0 -7
- package/dist/errors.js +0 -44
- package/dist/errors.js.map +0 -1
- package/dist/factory.js.map +0 -1
- package/dist/index.js +0 -22
- package/dist/index.js.map +0 -1
- package/dist/odspCache.js.map +0 -1
- package/dist/packageVersion.d.ts +0 -9
- package/dist/packageVersion.d.ts.map +0 -1
- package/dist/packageVersion.js +0 -12
- package/dist/packageVersion.js.map +0 -1
- package/dist/resolvedUrl.js +0 -18
- package/dist/resolvedUrl.js.map +0 -1
- package/dist/tokenFetch.js.map +0 -1
- package/lib/errors.d.ts +0 -41
- package/lib/errors.d.ts.map +0 -1
- package/lib/errors.js +0 -41
- package/lib/errors.js.map +0 -1
- package/lib/factory.d.ts.map +0 -1
- package/lib/factory.js.map +0 -1
- package/lib/index.d.ts +0 -10
- package/lib/index.d.ts.map +0 -1
- package/lib/index.js +0 -10
- package/lib/index.js.map +0 -1
- package/lib/odspCache.d.ts.map +0 -1
- package/lib/odspCache.js +0 -9
- package/lib/odspCache.js.map +0 -1
- package/lib/packageVersion.d.ts +0 -9
- package/lib/packageVersion.d.ts.map +0 -1
- package/lib/packageVersion.js +0 -9
- package/lib/packageVersion.js.map +0 -1
- package/lib/resolvedUrl.d.ts.map +0 -1
- package/lib/resolvedUrl.js +0 -15
- package/lib/resolvedUrl.js.map +0 -1
- package/lib/tokenFetch.d.ts.map +0 -1
- package/lib/tokenFetch.js.map +0 -1
- package/src/packageVersion.ts +0 -9
- package/tsconfig.esnext.json +0 -7
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import { DriverError } from '@fluidframework/driver-definitions';
|
|
2
|
+
import { IDriverErrorBase } from '@fluidframework/driver-definitions';
|
|
3
|
+
import { IResolvedUrl } from '@fluidframework/driver-definitions';
|
|
4
|
+
|
|
5
|
+
/* Excluded from this release type: CacheContentType */
|
|
6
|
+
|
|
7
|
+
/* Excluded from this release type: DriverError */
|
|
8
|
+
|
|
9
|
+
/* Excluded from this release type: getKeyForCacheEntry */
|
|
10
|
+
|
|
11
|
+
/* Excluded from this release type: HostStoragePolicy */
|
|
12
|
+
|
|
13
|
+
/* Excluded from this release type: ICacheEntry */
|
|
14
|
+
|
|
15
|
+
/* Excluded from this release type: ICollabSessionOptions */
|
|
16
|
+
|
|
17
|
+
/* Excluded from this release type: IdentityType */
|
|
18
|
+
|
|
19
|
+
/* Excluded from this release type: IEntry */
|
|
20
|
+
|
|
21
|
+
/* Excluded from this release type: IFileEntry */
|
|
22
|
+
|
|
23
|
+
/* Excluded from this release type: InstrumentedStorageTokenFetcher */
|
|
24
|
+
|
|
25
|
+
/* Excluded from this release type: IOdspError */
|
|
26
|
+
|
|
27
|
+
/* Excluded from this release type: IOdspErrorAugmentations */
|
|
28
|
+
|
|
29
|
+
/* Excluded from this release type: IOdspResolvedUrl */
|
|
30
|
+
|
|
31
|
+
/* Excluded from this release type: IOdspUrlParts */
|
|
32
|
+
|
|
33
|
+
/* Excluded from this release type: IOpsCachingPolicy */
|
|
34
|
+
|
|
35
|
+
/* Excluded from this release type: IPersistedCache */
|
|
36
|
+
|
|
37
|
+
/* Excluded from this release type: IProvideSessionAwareDriverFactory */
|
|
38
|
+
|
|
39
|
+
/* Excluded from this release type: IRelaySessionAwareDriverFactory */
|
|
40
|
+
|
|
41
|
+
/* Excluded from this release type: IResolvedUrl */
|
|
42
|
+
|
|
43
|
+
/* Excluded from this release type: ISharingLink */
|
|
44
|
+
|
|
45
|
+
/* Excluded from this release type: ISharingLinkKind */
|
|
46
|
+
|
|
47
|
+
/* Excluded from this release type: ISnapshotOptions */
|
|
48
|
+
|
|
49
|
+
/* Excluded from this release type: ISocketStorageDiscovery */
|
|
50
|
+
|
|
51
|
+
/* Excluded from this release type: isTokenFromCache */
|
|
52
|
+
|
|
53
|
+
/* Excluded from this release type: OdspError */
|
|
54
|
+
|
|
55
|
+
/* Excluded from this release type: OdspErrorType */
|
|
56
|
+
|
|
57
|
+
/* Excluded from this release type: OdspErrorTypes */
|
|
58
|
+
|
|
59
|
+
/* Excluded from this release type: OdspResourceTokenFetchOptions */
|
|
60
|
+
|
|
61
|
+
/* Excluded from this release type: ShareLinkInfoType */
|
|
62
|
+
|
|
63
|
+
/* Excluded from this release type: ShareLinkTypes */
|
|
64
|
+
|
|
65
|
+
/* Excluded from this release type: SharingLinkRole */
|
|
66
|
+
|
|
67
|
+
/* Excluded from this release type: SharingLinkScope */
|
|
68
|
+
|
|
69
|
+
/* Excluded from this release type: snapshotKey */
|
|
70
|
+
|
|
71
|
+
/* Excluded from this release type: TokenFetcher */
|
|
72
|
+
|
|
73
|
+
/* Excluded from this release type: TokenFetchOptions */
|
|
74
|
+
|
|
75
|
+
/* Excluded from this release type: tokenFromResponse */
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* Represents token response
|
|
79
|
+
* @beta
|
|
80
|
+
*/
|
|
81
|
+
export declare interface TokenResponse {
|
|
82
|
+
/** Token value */
|
|
83
|
+
token: string;
|
|
84
|
+
/** Flag indicating whether token was obtained from local cache */
|
|
85
|
+
fromCache?: boolean;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
export { }
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { DriverError } from '@fluidframework/driver-definitions';
|
|
2
|
+
import { IDriverErrorBase } from '@fluidframework/driver-definitions';
|
|
3
|
+
import { IResolvedUrl } from '@fluidframework/driver-definitions';
|
|
4
|
+
|
|
5
|
+
/* Excluded from this release type: CacheContentType */
|
|
6
|
+
|
|
7
|
+
/* Excluded from this release type: DriverError */
|
|
8
|
+
|
|
9
|
+
/* Excluded from this release type: getKeyForCacheEntry */
|
|
10
|
+
|
|
11
|
+
/* Excluded from this release type: HostStoragePolicy */
|
|
12
|
+
|
|
13
|
+
/* Excluded from this release type: ICacheEntry */
|
|
14
|
+
|
|
15
|
+
/* Excluded from this release type: ICollabSessionOptions */
|
|
16
|
+
|
|
17
|
+
/* Excluded from this release type: IdentityType */
|
|
18
|
+
|
|
19
|
+
/* Excluded from this release type: IEntry */
|
|
20
|
+
|
|
21
|
+
/* Excluded from this release type: IFileEntry */
|
|
22
|
+
|
|
23
|
+
/* Excluded from this release type: InstrumentedStorageTokenFetcher */
|
|
24
|
+
|
|
25
|
+
/* Excluded from this release type: IOdspError */
|
|
26
|
+
|
|
27
|
+
/* Excluded from this release type: IOdspErrorAugmentations */
|
|
28
|
+
|
|
29
|
+
/* Excluded from this release type: IOdspResolvedUrl */
|
|
30
|
+
|
|
31
|
+
/* Excluded from this release type: IOdspUrlParts */
|
|
32
|
+
|
|
33
|
+
/* Excluded from this release type: IOpsCachingPolicy */
|
|
34
|
+
|
|
35
|
+
/* Excluded from this release type: IPersistedCache */
|
|
36
|
+
|
|
37
|
+
/* Excluded from this release type: IProvideSessionAwareDriverFactory */
|
|
38
|
+
|
|
39
|
+
/* Excluded from this release type: IRelaySessionAwareDriverFactory */
|
|
40
|
+
|
|
41
|
+
/* Excluded from this release type: IResolvedUrl */
|
|
42
|
+
|
|
43
|
+
/* Excluded from this release type: ISharingLink */
|
|
44
|
+
|
|
45
|
+
/* Excluded from this release type: ISharingLinkKind */
|
|
46
|
+
|
|
47
|
+
/* Excluded from this release type: ISnapshotOptions */
|
|
48
|
+
|
|
49
|
+
/* Excluded from this release type: ISocketStorageDiscovery */
|
|
50
|
+
|
|
51
|
+
/* Excluded from this release type: isTokenFromCache */
|
|
52
|
+
|
|
53
|
+
/* Excluded from this release type: OdspError */
|
|
54
|
+
|
|
55
|
+
/* Excluded from this release type: OdspErrorType */
|
|
56
|
+
|
|
57
|
+
/* Excluded from this release type: OdspErrorTypes */
|
|
58
|
+
|
|
59
|
+
/* Excluded from this release type: OdspResourceTokenFetchOptions */
|
|
60
|
+
|
|
61
|
+
/* Excluded from this release type: ShareLinkInfoType */
|
|
62
|
+
|
|
63
|
+
/* Excluded from this release type: ShareLinkTypes */
|
|
64
|
+
|
|
65
|
+
/* Excluded from this release type: SharingLinkRole */
|
|
66
|
+
|
|
67
|
+
/* Excluded from this release type: SharingLinkScope */
|
|
68
|
+
|
|
69
|
+
/* Excluded from this release type: snapshotKey */
|
|
70
|
+
|
|
71
|
+
/* Excluded from this release type: TokenFetcher */
|
|
72
|
+
|
|
73
|
+
/* Excluded from this release type: TokenFetchOptions */
|
|
74
|
+
|
|
75
|
+
/* Excluded from this release type: tokenFromResponse */
|
|
76
|
+
|
|
77
|
+
/* Excluded from this release type: TokenResponse */
|
|
78
|
+
|
|
79
|
+
export { }
|