@dosgato/templating 0.0.34 → 0.0.35
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.
- package/dist/apitemplate.d.ts +3 -4
- package/package.json +1 -1
package/dist/apitemplate.d.ts
CHANGED
|
@@ -181,9 +181,9 @@ export interface Migration<DataType, ExtraType> {
|
|
|
181
181
|
up: (data: DataType, extras: ExtraType) => DataType | Promise<DataType>;
|
|
182
182
|
down: (data: DataType, extras: ExtraType) => DataType | Promise<DataType>;
|
|
183
183
|
}
|
|
184
|
-
declare type ComponentMigration = Migration<ComponentData, ComponentExtras>;
|
|
185
|
-
declare type PageMigration = Migration<PageData, PageExtras>;
|
|
186
|
-
declare type DataMigration = Migration<DataData, DataExtras>;
|
|
184
|
+
export declare type ComponentMigration = Migration<ComponentData, ComponentExtras>;
|
|
185
|
+
export declare type PageMigration = Migration<PageData, PageExtras>;
|
|
186
|
+
export declare type DataMigration = Migration<DataData, DataExtras>;
|
|
187
187
|
export declare type AnyMigration = ComponentMigration | PageMigration | DataMigration;
|
|
188
188
|
export declare type LinkGatheringFn = (data: any) => LinkDefinition[];
|
|
189
189
|
export declare type FulltextGatheringFn = (data: any) => string[];
|
|
@@ -200,4 +200,3 @@ export declare function extractLinksFromText(text: string): LinkDefinition[];
|
|
|
200
200
|
export declare function getKeywords(text: string, options?: {
|
|
201
201
|
stopwords?: boolean;
|
|
202
202
|
}): string[];
|
|
203
|
-
export {};
|