@@ -12,6 +12,7 @@ import TenantsGetter from './tenantsGetter';
1212import TenantsUpdater from './tenantsUpdater' ;
1313import TenantsDeleter from './tenantsDeleter' ;
1414import Connection from '../connection' ;
15+ import deleteAll from './deleteAll' ;
1516import { Tenant } from '../openapi/types' ;
1617
1718export interface Schema {
@@ -21,6 +22,7 @@ export interface Schema {
2122 exists : ( className : string ) => Promise < boolean > ;
2223 getter : ( ) => SchemaGetter ;
2324 propertyCreator : ( ) => PropertyCreator ;
25+ deleteAll : ( ) => Promise < void > ;
2426 shardsGetter : ( ) => ShardsGetter ;
2527 shardUpdater : ( ) => ShardUpdater ;
2628 shardsUpdater : ( ) => ShardsUpdater ;
@@ -38,6 +40,7 @@ const schema = (client: Connection): Schema => {
3840 exists : ( className : string ) => new ClassExists ( client ) . withClassName ( className ) . do ( ) ,
3941 getter : ( ) => new SchemaGetter ( client ) ,
4042 propertyCreator : ( ) => new PropertyCreator ( client ) ,
43+ deleteAll : ( ) => deleteAll ( client ) ,
4144 shardsGetter : ( ) => new ShardsGetter ( client ) ,
4245 shardUpdater : ( ) => new ShardUpdater ( client ) ,
4346 shardsUpdater : ( ) => new ShardsUpdater ( client ) ,
0 commit comments