@fluidframework/odsp-driver-definitions 0.52.0 → 0.54.0-47413
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/dist/packageVersion.d.ts +1 -1
- package/dist/packageVersion.d.ts.map +1 -1
- package/dist/packageVersion.js +1 -1
- package/dist/packageVersion.js.map +1 -1
- package/dist/resolvedUrl.d.ts +4 -0
- package/dist/resolvedUrl.d.ts.map +1 -1
- package/dist/resolvedUrl.js.map +1 -1
- package/lib/packageVersion.d.ts +1 -1
- package/lib/packageVersion.d.ts.map +1 -1
- package/lib/packageVersion.js +1 -1
- package/lib/packageVersion.js.map +1 -1
- package/lib/resolvedUrl.d.ts +4 -0
- package/lib/resolvedUrl.d.ts.map +1 -1
- package/lib/resolvedUrl.js.map +1 -1
- package/package.json +2 -2
- package/src/packageVersion.ts +1 -1
- package/src/resolvedUrl.ts +5 -0
package/dist/packageVersion.d.ts
CHANGED
|
@@ -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/odsp-driver-definitions";
|
|
8
|
-
export declare const pkgVersion = "0.
|
|
8
|
+
export declare const pkgVersion = "0.54.0-47413";
|
|
9
9
|
//# sourceMappingURL=packageVersion.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"packageVersion.d.ts","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,eAAO,MAAM,OAAO,4CAA4C,CAAC;AACjE,eAAO,MAAM,UAAU,
|
|
1
|
+
{"version":3,"file":"packageVersion.d.ts","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,eAAO,MAAM,OAAO,4CAA4C,CAAC;AACjE,eAAO,MAAM,UAAU,iBAAiB,CAAC"}
|
package/dist/packageVersion.js
CHANGED
|
@@ -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/odsp-driver-definitions";
|
|
11
|
-
exports.pkgVersion = "0.
|
|
11
|
+
exports.pkgVersion = "0.54.0-47413";
|
|
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,yCAAyC,CAAC;AACpD,QAAA,UAAU,GAAG,
|
|
1
|
+
{"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEU,QAAA,OAAO,GAAG,yCAAyC,CAAC;AACpD,QAAA,UAAU,GAAG,cAAc,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/odsp-driver-definitions\";\nexport const pkgVersion = \"0.54.0-47413\";\n"]}
|
package/dist/resolvedUrl.d.ts
CHANGED
|
@@ -66,6 +66,10 @@ export interface IOdspResolvedUrl extends IFluidResolvedUrl, IOdspUrlParts {
|
|
|
66
66
|
tokens: {};
|
|
67
67
|
fileName: string;
|
|
68
68
|
summarizer: boolean;
|
|
69
|
+
/**
|
|
70
|
+
* @deprecated Use shareLinkInfo.sharingLinkToRedeem instead
|
|
71
|
+
*/
|
|
72
|
+
sharingLinkToRedeem?: string;
|
|
69
73
|
codeHint?: {
|
|
70
74
|
containerPackageName?: string;
|
|
71
75
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resolvedUrl.d.ts","source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E,iBAAiB,CAAA;CACpC"}
|
package/dist/resolvedUrl.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resolvedUrl.js","sourceRoot":"","sources":["../src/resolvedUrl.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAUH;;;;;EAKE;AACF,IAAY,cAEX;AAFD,WAAY,cAAc;IACtB,6BAAW,CAAA;AACf,CAAC,EAFW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAEzB","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nimport { IFluidResolvedUrl } from \"@fluidframework/driver-definitions\";\n\nexport interface IOdspUrlParts {\n siteUrl: string;\n driveId: string;\n itemId: string;\n}\n\n/**\n * Type of shareLink requested/created when creating the file for the first time.\n * At the time of adding this comment (Sept/2021) ODSP only supports creation of CSL links\n * when provided as a request parameter with the /snapshot api call.\n * In future, we can add more types here.\n*/\nexport enum ShareLinkTypes {\n csl = \"csl\",\n}\n/**\n * Sharing link data created for the ODSP item.\n * Contains information about either sharing link created while creating a new file or\n * a redeemable share link created when loading an existing file\n */\nexport interface ShareLinkInfoType {\n\n /**\n * We create a new file in ODSP with the /snapshot api call. Applications then call separate apis to\n * create a sharing link for that file. To reduce the number of api calls, ODSP now provides a feature\n * where we can create a share link along with creating a file by passing a query parameter called\n * createShareLink. createLink object below saves the data corresponding to this feature.\n */\n createLink?: {\n /**\n * Type of shareLink requested/created when creating the file for the first time.\n * At the time of adding this comment (Sept/2021) ODSP only supports creation of CSL links\n * when provided as a request parameter with the /snapshot api call.\n */\n type?: ShareLinkTypes,\n\n /**\n * Share link created when the file is created for the first time with /snapshot api call.\n * This link does not require redemption.\n */\n link?: string,\n\n /**\n * Error message if creation of sharing link fails with /snapshot api call\n */\n error?: any\n }\n\n /**\n * This is used to save the network calls while doing trees/latest call as if the client does not have\n * permission then this link can be redeemed for the permissions in the same network call.\n */\n sharingLinkToRedeem?: string,\n}\nexport interface IOdspResolvedUrl extends IFluidResolvedUrl, IOdspUrlParts {\n type: \"fluid\";\n odspResolvedUrl: true;\n\n // URL to send to fluid, contains the documentId and the path\n url: string;\n\n // A hashed identifier that is unique to this document\n hashedDocumentId: string;\n\n endpoints: {\n snapshotStorageUrl: string;\n attachmentPOSTStorageUrl: string;\n attachmentGETStorageUrl: string;\n deltaStorageUrl: string,\n };\n\n // Tokens are not obtained by the ODSP driver using the resolve flow, the app must provide them.\n // eslint-disable-next-line @typescript-eslint/ban-types\n tokens: {};\n\n fileName: string;\n\n summarizer: boolean;\n\n codeHint?: {\n // containerPackageName is used for adding the package name to the request headers.\n // This may be used for preloading the container package when loading Fluid content.\n containerPackageName?: string\n }\n\n fileVersion: string | undefined;\n\n /**\n * Sharing link data created for the ODSP item.\n * Contains information about either sharing link created while creating a new file or\n * a redeemable share link created when loading an existing file\n */\n shareLinkInfo?: ShareLinkInfoType\n}\n"]}
|
|
1
|
+
{"version":3,"file":"resolvedUrl.js","sourceRoot":"","sources":["../src/resolvedUrl.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAUH;;;;;EAKE;AACF,IAAY,cAEX;AAFD,WAAY,cAAc;IACtB,6BAAW,CAAA;AACf,CAAC,EAFW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAEzB","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nimport { IFluidResolvedUrl } from \"@fluidframework/driver-definitions\";\n\nexport interface IOdspUrlParts {\n siteUrl: string;\n driveId: string;\n itemId: string;\n}\n\n/**\n * Type of shareLink requested/created when creating the file for the first time.\n * At the time of adding this comment (Sept/2021) ODSP only supports creation of CSL links\n * when provided as a request parameter with the /snapshot api call.\n * In future, we can add more types here.\n*/\nexport enum ShareLinkTypes {\n csl = \"csl\",\n}\n/**\n * Sharing link data created for the ODSP item.\n * Contains information about either sharing link created while creating a new file or\n * a redeemable share link created when loading an existing file\n */\nexport interface ShareLinkInfoType {\n\n /**\n * We create a new file in ODSP with the /snapshot api call. Applications then call separate apis to\n * create a sharing link for that file. To reduce the number of api calls, ODSP now provides a feature\n * where we can create a share link along with creating a file by passing a query parameter called\n * createShareLink. createLink object below saves the data corresponding to this feature.\n */\n createLink?: {\n /**\n * Type of shareLink requested/created when creating the file for the first time.\n * At the time of adding this comment (Sept/2021) ODSP only supports creation of CSL links\n * when provided as a request parameter with the /snapshot api call.\n */\n type?: ShareLinkTypes,\n\n /**\n * Share link created when the file is created for the first time with /snapshot api call.\n * This link does not require redemption.\n */\n link?: string,\n\n /**\n * Error message if creation of sharing link fails with /snapshot api call\n */\n error?: any\n }\n\n /**\n * This is used to save the network calls while doing trees/latest call as if the client does not have\n * permission then this link can be redeemed for the permissions in the same network call.\n */\n sharingLinkToRedeem?: string,\n}\nexport interface IOdspResolvedUrl extends IFluidResolvedUrl, IOdspUrlParts {\n type: \"fluid\";\n odspResolvedUrl: true;\n\n // URL to send to fluid, contains the documentId and the path\n url: string;\n\n // A hashed identifier that is unique to this document\n hashedDocumentId: string;\n\n endpoints: {\n snapshotStorageUrl: string;\n attachmentPOSTStorageUrl: string;\n attachmentGETStorageUrl: string;\n deltaStorageUrl: string,\n };\n\n // Tokens are not obtained by the ODSP driver using the resolve flow, the app must provide them.\n // eslint-disable-next-line @typescript-eslint/ban-types\n tokens: {};\n\n fileName: string;\n\n summarizer: boolean;\n\n /**\n * @deprecated Use shareLinkInfo.sharingLinkToRedeem instead\n */\n sharingLinkToRedeem?: string;\n\n codeHint?: {\n // containerPackageName is used for adding the package name to the request headers.\n // This may be used for preloading the container package when loading Fluid content.\n containerPackageName?: string\n }\n\n fileVersion: string | undefined;\n\n /**\n * Sharing link data created for the ODSP item.\n * Contains information about either sharing link created while creating a new file or\n * a redeemable share link created when loading an existing file\n */\n shareLinkInfo?: ShareLinkInfoType\n}\n"]}
|
package/lib/packageVersion.d.ts
CHANGED
|
@@ -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/odsp-driver-definitions";
|
|
8
|
-
export declare const pkgVersion = "0.
|
|
8
|
+
export declare const pkgVersion = "0.54.0-47413";
|
|
9
9
|
//# sourceMappingURL=packageVersion.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"packageVersion.d.ts","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,eAAO,MAAM,OAAO,4CAA4C,CAAC;AACjE,eAAO,MAAM,UAAU,
|
|
1
|
+
{"version":3,"file":"packageVersion.d.ts","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,eAAO,MAAM,OAAO,4CAA4C,CAAC;AACjE,eAAO,MAAM,UAAU,iBAAiB,CAAC"}
|
package/lib/packageVersion.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,MAAM,CAAC,MAAM,OAAO,GAAG,yCAAyC,CAAC;AACjE,MAAM,CAAC,MAAM,UAAU,GAAG,
|
|
1
|
+
{"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,MAAM,CAAC,MAAM,OAAO,GAAG,yCAAyC,CAAC;AACjE,MAAM,CAAC,MAAM,UAAU,GAAG,cAAc,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/odsp-driver-definitions\";\nexport const pkgVersion = \"0.54.0-47413\";\n"]}
|
package/lib/resolvedUrl.d.ts
CHANGED
|
@@ -66,6 +66,10 @@ export interface IOdspResolvedUrl extends IFluidResolvedUrl, IOdspUrlParts {
|
|
|
66
66
|
tokens: {};
|
|
67
67
|
fileName: string;
|
|
68
68
|
summarizer: boolean;
|
|
69
|
+
/**
|
|
70
|
+
* @deprecated Use shareLinkInfo.sharingLinkToRedeem instead
|
|
71
|
+
*/
|
|
72
|
+
sharingLinkToRedeem?: string;
|
|
69
73
|
codeHint?: {
|
|
70
74
|
containerPackageName?: string;
|
|
71
75
|
};
|
package/lib/resolvedUrl.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resolvedUrl.d.ts","sourceRoot":"","sources":["../src/resolvedUrl.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AAEvE,MAAM,WAAW,aAAa;IAC1B,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;CAClB;AAED;;;;;EAKE;AACF,oBAAY,cAAc;IACtB,GAAG,QAAQ;CACd;AACD;;;;GAIG;AACH,MAAM,WAAW,iBAAiB;IAE9B;;;;;OAKG;IACH,UAAU,CAAC,EAAE;QACT;;;;UAIE;QACF,IAAI,CAAC,EAAE,cAAc,CAAC;QAEtB;;;WAGG;QACH,IAAI,CAAC,EAAE,MAAM,CAAC;QAEd;;WAEG;QACH,KAAK,CAAC,EAAE,GAAG,CAAA;KACd,CAAA;IAED;;;OAGG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAChC;AACD,MAAM,WAAW,gBAAiB,SAAQ,iBAAiB,EAAE,aAAa;IACtE,IAAI,EAAE,OAAO,CAAC;IACd,eAAe,EAAE,IAAI,CAAC;IAGtB,GAAG,EAAE,MAAM,CAAC;IAGZ,gBAAgB,EAAE,MAAM,CAAC;IAEzB,SAAS,EAAE;QACP,kBAAkB,EAAE,MAAM,CAAC;QAC3B,wBAA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3B,wBAAwB,EAAE,MAAM,CAAC;QACjC,uBAAuB,EAAE,MAAM,CAAC;QAChC,eAAe,EAAE,MAAM,CAAC;KAC3B,CAAC;IAIF,MAAM,EAAE,EAAE,CAAC;IAEX,QAAQ,EAAE,MAAM,CAAC;IAEjB,UAAU,EAAE,OAAO,CAAC;IAEpB;;OAEG;IACF,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAE9B,QAAQ,CAAC,EAAE;QAGP,oBAAoB,CAAC,EAAE,MAAM,CAAA;KAChC,CAAA;IAED,WAAW,EAAE,MAAM,GAAG,SAAS,CAAC;IAEhC;;;;OAIG;IACH,aAAa,CAAC,EAAE,iBAAiB,CAAA;CACpC"}
|
package/lib/resolvedUrl.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resolvedUrl.js","sourceRoot":"","sources":["../src/resolvedUrl.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAUH;;;;;EAKE;AACF,MAAM,CAAN,IAAY,cAEX;AAFD,WAAY,cAAc;IACtB,6BAAW,CAAA;AACf,CAAC,EAFW,cAAc,KAAd,cAAc,QAEzB","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nimport { IFluidResolvedUrl } from \"@fluidframework/driver-definitions\";\n\nexport interface IOdspUrlParts {\n siteUrl: string;\n driveId: string;\n itemId: string;\n}\n\n/**\n * Type of shareLink requested/created when creating the file for the first time.\n * At the time of adding this comment (Sept/2021) ODSP only supports creation of CSL links\n * when provided as a request parameter with the /snapshot api call.\n * In future, we can add more types here.\n*/\nexport enum ShareLinkTypes {\n csl = \"csl\",\n}\n/**\n * Sharing link data created for the ODSP item.\n * Contains information about either sharing link created while creating a new file or\n * a redeemable share link created when loading an existing file\n */\nexport interface ShareLinkInfoType {\n\n /**\n * We create a new file in ODSP with the /snapshot api call. Applications then call separate apis to\n * create a sharing link for that file. To reduce the number of api calls, ODSP now provides a feature\n * where we can create a share link along with creating a file by passing a query parameter called\n * createShareLink. createLink object below saves the data corresponding to this feature.\n */\n createLink?: {\n /**\n * Type of shareLink requested/created when creating the file for the first time.\n * At the time of adding this comment (Sept/2021) ODSP only supports creation of CSL links\n * when provided as a request parameter with the /snapshot api call.\n */\n type?: ShareLinkTypes,\n\n /**\n * Share link created when the file is created for the first time with /snapshot api call.\n * This link does not require redemption.\n */\n link?: string,\n\n /**\n * Error message if creation of sharing link fails with /snapshot api call\n */\n error?: any\n }\n\n /**\n * This is used to save the network calls while doing trees/latest call as if the client does not have\n * permission then this link can be redeemed for the permissions in the same network call.\n */\n sharingLinkToRedeem?: string,\n}\nexport interface IOdspResolvedUrl extends IFluidResolvedUrl, IOdspUrlParts {\n type: \"fluid\";\n odspResolvedUrl: true;\n\n // URL to send to fluid, contains the documentId and the path\n url: string;\n\n // A hashed identifier that is unique to this document\n hashedDocumentId: string;\n\n endpoints: {\n snapshotStorageUrl: string;\n attachmentPOSTStorageUrl: string;\n attachmentGETStorageUrl: string;\n deltaStorageUrl: string,\n };\n\n // Tokens are not obtained by the ODSP driver using the resolve flow, the app must provide them.\n // eslint-disable-next-line @typescript-eslint/ban-types\n tokens: {};\n\n fileName: string;\n\n summarizer: boolean;\n\n codeHint?: {\n // containerPackageName is used for adding the package name to the request headers.\n // This may be used for preloading the container package when loading Fluid content.\n containerPackageName?: string\n }\n\n fileVersion: string | undefined;\n\n /**\n * Sharing link data created for the ODSP item.\n * Contains information about either sharing link created while creating a new file or\n * a redeemable share link created when loading an existing file\n */\n shareLinkInfo?: ShareLinkInfoType\n}\n"]}
|
|
1
|
+
{"version":3,"file":"resolvedUrl.js","sourceRoot":"","sources":["../src/resolvedUrl.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAUH;;;;;EAKE;AACF,MAAM,CAAN,IAAY,cAEX;AAFD,WAAY,cAAc;IACtB,6BAAW,CAAA;AACf,CAAC,EAFW,cAAc,KAAd,cAAc,QAEzB","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nimport { IFluidResolvedUrl } from \"@fluidframework/driver-definitions\";\n\nexport interface IOdspUrlParts {\n siteUrl: string;\n driveId: string;\n itemId: string;\n}\n\n/**\n * Type of shareLink requested/created when creating the file for the first time.\n * At the time of adding this comment (Sept/2021) ODSP only supports creation of CSL links\n * when provided as a request parameter with the /snapshot api call.\n * In future, we can add more types here.\n*/\nexport enum ShareLinkTypes {\n csl = \"csl\",\n}\n/**\n * Sharing link data created for the ODSP item.\n * Contains information about either sharing link created while creating a new file or\n * a redeemable share link created when loading an existing file\n */\nexport interface ShareLinkInfoType {\n\n /**\n * We create a new file in ODSP with the /snapshot api call. Applications then call separate apis to\n * create a sharing link for that file. To reduce the number of api calls, ODSP now provides a feature\n * where we can create a share link along with creating a file by passing a query parameter called\n * createShareLink. createLink object below saves the data corresponding to this feature.\n */\n createLink?: {\n /**\n * Type of shareLink requested/created when creating the file for the first time.\n * At the time of adding this comment (Sept/2021) ODSP only supports creation of CSL links\n * when provided as a request parameter with the /snapshot api call.\n */\n type?: ShareLinkTypes,\n\n /**\n * Share link created when the file is created for the first time with /snapshot api call.\n * This link does not require redemption.\n */\n link?: string,\n\n /**\n * Error message if creation of sharing link fails with /snapshot api call\n */\n error?: any\n }\n\n /**\n * This is used to save the network calls while doing trees/latest call as if the client does not have\n * permission then this link can be redeemed for the permissions in the same network call.\n */\n sharingLinkToRedeem?: string,\n}\nexport interface IOdspResolvedUrl extends IFluidResolvedUrl, IOdspUrlParts {\n type: \"fluid\";\n odspResolvedUrl: true;\n\n // URL to send to fluid, contains the documentId and the path\n url: string;\n\n // A hashed identifier that is unique to this document\n hashedDocumentId: string;\n\n endpoints: {\n snapshotStorageUrl: string;\n attachmentPOSTStorageUrl: string;\n attachmentGETStorageUrl: string;\n deltaStorageUrl: string,\n };\n\n // Tokens are not obtained by the ODSP driver using the resolve flow, the app must provide them.\n // eslint-disable-next-line @typescript-eslint/ban-types\n tokens: {};\n\n fileName: string;\n\n summarizer: boolean;\n\n /**\n * @deprecated Use shareLinkInfo.sharingLinkToRedeem instead\n */\n sharingLinkToRedeem?: string;\n\n codeHint?: {\n // containerPackageName is used for adding the package name to the request headers.\n // This may be used for preloading the container package when loading Fluid content.\n containerPackageName?: string\n }\n\n fileVersion: string | undefined;\n\n /**\n * Sharing link data created for the ODSP item.\n * Contains information about either sharing link created while creating a new file or\n * a redeemable share link created when loading an existing file\n */\n shareLinkInfo?: ShareLinkInfoType\n}\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluidframework/odsp-driver-definitions",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.54.0-47413",
|
|
4
4
|
"description": "Socket storage implementation for SPO and ODC",
|
|
5
5
|
"homepage": "https://fluidframework.com",
|
|
6
6
|
"repository": "https://github.com/microsoft/FluidFramework",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"tsfmt:fix": "tsfmt --replace"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@fluidframework/driver-definitions": "^0.
|
|
33
|
+
"@fluidframework/driver-definitions": "^0.43.0"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@fluidframework/build-common": "^0.23.0",
|
package/src/packageVersion.ts
CHANGED
package/src/resolvedUrl.ts
CHANGED
|
@@ -84,6 +84,11 @@ export interface IOdspResolvedUrl extends IFluidResolvedUrl, IOdspUrlParts {
|
|
|
84
84
|
|
|
85
85
|
summarizer: boolean;
|
|
86
86
|
|
|
87
|
+
/**
|
|
88
|
+
* @deprecated Use shareLinkInfo.sharingLinkToRedeem instead
|
|
89
|
+
*/
|
|
90
|
+
sharingLinkToRedeem?: string;
|
|
91
|
+
|
|
87
92
|
codeHint?: {
|
|
88
93
|
// containerPackageName is used for adding the package name to the request headers.
|
|
89
94
|
// This may be used for preloading the container package when loading Fluid content.
|