@fluidframework/odsp-driver-definitions 0.59.2001 → 0.59.3000-66610

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.
@@ -1 +1 @@
1
- {"version":3,"file":"factory.d.ts","sourceRoot":"","sources":["../src/factory.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,MAAM,WAAW,gBAAgB;IAC7B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAMlB,GAAG,CAAC,EAAE,MAAM,CAAC;IAOb,OAAO,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,iBAAiB;IAC9B;;;;;;;;OAQG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;;;;;OAMG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAE1B;;;OAGG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;CAC5B;AAED,MAAM,WAAW,qBAAqB;IAClC;;;OAGG;IACH,8BAA8B,CAAC,EAAE,MAAM,CAAC;IACxC;;;;;;;;OAQG;IACH,sCAAsC,CAAC,EAAE,OAAO,CAAC;CACpD;AAED,MAAM,WAAW,iBAAiB;IAC9B,eAAe,CAAC,EAAE,gBAAgB,CAAC;IAEnC;;;;;;;;OAQG;IACH,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAGlC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAE9B;;OAEG;IACH,UAAU,CAAC,EAAE,iBAAiB,CAAC;IAE/B;;OAEG;IACH,cAAc,CAAC,EAAE,qBAAqB,CAAC;IAIvC,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAE/B;;OAEG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAEhC;;;OAGG;IACH,yBAAyB,CAAC,EAAE,OAAO,CAAC;IAEpC;;O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,CAAC;IAE7B;;;;;OAKG;IACF,yBAAyB,CAAC,EAAE,OAAO,CAAC;CACxC"}
@@ -1 +1 @@
1
- {"version":3,"file":"factory.js","sourceRoot":"","sources":["../src/factory.ts"],"names":[],"mappings":";AAAA;;;GAGG","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nexport interface ISnapshotOptions {\n blobs?: number;\n deltas?: number;\n channels?: number;\n /*\n * Maximum Data size (in bytes)\n * If specified, SPO will fail snapshot request with 413 error (see OdspErrorType.snapshotTooBig)\n * if snapshot is bigger in size than specified limit.\n */\n mds?: number;\n\n /*\n * Maximum time limit to fetch snapshot (in seconds)\n * If specified, client will timeout the fetch request if it exceeds the time limit and\n * will try to fetch the snapshot without blobs.\n */\n timeout?: number;\n}\n\nexport interface IOpsCachingPolicy {\n /**\n * Batch size. Controls how many ops are grouped together as single cache entry\n * The bigger the number, the more efficient it is (less reads & writes)\n * At the same time, big number means we wait for so many ops to accumulate, which\n * increases chances and number of trailing ops that would not be flushed to cache\n * when user closes tab\n * Use any number below 1 to disable caching\n * Default: 100\n */\n batchSize?: number;\n\n /**\n * To reduce the problem of losing trailing ops when using big batch sizes, host\n * could specify how often driver should flush ops it has not flushed yet.\n * -1 means do not use timer.\n * Measured in ms.\n * Default: 5000\n */\n timerGranularity?: number,\n\n /**\n * Total number of ops to cache. When we reach that number, ops caching stops\n * Default: 5000\n */\n totalOpsToCache?: number;\n}\n\nexport interface ICollabSessionOptions {\n /**\n * Value indicating the display name for session that admits unauthenticated user.\n * This name will be used in attribution associated with edits made by such user.\n */\n unauthenticatedUserDisplayName?: string;\n /**\n * Value indicating session preference to always pass access token via Authorization header.\n * Default behavior is to pass access token via query parameter unless overall href string\n * length exceeds 2048 characters. Using query param is performance optimization which results\n * in ODSP XHR request being treated as 'simple' request which do not require OPTIONS call to\n * validate CORS. However, not all ODSP implementations understand this optimization.\n * For instance, auth layer on Converged stack will fail request with access token passed via\n * query param.\n */\n forceAccessTokenViaAuthorizationHeader?: boolean;\n}\n\nexport interface HostStoragePolicy {\n snapshotOptions?: ISnapshotOptions;\n\n /**\n * If set to true, tells driver to concurrently fetch snapshot from storage (SPO) and cache\n * Container loads from whatever comes first in such case.\n * Snapshot fetched from storage is pushed to cache in either case.\n * If set to false, driver will first consult with cache. Only on cache miss (cache does not\n * return snapshot), driver will fetch snapshot from storage (and push it to cache), otherwise\n * it will load from cache and not reach out to storage.\n * Passing true results in faster loads and keeping cache more current, but it increases bandwidth consumption.\n */\n concurrentSnapshotFetch?: boolean;\n\n // Options overwriting default ops fetching from storage.\n opsBatchSize?: number;\n concurrentOpsBatches?: number;\n\n /**\n * Policy controlling ops caching (leveraging IPersistedCache passed to driver factory)\n */\n opsCaching?: IOpsCachingPolicy;\n\n /**\n * Policy controlling how collaboration session is established\n */\n sessionOptions?: ICollabSessionOptions;\n\n // True to have the sharing link redeem fallback in case the Trees Latest/Redeem 1RT call fails with redeem error.\n // During fallback it will first redeem the sharing link and then make the Trees latest call.\n enableRedeemFallback?: boolean;\n\n /**\n * Policy controlling if we will cache initial summary when we create a document\n */\n cacheCreateNewSummary?: boolean;\n\n /**\n * @deprecated - This will be replaced with feature gate snapshotFormatFetchType.\n * Policy controlling if we want to fetch binary format snapshot.\n */\n fetchBinarySnapshotFormat?: boolean;\n\n /**\n * If set to true, socket cache are per OdspDocumentService instead of shared across all instances\n */\n isolateSocketCache?: boolean;\n\n /**\n * Enable creation of sharing link along with the creation of file by setting this value to true.\n * If the host provides a 'createLinkType' parameter in the request URL to the container.attach()\n * method, we will request for send the request to ODSP with the same (if the flag is enabled) so\n * that a sharing can be created with the creation of file to save number for round trips made to ODSP.\n */\n enableShareLinkWithCreate?: boolean\n}\n"]}
1
+ {"version":3,"file":"factory.js","sourceRoot":"","sources":["../src/factory.ts"],"names":[],"mappings":";AAAA;;;GAGG","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nexport interface ISnapshotOptions {\n blobs?: number;\n deltas?: number;\n channels?: number;\n /*\n * Maximum Data size (in bytes)\n * If specified, SPO will fail snapshot request with 413 error (see OdspErrorType.snapshotTooBig)\n * if snapshot is bigger in size than specified limit.\n */\n mds?: number;\n\n /*\n * Maximum time limit to fetch snapshot (in seconds)\n * If specified, client will timeout the fetch request if it exceeds the time limit and\n * will try to fetch the snapshot without blobs.\n */\n timeout?: number;\n}\n\nexport interface IOpsCachingPolicy {\n /**\n * Batch size. Controls how many ops are grouped together as single cache entry\n * The bigger the number, the more efficient it is (less reads & writes)\n * At the same time, big number means we wait for so many ops to accumulate, which\n * increases chances and number of trailing ops that would not be flushed to cache\n * when user closes tab\n * Use any number below 1 to disable caching\n * Default: 100\n */\n batchSize?: number;\n\n /**\n * To reduce the problem of losing trailing ops when using big batch sizes, host\n * could specify how often driver should flush ops it has not flushed yet.\n * -1 means do not use timer.\n * Measured in ms.\n * Default: 5000\n */\n timerGranularity?: number;\n\n /**\n * Total number of ops to cache. When we reach that number, ops caching stops\n * Default: 5000\n */\n totalOpsToCache?: number;\n}\n\nexport interface ICollabSessionOptions {\n /**\n * Value indicating the display name for session that admits unauthenticated user.\n * This name will be used in attribution associated with edits made by such user.\n */\n unauthenticatedUserDisplayName?: string;\n /**\n * Value indicating session preference to always pass access token via Authorization header.\n * Default behavior is to pass access token via query parameter unless overall href string\n * length exceeds 2048 characters. Using query param is performance optimization which results\n * in ODSP XHR request being treated as 'simple' request which do not require OPTIONS call to\n * validate CORS. However, not all ODSP implementations understand this optimization.\n * For instance, auth layer on Converged stack will fail request with access token passed via\n * query param.\n */\n forceAccessTokenViaAuthorizationHeader?: boolean;\n}\n\nexport interface HostStoragePolicy {\n snapshotOptions?: ISnapshotOptions;\n\n /**\n * If set to true, tells driver to concurrently fetch snapshot from storage (SPO) and cache\n * Container loads from whatever comes first in such case.\n * Snapshot fetched from storage is pushed to cache in either case.\n * If set to false, driver will first consult with cache. Only on cache miss (cache does not\n * return snapshot), driver will fetch snapshot from storage (and push it to cache), otherwise\n * it will load from cache and not reach out to storage.\n * Passing true results in faster loads and keeping cache more current, but it increases bandwidth consumption.\n */\n concurrentSnapshotFetch?: boolean;\n\n // Options overwriting default ops fetching from storage.\n opsBatchSize?: number;\n concurrentOpsBatches?: number;\n\n /**\n * Policy controlling ops caching (leveraging IPersistedCache passed to driver factory)\n */\n opsCaching?: IOpsCachingPolicy;\n\n /**\n * Policy controlling how collaboration session is established\n */\n sessionOptions?: ICollabSessionOptions;\n\n // True to have the sharing link redeem fallback in case the Trees Latest/Redeem 1RT call fails with redeem error.\n // During fallback it will first redeem the sharing link and then make the Trees latest call.\n enableRedeemFallback?: boolean;\n\n /**\n * Policy controlling if we will cache initial summary when we create a document\n */\n cacheCreateNewSummary?: boolean;\n\n /**\n * @deprecated - This will be replaced with feature gate snapshotFormatFetchType.\n * Policy controlling if we want to fetch binary format snapshot.\n */\n fetchBinarySnapshotFormat?: boolean;\n\n /**\n * If set to true, socket cache are per OdspDocumentService instead of shared across all instances\n */\n isolateSocketCache?: boolean;\n\n /**\n * Enable creation of sharing link along with the creation of file by setting this value to true.\n * If the host provides a 'createLinkType' parameter in the request URL to the container.attach()\n * method, we will request for send the request to ODSP with the same (if the flag is enabled) so\n * that a sharing can be created with the creation of file to save number for round trips made to ODSP.\n */\n enableShareLinkWithCreate?: boolean;\n}\n"]}
@@ -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.59.2001";
8
+ export declare const pkgVersion = "0.59.3000-66610";
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,cAAc,CAAC"}
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,oBAAoB,CAAC"}
@@ -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.59.2001";
11
+ exports.pkgVersion = "0.59.3000-66610";
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,WAAW,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.59.2001\";\n"]}
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,iBAAiB,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.59.3000-66610\";\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"resolvedUrl.d.ts","sourceRoot":"","sources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AiB,CAAC,EAAE,OAAO,CAAC;CAC/B"}
@@ -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 isClpCompliantApp?: boolean;\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 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 isClpCompliantApp?: boolean;\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"factory.d.ts","sourceRoot":"","sources":["../src/factory.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,MAAM,WAAW,gBAAgB;IAC7B,KAAK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,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAMlB,GAAG,CAAC,EAAE,MAAM,CAAC;IAOb,OAAO,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,iBAAiB;IAC9B;;;;;;;;OAQG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;;;;;OAMG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAE1B;;;OAGG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;CAC5B;AAED,MAAM,WAAW,qBAAqB;IAClC;;;OAGG;IACH,8BAA8B,CAAC,EAAE,MAAM,CAAC;IACxC;;;;;;;;OAQG;IACH,sCAAsC,CAAC,EAAE,OAAO,CAAC;CACpD;AAED,MAAM,WAAW,iBAAiB;IAC9B,eAAe,CAAC,EAAE,gBAAgB,CAAC;IAEnC;;;;;;;;OAQG;IACH,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAGlC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAE9B;;OAEG;IACH,UAAU,CAAC,EAAE,iBAAiB,CAAC;IAE/B;;OAEG;IACH,cAAc,CAAC,EAAE,qBAAqB,CAAC;IAIvC,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAE/B;;OAEG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAEhC;;;OAGG;IACH,yBAAyB,CAAC,EAAE,OAAO,CAAC;IAEpC;;OAEG;IACH,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAE7B;;;;;OAKG;IACF,yBAAyB,CAAC,EAAE,OAAO,CAAC;CACxC"}
@@ -1 +1 @@
1
- {"version":3,"file":"factory.js","sourceRoot":"","sources":["../src/factory.ts"],"names":[],"mappings":"AAAA;;;GAGG","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nexport interface ISnapshotOptions {\n blobs?: number;\n deltas?: number;\n channels?: number;\n /*\n * Maximum Data size (in bytes)\n * If specified, SPO will fail snapshot request with 413 error (see OdspErrorType.snapshotTooBig)\n * if snapshot is bigger in size than specified limit.\n */\n mds?: number;\n\n /*\n * Maximum time limit to fetch snapshot (in seconds)\n * If specified, client will timeout the fetch request if it exceeds the time limit and\n * will try to fetch the snapshot without blobs.\n */\n timeout?: number;\n}\n\nexport interface IOpsCachingPolicy {\n /**\n * Batch size. Controls how many ops are grouped together as single cache entry\n * The bigger the number, the more efficient it is (less reads & writes)\n * At the same time, big number means we wait for so many ops to accumulate, which\n * increases chances and number of trailing ops that would not be flushed to cache\n * when user closes tab\n * Use any number below 1 to disable caching\n * Default: 100\n */\n batchSize?: number;\n\n /**\n * To reduce the problem of losing trailing ops when using big batch sizes, host\n * could specify how often driver should flush ops it has not flushed yet.\n * -1 means do not use timer.\n * Measured in ms.\n * Default: 5000\n */\n timerGranularity?: number,\n\n /**\n * Total number of ops to cache. When we reach that number, ops caching stops\n * Default: 5000\n */\n totalOpsToCache?: number;\n}\n\nexport interface ICollabSessionOptions {\n /**\n * Value indicating the display name for session that admits unauthenticated user.\n * This name will be used in attribution associated with edits made by such user.\n */\n unauthenticatedUserDisplayName?: string;\n /**\n * Value indicating session preference to always pass access token via Authorization header.\n * Default behavior is to pass access token via query parameter unless overall href string\n * length exceeds 2048 characters. Using query param is performance optimization which results\n * in ODSP XHR request being treated as 'simple' request which do not require OPTIONS call to\n * validate CORS. However, not all ODSP implementations understand this optimization.\n * For instance, auth layer on Converged stack will fail request with access token passed via\n * query param.\n */\n forceAccessTokenViaAuthorizationHeader?: boolean;\n}\n\nexport interface HostStoragePolicy {\n snapshotOptions?: ISnapshotOptions;\n\n /**\n * If set to true, tells driver to concurrently fetch snapshot from storage (SPO) and cache\n * Container loads from whatever comes first in such case.\n * Snapshot fetched from storage is pushed to cache in either case.\n * If set to false, driver will first consult with cache. Only on cache miss (cache does not\n * return snapshot), driver will fetch snapshot from storage (and push it to cache), otherwise\n * it will load from cache and not reach out to storage.\n * Passing true results in faster loads and keeping cache more current, but it increases bandwidth consumption.\n */\n concurrentSnapshotFetch?: boolean;\n\n // Options overwriting default ops fetching from storage.\n opsBatchSize?: number;\n concurrentOpsBatches?: number;\n\n /**\n * Policy controlling ops caching (leveraging IPersistedCache passed to driver factory)\n */\n opsCaching?: IOpsCachingPolicy;\n\n /**\n * Policy controlling how collaboration session is established\n */\n sessionOptions?: ICollabSessionOptions;\n\n // True to have the sharing link redeem fallback in case the Trees Latest/Redeem 1RT call fails with redeem error.\n // During fallback it will first redeem the sharing link and then make the Trees latest call.\n enableRedeemFallback?: boolean;\n\n /**\n * Policy controlling if we will cache initial summary when we create a document\n */\n cacheCreateNewSummary?: boolean;\n\n /**\n * @deprecated - This will be replaced with feature gate snapshotFormatFetchType.\n * Policy controlling if we want to fetch binary format snapshot.\n */\n fetchBinarySnapshotFormat?: boolean;\n\n /**\n * If set to true, socket cache are per OdspDocumentService instead of shared across all instances\n */\n isolateSocketCache?: boolean;\n\n /**\n * Enable creation of sharing link along with the creation of file by setting this value to true.\n * If the host provides a 'createLinkType' parameter in the request URL to the container.attach()\n * method, we will request for send the request to ODSP with the same (if the flag is enabled) so\n * that a sharing can be created with the creation of file to save number for round trips made to ODSP.\n */\n enableShareLinkWithCreate?: boolean\n}\n"]}
1
+ {"version":3,"file":"factory.js","sourceRoot":"","sources":["../src/factory.ts"],"names":[],"mappings":"AAAA;;;GAGG","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nexport interface ISnapshotOptions {\n blobs?: number;\n deltas?: number;\n channels?: number;\n /*\n * Maximum Data size (in bytes)\n * If specified, SPO will fail snapshot request with 413 error (see OdspErrorType.snapshotTooBig)\n * if snapshot is bigger in size than specified limit.\n */\n mds?: number;\n\n /*\n * Maximum time limit to fetch snapshot (in seconds)\n * If specified, client will timeout the fetch request if it exceeds the time limit and\n * will try to fetch the snapshot without blobs.\n */\n timeout?: number;\n}\n\nexport interface IOpsCachingPolicy {\n /**\n * Batch size. Controls how many ops are grouped together as single cache entry\n * The bigger the number, the more efficient it is (less reads & writes)\n * At the same time, big number means we wait for so many ops to accumulate, which\n * increases chances and number of trailing ops that would not be flushed to cache\n * when user closes tab\n * Use any number below 1 to disable caching\n * Default: 100\n */\n batchSize?: number;\n\n /**\n * To reduce the problem of losing trailing ops when using big batch sizes, host\n * could specify how often driver should flush ops it has not flushed yet.\n * -1 means do not use timer.\n * Measured in ms.\n * Default: 5000\n */\n timerGranularity?: number;\n\n /**\n * Total number of ops to cache. When we reach that number, ops caching stops\n * Default: 5000\n */\n totalOpsToCache?: number;\n}\n\nexport interface ICollabSessionOptions {\n /**\n * Value indicating the display name for session that admits unauthenticated user.\n * This name will be used in attribution associated with edits made by such user.\n */\n unauthenticatedUserDisplayName?: string;\n /**\n * Value indicating session preference to always pass access token via Authorization header.\n * Default behavior is to pass access token via query parameter unless overall href string\n * length exceeds 2048 characters. Using query param is performance optimization which results\n * in ODSP XHR request being treated as 'simple' request which do not require OPTIONS call to\n * validate CORS. However, not all ODSP implementations understand this optimization.\n * For instance, auth layer on Converged stack will fail request with access token passed via\n * query param.\n */\n forceAccessTokenViaAuthorizationHeader?: boolean;\n}\n\nexport interface HostStoragePolicy {\n snapshotOptions?: ISnapshotOptions;\n\n /**\n * If set to true, tells driver to concurrently fetch snapshot from storage (SPO) and cache\n * Container loads from whatever comes first in such case.\n * Snapshot fetched from storage is pushed to cache in either case.\n * If set to false, driver will first consult with cache. Only on cache miss (cache does not\n * return snapshot), driver will fetch snapshot from storage (and push it to cache), otherwise\n * it will load from cache and not reach out to storage.\n * Passing true results in faster loads and keeping cache more current, but it increases bandwidth consumption.\n */\n concurrentSnapshotFetch?: boolean;\n\n // Options overwriting default ops fetching from storage.\n opsBatchSize?: number;\n concurrentOpsBatches?: number;\n\n /**\n * Policy controlling ops caching (leveraging IPersistedCache passed to driver factory)\n */\n opsCaching?: IOpsCachingPolicy;\n\n /**\n * Policy controlling how collaboration session is established\n */\n sessionOptions?: ICollabSessionOptions;\n\n // True to have the sharing link redeem fallback in case the Trees Latest/Redeem 1RT call fails with redeem error.\n // During fallback it will first redeem the sharing link and then make the Trees latest call.\n enableRedeemFallback?: boolean;\n\n /**\n * Policy controlling if we will cache initial summary when we create a document\n */\n cacheCreateNewSummary?: boolean;\n\n /**\n * @deprecated - This will be replaced with feature gate snapshotFormatFetchType.\n * Policy controlling if we want to fetch binary format snapshot.\n */\n fetchBinarySnapshotFormat?: boolean;\n\n /**\n * If set to true, socket cache are per OdspDocumentService instead of shared across all instances\n */\n isolateSocketCache?: boolean;\n\n /**\n * Enable creation of sharing link along with the creation of file by setting this value to true.\n * If the host provides a 'createLinkType' parameter in the request URL to the container.attach()\n * method, we will request for send the request to ODSP with the same (if the flag is enabled) so\n * that a sharing can be created with the creation of file to save number for round trips made to ODSP.\n */\n enableShareLinkWithCreate?: boolean;\n}\n"]}
@@ -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.59.2001";
8
+ export declare const pkgVersion = "0.59.3000-66610";
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,cAAc,CAAC"}
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,oBAAoB,CAAC"}
@@ -5,5 +5,5 @@
5
5
  * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY
