MCPcopy Create free account
hub / github.com/apitable/apitable / new

Method new

packages/core/src/tablebundle/table_bundle.ts:16–22  ·  view source on GitHub ↗
(options: ITableBundleInitOptions)

Source from the content-addressed store, hash-verified

14 }
15
16 public static new(options: ITableBundleInitOptions): TableBundle {
17 const { loader, saver } = options;
18 const tableBundle = new TableBundle();
19 tableBundle.setTableBundleSaver(saver);
20 tableBundle.setTableBundleLoader(loader);
21 return tableBundle;
22 }
23
24 setTableBundleSaver(provider: ITableBundleSaver): void {
25 this._saver = provider;

Callers 1

Calls 2

setTableBundleSaverMethod · 0.95
setTableBundleLoaderMethod · 0.95

Tested by

no test coverage detected