@nomalism-com/types 0.29.5 → 0.29.6
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.
|
@@ -298,6 +298,10 @@ export declare const IWarningEnum: {
|
|
|
298
298
|
};
|
|
299
299
|
export type IWarningType = (typeof IWarningEnum)[keyof typeof IWarningEnum];
|
|
300
300
|
export declare const IWarningType: string[];
|
|
301
|
+
export interface IFindStartDocumentHeaderSiblingsResponse {
|
|
302
|
+
next: string | null;
|
|
303
|
+
previous: string | null;
|
|
304
|
+
}
|
|
301
305
|
export interface IRepository {
|
|
302
306
|
findOne(selector: IShared.IFindByIdRequest): Promise<IFindOneResponse | null>;
|
|
303
307
|
findStart(selector: IShared.IFindByIdRequest): Promise<IFindOneBase | null>;
|
|
@@ -322,6 +326,7 @@ export interface IRepository {
|
|
|
322
326
|
documentList(selector: IShared.IFindByIdRequest, params: IDocumentListRequest): Promise<IDocumentListResponse[]>;
|
|
323
327
|
getAllRelatedDocumentHeaderIds(params: IShared.IFindByIdRequest): Promise<string[]>;
|
|
324
328
|
findSideMenuStoreOperators(): Promise<string[]>;
|
|
329
|
+
findStartDocumentHeaderSiblings(params: IShared.IFindByIdRequest): Promise<IFindStartDocumentHeaderSiblingsResponse>;
|
|
325
330
|
}
|
|
326
331
|
export interface IApi extends Omit<IRepository, "createFromHeader"> {
|
|
327
332
|
createFromHeader(data: ICreateFromHeaderRequest): Promise<IShared.ITaskCluster[]>;
|