@fluidframework/odsp-driver-definitions 2.0.0-dev.7.4.0.217212 → 2.0.0-dev.7.4.0.221926

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.
Files changed (46) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/api-extractor.json +0 -3
  3. package/api-report/odsp-driver-definitions.api.md +24 -24
  4. package/dist/factory.cjs.map +1 -1
  5. package/dist/factory.d.ts +4 -4
  6. package/dist/odsp-driver-definitions-alpha.d.ts +440 -41
  7. package/dist/odsp-driver-definitions-beta.d.ts +4 -0
  8. package/dist/odsp-driver-definitions-public.d.ts +4 -0
  9. package/dist/odsp-driver-definitions-untrimmed.d.ts +24 -24
  10. package/dist/odspCache.cjs.map +1 -1
  11. package/dist/odspCache.d.ts +5 -5
  12. package/dist/resolvedUrl.cjs +3 -3
  13. package/dist/resolvedUrl.cjs.map +1 -1
  14. package/dist/resolvedUrl.d.ts +8 -8
  15. package/dist/sessionProvider.cjs.map +1 -1
  16. package/dist/sessionProvider.d.ts +3 -3
  17. package/dist/tokenFetch.cjs.map +1 -1
  18. package/dist/tokenFetch.d.ts +4 -4
  19. package/lib/errors.d.ts +0 -4
  20. package/lib/errors.d.ts.map +1 -1
  21. package/lib/factory.d.ts +4 -4
  22. package/lib/factory.mjs.map +1 -1
  23. package/lib/index.d.ts +6 -6
  24. package/lib/index.d.ts.map +1 -1
  25. package/lib/odsp-driver-definitions-alpha.d.ts +440 -41
  26. package/lib/odsp-driver-definitions-beta.d.ts +4 -0
  27. package/lib/odsp-driver-definitions-public.d.ts +4 -0
  28. package/lib/odsp-driver-definitions-untrimmed.d.ts +24 -24
  29. package/lib/odspCache.d.ts +5 -5
  30. package/lib/odspCache.d.ts.map +1 -1
  31. package/lib/odspCache.mjs.map +1 -1
  32. package/lib/resolvedUrl.d.ts +8 -8
  33. package/lib/resolvedUrl.d.ts.map +1 -1
  34. package/lib/resolvedUrl.mjs +3 -3
  35. package/lib/resolvedUrl.mjs.map +1 -1
  36. package/lib/sessionProvider.d.ts +3 -3
  37. package/lib/sessionProvider.d.ts.map +1 -1
  38. package/lib/sessionProvider.mjs.map +1 -1
  39. package/lib/tokenFetch.d.ts +4 -4
  40. package/lib/tokenFetch.mjs.map +1 -1
  41. package/package.json +4 -2
  42. package/src/factory.ts +4 -4
  43. package/src/odspCache.ts +5 -5
  44. package/src/resolvedUrl.ts +8 -8
  45. package/src/sessionProvider.ts +3 -3
  46. package/src/tokenFetch.ts +4 -4
@@ -6,7 +6,7 @@
6
6
  import { IResolvedUrl } from "@fluidframework/driver-definitions";
7
7
 
8
8
  /**
9
- * @internal
9
+ * @alpha
10
10
  */
