@plyaz/config 1.2.1 → 1.3.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.
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/social.ts"],"names":["SOCIAL_LINKS","PRODUCT_LINKS"],"mappings":";AAAO,IAAMA,EAAe,CAC1B,CAAA,CAAG,sBAAA,CACH,SAAA,CAAW,+BACX,QAAA,CAAU,oCACZ,CAAA,CAEaC,CAAAA,CAAgB,CAC3B,IAAA,CAAM,gCAAA,CACN,SAAA,CAAW,+BAAA,CACX,QAAS,yBACX","file":"social.cjs","sourcesContent":["export const SOCIAL_LINKS = {\n x: 'https://x.com/Plyaz_',\n instagram: 'https://instagram.com/plyaz_',\n linkedin: 'https://linkedin.com/company/plyaz',\n} as const;\n\nexport const PRODUCT_LINKS = {\n docs: 'https://plyaz.gitbook.io/plyaz',\n community: 'https://community.plyaz.co.uk',\n support: 'mailto:help@plyaz.co.uk',\n} as const;\n"]}
1
+ {"version":3,"sources":["../src/social.ts"],"names":["SOCIAL_LINKS","PRODUCT_LINKS","BLOG"],"mappings":";AAGO,IAAMA,CAAAA,CAAe,CAI1B,CAAA,CAAG,sBAAA,CAKH,SAAA,CAAW,+BAKX,QAAA,CAAU,oCACZ,CAAA,CAKaC,CAAAA,CAAgB,CAI3B,IAAA,CAAM,iCAKN,SAAA,CAAW,+BAAA,CAKX,OAAA,CAAS,yBACX,CAAA,CAKaC,CAAAA,CAAO,CAIlB,qBAAA,CAAuB,CAAA,CAKvB,eAAA,CAAiB,CAAA,CAKjB,eAAA,CAAiB,GACnB","file":"social.cjs","sourcesContent":["/**\n * Social media platform URLs\n */\nexport const SOCIAL_LINKS = {\n /**\n * X (formerly Twitter) profile URL\n */\n x: 'https://x.com/Plyaz_',\n\n /**\n * Instagram profile URL\n */\n instagram: 'https://instagram.com/plyaz_',\n\n /**\n * LinkedIn company page URL\n */\n linkedin: 'https://linkedin.com/company/plyaz',\n} as const;\n\n/**\n * Product-related external links\n */\nexport const PRODUCT_LINKS = {\n /**\n * Documentation site URL\n */\n docs: 'https://plyaz.gitbook.io/plyaz',\n\n /**\n * Community platform URL\n */\n community: 'https://community.plyaz.co.uk',\n\n /**\n * Support email address\n */\n support: 'mailto:help@plyaz.co.uk',\n} as const;\n\n/**\n * Blog configuration constants\n */\nexport const BLOG = {\n /**\n * Number of posts to display initially\n */\n INITIAL_POSTS_TO_SHOW: 3,\n\n /**\n * Number of posts to load when \"Load More\" is clicked\n */\n POSTS_INCREMENT: 3,\n\n /**\n * Animation delay in milliseconds between post appearances\n */\n ANIMATION_DELAY: 100,\n} as const;\n"]}
package/dist/social.d.ts CHANGED
@@ -1,10 +1,51 @@
1
+ /**
2
+ * Social media platform URLs
3
+ */
1
4
  export declare const SOCIAL_LINKS: {
5
+ /**
6
+ * X (formerly Twitter) profile URL
7
+ */
2
8
  readonly x: "https://x.com/Plyaz_";
9
+ /**
10
+ * Instagram profile URL
11
+ */
3
12
  readonly instagram: "https://instagram.com/plyaz_";
13
+ /**
14
+ * LinkedIn company page URL
15
+ */
4
16
  readonly linkedin: "https://linkedin.com/company/plyaz";
5
17
  };
18
+ /**
19
+ * Product-related external links
20
+ */
6
21
  export declare const PRODUCT_LINKS: {
22
+ /**
23
+ * Documentation site URL
24
+ */
7
25
  readonly docs: "https://plyaz.gitbook.io/plyaz";
26
+ /**
27
+ * Community platform URL
28
+ */
8
29
  readonly community: "https://community.plyaz.co.uk";
30
+ /**
31
+ * Support email address
32
+ */
9
33
  readonly support: "mailto:help@plyaz.co.uk";
10
34
  };
