mirror of
https://github.com/balzack/databag.git
synced 2025-04-24 02:25:26 +00:00
restoring index file
This commit is contained in:
parent
41e606e298
commit
1ffa7043cf
@ -1,5 +1,5 @@
|
||||
import { SqlStore } from './databagSdk';
|
||||
import { WebStore } from './databagSdk';
|
||||
import { SqlStore } from './index';
|
||||
import { WebStore } from './index';
|
||||
|
||||
export class AccountSession {
|
||||
|
||||
|
@ -34,6 +34,10 @@ export class DatabagSDK {
|
||||
return new AccountSession(this.sqlStore, this.webStore);
|
||||
}
|
||||
|
||||
public async accountLogin(): Promise<AccountSession> {
|
||||
return new AccountSession(this.sqlStore, this.webStore);
|
||||
}
|
||||
|
||||
public async accountAccess(): Promise<AccountSession> {
|
||||
return new AccountSession(this.sqlStore, this.webStore);
|
||||
}
|
@ -1,7 +1,7 @@
|
||||
import { defineConfig } from "tsup";
|
||||
|
||||
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
|
||||
dts: true, // Generate declaration file (.d.ts)
|
||||
splitting: false,
|
||||
|
Loading…
x
Reference in New Issue
Block a user