@xata.io/client 0.0.0-beta.1ffb770 → 0.0.0-beta.2b5cc25
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/api/client.js +1 -1
- package/dist/schema/index.d.ts +1 -1
- package/package.json +2 -2
package/dist/api/client.js
CHANGED
@@ -141,7 +141,7 @@ class BranchApi {
|
|
141
141
|
getBranchDetails(workspace, database, branch) {
|
142
142
|
return components_1.operationsByTag.branch.getBranchDetails(Object.assign({ pathParams: { workspace, dbBranchName: `${database}:${branch}` } }, this.extraProps));
|
143
143
|
}
|
144
|
-
createBranch(workspace, database, branch, from, options = {}) {
|
144
|
+
createBranch(workspace, database, branch, from = '', options = {}) {
|
145
145
|
return components_1.operationsByTag.branch.createBranch(Object.assign({ pathParams: { workspace, dbBranchName: `${database}:${branch}` }, queryParams: { from }, body: options }, this.extraProps));
|
146
146
|
}
|
147
147
|
deleteBranch(workspace, database, branch) {
|
package/dist/schema/index.d.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
export * from './operators';
|
2
2
|
export * from './pagination';
|
3
3
|
export { Query } from './query';
|
4
|
-
export type { XataRecord } from './record';
|
4
|
+
export type { Identifiable, XataRecord } from './record';
|
5
5
|
export { BaseClient, Repository, RestRepository, RestRespositoryFactory } from './repository';
|
6
6
|
export type { XataClientOptions } from './repository';
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@xata.io/client",
|
3
|
-
"version": "0.0.0-beta.
|
3
|
+
"version": "0.0.0-beta.2b5cc25",
|
4
4
|
"description": "Xata.io SDK for TypeScript and JavaScript",
|
5
5
|
"main": "./dist/index.js",
|
6
6
|
"types": "./dist/index.d.ts",
|
@@ -20,5 +20,5 @@
|
|
20
20
|
"url": "https://github.com/xataio/client-ts/issues"
|
21
21
|
},
|
22
22
|
"homepage": "https://github.com/xataio/client-ts/blob/main/client/README.md",
|
23
|
-
"gitHead": "
|
23
|
+
"gitHead": "2b5cc25e3f068c7789a2f5f026562f7b302435ce"
|
24
24
|
}
|