@jobsearch-works/firestore-models 2.1.0 → 2.2.2

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/dist/index.d.mts CHANGED
@@ -643,6 +643,37 @@ interface VacancySuggestion {
643
643
  createdAt?: Date | string;
644
644
  }
645
645
 
646
+ interface ClientLanguage {
647
+ readonly language: string;
648
+ readonly level: string;
649
+ }
650
+
651
+ interface ClientCertifications {
652
+ readonly name: string;
653
+ readonly date: Date;
654
+ }
655
+
656
+ interface ClientSkill {
657
+ readonly name: string;
658
+ readonly level: string;
659
+ }
660
+
661
+ interface ClientEducation {
662
+ readonly schoolName: string;
663
+ readonly degree: string;
664
+ readonly fieldOfStudy: string;
665
+ readonly startDate: Date;
666
+ readonly endDate: Date;
667
+ }
668
+
669
+ interface ClientWorkExperience {
670
+ readonly companyName: string;
671
+ readonly position: string;
672
+ readonly startDate: Date;
673
+ readonly endDate: Date;
674
+ readonly description: string;
675
+ }
676
+
646
677
  /**
647
678
  * Embedded sub-object within Client document
648
679
  * @see Client - Parent document interface
@@ -733,7 +764,7 @@ interface ClientPersonalData {
733
764
  updatedAt?: Date | string;
734
765
  }
735
766
 
736
- type ClientStatus = 'active' | 'inactive';
767
+ type ClientStatus = "active" | "inactive";
737
768
  /**
738
769
  * Root Client document
739
770
  * Path: clients/{clientId}
@@ -747,6 +778,11 @@ interface Client {
747
778
  readonly personalData?: ClientPersonalData;
748
779
  readonly jobPreferences?: ClientJobPreferences;
749
780
  readonly websitePreferences?: ClientWebsitePreferences;
781
+ readonly workExperience?: ClientWorkExperience[];
782
+ readonly education?: ClientEducation[];
783
+ readonly skills?: ClientSkill[];
784
+ readonly certifications?: ClientCertifications;
785
+ readonly languages?: ClientLanguage[];
750
786
  readonly createdAt?: Date | string;
751
787
  }
752
788
 
package/dist/index.d.ts CHANGED
@@ -643,6 +643,37 @@ interface VacancySuggestion {
643
643
  createdAt?: Date | string;
644
644
  }
645
645
 
646
+ interface ClientLanguage {
647
+ readonly language: string;
648
+ readonly level: string;
649
+ }
650
+
651
+ interface ClientCertifications {
652
+ readonly name: string;
653
+ readonly date: Date;
654
+ }
655
+
656
+ interface ClientSkill {
657
+ readonly name: string;
658
+ readonly level: string;
659
+ }
660
+
661
+ interface ClientEducation {
662
+ readonly schoolName: string;
663
+ readonly degree: string;
664
+ readonly fieldOfStudy: string;
665
+ readonly startDate: Date;
666
+ readonly endDate: Date;
667
+ }
668
+
669
+ interface ClientWorkExperience {
670
+ readonly companyName: string;
671
+ readonly position: string;
672
+ readonly startDate: Date;
673
+ readonly endDate: Date;
674
+ readonly description: string;
675
+ }
676
+
646
677
  /**
647
678
  * Embedded sub-object within Client document
648
679
  * @see Client - Parent document interface
@@ -733,7 +764,7 @@ interface ClientPersonalData {
733
764
  updatedAt?: Date | string;
734
765
  }
735
766
 
736
- type ClientStatus = 'active' | 'inactive';
767
+ type ClientStatus = "active" | "inactive";
737
768
  /**
738
769
  * Root Client document
739
770
  * Path: clients/{clientId}
@@ -747,6 +778,11 @@ interface Client {
747
778
  readonly personalData?: ClientPersonalData;
748
779
  readonly jobPreferences?: ClientJobPreferences;
749
780
  readonly websitePreferences?: ClientWebsitePreferences;
781
+ readonly workExperience?: ClientWorkExperience[];
782
+ readonly education?: ClientEducation[];
783
+ readonly skills?: ClientSkill[];
784
+ readonly certifications?: ClientCertifications;
785
+ readonly languages?: ClientLanguage[];
750
786
  readonly createdAt?: Date | string;
751
787
  }
752
788
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jobsearch-works/firestore-models",
3
- "version": "2.1.0",
3
+ "version": "2.2.2",
4
4
  "description": "A shared library for standardizing Firestore document schemas and paths across multiple projects",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",