6
6
  */
7
7
  export const pkgName = "@fluidframework/odsp-driver-definitions";
8
- export const pkgVersion = "0.59.2001";
8
+ export const pkgVersion = "0.59.3000-66610";
9
9
  //# sourceMappingURL=packageVersion.js.map
@@ -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,WAAW,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.59.2001\";\n"]}
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,iBAAiB,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.59.3000-66610\";\n"]}
@@ -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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A;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 isClpCompliantApp?: boolean;\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 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 isClpCompliantApp?: boolean;\n}\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluidframework/odsp-driver-definitions",
3
- "version": "0.59.2001",
3
+ "version": "0.59.3000-66610",
4
4
  "description": "Socket storage implementation for SPO and ODC",
5
5
  "homepage": "https://fluidframework.com",
6
6
  "repository": {
@@ -40,8 +40,9 @@
40
40
  },
41
41
  "devDependencies": {
42
42
  "@fluidframework/build-common": "^0.23.0",
43
- "@fluidframework/eslint-config-fluid": "^0.28.1000",
44
- "@fluidframework/odsp-driver-definitions-previous": "npm:@fluidframework/odsp-driver-definitions@0.59.1000",
43
+ "@fluidframework/build-tools": "^0.2.66048",
44
+ "@fluidframework/eslint-config-fluid": "^0.28.2000-0",
45
+ "@fluidframework/odsp-driver-definitions-previous": "npm:@fluidframework/odsp-driver-definitions@0.59.2000",
45
46
  "@fluidframework/protocol-definitions": "^0.1028.1000",
46
47
  "@microsoft/api-extractor": "^7.22.2",
47
48
  "@rushstack/eslint-config": "^2.5.1",
@@ -61,11 +62,11 @@
61
62
  "eslint-plugin-tsdoc": "~0.2.14",
62
63
  "eslint-plugin-unicorn": "~40.0.0",
63
64
  "rimraf": "^2.6.2",
64
- "typescript": "~4.1.3",
65
+ "typescript": "~4.5.5",
65
66
  "typescript-formatter": "7.1.0"
66
67
  },