11
11
  export interface IOdspUrlParts {
12
12
  siteUrl: string;
@@ -17,7 +17,7 @@ export interface IOdspUrlParts {
17
17
  /**
18
18
  * @deprecated Use ISharingLinkKind type instead.
19
19
  * Type of shareLink requested/created when creating the file for the first time.
20
- * @internal
20
+ * @alpha
21
21
  */
22
22
  export enum ShareLinkTypes {
23
23
  csl = "csl",
@@ -25,7 +25,7 @@ export enum ShareLinkTypes {
25
25
 
26
26
  /**
27
27
  * Sharing scope of the share links created for a file.
28
- * @internal
28
+ * @alpha
29
29
  */
30
30
  export enum SharingLinkScope {
31
31
  organization = "organization",
@@ -36,7 +36,7 @@ export enum SharingLinkScope {
36
36
 
37
37
  /**
38
38
  * View/edit permission role for a sharing link.
39
- * @internal
39
+ * @alpha
40
40
  */
41
41
  export enum SharingLinkRole {
42
42
  view = "view",
@@ -46,7 +46,7 @@ export enum SharingLinkRole {
46
46
  /**
47
47
  * Defines the permissions scope for a share link requested to be created during the creation the file in ODSP.
48
48
  * Providing these properties to the /snapshot api will also create and return the requested kind of sharing link.
49
- * @internal
49
+ * @alpha
50
50
  */
51
51
  export interface ISharingLinkKind {
52
52
  scope: SharingLinkScope;
@@ -59,7 +59,7 @@ export interface ISharingLinkKind {
59
59
 
60
60
  /**
61
61
  * Sharing link data received from the /snapshot api response.
62
- * @internal
62
+ * @alpha
63
63
  */
64
64
  export interface ISharingLink extends ISharingLinkKind {
65
65
  webUrl: string;
@@ -69,7 +69,7 @@ export interface ISharingLink extends ISharingLinkKind {
69
69
  * Sharing link data created for the ODSP item.
70
70
  * Contains information about either sharing link created while creating a new file or
71
71
  * a redeemable share link created when loading an existing file
72
- * @internal
72
+ * @alpha
73
73
  */
74
74
  export interface ShareLinkInfoType {
75
75
  /**
@@ -108,7 +108,7 @@ export interface ShareLinkInfoType {
108
108
  sharingLinkToRedeem?: string;
109
109
  }
110
110
  /**
111
- * @internal
111
+ * @alpha
112
112
  */
113
113
  export interface IOdspResolvedUrl extends IResolvedUrl, IOdspUrlParts {
114
114
  type: "fluid";
@@ -7,7 +7,7 @@ import { IResolvedUrl } from "@fluidframework/driver-definitions";
7
7
 
8
8
  /**
9
9
  * Socket storage discovery api response
10
- * @internal
10
+ * @alpha
11
11
  */
12
12
  export interface ISocketStorageDiscovery {
13
13
  // The id of the web socket
@@ -43,7 +43,7 @@ export interface ISocketStorageDiscovery {
43
43
  /**
44
44
  * An interface that allows a concrete instance of a driver factory to interrogate itself
45
45
  * to find out if it is session aware.
46
- * @internal
46
+ * @alpha
47
47
  */
48
48
  export interface IProvideSessionAwareDriverFactory {
49
49
  readonly IRelaySessionAwareDriverFactory: IRelaySessionAwareDriverFactory;
@@ -52,7 +52,7 @@ export interface IProvideSessionAwareDriverFactory {
52
52
  /**
53
53
  * An interface that allows a concrete instance of a driver factory to call the `getRelayServiceSessionInfo`
54
54
  * function if it session aware.
55
- * @internal
55
+ * @alpha
56
56
  */
57
57
  export interface IRelaySessionAwareDriverFactory extends IProvideSessionAwareDriverFactory {
58
58
  getRelayServiceSessionInfo(
package/src/tokenFetch.ts CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  /**
7
7
  * Represents token response
8
- * @internal
8
+ * @alpha
9
9
  */
10
10
  export interface TokenResponse {
11
11
  /** Token value */
@@ -17,7 +17,7 @@ export interface TokenResponse {
17
17
 
18
18
  /**
19
19
  * Represents access token fetch options
20
- * @internal
20
+ * @alpha
21
21
  */
22
22
  export interface TokenFetchOptions {
23
23
  /**
@@ -42,7 +42,7 @@ export interface TokenFetchOptions {
42
42
 
43
43
  /**
44
44
  * Represents access token fetch options for ODSP resource
45
- * @internal
45
+ * @alpha
46
46
  */
47
47
  export interface OdspResourceTokenFetchOptions extends TokenFetchOptions {
48
48
  /** Site url representing ODSP resource location */
@@ -61,7 +61,7 @@ export interface OdspResourceTokenFetchOptions extends TokenFetchOptions {
61
61
  * @returns If successful, TokenResponse object representing token value along with flag indicating
62
62
  * whether token came from cache. Legacy implementation may return a string for token value;
63
63
  * in this case it should be assumes that fromCache signal is undefined. Null is returned in case of failure.
64
- * @internal
64
+ * @alpha
65
65
  */
66
66
  export type TokenFetcher<T> = (options: T) => Promise<string | TokenResponse | null>;
67
67