@taon-dev/seo 21.0.5 → 21.0.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.
- 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.models.d.ts +1 -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.models.d.ts +1 -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.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.models.d.ts +1 -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.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.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/index._auto-generated_.d.ts +0 -14
- package/lib/index.d.ts +1 -3
- package/lib/package.json +1 -1
- package/lib/taon-seo-backoffice/index.d.ts +1 -1
- package/lib/taon-seo-backoffice/index.js +2 -2
- package/lib/taon-seo-page/index.d.ts +1 -3
- package/lib/taon-seo-page/taon-seo-page-backoffice/index.d.ts +1 -1
- 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 +3 -3
- package/lib/taon-seo-page/taon-seo-page.validators.d.ts +1 -6
- package/lib/taon-seo-settings/index.d.ts +1 -3
- package/lib/taon-seo-settings/taon-seo-settings-backoffice/index.d.ts +1 -1
- 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 +3 -3
- package/lib/taon-seo-settings/taon-seo-settings.validators.d.ts +1 -6
- package/lib/taon-seo.abstract.context.d.ts +3 -3
- 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/index._auto-generated_.d.ts +0 -14
- package/lib-esm/lib/index.d.ts +1 -3
- package/lib-esm/lib/taon-seo-backoffice/index.d.ts +1 -1
- package/lib-esm/lib/taon-seo-backoffice/index.js +1 -1
- package/lib-esm/lib/taon-seo-page/index.d.ts +1 -3
- package/lib-esm/lib/taon-seo-page/taon-seo-page-backoffice/index.d.ts +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 +3 -3
- package/lib-esm/lib/taon-seo-page/taon-seo-page.validators.d.ts +1 -6
- package/lib-esm/lib/taon-seo-settings/index.d.ts +1 -3
- package/lib-esm/lib/taon-seo-settings/taon-seo-settings-backoffice/index.d.ts +1 -1
- 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 +3 -3
- package/lib-esm/lib/taon-seo-settings/taon-seo-settings.validators.d.ts +1 -6
- package/lib-esm/lib/taon-seo.abstract.context.d.ts +3 -3
- 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,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';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare namespace TaonSeoPageBackofficeModels { }
|
|
@@ -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/src").Models.TaonCtxCloneParams, "overrideRemoteHost" | "overrideContextName" | "overrideUseSession">) => /*elided*/ any;
|
|
6
|
+
cloneAsNormal: (cloneOpt?: Partial<Pick<import("taon/src").Models.TaonCtxCloneParams, "overrideHost" | "overrideContextName" | "overrideUseSession">>) => /*elided*/ any;
|
|
7
|
+
__ref(): Promise<import("taon/src").EndpointContext>;
|
|
8
|
+
readonly __refSync: import("taon/src").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/src").Models.TaonInitializeParams) => Promise<import("taon/src").EndpointContext>;
|
|
12
|
+
readonly realtime: {
|
|
13
|
+
readonly client: import("taon/src").RealtimeClient;
|
|
14
|
+
readonly server: import("taon/src").RealtimeServer;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
@@ -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 @@
|
|
|
1
|
+
export declare namespace TaonSeoSettingsBackofficeModels { }
|
|
@@ -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/src").Models.TaonCtxCloneParams, "overrideRemoteHost" | "overrideContextName" | "overrideUseSession">) => /*elided*/ any;
|
|
6
|
+
cloneAsNormal: (cloneOpt?: Partial<Pick<import("taon/src").Models.TaonCtxCloneParams, "overrideHost" | "overrideContextName" | "overrideUseSession">>) => /*elided*/ any;
|
|
7
|
+
__ref(): Promise<import("taon/src").EndpointContext>;
|
|
8
|
+
readonly __refSync: import("taon/src").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/src").Models.TaonInitializeParams) => Promise<import("taon/src").EndpointContext>;
|
|
12
|
+
readonly realtime: {
|
|
13
|
+
readonly client: import("taon/src").RealtimeClient;
|
|
14
|
+
readonly server: import("taon/src").RealtimeServer;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
@@ -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/src").Models.TaonCtxCloneParams, "overrideRemoteHost" | "overrideContextName" | "overrideUseSession">) => /*elided*/ any;
|
|
6
|
+
cloneAsNormal: (cloneOpt?: Partial<Pick<import("taon/src").Models.TaonCtxCloneParams, "overrideHost" | "overrideContextName" | "overrideUseSession">>) => /*elided*/ any;
|
|
7
|
+
__ref(): Promise<import("taon/src").EndpointContext>;
|
|
8
|
+
readonly __refSync: import("taon/src").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/src").Models.TaonInitializeParams) => Promise<import("taon/src").EndpointContext>;
|
|
12
|
+
readonly realtime: {
|
|
13
|
+
readonly client: import("taon/src").RealtimeClient;
|
|
14
|
+
readonly server: import("taon/src").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,15 @@
|
|
|
1
|
+
import type { TaonSeoPageInput } from './taon-seo-page/taon-seo-page.models';
|
|
2
|
+
import type { TaonSeoSettingsInput } from './taon-seo-settings/taon-seo-settings.models';
|
|
3
|
+
export declare function normalizeSeoPath(path: string): string;
|
|
4
|
+
export declare function seoText(value: string | null | undefined): string | null;
|
|
5
|
+
export declare function resolveSeoMetadata(settings: TaonSeoSettingsInput, path: string, page: TaonSeoPageInput | null): {
|
|
6
|
+
title: string;
|
|
7
|
+
description: string;
|
|
8
|
+
keywords: string;
|
|
9
|
+
canonicalUrl: string;
|
|
10
|
+
robots: string;
|
|
11
|
+
ogTitle: string;
|
|
12
|
+
ogDescription: string;
|
|
13
|
+
ogImageKey: string;
|
|
14
|
+
siteName: string;
|
|
15
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { TaonSeoPageInput } from './taon-seo-page/taon-seo-page.models';
|
|
2
|
+
import type { TaonSeoSettingsInput } from './taon-seo-settings/taon-seo-settings.models';
|
|
3
|
+
export declare function seoError(message: string, status?: number): never;
|
|
4
|
+
export declare function requireSeoId(id: number): void;
|
|
5
|
+
export declare function validateSeoPath(path: string): string;
|
|
6
|
+
export declare function validateSeoSettings(input: TaonSeoSettingsInput): TaonSeoSettingsInput;
|
|
7
|
+
export declare function validateSeoPage(input: TaonSeoPageInput): TaonSeoPageInput;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CoreModels } from 'tnp-core/
|
|
1
|
+
import { CoreModels } from 'tnp-core/src';
|
|
2
2
|
import { EnUsTraslationOverrideSrcAppTs } from './app.ts.en-US.i18n.data';
|
|
3
3
|
import { PlPlTraslationOverrideSrcAppTs } from './app.ts.pl-PL.i18n.data';
|
|
4
4
|
export type SrcOverride = CoreModels.DeepPartial<EnUsTraslationOverrideSrcAppTs | PlPlTraslationOverrideSrcAppTs>;
|
|
@@ -25,6 +25,6 @@ exports.CURRENT_PACKAGE_TAON_VERSION = 'v21';
|
|
|
25
25
|
/**
|
|
26
26
|
* Autogenerated by current cli tool. Use *tnp release* to bump version.
|
|
27
27
|
*/
|
|
28
|
-
exports.CURRENT_PACKAGE_VERSION = '21.0.
|
|
28
|
+
exports.CURRENT_PACKAGE_VERSION = '21.0.6';
|
|
29
29
|
// THIS FILE IS GENERATED - DO NOT MODIFY
|
|
30
30
|
//# sourceMappingURL=build-info._auto-generated_.js.map
|
|
@@ -1,21 +1,14 @@
|
|
|
1
1
|
export * from './build-info._auto-generated_';
|
|
2
2
|
export * from './my-organization-proj';
|
|
3
3
|
export * from './start-cli';
|
|
4
|
-
export * from './taon-seo-image.api.service';
|
|
5
4
|
export * from './taon-seo-image.controller';
|
|
6
5
|
export * from './taon-seo.abstract.context';
|
|
7
6
|
export * from './taon-seo.provider';
|
|
8
|
-
export * from './taon-seo.service';
|
|
9
7
|
export * from './taon-seo.utils';
|
|
10
8
|
export * from './taon-seo.validation';
|
|
11
9
|
export * from './i18n/lib.translation';
|
|
12
|
-
export * from './taon-seo-backoffice/taon-seo-backoffice.component';
|
|
13
10
|
export * from './taon-seo-backoffice/taon-seo-backoffice.models';
|
|
14
|
-
export * from './taon-seo-backoffice/taon-seo-backoffice.routes';
|
|
15
|
-
export * from './taon-seo-image-input/taon-seo-image-input.component';
|
|
16
11
|
export * from './taon-seo-page/taon-seo-page.abstract.context';
|
|
17
|
-
export * from './taon-seo-page/taon-seo-page.api.service';
|
|
18
|
-
export * from './taon-seo-page/taon-seo-page.config.service';
|
|
19
12
|
export * from './taon-seo-page/taon-seo-page.constants';
|
|
20
13
|
export * from './taon-seo-page/taon-seo-page.controller';
|
|
21
14
|
export * from './taon-seo-page/taon-seo-page.entity';
|
|
@@ -28,8 +21,6 @@ export * from './taon-seo-page/taon-seo-page.subscriber';
|
|
|
28
21
|
export * from './taon-seo-page/taon-seo-page.utils';
|
|
29
22
|
export * from './taon-seo-page/taon-seo-page.validators';
|
|
30
23
|
export * from './taon-seo-settings/taon-seo-settings.abstract.context';
|
|
31
|
-
export * from './taon-seo-settings/taon-seo-settings.api.service';
|
|
32
|
-
export * from './taon-seo-settings/taon-seo-settings.config.service';
|
|
33
24
|
export * from './taon-seo-settings/taon-seo-settings.constants';
|
|
34
25
|
export * from './taon-seo-settings/taon-seo-settings.controller';
|
|
35
26
|
export * from './taon-seo-settings/taon-seo-settings.entity';
|
|
@@ -42,11 +33,6 @@ export * from './taon-seo-settings/taon-seo-settings.subscriber';
|
|
|
42
33
|
export * from './taon-seo-settings/taon-seo-settings.utils';
|
|
43
34
|
export * from './taon-seo-settings/taon-seo-settings.validators';
|
|
44
35
|
export * from './taon-seo-page/i18n/taon-seo-page.translation';
|
|
45
|
-
export * from './taon-seo-page/taon-seo-page-backoffice/taon-seo-page-backoffice.component';
|
|
46
36
|
export * from './taon-seo-page/taon-seo-page-backoffice/taon-seo-page-backoffice.models';
|
|
47
|
-
export * from './taon-seo-page/taon-seo-page-backoffice/taon-seo-page-backoffice.routes';
|
|
48
|
-
export * from './taon-seo-page/taon-seo-page-edit-dialog/taon-seo-page-edit-dialog.component';
|
|
49
37
|
export * from './taon-seo-settings/i18n/taon-seo-settings.translation';
|
|
50
|
-
export * from './taon-seo-settings/taon-seo-settings-backoffice/taon-seo-settings-backoffice.component';
|
|
51
38
|
export * from './taon-seo-settings/taon-seo-settings-backoffice/taon-seo-settings-backoffice.models';
|
|
52
|
-
export * from './taon-seo-settings/taon-seo-settings-backoffice/taon-seo-settings-backoffice.routes';
|
package/lib/index.d.ts
CHANGED
|
@@ -3,11 +3,9 @@ export * from './env';
|
|
|
3
3
|
export * from './index._auto-generated_';
|
|
4
4
|
export * from './my-organization-proj';
|
|
5
5
|
export * from './start-cli';
|
|
6
|
-
export * from './taon-seo.service';
|
|
7
|
-
export * from './taon-seo-image.api.service';
|
|
8
6
|
export * from './taon-seo-image.controller';
|
|
9
7
|
export * from './taon-seo.provider';
|
|
10
8
|
export * from './taon-seo.utils';
|
|
11
9
|
export * from './taon-seo.validation';
|
|
12
10
|
declare const _default: {};
|
|
13
|
-
export default _default;
|
|
11
|
+
export default _default;
|
package/lib/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export declare function dummy1791746809910(): void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
function
|
|
3
|
+
exports.dummy1791746809910 = dummy1791746809910;
|
|
4
|
+
function dummy1791746809910() { }
|
|
5
5
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
export * from './taon-seo-page.api.service';
|
|
2
|
-
export * from './taon-seo-page.config.service';
|
|
3
1
|
export * from './taon-seo-page.abstract.context';
|
|
4
2
|
export * from './taon-seo-page.constants';
|
|
5
3
|
export * from './taon-seo-page.controller';
|
|
@@ -9,4 +7,4 @@ export * from './taon-seo-page.models';
|
|
|
9
7
|
export * from './taon-seo-page.provider';
|
|
10
8
|
export * from './taon-seo-page.repository';
|
|
11
9
|
export * from './taon-seo-page.subscriber';
|
|
12
|
-
export * from './taon-seo-page.utils';
|
|
10
|
+
export * from './taon-seo-page.utils';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export declare function dummy1791746810406(): void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
function
|
|
3
|
+
exports.dummy1791746810406 = dummy1791746810406;
|
|
4
|
+
function dummy1791746810406() { }
|
|
5
5
|
//# sourceMappingURL=index.js.map
|
|
@@ -2,8 +2,8 @@ export declare const TaonSeoPageAbstractContext: {
|
|
|
2
2
|
readonly contextName: string;
|
|
3
3
|
readonly expressApp: import("express").Application;
|
|
4
4
|
readonly appId: string;
|
|
5
|
-
cloneAsRemote: (cloneOpt?: Pick<import("taon/lib").Models.TaonCtxCloneParams, "overrideRemoteHost" | "overrideContextName" | "overrideUseSession">) =>
|
|
6
|
-
cloneAsNormal: (cloneOpt?: Partial<Pick<import("taon/lib").Models.TaonCtxCloneParams, "overrideHost" | "overrideContextName" | "overrideUseSession">>) =>
|
|
5
|
+
cloneAsRemote: (cloneOpt?: Pick<import("taon/lib").Models.TaonCtxCloneParams, "overrideRemoteHost" | "overrideContextName" | "overrideUseSession">) => any;
|
|
6
|
+
cloneAsNormal: (cloneOpt?: Partial<Pick<import("taon/lib").Models.TaonCtxCloneParams, "overrideHost" | "overrideContextName" | "overrideUseSession">>) => any;
|
|
7
7
|
__ref(): Promise<import("taon/lib").EndpointContext>;
|
|
8
8
|
readonly __refSync: import("taon/lib").EndpointContext;
|
|
9
9
|
getClassInstance<T>(ctor: new (...args: any[]) => T): T;
|
|
@@ -13,4 +13,4 @@ export declare const TaonSeoPageAbstractContext: {
|
|
|
13
13
|
readonly client: import("taon/lib").RealtimeClient;
|
|
14
14
|
readonly server: import("taon/lib").RealtimeServer;
|
|
15
15
|
};
|
|
16
|
-
};
|
|
16
|
+
};
|