67
68
  "typeValidation": {
68
- "version": "0.59.2000",
69
+ "version": "0.59.3000",
69
70
  "broken": {}
70
71
  }
71
72
  }
package/src/factory.ts CHANGED
@@ -41,7 +41,7 @@ export interface IOpsCachingPolicy {
41
41
  * Measured in ms.
42
42
  * Default: 5000
43
43
  */
44
- timerGranularity?: number,
44
+ timerGranularity?: number;
45
45
 
46
46
  /**
47
47
  * Total number of ops to cache. When we reach that number, ops caching stops
@@ -122,5 +122,5 @@ export interface HostStoragePolicy {
122
122
  * method, we will request for send the request to ODSP with the same (if the flag is enabled) so
123
123
  * that a sharing can be created with the creation of file to save number for round trips made to ODSP.
124
124
  */
125
- enableShareLinkWithCreate?: boolean
125
+ enableShareLinkWithCreate?: boolean;
126
126
  }
@@ -6,4 +6,4 @@
6
6
  */
7
7
 
8
8
  export const pkgName = "@fluidframework/odsp-driver-definitions";
9
- export const pkgVersion = "0.59.2001";
9
+ export const pkgVersion = "0.59.3000-66610";
@@ -39,25 +39,25 @@ export interface ShareLinkInfoType {
39
39
  * At the time of adding this comment (Sept/2021) ODSP only supports creation of CSL links
40
40
  * when provided as a request parameter with the /snapshot api call.
41
41
  */
42
- type?: ShareLinkTypes,
42
+ type?: ShareLinkTypes;
43
43
 
44
44
  /**
45
45
  * Share link created when the file is created for the first time with /snapshot api call.
46
46
  * This link does not require redemption.
47
47
  */
48
- link?: string,
48
+ link?: string;
49
49
 
50
50
  /**
51
51
  * Error message if creation of sharing link fails with /snapshot api call
52
52
  */
53
- error?: any
54
- }
53
+ error?: any;
54
+ };
55
55
 
