@jobsearch-works/firestore-models 2.0.2 → 2.0.3
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 +9 -3
- package/dist/index.d.ts +9 -3
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
@@ -141,7 +141,7 @@ interface Vacancy {
|
|
141
141
|
}
|
142
142
|
|
143
143
|
interface VacancySuggestion {
|
144
|
-
id?: string;
|
144
|
+
readonly id?: string;
|
145
145
|
clientId: string;
|
146
146
|
vacancyId: string;
|
147
147
|
status: string;
|
@@ -150,6 +150,7 @@ interface VacancySuggestion {
|
|
150
150
|
|
151
151
|
type ClientStatus = "active" | "inactive";
|
152
152
|
interface Client {
|
153
|
+
readonly id?: string;
|
153
154
|
readonly name: string;
|
154
155
|
readonly status: ClientStatus;
|
155
156
|
readonly createdAt?: Date | string;
|
@@ -182,6 +183,7 @@ interface ClientEmails {
|
|
182
183
|
}
|
183
184
|
|
184
185
|
interface ClientGmailTokens {
|
186
|
+
readonly id?: string;
|
185
187
|
accessToken: string;
|
186
188
|
refreshToken: string;
|
187
189
|
email: string;
|
@@ -189,11 +191,13 @@ interface ClientGmailTokens {
|
|
189
191
|
}
|
190
192
|
|
191
193
|
interface ClientInitialQuestion {
|
194
|
+
readonly id?: string;
|
192
195
|
questionText: string;
|
193
196
|
answerText: string;
|
194
197
|
}
|
195
198
|
|
196
199
|
interface ClientInterview {
|
200
|
+
readonly id?: string;
|
197
201
|
company: string;
|
198
202
|
position: string;
|
199
203
|
type: string;
|
@@ -727,7 +731,7 @@ type JobCategory = keyof typeof jobClassifications;
|
|
727
731
|
type JobTitle = (typeof jobClassifications)[JobCategory][number];
|
728
732
|
type LocationId = (typeof locations)[number]["id"];
|
729
733
|
interface ClientJobPreferences {
|
730
|
-
id?: string;
|
734
|
+
readonly id?: string;
|
731
735
|
clientId: string;
|
732
736
|
desiredPositions: JobTitle[];
|
733
737
|
categories: JobCategory[];
|
@@ -741,7 +745,7 @@ interface ClientJobPreferences {
|
|
741
745
|
}
|
742
746
|
|
743
747
|
interface ClientLogin {
|
744
|
-
id?: string;
|
748
|
+
readonly id?: string;
|
745
749
|
userId: string;
|
746
750
|
url: string;
|
747
751
|
domain: string;
|
@@ -785,6 +789,7 @@ interface ClientQuestion {
|
|
785
789
|
}
|
786
790
|
|
787
791
|
interface ClientResume {
|
792
|
+
readonly id?: string;
|
788
793
|
title: string;
|
789
794
|
createdAt: Date | string;
|
790
795
|
updatedAt: Date | string;
|
@@ -812,6 +817,7 @@ interface ClientResume {
|
|
812
817
|
}
|
813
818
|
|
814
819
|
interface ClientWebsitePreferences {
|
820
|
+
readonly id?: string;
|
815
821
|
theme: string;
|
816
822
|
notifications: string;
|
817
823
|
}
|
package/dist/index.d.ts
CHANGED
@@ -141,7 +141,7 @@ interface Vacancy {
|
|
141
141
|
}
|
142
142
|
|
143
143
|
interface VacancySuggestion {
|
144
|
-
id?: string;
|
144
|
+
readonly id?: string;
|
145
145
|
clientId: string;
|
146
146
|
vacancyId: string;
|
147
147
|
status: string;
|
@@ -150,6 +150,7 @@ interface VacancySuggestion {
|
|
150
150
|
|
151
151
|
type ClientStatus = "active" | "inactive";
|
152
152
|
interface Client {
|
153
|
+
readonly id?: string;
|
153
154
|
readonly name: string;
|
154
155
|
readonly status: ClientStatus;
|
155
156
|
readonly createdAt?: Date | string;
|
@@ -182,6 +183,7 @@ interface ClientEmails {
|
|
182
183
|
}
|
183
184
|
|
184
185
|
interface ClientGmailTokens {
|
186
|
+
readonly id?: string;
|
185
187
|
accessToken: string;
|
186
188
|
refreshToken: string;
|
187
189
|
email: string;
|
@@ -189,11 +191,13 @@ interface ClientGmailTokens {
|
|
189
191
|
}
|
190
192
|
|
191
193
|
interface ClientInitialQuestion {
|
194
|
+
readonly id?: string;
|
192
195
|
questionText: string;
|
193
196
|
answerText: string;
|
194
197
|
}
|
195
198
|
|
196
199
|
interface ClientInterview {
|
200
|
+
readonly id?: string;
|
197
201
|
company: string;
|
198
202
|
position: string;
|
199
203
|
type: string;
|
@@ -727,7 +731,7 @@ type JobCategory = keyof typeof jobClassifications;
|
|
727
731
|
type JobTitle = (typeof jobClassifications)[JobCategory][number];
|
728
732
|
type LocationId = (typeof locations)[number]["id"];
|
729
733
|
interface ClientJobPreferences {
|
730
|
-
id?: string;
|
734
|
+
readonly id?: string;
|
731
735
|
clientId: string;
|
732
736
|
desiredPositions: JobTitle[];
|
733
737
|
categories: JobCategory[];
|
@@ -741,7 +745,7 @@ interface ClientJobPreferences {
|
|
741
745
|
}
|
742
746
|
|
743
747
|
interface ClientLogin {
|
744
|
-
id?: string;
|
748
|
+
readonly id?: string;
|
745
749
|
userId: string;
|
746
750
|
url: string;
|
747
751
|
domain: string;
|
@@ -785,6 +789,7 @@ interface ClientQuestion {
|
|
785
789
|
}
|
786
790
|
|
787
791
|
interface ClientResume {
|
792
|
+
readonly id?: string;
|
788
793
|
title: string;
|
789
794
|
createdAt: Date | string;
|
790
795
|
updatedAt: Date | string;
|
@@ -812,6 +817,7 @@ interface ClientResume {
|
|
812
817
|
}
|
813
818
|
|
814
819
|
interface ClientWebsitePreferences {
|
820
|
+
readonly id?: string;
|
815
821
|
theme: string;
|
816
822
|
notifications: string;
|
817
823
|
}
|
package/package.json
CHANGED