@pathfolio/types 0.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.
@@ -0,0 +1,95 @@
1
+ /**
2
+ * Resume Settings Types
3
+ * Configuration interfaces for various resume components
4
+ */
5
+ import type { SectionType } from './content';
6
+ import type { HeadingStyle, HeadingSize, ImageShape, ImagePosition, ImageShadow, HeaderLayout, SocialsLayout, SocialsGridSettings, UnifiedHeaderLayout, ContactField, ProfessionTitleSize, ProfessionalTitlePosition, DateLocationPosition, DescriptionPosition, BulletStyle, EntryLayoutPreset, SkillsDisplayMode, SkillsLayoutMode, SkillsLevelVisualization, SkillsPillVariant, SkillsPillShape, LinkColorMode, LinkUnderlineStyle } from './design';
7
+ /**
8
+ * Skills Settings - Expanded with modular options
9
+ */
10
+ export interface SkillsSettings {
11
+ displayMode: SkillsDisplayMode;
12
+ layoutMode: SkillsLayoutMode;
13
+ levelVisualization: SkillsLevelVisualization;
14
+ gridColumns: 2 | 3 | 4;
15
+ pillVariant: SkillsPillVariant;
16
+ pillShape: SkillsPillShape;
17
+ compactMode: boolean;
18
+ }
19
+ /**
20
+ * Link Settings
21
+ */
22
+ export interface LinkSettings {
23
+ colorMode: LinkColorMode;
24
+ customColor: string;
25
+ underlineStyle: LinkUnderlineStyle;
26
+ showExternalIcon: boolean;
27
+ }
28
+ /**
29
+ * Professional Title Settings
30
+ */
31
+ export interface ProfessionalTitleSettings {
32
+ visible: boolean;
33
+ position: ProfessionalTitlePosition;
34
+ size: ProfessionTitleSize;
35
+ fontWeight: 300 | 400 | 500 | 600 | 700;
36
+ letterSpacing: number;
37
+ color: 'inherit' | 'primary' | 'muted' | 'custom';
38
+ customColor?: string;
39
+ }
40
+ /**
41
+ * Contact Display Settings for individual fields
42
+ */
43
+ export interface ContactFieldDisplaySettings {
44
+ showText: boolean;
45
+ showIcon: boolean;
46
+ }
47
+ /**
48
+ * Header Settings
49
+ */
50
+ export interface HeaderSettings {
51
+ imageShape: ImageShape;
52
+ imageSize: number;
53
+ showImage: boolean;
54
+ imagePosition: ImagePosition;
55
+ imageBorderWidth: number;
56
+ imageBorderColor: string;
57
+ imageShadow: ImageShadow;
58
+ imageGrayscale: boolean;
59
+ layout: HeaderLayout;
60
+ contactVisibility: Record<ContactField, boolean>;
61
+ contactOrder: ContactField[];
62
+ imageNameGap: number;
63
+ nameContactGap: number;
64
+ contactFieldGap: number;
65
+ socialsLayout?: SocialsLayout;
66
+ socialsGridSettings?: SocialsGridSettings;
67
+ professionTitleSize?: ProfessionTitleSize;
68
+ contactFieldDisplay?: Record<ContactField, ContactFieldDisplaySettings>;
69
+ professionalTitleSettings?: ProfessionalTitleSettings;
70
+ unifiedLayout?: UnifiedHeaderLayout;
71
+ }
72
+ /**
73
+ * Section Heading Settings
74
+ */
75
+ export interface SectionHeadingSettings {
76
+ style: HeadingStyle;
77
+ capitalize: boolean;
78
+ showIcon: Record<SectionType, boolean>;
79
+ icon: Record<SectionType, string>;
80
+ size: HeadingSize;
81
+ customTitle?: Partial<Record<SectionType, string>>;
82
+ gradientIntensity?: number;
83
+ }
84
+ /**
85
+ * Entry Layout Settings
86
+ */
87
+ export interface EntryLayoutSettings {
88
+ preset?: EntryLayoutPreset;
89
+ dateLocationPosition: DateLocationPosition;
90
+ descriptionPosition: DescriptionPosition;
91
+ showBulletPoints: boolean;
92
+ bulletStyle: BulletStyle;
93
+ showLocation: boolean;
94
+ }
95
+ //# sourceMappingURL=settings.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"settings.d.ts","sourceRoot":"","sources":["../../src/resume/settings.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAC7C,OAAO,KAAK,EACV,YAAY,EACZ,WAAW,EACX,UAAU,EACV,aAAa,EACb,WAAW,EACX,YAAY,EACZ,aAAa,EACb,mBAAmB,EACnB,mBAAmB,EACnB,YAAY,EACZ,mBAAmB,EAC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AW,EAAE,WAAW,CAAC;IACzB,YAAY,EAAE,OAAO,CAAC;CACvB"}
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Resume Settings Types
3
+ * Configuration interfaces for various resume components
4
+ */
5
+ export {};
6
+ //# sourceMappingURL=settings.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"settings.js","sourceRoot":"","sources":["../../src/resume/settings.ts"],"names":[],"mappings":"AAAA;;;GAGG"}
package/package.json ADDED
@@ -0,0 +1,85 @@
1
+ {
2
+ "name": "@pathfolio/types",
3
+ "version": "0.3.0",
4
+ "description": "Shared TypeScript types for Pathfolio services",
5
+ "type": "module",
6
+ "main": "./dist/index.js",
7
+ "module": "./dist/index.js",
8
+ "types": "./dist/index.d.ts",
9
+ "exports": {
10
+ ".": {
11
+ "types": "./dist/index.d.ts",
12
+ "import": "./dist/index.js"
13
+ },
14
+ "./auth": {
15
+ "types": "./dist/auth.d.ts",
16
+ "import": "./dist/auth.js"
17
+ },
18
+ "./profile": {
19
+ "types": "./dist/profile.d.ts",
20
+ "import": "./dist/profile.js"
21
+ },
22
+ "./app": {
23
+ "types": "./dist/app.d.ts",
24
+ "import": "./dist/app.js"
25
+ },
26
+ "./pdf": {
27
+ "types": "./dist/pdf.d.ts",
28
+ "import": "./dist/pdf.js"
29
+ },
30
+ "./resume": {
31
+ "types": "./dist/resume/index.d.ts",
32
+ "import": "./dist/resume/index.js"
33
+ },
34
+ "./resume/content": {
35
+ "types": "./dist/resume/content.d.ts",
36
+ "import": "./dist/resume/content.js"
37
+ },
38
+ "./resume/design": {
39
+ "types": "./dist/resume/design.d.ts",
40
+ "import": "./dist/resume/design.js"
41
+ },
42
+ "./resume/settings": {
43
+ "types": "./dist/resume/settings.d.ts",
44
+ "import": "./dist/resume/settings.js"
45
+ },
46
+ "./resume/constants": {
47
+ "types": "./dist/resume/constants.d.ts",
48
+ "import": "./dist/resume/constants.js"
49
+ }
50
+ },
51
+ "files": [
52
+ "dist"
53
+ ],
54
+ "scripts": {
55
+ "build": "tsc",
56
+ "typecheck": "tsc --noEmit",
57
+ "clean": "rm -rf dist"
58
+ },
59
+ "repository": {
60
+ "type": "git",
61
+ "url": "https://github.com/pathfolio-io/packages.git",
62
+ "directory": "packages/types"
63
+ },
64
+ "publishConfig": {
65
+ "access": "public"
66
+ },
67
+ "peerDependencies": {
68
+ "@supabase/supabase-js": "^2.0.0"
69
+ },
70
+ "peerDependenciesMeta": {
71
+ "@supabase/supabase-js": {
72
+ "optional": true
73
+ }
74
+ },
75
+ "devDependencies": {
76
+ "@supabase/supabase-js": "^2.49.1",
77
+ "typescript": "^5.7.3"
78
+ },
79
+ "keywords": [
80
+ "pathfolio",
81
+ "types",
82
+ "typescript"
83
+ ],
84
+ "license": "UNLICENSED"
85
+ }