56
56
  /**
57
57
  * This is used to save the network calls while doing trees/latest call as if the client does not have
58
58
  * permission then this link can be redeemed for the permissions in the same network call.
59
59
  */
60
- sharingLinkToRedeem?: string,
60
+ sharingLinkToRedeem?: string;
61
61
  }
62
62
  export interface IOdspResolvedUrl extends IFluidResolvedUrl, IOdspUrlParts {
63
63
  type: "fluid";
@@ -73,7 +73,7 @@ export interface IOdspResolvedUrl extends IFluidResolvedUrl, IOdspUrlParts {
73
73
  snapshotStorageUrl: string;
74
74
  attachmentPOSTStorageUrl: string;
75
75
  attachmentGETStorageUrl: string;
76
- deltaStorageUrl: string,
76
+ deltaStorageUrl: string;
77
77
  };
78
78
 
79
79
  // Tokens are not obtained by the ODSP driver using the resolve flow, the app must provide them.
@@ -87,8 +87,8 @@ export interface IOdspResolvedUrl extends IFluidResolvedUrl, IOdspUrlParts {
87
87
  codeHint?: {
88
88
  // containerPackageName is used for adding the package name to the request headers.
89
89
  // This may be used for preloading the container package when loading Fluid content.
90
- containerPackageName?: string
91
- }
90
+ containerPackageName?: string;
91
+ };
92
92
 
93
93
  fileVersion: string | undefined;
94
94