35
+ /**
36
+ * Blog configuration constants
37
+ */
38
+ export declare const BLOG: {
39
+ /**
40
+ * Number of posts to display initially
41
+ */
42
+ readonly INITIAL_POSTS_TO_SHOW: 3;
43
+ /**
44
+ * Number of posts to load when "Load More" is clicked
45
+ */
46
+ readonly POSTS_INCREMENT: 3;
47
+ /**
48
+ * Animation delay in milliseconds between post appearances
49
+ */
50
+ readonly ANIMATION_DELAY: 100;
51
+ };
package/dist/social.mjs CHANGED
@@ -1,4 +1,4 @@
1
1
  // @plyaz package - Built with tsup
2
- var t={x:"https://x.com/Plyaz_",instagram:"https://instagram.com/plyaz_",linkedin:"https://linkedin.com/company/plyaz"},o={docs:"https://plyaz.gitbook.io/plyaz",community:"https://community.plyaz.co.uk",support:"mailto:help@plyaz.co.uk"};
3
- export{o as PRODUCT_LINKS,t as SOCIAL_LINKS};//# sourceMappingURL=social.mjs.map
2
+ var t={x:"https://x.com/Plyaz_",instagram:"https://instagram.com/plyaz_",linkedin:"https://linkedin.com/company/plyaz"},o={docs:"https://plyaz.gitbook.io/plyaz",community:"https://community.plyaz.co.uk",support:"mailto:help@plyaz.co.uk"},p={INITIAL_POSTS_TO_SHOW:3,POSTS_INCREMENT:3,ANIMATION_DELAY:100};
3
+ export{p as BLOG,o as PRODUCT_LINKS,t as SOCIAL_LINKS};//# sourceMappingURL=social.mjs.map
4
4
  //# sourceMappingURL=social.mjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/social.ts"],"names":["SOCIAL_LINKS","PRODUCT_LINKS"],"mappings":";AAAO,IAAMA,EAAe,CAC1B,CAAA,CAAG,sBAAA,CACH,SAAA,CAAW,+BACX,QAAA,CAAU,oCACZ,CAAA,CAEaC,CAAAA,CAAgB,CAC3B,IAAA,CAAM,gCAAA,CACN,SAAA,CAAW,+BAAA,CACX,QAAS,yBACX","file":"social.mjs","sourcesContent":["export const SOCIAL_LINKS = {\n x: 'https://x.com/Plyaz_',\n instagram: 'https://instagram.com/plyaz_',\n linkedin: 'https://linkedin.com/company/plyaz',\n} as const;\n\nexport const PRODUCT_LINKS = {\n docs: 'https://plyaz.gitbook.io/plyaz',\n community: 'https://community.plyaz.co.uk',\n support: 'mailto:help@plyaz.co.uk',\n} as const;\n"]}
1
+ {"version":3,"sources":["../src/social.ts"],"names":["SOCIAL_LINKS","PRODUCT_LINKS","BLOG"],"mappings":";AAGO,IAAMA,CAAAA,CAAe,CAI1B,CAAA,CAAG,sBAAA,CAKH,SAAA,CAAW,+BAKX,QAAA,CAAU,oCACZ,CAAA,CAKaC,CAAAA,CAAgB,CAI3B,IAAA,CAAM,iCAKN,SAAA,CAAW,+BAAA,CAKX,OAAA,CAAS,yBACX,CAAA,CAKaC,CAAAA,CAAO,CAIlB,qBAAA,CAAuB,CAAA,CAKvB,eAAA,CAAiB,CAAA,CAKjB,eAAA,CAAiB,GACnB","file":"social.mjs","sourcesContent":["/**\n * Social media platform URLs\n */\nexport const SOCIAL_LINKS = {\n /**\n * X (formerly Twitter) profile URL\n */\n x: 'https://x.com/Plyaz_',\n\n /**\n * Instagram profile URL\n */\n instagram: 'https://instagram.com/plyaz_',\n\n /**\n * LinkedIn company page URL\n */\n linkedin: 'https://linkedin.com/company/plyaz',\n} as const;\n\n/**\n * Product-related external links\n */\nexport const PRODUCT_LINKS = {\n /**\n * Documentation site URL\n */\n docs: 'https://plyaz.gitbook.io/plyaz',\n\n /**\n * Community platform URL\n */\n community: 'https://community.plyaz.co.uk',\n\n /**\n * Support email address\n */\n support: 'mailto:help@plyaz.co.uk',\n} as const;\n\n/**\n * Blog configuration constants\n */\nexport const BLOG = {\n /**\n * Number of posts to display initially\n */\n INITIAL_POSTS_TO_SHOW: 3,\n\n /**\n * Number of posts to load when \"Load More\" is clicked\n */\n POSTS_INCREMENT: 3,\n\n /**\n * Animation delay in milliseconds between post appearances\n */\n ANIMATION_DELAY: 100,\n} as const;\n"]}
@@ -31,7 +31,97 @@ export declare const STRING_CONSTANTS: {
31
31
  */
32
32
  readonly UUID_HEX_OR_VALUE: 8;
33
33
  };
