@tolinax/ayoune-interfaces 2024.114.0 → 2024.116.0

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.
@@ -0,0 +1,75 @@
1
+ import { IDefaultFields } from "./IDefaultFields";
2
+ interface SitemapImage {
3
+ url: string;
4
+ caption?: string;
5
+ title?: string;
6
+ geoLocation?: string;
7
+ license?: string;
8
+ }
9
+ interface VideoItem {
10
+ thumbnail_loc: string;
11
+ title: string;
12
+ description: string;
13
+ content_loc?: string;
14
+ player_loc?: string;
15
+ "player_loc:autoplay"?: string;
16
+ "player_loc:allow_embed"?: "yes" | "no";
17
+ duration?: number;
18
+ expiration_date?: string;
19
+ view_count?: number;
20
+ publication_date?: string;
21
+ category?: string;
22
+ restriction?: string;
23
+ "restriction:relationship"?: "allow" | "deny";
24
+ gallery_loc?: string;
25
+ "gallery_loc:title"?: string;
26
+ price?: string;
27
+ "price:resolution"?: "HD" | "SD";
28
+ "price:currency"?: string;
29
+ "price:type"?: "rent" | "own";
30
+ uploader?: string;
31
+ "uploader:info"?: string;
32
+ platform?: string;
33
+ "platform:relationship"?: "allow" | "deny";
34
+ id?: string;
35
+ tag?: string[];
36
+ rating?: number;
37
+ family_friendly?: "YES" | "NO";
38
+ requires_subscription?: "YES" | "NO";
39
+ live?: "YES" | "NO";
40
+ }
41
+ interface LinkItem {
42
+ lang: string;
43
+ url: string;
44
+ }
45
+ interface NewsItem {
46
+ access?: "Registration" | "Subscription";
47
+ publication: {
48
+ name: string;
49
+ language: string;
50
+ };
51
+ genres?: string;
52
+ publication_date: string;
53
+ title: string;
54
+ keywords?: string;
55
+ stock_tickers?: string;
56
+ }
57
+ interface PreRenderParam {
58
+ key: string;
59
+ value: string;
60
+ }
61
+ export interface IPreRenderMeta extends IDefaultFields {
62
+ _customerID: ObjectId;
63
+ url: string;
64
+ lastmod: Date;
65
+ changefreq?: "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | "never";
66
+ priority?: number;
67
+ img?: SitemapImage[];
68
+ video?: VideoItem[];
69
+ links?: LinkItem[];
70
+ news?: NewsItem;
71
+ ampLink?: string;
72
+ cdata?: boolean;
73
+ params?: PreRenderParam[];
74
+ }
75
+ export {};
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -885,6 +885,72 @@ interface ISettingCustomerPortal {
885
885
  startPageAffiliate: string;
886
886
  startPageMultiplier: string;
887
887
  }
888
+ interface LinkPortalPerson {
889
+ person: ObjectId;
890
+ description: string;
891
+ tagLine: string;
892
+ }
893
+ interface LinkPortalLink {
894
+ title: string;
895
+ tagLine: string;
896
+ icon: string;
897
+ link: string;
898
+ adult: boolean;
899
+ }
900
+ interface LinkPortalGroup {
901
+ title: string;
902
+ description: string;
903
+ links: LinkPortalLink[];
904
+ }
905
+ interface LinkPortalStyle {
906
+ backgroundMode: "gradient" | "image";
907
+ color1: string;
908
+ color2: string;
909
+ fontColor: string;
910
+ backgroundImage: string;
911
+ buttonColor1: string;
912
+ buttonColor2: string;
913
+ buttonFontColor: string;
914
+ }
915
+ interface LinkPortalHeaders {
916
+ vCard?: string;
917
+ qrCode?: string;
918
+ contact?: string;
919
+ links?: string;
920
+ social?: string;
921
+ team?: string;
922
+ }
923
+ interface LinkPortalOptions {
924
+ useIcon?: boolean;
925
+ showLogo?: boolean;
926
+ useLightVersions?: boolean;
927
+ showClaim?: boolean;
928
+ showDownload?: boolean;
929
+ showQR?: boolean;
930
+ showContact?: boolean;
931
+ showLinks?: boolean;
932
+ showSocial?: boolean;
933
+ showTeam?: boolean;
934
+ showCustomArea1?: boolean;
935
+ showCustomArea2?: boolean;
936
+ }
937
+ interface LinkPortalCustomArea {
938
+ title: string;
939
+ content: string;
940
+ }
941
+ interface ILinkPortal {
942
+ title: string;
943
+ description: string;
944
+ style: LinkPortalStyle;
945
+ headers: LinkPortalHeaders;
946
+ options: LinkPortalOptions;
947
+ customArea1?: LinkPortalCustomArea;
948
+ customArea2?: LinkPortalCustomArea;
949
+ links: {
950
+ groups: LinkPortalGroup[];
951
+ };
952
+ persons: LinkPortalPerson[];
953
+ }
888
954
  export interface ISetting extends IDefaultFields {
889
955
  _customerID: ObjectId;
890
956
  ai: AiSettings;
@@ -932,6 +998,7 @@ export interface ISetting extends IDefaultFields {
932
998
  products: ProductsSettings;
933
999
  slides: SlidesSettings;
934
1000
  customerportal: ISettingCustomerPortal;
1001
+ linkPortal: ILinkPortal;
935
1002
  [x: string]: any;
936
1003
  }
937
1004
  export {};
@@ -647,3 +647,4 @@ export * from "./IaYOUneAdvertisementDisplay";
647
647
  export * from "./IaYOUneAdvertisementDisplayLocation";
648
648
  export * from "./IaYOUneAdvertisementDisplayGroup";
649
649
  export * from "./IAddress";
650
+ export * from "./IPreRenderMeta";
@@ -663,3 +663,4 @@ __exportStar(require("./IaYOUneAdvertisementDisplay"), exports);
663
663
  __exportStar(require("./IaYOUneAdvertisementDisplayLocation"), exports);
664
664
  __exportStar(require("./IaYOUneAdvertisementDisplayGroup"), exports);
665
665
  __exportStar(require("./IAddress"), exports);
666
+ __exportStar(require("./IPreRenderMeta"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tolinax/ayoune-interfaces",
3
- "version": "2024.114.0",
3
+ "version": "2024.116.0",
4
4
  "description": "Houses TypeScript interfaces for aYOUne",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",