@taon-dev/seo 21.0.5 → 21.0.7
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/browser/fesm2022/seo-browser.mjs +1 -1
- package/browser/fesm2022/seo-browser.mjs.map +1 -1
- package/browser/package.json +1 -1
- package/browser/types/seo-browser.d.ts +1 -1
- package/browser-prod/fesm2022/seo-browser-prod.mjs +1 -1
- package/browser-prod/fesm2022/seo-browser-prod.mjs.map +1 -1
- package/browser-prod/package.json +1 -1
- package/browser-prod/types/seo-browser-prod.d.ts +1 -1
- package/full-dts/build-info._auto-generated_.d.ts +24 -0
- package/full-dts/env/env.angular-node-app.d.ts +71 -0
- package/full-dts/env/env.docs-webapp.d.ts +71 -0
- package/full-dts/env/env.electron-app.d.ts +71 -0
- package/full-dts/env/env.mobile-app.d.ts +71 -0
- package/full-dts/env/env.npm-lib-and-cli-tool.d.ts +71 -0
- package/full-dts/env/env.vscode-plugin.d.ts +71 -0
- package/full-dts/env/index.d.ts +6 -0
- package/full-dts/i18n/lib.translation.d.ts +4 -0
- package/full-dts/i18n/my-organization-proj.ts.en-US.i18n.data.d.ts +15 -0
- package/full-dts/i18n/my-organization-proj.ts.pl-PL.i18n.data.d.ts +16 -0
- package/full-dts/index._auto-generated_.d.ts +52 -0
- package/full-dts/index.d.ts +13 -0
- package/full-dts/migrations/1791132517216_initial.d.ts +7 -0
- package/full-dts/migrations/1791655200000_seo_configuration.d.ts +6 -0
- package/full-dts/migrations/index.d.ts +5 -0
- package/full-dts/migrations/migrations_index._auto-generated_.d.ts +6 -0
- package/full-dts/my-organization-proj.d.ts +1 -0
- package/full-dts/start-cli.d.ts +7 -0
- package/full-dts/taon-seo-backoffice/index.d.ts +1 -0
- package/full-dts/taon-seo-backoffice/taon-seo-backoffice.component.d.ts +2 -0
- package/full-dts/taon-seo-backoffice/taon-seo-backoffice.models.d.ts +1 -0
- package/full-dts/taon-seo-backoffice/taon-seo-backoffice.routes.d.ts +7 -0
- package/full-dts/taon-seo-image-input/taon-seo-image-input.component.d.ts +8 -0
- package/full-dts/taon-seo-image.api.service.d.ts +6 -0
- package/full-dts/taon-seo-image.controller.d.ts +14 -0
- package/full-dts/taon-seo-page/i18n/taon-seo-page.constants.ts.en-US.i18n.data.d.ts +15 -0
- package/full-dts/taon-seo-page/i18n/taon-seo-page.constants.ts.pl-PL.i18n.data.d.ts +15 -0
- package/full-dts/taon-seo-page/i18n/taon-seo-page.translation.d.ts +4 -0
- package/full-dts/taon-seo-page/index.d.ts +12 -0
- package/full-dts/taon-seo-page/taon-seo-page-backoffice/index.d.ts +1 -0
- package/full-dts/taon-seo-page/taon-seo-page-backoffice/taon-seo-page-backoffice.component.d.ts +17 -0
- package/full-dts/taon-seo-page/taon-seo-page-backoffice/taon-seo-page-backoffice.models.d.ts +1 -0
- package/full-dts/taon-seo-page/taon-seo-page-backoffice/taon-seo-page-backoffice.routes.d.ts +7 -0
- package/full-dts/taon-seo-page/taon-seo-page-edit-dialog/taon-seo-page-edit-dialog.component.d.ts +27 -0
- package/full-dts/taon-seo-page/taon-seo-page.abstract.context.d.ts +16 -0
- package/full-dts/taon-seo-page/taon-seo-page.api.service.d.ts +10 -0
- package/full-dts/taon-seo-page/taon-seo-page.config.service.d.ts +7 -0
- package/full-dts/taon-seo-page/taon-seo-page.constants.d.ts +6 -0
- package/full-dts/taon-seo-page/taon-seo-page.controller.d.ts +13 -0
- package/full-dts/taon-seo-page/taon-seo-page.entity.d.ts +16 -0
- package/full-dts/taon-seo-page/taon-seo-page.kv.repository.d.ts +7 -0
- package/full-dts/taon-seo-page/taon-seo-page.middleware.d.ts +3 -0
- package/full-dts/taon-seo-page/taon-seo-page.models.d.ts +8 -0
- package/full-dts/taon-seo-page/taon-seo-page.provider.d.ts +12 -0
- package/full-dts/taon-seo-page/taon-seo-page.repository.d.ts +9 -0
- package/full-dts/taon-seo-page/taon-seo-page.subscriber.d.ts +6 -0
- package/full-dts/taon-seo-page/taon-seo-page.utils.d.ts +4 -0
- package/full-dts/taon-seo-page/taon-seo-page.validators.d.ts +7 -0
- package/full-dts/taon-seo-settings/i18n/taon-seo-settings.constants.ts.en-US.i18n.data.d.ts +15 -0
- package/full-dts/taon-seo-settings/i18n/taon-seo-settings.constants.ts.pl-PL.i18n.data.d.ts +15 -0
- package/full-dts/taon-seo-settings/i18n/taon-seo-settings.translation.d.ts +4 -0
- package/full-dts/taon-seo-settings/index.d.ts +12 -0
- package/full-dts/taon-seo-settings/taon-seo-settings-backoffice/index.d.ts +1 -0
- package/full-dts/taon-seo-settings/taon-seo-settings-backoffice/taon-seo-settings-backoffice.component.d.ts +23 -0
- package/full-dts/taon-seo-settings/taon-seo-settings-backoffice/taon-seo-settings-backoffice.models.d.ts +1 -0
- package/full-dts/taon-seo-settings/taon-seo-settings-backoffice/taon-seo-settings-backoffice.routes.d.ts +7 -0
- package/full-dts/taon-seo-settings/taon-seo-settings.abstract.context.d.ts +16 -0
- package/full-dts/taon-seo-settings/taon-seo-settings.api.service.d.ts +8 -0
- package/full-dts/taon-seo-settings/taon-seo-settings.config.service.d.ts +7 -0
- package/full-dts/taon-seo-settings/taon-seo-settings.constants.d.ts +6 -0
- package/full-dts/taon-seo-settings/taon-seo-settings.controller.d.ts +11 -0
- package/full-dts/taon-seo-settings/taon-seo-settings.entity.d.ts +14 -0
- package/full-dts/taon-seo-settings/taon-seo-settings.kv.repository.d.ts +7 -0
- package/full-dts/taon-seo-settings/taon-seo-settings.middleware.d.ts +3 -0
- package/full-dts/taon-seo-settings/taon-seo-settings.models.d.ts +8 -0
- package/full-dts/taon-seo-settings/taon-seo-settings.provider.d.ts +12 -0
- package/full-dts/taon-seo-settings/taon-seo-settings.repository.d.ts +8 -0
- package/full-dts/taon-seo-settings/taon-seo-settings.subscriber.d.ts +6 -0
- package/full-dts/taon-seo-settings/taon-seo-settings.utils.d.ts +4 -0
- package/full-dts/taon-seo-settings/taon-seo-settings.validators.d.ts +7 -0
- package/full-dts/taon-seo.abstract.context.d.ts +16 -0
- package/full-dts/taon-seo.provider.d.ts +6 -0
- package/full-dts/taon-seo.service.d.ts +21 -0
- package/full-dts/taon-seo.utils.d.ts +15 -0
- package/full-dts/taon-seo.validation.d.ts +7 -0
- package/i18n/src.translation.d.ts +1 -1
- package/lib/build-info._auto-generated_.d.ts +1 -1
- package/lib/build-info._auto-generated_.js +1 -1
- package/lib/package.json +1 -1
- package/lib/taon-seo-backoffice/index.js +2 -2
- package/lib/taon-seo-page/taon-seo-page-backoffice/index.js +2 -2
- package/lib/taon-seo-page/taon-seo-page.abstract.context.d.ts +7 -7
- package/lib/taon-seo-settings/taon-seo-settings-backoffice/index.js +2 -2
- package/lib/taon-seo-settings/taon-seo-settings.abstract.context.d.ts +7 -7
- package/lib/taon-seo.abstract.context.d.ts +7 -7
- package/lib-esm/lib/build-info._auto-generated_.d.ts +1 -1
- package/lib-esm/lib/build-info._auto-generated_.js +1 -1
- package/lib-esm/lib/taon-seo-backoffice/index.js +1 -1
- package/lib-esm/lib/taon-seo-page/taon-seo-page-backoffice/index.js +1 -1
- package/lib-esm/lib/taon-seo-page/taon-seo-page.abstract.context.d.ts +7 -7
- package/lib-esm/lib/taon-seo-settings/taon-seo-settings-backoffice/index.js +1 -1
- package/lib-esm/lib/taon-seo-settings/taon-seo-settings.abstract.context.d.ts +7 -7
- package/lib-esm/lib/taon-seo.abstract.context.d.ts +7 -7
- package/lib-prod/build-info._auto-generated_.d.ts +1 -1
- package/lib-prod/build-info._auto-generated_.js +1 -1
- package/lib-prod/package.json +1 -1
- package/lib-prod/taon-seo-backoffice/index.d.ts +1 -1
- package/lib-prod/taon-seo-backoffice/index.js +1 -1
- package/lib-prod/taon-seo-image.controller.js.map +1 -1
- package/lib-prod/taon-seo-page/taon-seo-page-backoffice/index.d.ts +1 -1
- package/lib-prod/taon-seo-page/taon-seo-page-backoffice/index.js +1 -1
- package/lib-prod/taon-seo-page/taon-seo-page.controller.js.map +1 -1
- package/lib-prod/taon-seo-settings/taon-seo-settings-backoffice/index.d.ts +1 -1
- package/lib-prod/taon-seo-settings/taon-seo-settings-backoffice/index.js +1 -1
- package/lib-prod/taon-seo-settings/taon-seo-settings.controller.js.map +1 -1
- package/lib-prod/taon-seo.provider.js.map +1 -1
- package/package.json +4 -2
- package/src.d.ts +1 -1
- package/websql/fesm2022/seo-websql.mjs +1 -1
- package/websql/fesm2022/seo-websql.mjs.map +1 -1
- package/websql/package.json +1 -1
- package/websql/types/seo-websql.d.ts +1 -1
- package/websql-prod/fesm2022/seo-websql-prod.mjs +1 -1
- package/websql-prod/fesm2022/seo-websql-prod.mjs.map +1 -1
- package/websql-prod/package.json +1 -1
- package/websql-prod/types/seo-websql-prod.d.ts +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './taon-seo-backoffice.component';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare namespace TaonSeoBackofficeModels { }
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Routes } from '@angular/router';
|
|
2
|
+
export declare const TaonSeoBackofficeRoutes: Routes;
|
|
3
|
+
/**
|
|
4
|
+
* By default exporting TaonSeoBackofficeRoutes,
|
|
5
|
+
* the command `taon generate:app:routes`
|
|
6
|
+
* will automatically add them to the root routes in ./src/app.ts.
|
|
7
|
+
*/
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare class TaonSeoImageInputComponent {
|
|
2
|
+
readonly key: import("@angular/core", { with: { "resolution-mode": "import" } }).ModelSignal<string>;
|
|
3
|
+
readonly disabled: import("@angular/core", { with: { "resolution-mode": "import" } }).ModelSignal<boolean>;
|
|
4
|
+
readonly uploading: import("@angular/core", { with: { "resolution-mode": "import" } }).ModelSignal<boolean>;
|
|
5
|
+
readonly error: import("@angular/core", { with: { "resolution-mode": "import" } }).WritableSignal<string>;
|
|
6
|
+
private readonly api;
|
|
7
|
+
upload(event: Event): Promise<void>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ExpressRequest, ExpressResponse, Models, TaonBaseStorageController, TaonStorageObject, TaonUploadedFile } from 'taon/src';
|
|
2
|
+
export declare class TaonSeoImageController extends TaonBaseStorageController {
|
|
3
|
+
private readonly seo;
|
|
4
|
+
beforeEachRequest(params: Models.TaonCtrlBeforeEachRequestParams): Promise<void>;
|
|
5
|
+
protected handleUploadFiles(files: TaonUploadedFile[], queryParams?: {}, req?: ExpressRequest, res?: ExpressResponse): Promise<TaonStorageObject[]>;
|
|
6
|
+
afterFileUploadHook(): void;
|
|
7
|
+
buildStorageDownloadUrl(options: {
|
|
8
|
+
req: ExpressRequest;
|
|
9
|
+
key: string;
|
|
10
|
+
private: boolean;
|
|
11
|
+
token?: string;
|
|
12
|
+
}): string;
|
|
13
|
+
createStorageDownloadToken(): Promise<string>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export interface EnUsTraslationOverrideSrcLibTaonSeoPageTaonSeoPageConstantsTs {
|
|
2
|
+
"en-US": {
|
|
3
|
+
"": {
|
|
4
|
+
"Invalid Password"?: string;
|
|
5
|
+
};
|
|
6
|
+
};
|
|
7
|
+
}
|
|
8
|
+
declare const _default: {
|
|
9
|
+
fileRelativePath: string;
|
|
10
|
+
tags: {
|
|
11
|
+
gettextString: string;
|
|
12
|
+
lineNumber: number;
|
|
13
|
+
}[];
|
|
14
|
+
};
|
|
15
|
+
export default _default;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export interface PlPlTraslationOverrideSrcLibTaonSeoPageTaonSeoPageConstantsTs {
|
|
2
|
+
"pl-PL": {
|
|
3
|
+
"": {
|
|
4
|
+
"Invalid Password"?: string;
|
|
5
|
+
};
|
|
6
|
+
};
|
|
7
|
+
}
|
|
8
|
+
declare const _default: {
|
|
9
|
+
fileRelativePath: string;
|
|
10
|
+
tags: {
|
|
11
|
+
gettextString: string;
|
|
12
|
+
lineNumber: number;
|
|
13
|
+
}[];
|
|
14
|
+
};
|
|
15
|
+
export default _default;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { CoreModels } from 'tnp-core/src';
|
|
2
|
+
import { EnUsTraslationOverrideSrcLibTaonSeoPageTaonSeoPageConstantsTs } from './taon-seo-page.constants.ts.en-US.i18n.data';
|
|
3
|
+
import { PlPlTraslationOverrideSrcLibTaonSeoPageTaonSeoPageConstantsTs } from './taon-seo-page.constants.ts.pl-PL.i18n.data';
|
|
4
|
+
export type TaonSeoPageOverride = CoreModels.DeepPartial<EnUsTraslationOverrideSrcLibTaonSeoPageTaonSeoPageConstantsTs | PlPlTraslationOverrideSrcLibTaonSeoPageTaonSeoPageConstantsTs>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export * from './taon-seo-page.api.service';
|
|
2
|
+
export * from './taon-seo-page.config.service';
|
|
3
|
+
export * from './taon-seo-page.abstract.context';
|
|
4
|
+
export * from './taon-seo-page.constants';
|
|
5
|
+
export * from './taon-seo-page.controller';
|
|
6
|
+
export * from './taon-seo-page.entity';
|
|
7
|
+
export * from './taon-seo-page.middleware';
|
|
8
|
+
export * from './taon-seo-page.models';
|
|
9
|
+
export * from './taon-seo-page.provider';
|
|
10
|
+
export * from './taon-seo-page.repository';
|
|
11
|
+
export * from './taon-seo-page.subscriber';
|
|
12
|
+
export * from './taon-seo-page.utils';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './taon-seo-page-backoffice.component';
|
package/full-dts/taon-seo-page/taon-seo-page-backoffice/taon-seo-page-backoffice.component.d.ts
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { MtxGridColumn } from '@ng-matero/extensions/grid';
|
|
2
|
+
import { TaonDatatableComponent } from '@taon-dev/ui/src';
|
|
3
|
+
import { TaonSeoPageApiService } from '../taon-seo-page.api.service';
|
|
4
|
+
import type { TaonSeoPageEntity } from '../taon-seo-page.entity';
|
|
5
|
+
export declare class TaonSeoPageBackofficeComponent {
|
|
6
|
+
readonly datatable: TaonDatatableComponent;
|
|
7
|
+
readonly api: TaonSeoPageApiService;
|
|
8
|
+
readonly error: import("@angular/core", { with: { "resolution-mode": "import" } }).WritableSignal<string>;
|
|
9
|
+
readonly deleting: import("@angular/core", { with: { "resolution-mode": "import" } }).WritableSignal<number>;
|
|
10
|
+
private readonly dialog;
|
|
11
|
+
private readonly destroyRef;
|
|
12
|
+
get crud(): import("..").TaonSeoPageController;
|
|
13
|
+
readonly columns: MtxGridColumn[];
|
|
14
|
+
add(): void;
|
|
15
|
+
edit(page?: TaonSeoPageEntity): void;
|
|
16
|
+
delete(page: TaonSeoPageEntity): void;
|
|
17
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare namespace TaonSeoPageBackofficeModels { }
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Routes } from '@angular/router';
|
|
2
|
+
export declare const TaonSeoPageBackofficeRoutes: Routes;
|
|
3
|
+
/**
|
|
4
|
+
* By default exporting TaonSeoPageBackofficeRoutes,
|
|
5
|
+
* the command `taon generate:app:routes`
|
|
6
|
+
* will automatically add them to the root routes in ./src/app.ts.
|
|
7
|
+
*/
|
package/full-dts/taon-seo-page/taon-seo-page-edit-dialog/taon-seo-page-edit-dialog.component.d.ts
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { FormControl, FormGroup } from '@angular/forms';
|
|
2
|
+
import type { TaonSeoPageEntity } from '../taon-seo-page.entity';
|
|
3
|
+
export declare class TaonSeoPageEditDialogComponent {
|
|
4
|
+
readonly data: {
|
|
5
|
+
page?: TaonSeoPageEntity;
|
|
6
|
+
};
|
|
7
|
+
readonly saving: import("@angular/core", { with: { "resolution-mode": "import" } }).WritableSignal<boolean>;
|
|
8
|
+
readonly uploading: import("@angular/core", { with: { "resolution-mode": "import" } }).WritableSignal<boolean>;
|
|
9
|
+
readonly error: import("@angular/core", { with: { "resolution-mode": "import" } }).WritableSignal<string>;
|
|
10
|
+
readonly form: FormGroup<{
|
|
11
|
+
path: FormControl<string>;
|
|
12
|
+
title: FormControl<string>;
|
|
13
|
+
description: FormControl<string>;
|
|
14
|
+
keywords: FormControl<string>;
|
|
15
|
+
canonicalUrl: FormControl<string>;
|
|
16
|
+
ogTitle: FormControl<string>;
|
|
17
|
+
ogDescription: FormControl<string>;
|
|
18
|
+
ogImageKey: FormControl<string>;
|
|
19
|
+
noIndex: FormControl<boolean>;
|
|
20
|
+
noFollow: FormControl<boolean>;
|
|
21
|
+
}>;
|
|
22
|
+
private readonly api;
|
|
23
|
+
private readonly destroyRef;
|
|
24
|
+
private readonly ref;
|
|
25
|
+
close(): void;
|
|
26
|
+
save(): void;
|
|
27
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export declare const TaonSeoPageAbstractContext: {
|
|
2
|
+
readonly contextName: string;
|
|
3
|
+
readonly expressApp: import("express").Application;
|
|
4
|
+
readonly appId: string;
|
|
5
|
+
cloneAsRemote: (cloneOpt?: Pick<import("taon/full-dts").Models.TaonCtxCloneParams, "overrideRemoteHost" | "overrideContextName" | "overrideUseSession">) => any;
|
|
6
|
+
cloneAsNormal: (cloneOpt?: Partial<Pick<import("taon/full-dts").Models.TaonCtxCloneParams, "overrideHost" | "overrideContextName" | "overrideUseSession">>) => any;
|
|
7
|
+
__ref(): Promise<import("taon/full-dts").EndpointContext>;
|
|
8
|
+
readonly __refSync: import("taon/full-dts").EndpointContext;
|
|
9
|
+
getClassInstance<T>(ctor: new (...args: any[]) => T): T;
|
|
10
|
+
getClass<T>(ctor: new (...args: any[]) => T): new (...args: any[]) => T;
|
|
11
|
+
initialize: (overrideOptions?: import("taon/full-dts").Models.TaonInitializeParams) => Promise<import("taon/full-dts").EndpointContext>;
|
|
12
|
+
readonly realtime: {
|
|
13
|
+
readonly client: import("taon/full-dts").RealtimeClient;
|
|
14
|
+
readonly server: import("taon/full-dts").RealtimeServer;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { TaonBaseAngularService } from 'taon/src';
|
|
2
|
+
import { TaonSeoPageController } from './taon-seo-page.controller';
|
|
3
|
+
import type { TaonSeoPageInput } from './taon-seo-page.models';
|
|
4
|
+
export declare class TaonSeoPageApiService extends TaonBaseAngularService {
|
|
5
|
+
readonly taonSeoPageController: TaonSeoPageController;
|
|
6
|
+
findByPath(path: string): import("rxjs").Observable<import("./taon-seo-page.entity").TaonSeoPageEntity>;
|
|
7
|
+
createPage(input: TaonSeoPageInput): import("rxjs").Observable<import("./taon-seo-page.entity").TaonSeoPageEntity>;
|
|
8
|
+
updatePage(id: number, input: TaonSeoPageInput): import("rxjs").Observable<import("./taon-seo-page.entity").TaonSeoPageEntity>;
|
|
9
|
+
deletePage(id: number): import("rxjs").Observable<import("./taon-seo-page.entity").TaonSeoPageEntity>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { TaonBaseAngularService } from 'taon/src';
|
|
2
|
+
import { TaonSeoPageProvider } from './taon-seo-page.provider';
|
|
3
|
+
export declare class TaonSeoPageConfigService extends TaonBaseAngularService {
|
|
4
|
+
private taonSeoPageProvider;
|
|
5
|
+
get isEnableOption(): boolean;
|
|
6
|
+
clone(): Partial<TaonSeoPageProvider>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { TaonSeoPageEntity } from './taon-seo-page.entity';
|
|
2
|
+
export declare const TaonSeoPageDefaultsValues: Partial<TaonSeoPageEntity>;
|
|
3
|
+
export declare enum TaonSeoPageErrors {
|
|
4
|
+
INVALID_PASSWORD_EXAMPLE_ERROR = "INVALID_PASSWORD_EXAMPLE_ERROR"
|
|
5
|
+
}
|
|
6
|
+
export declare const TaonSeoPageTranslationErorsMap: Map<TaonSeoPageErrors, string>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Models, Taon, TaonBaseCrudController } from 'taon/src';
|
|
2
|
+
import { TaonSeoPageEntity } from './taon-seo-page.entity';
|
|
3
|
+
import type { TaonSeoPageInput } from './taon-seo-page.models';
|
|
4
|
+
export declare class TaonSeoPageController extends TaonBaseCrudController<TaonSeoPageEntity> {
|
|
5
|
+
entityClassResolveFn: () => typeof TaonSeoPageEntity;
|
|
6
|
+
private readonly pages;
|
|
7
|
+
private readonly seo;
|
|
8
|
+
beforeEachRequest(params: Models.TaonCtrlBeforeEachRequestParams): Promise<void>;
|
|
9
|
+
findByPath(path: string): Taon.Response<TaonSeoPageEntity | null>;
|
|
10
|
+
createPage(input: TaonSeoPageInput): Taon.Response<TaonSeoPageEntity>;
|
|
11
|
+
updatePage(id: number, input: TaonSeoPageInput): Taon.Response<TaonSeoPageEntity>;
|
|
12
|
+
deletePage(id: number): Taon.Response<TaonSeoPageEntity>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { TaonBaseEntity } from 'taon/src';
|
|
2
|
+
export declare class TaonSeoPageEntity extends TaonBaseEntity<TaonSeoPageEntity> {
|
|
3
|
+
id: number;
|
|
4
|
+
path: string;
|
|
5
|
+
title: string | null;
|
|
6
|
+
description: string | null;
|
|
7
|
+
keywords: string | null;
|
|
8
|
+
canonicalUrl: string | null;
|
|
9
|
+
ogTitle: string | null;
|
|
10
|
+
ogDescription: string | null;
|
|
11
|
+
ogImageKey: string | null;
|
|
12
|
+
noIndex: boolean;
|
|
13
|
+
noFollow: boolean;
|
|
14
|
+
createdAt: Date;
|
|
15
|
+
updatedAt: Date;
|
|
16
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { TaonBaseKvRepository } from 'taon/src';
|
|
2
|
+
import { TaonSeoPageEntity } from './taon-seo-page.entity';
|
|
3
|
+
export declare class TaonSeoPageKvRepository extends TaonBaseKvRepository<{
|
|
4
|
+
usersToNotify: TaonSeoPageEntity[];
|
|
5
|
+
}> {
|
|
6
|
+
notifyUsers(users: TaonSeoPageEntity[]): Promise<void>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { TaonSeoPageEntity } from './taon-seo-page.entity';
|
|
2
|
+
export type TaonSeoPageInput = Pick<TaonSeoPageEntity, 'path' | 'title' | 'description' | 'keywords' | 'canonicalUrl' | 'ogTitle' | 'ogDescription' | 'ogImageKey' | 'noIndex' | 'noFollow'>;
|
|
3
|
+
export declare namespace TaonSeoPageModels {
|
|
4
|
+
enum TaonSeoPageState {
|
|
5
|
+
Active = "active",
|
|
6
|
+
Inactive = "inactive"
|
|
7
|
+
}
|
|
8
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { TaonBaseClass, TaonBaseProvider } from 'taon/src';
|
|
2
|
+
export declare class TaonTaonSeoPageConfig extends TaonBaseClass {
|
|
3
|
+
name: string;
|
|
4
|
+
}
|
|
5
|
+
export declare class TaonSeoPageProvider extends TaonBaseProvider {
|
|
6
|
+
enabledTaonSeoPageOption: boolean;
|
|
7
|
+
config: TaonTaonSeoPageConfig;
|
|
8
|
+
clone(): {
|
|
9
|
+
enabledTaonSeoPageOption: boolean;
|
|
10
|
+
config: any;
|
|
11
|
+
};
|
|
12
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { TaonBaseRepository } from 'taon/src';
|
|
2
|
+
import { TaonSeoPageEntity } from './taon-seo-page.entity';
|
|
3
|
+
import type { TaonSeoPageInput } from './taon-seo-page.models';
|
|
4
|
+
export declare class TaonSeoPageRepository extends TaonBaseRepository<TaonSeoPageEntity> {
|
|
5
|
+
entityClassResolveFn: () => typeof TaonSeoPageEntity;
|
|
6
|
+
findByPath(path: string): Promise<TaonSeoPageEntity | null>;
|
|
7
|
+
savePage(input: TaonSeoPageInput, id?: number): Promise<TaonSeoPageEntity>;
|
|
8
|
+
deletePage(id: number): Promise<TaonSeoPageEntity>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { TaonBaseSubscriberForEntity } from 'taon/src';
|
|
2
|
+
import { TaonSeoPageEntity } from './taon-seo-page.entity';
|
|
3
|
+
export declare class TaonSeoPageSubscriber extends TaonBaseSubscriberForEntity {
|
|
4
|
+
private readonly taonSeoPageProvider;
|
|
5
|
+
listenTo(): typeof TaonSeoPageEntity;
|
|
6
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export interface EnUsTraslationOverrideSrcLibTaonSeoSettingsTaonSeoSettingsConstantsTs {
|
|
2
|
+
"en-US": {
|
|
3
|
+
"": {
|
|
4
|
+
"Invalid Password"?: string;
|
|
5
|
+
};
|
|
6
|
+
};
|
|
7
|
+
}
|
|
8
|
+
declare const _default: {
|
|
9
|
+
fileRelativePath: string;
|
|
10
|
+
tags: {
|
|
11
|
+
gettextString: string;
|
|
12
|
+
lineNumber: number;
|
|
13
|
+
}[];
|
|
14
|
+
};
|
|
15
|
+
export default _default;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export interface PlPlTraslationOverrideSrcLibTaonSeoSettingsTaonSeoSettingsConstantsTs {
|
|
2
|
+
"pl-PL": {
|
|
3
|
+
"": {
|
|
4
|
+
"Invalid Password"?: string;
|
|
5
|
+
};
|
|
6
|
+
};
|
|
7
|
+
}
|
|
8
|
+
declare const _default: {
|
|
9
|
+
fileRelativePath: string;
|
|
10
|
+
tags: {
|
|
11
|
+
gettextString: string;
|
|
12
|
+
lineNumber: number;
|
|
13
|
+
}[];
|
|
14
|
+
};
|
|
15
|
+
export default _default;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { CoreModels } from 'tnp-core/src';
|
|
2
|
+
import { EnUsTraslationOverrideSrcLibTaonSeoSettingsTaonSeoSettingsConstantsTs } from './taon-seo-settings.constants.ts.en-US.i18n.data';
|
|
3
|
+
import { PlPlTraslationOverrideSrcLibTaonSeoSettingsTaonSeoSettingsConstantsTs } from './taon-seo-settings.constants.ts.pl-PL.i18n.data';
|
|
4
|
+
export type TaonSeoSettingsOverride = CoreModels.DeepPartial<EnUsTraslationOverrideSrcLibTaonSeoSettingsTaonSeoSettingsConstantsTs | PlPlTraslationOverrideSrcLibTaonSeoSettingsTaonSeoSettingsConstantsTs>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export * from './taon-seo-settings.api.service';
|
|
2
|
+
export * from './taon-seo-settings.config.service';
|
|
3
|
+
export * from './taon-seo-settings.abstract.context';
|
|
4
|
+
export * from './taon-seo-settings.constants';
|
|
5
|
+
export * from './taon-seo-settings.controller';
|
|
6
|
+
export * from './taon-seo-settings.entity';
|
|
7
|
+
export * from './taon-seo-settings.middleware';
|
|
8
|
+
export * from './taon-seo-settings.models';
|
|
9
|
+
export * from './taon-seo-settings.provider';
|
|
10
|
+
export * from './taon-seo-settings.repository';
|
|
11
|
+
export * from './taon-seo-settings.subscriber';
|
|
12
|
+
export * from './taon-seo-settings.utils';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './taon-seo-settings-backoffice.component';
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { FormControl, FormGroup } from '@angular/forms';
|
|
2
|
+
export declare class TaonSeoSettingsBackofficeComponent {
|
|
3
|
+
readonly form: FormGroup<{
|
|
4
|
+
siteName: FormControl<string>;
|
|
5
|
+
defaultTitle: FormControl<string>;
|
|
6
|
+
defaultDescription: FormControl<string>;
|
|
7
|
+
defaultKeywords: FormControl<string>;
|
|
8
|
+
defaultImageKey: FormControl<string>;
|
|
9
|
+
canonicalBaseUrl: FormControl<string>;
|
|
10
|
+
robotsIndex: FormControl<boolean>;
|
|
11
|
+
robotsFollow: FormControl<boolean>;
|
|
12
|
+
}>;
|
|
13
|
+
readonly loading: import("@angular/core", { with: { "resolution-mode": "import" } }).WritableSignal<boolean>;
|
|
14
|
+
readonly saving: import("@angular/core", { with: { "resolution-mode": "import" } }).WritableSignal<boolean>;
|
|
15
|
+
readonly uploading: import("@angular/core", { with: { "resolution-mode": "import" } }).WritableSignal<boolean>;
|
|
16
|
+
readonly error: import("@angular/core", { with: { "resolution-mode": "import" } }).WritableSignal<string>;
|
|
17
|
+
readonly saved: import("@angular/core", { with: { "resolution-mode": "import" } }).WritableSignal<boolean>;
|
|
18
|
+
private readonly api;
|
|
19
|
+
private readonly destroyRef;
|
|
20
|
+
ngOnInit(): void;
|
|
21
|
+
load(): void;
|
|
22
|
+
save(): void;
|
|
23
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare namespace TaonSeoSettingsBackofficeModels { }
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Routes } from '@angular/router';
|
|
2
|
+
export declare const TaonSeoSettingsBackofficeRoutes: Routes;
|
|
3
|
+
/**
|
|
4
|
+
* By default exporting TaonSeoSettingsBackofficeRoutes,
|
|
5
|
+
* the command `taon generate:app:routes`
|
|
6
|
+
* will automatically add them to the root routes in ./src/app.ts.
|
|
7
|
+
*/
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export declare const TaonSeoSettingsAbstractContext: {
|
|
2
|
+
readonly contextName: string;
|
|
3
|
+
readonly expressApp: import("express").Application;
|
|
4
|
+
readonly appId: string;
|
|
5
|
+
cloneAsRemote: (cloneOpt?: Pick<import("taon/full-dts").Models.TaonCtxCloneParams, "overrideRemoteHost" | "overrideContextName" | "overrideUseSession">) => any;
|
|
6
|
+
cloneAsNormal: (cloneOpt?: Partial<Pick<import("taon/full-dts").Models.TaonCtxCloneParams, "overrideHost" | "overrideContextName" | "overrideUseSession">>) => any;
|
|
7
|
+
__ref(): Promise<import("taon/full-dts").EndpointContext>;
|
|
8
|
+
readonly __refSync: import("taon/full-dts").EndpointContext;
|
|
9
|
+
getClassInstance<T>(ctor: new (...args: any[]) => T): T;
|
|
10
|
+
getClass<T>(ctor: new (...args: any[]) => T): new (...args: any[]) => T;
|
|
11
|
+
initialize: (overrideOptions?: import("taon/full-dts").Models.TaonInitializeParams) => Promise<import("taon/full-dts").EndpointContext>;
|
|
12
|
+
readonly realtime: {
|
|
13
|
+
readonly client: import("taon/full-dts").RealtimeClient;
|
|
14
|
+
readonly server: import("taon/full-dts").RealtimeServer;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { TaonBaseAngularService } from 'taon/src';
|
|
2
|
+
import { TaonSeoSettingsController } from './taon-seo-settings.controller';
|
|
3
|
+
import type { TaonSeoSettingsInput } from './taon-seo-settings.models';
|
|
4
|
+
export declare class TaonSeoSettingsApiService extends TaonBaseAngularService {
|
|
5
|
+
readonly taonSeoSettingsController: TaonSeoSettingsController;
|
|
6
|
+
getGlobal(): import("rxjs").Observable<import("./taon-seo-settings.entity").TaonSeoSettingsEntity>;
|
|
7
|
+
saveGlobal(input: TaonSeoSettingsInput): import("rxjs").Observable<import("./taon-seo-settings.entity").TaonSeoSettingsEntity>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { TaonBaseAngularService } from 'taon/src';
|
|
2
|
+
import { TaonSeoSettingsProvider } from './taon-seo-settings.provider';
|
|
3
|
+
export declare class TaonSeoSettingsConfigService extends TaonBaseAngularService {
|
|
4
|
+
private taonSeoSettingsProvider;
|
|
5
|
+
get isEnableOption(): boolean;
|
|
6
|
+
clone(): Partial<TaonSeoSettingsProvider>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { TaonSeoSettingsEntity } from './taon-seo-settings.entity';
|
|
2
|
+
export declare const TaonSeoSettingsDefaultsValues: Partial<TaonSeoSettingsEntity>;
|
|
3
|
+
export declare enum TaonSeoSettingsErrors {
|
|
4
|
+
INVALID_PASSWORD_EXAMPLE_ERROR = "INVALID_PASSWORD_EXAMPLE_ERROR"
|
|
5
|
+
}
|
|
6
|
+
export declare const TaonSeoSettingsTranslationErorsMap: Map<TaonSeoSettingsErrors, string>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Models, Taon, TaonBaseCrudController } from 'taon/src';
|
|
2
|
+
import { TaonSeoSettingsEntity } from './taon-seo-settings.entity';
|
|
3
|
+
import type { TaonSeoSettingsInput } from './taon-seo-settings.models';
|
|
4
|
+
export declare class TaonSeoSettingsController extends TaonBaseCrudController<TaonSeoSettingsEntity> {
|
|
5
|
+
entityClassResolveFn: () => typeof TaonSeoSettingsEntity;
|
|
6
|
+
private readonly settings;
|
|
7
|
+
private readonly seo;
|
|
8
|
+
beforeEachRequest(params: Models.TaonCtrlBeforeEachRequestParams): Promise<void>;
|
|
9
|
+
getGlobal(): Taon.Response<TaonSeoSettingsEntity>;
|
|
10
|
+
saveGlobal(input: TaonSeoSettingsInput): Taon.Response<TaonSeoSettingsEntity>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { TaonBaseEntity } from 'taon/src';
|
|
2
|
+
export declare class TaonSeoSettingsEntity extends TaonBaseEntity<TaonSeoSettingsEntity> {
|
|
3
|
+
id: number;
|
|
4
|
+
siteName: string;
|
|
5
|
+
defaultTitle: string;
|
|
6
|
+
defaultDescription: string;
|
|
7
|
+
defaultKeywords: string | null;
|
|
8
|
+
defaultImageKey: string | null;
|
|
9
|
+
canonicalBaseUrl: string | null;
|
|
10
|
+
robotsIndex: boolean;
|
|
11
|
+
robotsFollow: boolean;
|
|
12
|
+
createdAt: Date;
|
|
13
|
+
updatedAt: Date;
|
|
14
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { TaonBaseKvRepository } from 'taon/src';
|
|
2
|
+
import { TaonSeoSettingsEntity } from './taon-seo-settings.entity';
|
|
3
|
+
export declare class TaonSeoSettingsKvRepository extends TaonBaseKvRepository<{
|
|
4
|
+
usersToNotify: TaonSeoSettingsEntity[];
|
|
5
|
+
}> {
|
|
6
|
+
notifyUsers(users: TaonSeoSettingsEntity[]): Promise<void>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { TaonSeoSettingsEntity } from './taon-seo-settings.entity';
|
|
2
|
+
export type TaonSeoSettingsInput = Pick<TaonSeoSettingsEntity, 'siteName' | 'defaultTitle' | 'defaultDescription' | 'defaultKeywords' | 'defaultImageKey' | 'canonicalBaseUrl' | 'robotsIndex' | 'robotsFollow'>;
|
|
3
|
+
export declare namespace TaonSeoSettingsModels {
|
|
4
|
+
enum TaonSeoSettingsState {
|
|
5
|
+
Active = "active",
|
|
6
|
+
Inactive = "inactive"
|
|
7
|
+
}
|
|
8
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { TaonBaseClass, TaonBaseProvider } from 'taon/src';
|
|
2
|
+
export declare class TaonTaonSeoSettingsConfig extends TaonBaseClass {
|
|
3
|
+
name: string;
|
|
4
|
+
}
|
|
5
|
+
export declare class TaonSeoSettingsProvider extends TaonBaseProvider {
|
|
6
|
+
enabledTaonSeoSettingsOption: boolean;
|
|
7
|
+
config: TaonTaonSeoSettingsConfig;
|
|
8
|
+
clone(): {
|
|
9
|
+
enabledTaonSeoSettingsOption: boolean;
|
|
10
|
+
config: any;
|
|
11
|
+
};
|
|
12
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { TaonBaseRepository } from 'taon/src';
|
|
2
|
+
import { TaonSeoSettingsEntity } from './taon-seo-settings.entity';
|
|
3
|
+
import type { TaonSeoSettingsInput } from './taon-seo-settings.models';
|
|
4
|
+
export declare class TaonSeoSettingsRepository extends TaonBaseRepository<TaonSeoSettingsEntity> {
|
|
5
|
+
entityClassResolveFn: () => typeof TaonSeoSettingsEntity;
|
|
6
|
+
getGlobal(): Promise<TaonSeoSettingsEntity>;
|
|
7
|
+
saveGlobal(input: TaonSeoSettingsInput): Promise<TaonSeoSettingsEntity>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { TaonBaseSubscriberForEntity } from 'taon/src';
|
|
2
|
+
import { TaonSeoSettingsEntity } from './taon-seo-settings.entity';
|
|
3
|
+
export declare class TaonSeoSettingsSubscriber extends TaonBaseSubscriberForEntity {
|
|
4
|
+
private readonly taonSeoSettingsProvider;
|
|
5
|
+
listenTo(): typeof TaonSeoSettingsEntity;
|
|
6
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export declare const TaonSeoAbstractContext: {
|
|
2
|
+
readonly contextName: string;
|
|
3
|
+
readonly expressApp: import("express").Application;
|
|
4
|
+
readonly appId: string;
|
|
5
|
+
cloneAsRemote: (cloneOpt?: Pick<import("taon/full-dts").Models.TaonCtxCloneParams, "overrideRemoteHost" | "overrideContextName" | "overrideUseSession">) => any;
|
|
6
|
+
cloneAsNormal: (cloneOpt?: Partial<Pick<import("taon/full-dts").Models.TaonCtxCloneParams, "overrideHost" | "overrideContextName" | "overrideUseSession">>) => any;
|
|
7
|
+
__ref(): Promise<import("taon/full-dts").EndpointContext>;
|
|
8
|
+
readonly __refSync: import("taon/full-dts").EndpointContext;
|
|
9
|
+
getClassInstance<T>(ctor: new (...args: any[]) => T): T;
|
|
10
|
+
getClass<T>(ctor: new (...args: any[]) => T): new (...args: any[]) => T;
|
|
11
|
+
initialize: (overrideOptions?: import("taon/full-dts").Models.TaonInitializeParams) => Promise<import("taon/full-dts").EndpointContext>;
|
|
12
|
+
readonly realtime: {
|
|
13
|
+
readonly client: import("taon/full-dts").RealtimeClient;
|
|
14
|
+
readonly server: import("taon/full-dts").RealtimeServer;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Models, TaonBaseProvider } from 'taon/src';
|
|
2
|
+
export declare class TaonSeoProvider extends TaonBaseProvider {
|
|
3
|
+
private readonly sessions;
|
|
4
|
+
private readonly authorization;
|
|
5
|
+
requireAdministrator({ req, res, }: Models.TaonCtrlBeforeEachRequestParams): Promise<void>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Provider } from '@angular/core';
|
|
2
|
+
export declare class TaonSeoService {
|
|
3
|
+
readonly error: import("@angular/core", { with: { "resolution-mode": "import" } }).WritableSignal<string>;
|
|
4
|
+
private readonly router;
|
|
5
|
+
private readonly settings;
|
|
6
|
+
private readonly pages;
|
|
7
|
+
private readonly images;
|
|
8
|
+
private readonly meta;
|
|
9
|
+
private readonly title;
|
|
10
|
+
private readonly document;
|
|
11
|
+
private readonly destroyRef;
|
|
12
|
+
private readonly originalTitle;
|
|
13
|
+
private started;
|
|
14
|
+
start(): void;
|
|
15
|
+
private currentPath;
|
|
16
|
+
private apply;
|
|
17
|
+
private setMeta;
|
|
18
|
+
private setCanonical;
|
|
19
|
+
private clear;
|
|
20
|
+
}
|
|
21
|
+
export declare function provideTaonSeo(): Provider[];
|