mirror of
https://github.com/balzack/databag.git
synced 2025-05-05 07:55:15 +00:00
restoring index file
This commit is contained in:
parent
41e606e298
commit
1ffa7043cf
@ -1,5 +1,5 @@
|
|||||||
import { SqlStore } from './databagSdk';
|
import { SqlStore } from './index';
|
||||||
import { WebStore } from './databagSdk';
|
import { WebStore } from './index';
|
||||||
|
|
||||||
export class AccountSession {
|
export class AccountSession {
|
||||||
|
|
||||||
|
@ -34,6 +34,10 @@ export class DatabagSDK {
|
|||||||
return new AccountSession(this.sqlStore, this.webStore);
|
return new AccountSession(this.sqlStore, this.webStore);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public async accountLogin(): Promise<AccountSession> {
|
||||||
|
return new AccountSession(this.sqlStore, this.webStore);
|
||||||
|
}
|
||||||
|
|
||||||
public async accountAccess(): Promise<AccountSession> {
|
public async accountAccess(): Promise<AccountSession> {
|
||||||
return new AccountSession(this.sqlStore, this.webStore);
|
return new AccountSession(this.sqlStore, this.webStore);
|
||||||
}
|
}
|
@ -1,7 +1,7 @@
|
|||||||
import { defineConfig } from "tsup";
|
import { defineConfig } from "tsup";
|
||||||
|
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
entry: ["src/databagSdk.ts", "src/AccountSession.ts", "src/AdminSession.ts"],
|
entry: ["src/index.ts", "src/AccountSession.ts", "src/AdminSession.ts"],
|
||||||
format: ["cjs", "esm"], // Build for commonJS and ESmodules
|
format: ["cjs", "esm"], // Build for commonJS and ESmodules
|
||||||
dts: true, // Generate declaration file (.d.ts)
|
dts: true, // Generate declaration file (.d.ts)
|
||||||
splitting: false,
|
splitting: false,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user