@griddo/api-types 1.1.1 → 1.1.2
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/README.md +0 -2
- package/dist/add-ons/index.d.ts +2 -2
- package/dist/common/export.d.ts +4 -4
- package/dist/common/index.d.ts +2 -2
- package/dist/dataPack/config.d.ts +3 -3
- package/dist/dataPack/index.d.ts +1 -1
- package/dist/index.d.ts +9 -8
- package/dist/index.js +1 -0
- package/dist/logs/LogActivityEvents.js +266 -266
- package/dist/logs/activity.d.ts +18 -18
- package/dist/logs/index.d.ts +1 -1
- package/dist/pages/add-ons.d.ts +2 -2
- package/dist/pages/clear_corrupted_pages.d.ts +3 -0
- package/dist/pages/index.d.ts +2 -1
- package/dist/pages/index.js +1 -0
- package/dist/queue/index.d.ts +1 -0
- package/dist/queue/index.js +17 -0
- package/dist/queue/status.d.ts +63 -0
- package/dist/queue/status.js +13 -0
- package/dist/schemas/index.d.ts +2 -2
- package/dist/schemas/schemas.d.ts +2 -2
- package/dist/site/index.d.ts +2 -1
- package/dist/site/index.js +1 -0
- package/dist/site/languages.d.ts +2 -2
- package/dist/site/site.d.ts +48 -0
- package/dist/site/site.js +2 -0
- package/package.json +20 -20
package/README.md
CHANGED
package/dist/add-ons/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export interface ContentPresence {
|
|
2
|
-
presenceType:
|
|
2
|
+
presenceType: "page-specific" | "page-custom" | "page-manual" | "all";
|
|
3
3
|
relatedPages: Array<number> | null;
|
|
4
4
|
}
|
|
5
|
-
export type ContentBodyPosition =
|
|
5
|
+
export type ContentBodyPosition = "start" | "end";
|
package/dist/common/export.d.ts
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
export type ExportFormat =
|
|
1
|
+
export type ExportFormat = "json" | "xml" | "csv" | "xlsx";
|
|
2
2
|
export type ExportedFile = {
|
|
3
|
-
type:
|
|
3
|
+
type: "single";
|
|
4
4
|
content: string;
|
|
5
5
|
contentType: string;
|
|
6
6
|
fileName: string;
|
|
7
7
|
} | {
|
|
8
|
-
type:
|
|
8
|
+
type: "zip";
|
|
9
9
|
buffer: Buffer;
|
|
10
10
|
contentType: string;
|
|
11
11
|
fileName: string;
|
|
12
12
|
};
|
|
13
13
|
export type ExportResponse = {
|
|
14
|
-
type: ExportedFile[
|
|
14
|
+
type: ExportedFile["type"];
|
|
15
15
|
contentType: string;
|
|
16
16
|
fileName: string;
|
|
17
17
|
send: string | Buffer;
|
package/dist/common/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
1
|
+
export * from "./pagination";
|
|
2
|
+
export * from "./export";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { PageIntegration } from
|
|
2
|
-
export type Integration = Pick<PageIntegration,
|
|
1
|
+
import type { PageIntegration } from "src/pages";
|
|
2
|
+
export type Integration = Pick<PageIntegration, "name" | "description" | "site" | "contentHead" | "contentBody" | "contentBodyPosition" | "contentPresence" | "active" | "type">;
|
|
3
3
|
export interface DataPackSiteConfigDataDTO {
|
|
4
4
|
defaultParent?: null | number;
|
|
5
5
|
modifiableOnPage?: boolean;
|
|
@@ -21,7 +21,7 @@ export interface DataPackSiteDTO {
|
|
|
21
21
|
config?: DataPackSiteConfigDataDTO | null;
|
|
22
22
|
deleted: boolean | 1 | 0;
|
|
23
23
|
}
|
|
24
|
-
export type DataPackSiteUpdateParamsDTO = Omit<DataPackSiteDTO,
|
|
24
|
+
export type DataPackSiteUpdateParamsDTO = Omit<DataPackSiteDTO, "deleted" | "id">;
|
|
25
25
|
export interface DataPackConfigConfigParams {
|
|
26
26
|
id: string;
|
|
27
27
|
site: string;
|
package/dist/dataPack/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from
|
|
1
|
+
export * from "./config";
|
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
4
|
-
export * from
|
|
5
|
-
export * from
|
|
6
|
-
export * from
|
|
7
|
-
export * from
|
|
8
|
-
export * from
|
|
1
|
+
export * from "./common";
|
|
2
|
+
export * from "./logs";
|
|
3
|
+
export * from "./schemas";
|
|
4
|
+
export * from "./dataPack";
|
|
5
|
+
export * from "./site";
|
|
6
|
+
export * from "./redirects";
|
|
7
|
+
export * from "./add-ons";
|
|
8
|
+
export * from "./pages";
|
|
9
|
+
export * from "./queue";
|
package/dist/index.js
CHANGED