34
+ /**
35
+ * Formatting and serialization constants
36
+ */
37
+ export declare const FORMAT_CONSTANTS: {
38
+ /**
39
+ * Default indentation for JSON stringification (spaces)
40
+ */
41
+ readonly JSON_INDENT_SPACES: 2;
42
+ /**
43
+ * Default indentation for code formatting (spaces)
44
+ */
45
+ readonly CODE_INDENT_SPACES: 2;
46
+ /**
47
+ * Tab size in spaces
48
+ */
49
+ readonly TAB_SIZE: 4;
50
+ /**
51
+ * Maximum line length for code formatting
52
+ */
53
+ readonly MAX_LINE_LENGTH: 80;
54
+ /**
55
+ * Maximum line length for prettier
56
+ */
57
+ readonly PRETTIER_LINE_WIDTH: 100;
58
+ /**
59
+ * Default encoding for text files
60
+ */
61
+ readonly DEFAULT_ENCODING: "utf-8";
62
+ /**
63
+ * Line endings
64
+ */
65
+ readonly LINE_ENDING_LF: "\n";
66
+ readonly LINE_ENDING_CRLF: "\r\n";
67
+ /**
68
+ * Common file extensions
69
+ */
70
+ readonly EXTENSION_JSON: ".json";
71
+ readonly EXTENSION_JS: ".js";
72
+ readonly EXTENSION_TS: ".ts";
73
+ readonly EXTENSION_TSX: ".tsx";
74
+ readonly EXTENSION_JSX: ".jsx";
75
+ readonly EXTENSION_CSS: ".css";
76
+ readonly EXTENSION_SCSS: ".scss";
77
+ readonly EXTENSION_MD: ".md";
78
+ readonly EXTENSION_YML: ".yml";
79
+ readonly EXTENSION_YAML: ".yaml";
80
+ /**
81
+ * Quote styles
82
+ */
83
+ readonly SINGLE_QUOTE: "'";
84
+ readonly DOUBLE_QUOTE: "\"";
85
+ readonly BACKTICK: "`";
86
+ /**
87
+ * Common separators
88
+ */
89
+ readonly COMMA: ",";
90
+ readonly SEMICOLON: ";";
91
+ readonly COLON: ":";
92
+ readonly DOT: ".";
93
+ readonly SLASH: "/";
94
+ readonly BACKSLASH: "\\";
95
+ readonly UNDERSCORE: "_";
96
+ readonly HYPHEN: "-";
97
+ readonly PIPE: "|";
98
+ readonly SPACE: " ";
99
+ readonly EMPTY_STRING: "";
100
+ /**
101
+ * Whitespace characters
102
+ */
103
+ readonly TAB: "\t";
104
+ readonly NEWLINE: "\n";
105
+ readonly CARRIAGE_RETURN: "\r";
106
+ readonly FORM_FEED: "\f";
107
+ readonly VERTICAL_TAB: "\v";
108
+ /**
109
+ * Common brackets
110
+ */
111
+ readonly OPEN_PAREN: "(";
112
+ readonly CLOSE_PAREN: ")";
113
+ readonly OPEN_BRACKET: "[";
114
+ readonly CLOSE_BRACKET: "]";
115
+ readonly OPEN_BRACE: "{";
116
+ readonly CLOSE_BRACE: "}";
117
+ readonly OPEN_ANGLE: "<";
118
+ readonly CLOSE_ANGLE: ">";
119
+ };
34
120
  /**
35
121
  * Type for string constant values
36
122
  */
37
123
  export type StringConstant = (typeof STRING_CONSTANTS)[keyof typeof STRING_CONSTANTS];
124
+ /**
125
+ * Type for format constant values
126
+ */
127
+ export type FormatConstant = (typeof FORMAT_CONSTANTS)[keyof typeof FORMAT_CONSTANTS];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plyaz/config",
3
- "version": "1.2.1",
3
+ "version": "1.3.0",
4
4
  "author": "Redeemer Pace",
5
5
  "license": "ISC",
6
6
  "description": "Provides shared configs and constants for @playz ecosystem.",
@@ -1,3 +0,0 @@
1
- export declare const DEFAULT_LOCALE = "en";
2
- export declare const SUPPORTED_LOCALES: readonly ["en", "es", "pt"];
3
- export declare const TIMEZONE = "Europe/London";