@interactive-inc/docs-client 1.0.18 → 1.0.19
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/build/index.d.ts +8 -0
- package/build/index.js +15 -3
- package/package.json +1 -1
package/build/index.d.ts
CHANGED
|
@@ -1497,7 +1497,15 @@ declare class DocDirectoryReference<T extends DocCustomSchema> {
|
|
|
1497
1497
|
get fileSystem(): DocFileSystem;
|
|
1498
1498
|
get basePath(): string;
|
|
1499
1499
|
get config(): DocClientConfig;
|
|
1500
|
+
get path(): string;
|
|
1501
|
+
/**
|
|
1502
|
+
* @deprecated
|
|
1503
|
+
*/
|
|
1500
1504
|
get relativePath(): string;
|
|
1505
|
+
get fullPath(): string;
|
|
1506
|
+
/**
|
|
1507
|
+
* @deprecated
|
|
1508
|
+
*/
|
|
1501
1509
|
get absolutePath(): string;
|
|
1502
1510
|
get indexFileName(): string;
|
|
1503
1511
|
get indexFilePath(): string;
|
package/build/index.js
CHANGED
|
@@ -4255,11 +4255,23 @@ var DocDirectoryReference = class _DocDirectoryReference {
|
|
|
4255
4255
|
get config() {
|
|
4256
4256
|
return this.props.config;
|
|
4257
4257
|
}
|
|
4258
|
-
get
|
|
4258
|
+
get path() {
|
|
4259
4259
|
return this.props.path;
|
|
4260
4260
|
}
|
|
4261
|
+
/**
|
|
4262
|
+
* @deprecated
|
|
4263
|
+
*/
|
|
4264
|
+
get relativePath() {
|
|
4265
|
+
return this.path;
|
|
4266
|
+
}
|
|
4267
|
+
get fullPath() {
|
|
4268
|
+
return this.pathSystem.join(this.basePath, this.path);
|
|
4269
|
+
}
|
|
4270
|
+
/**
|
|
4271
|
+
* @deprecated
|
|
4272
|
+
*/
|
|
4261
4273
|
get absolutePath() {
|
|
4262
|
-
return this.
|
|
4274
|
+
return this.fullPath;
|
|
4263
4275
|
}
|
|
4264
4276
|
get indexFileName() {
|
|
4265
4277
|
return this.props.indexFileName;
|
|
@@ -4275,7 +4287,7 @@ var DocDirectoryReference = class _DocDirectoryReference {
|
|
|
4275
4287
|
return this.props.archiveDirectoryName;
|
|
4276
4288
|
}
|
|
4277
4289
|
get name() {
|
|
4278
|
-
return this.pathSystem.basename(this.
|
|
4290
|
+
return this.pathSystem.basename(this.path);
|
|
4279
4291
|
}
|
|
4280
4292
|
async fileNames() {
|
|
4281
4293
|
const filePaths = await this.fileSystem.readDirectoryFilePaths(
|