@jobsearch-works/firestore-models 2.2.2 → 2.2.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 +15 -5
- package/dist/index.d.ts +15 -5
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
@@ -875,19 +875,29 @@ interface ClientLogin {
|
|
875
875
|
updatedAt?: Date | string;
|
876
876
|
}
|
877
877
|
|
878
|
+
type FirestoreTimestamp = {
|
879
|
+
seconds: number;
|
880
|
+
nanoseconds: number;
|
881
|
+
};
|
882
|
+
|
878
883
|
/**
|
879
884
|
* Subcollection document under Client
|
880
885
|
* Path: clients/{clientId}/questions/{docId}
|
881
886
|
* @see Client - Parent document
|
882
887
|
*/
|
888
|
+
|
883
889
|
interface ClientQuestion {
|
884
|
-
id
|
890
|
+
id: string;
|
891
|
+
clientId: string;
|
885
892
|
questionText: string;
|
886
|
-
|
893
|
+
type: string;
|
887
894
|
tags: string[];
|
888
895
|
importance: string;
|
889
|
-
|
890
|
-
|
896
|
+
answer?: string;
|
897
|
+
createdAt: FirestoreTimestamp | Date | string;
|
898
|
+
updatedAt?: FirestoreTimestamp | Date | string;
|
899
|
+
applicationId?: string;
|
900
|
+
vacancyId?: string;
|
891
901
|
}
|
892
902
|
|
893
903
|
/**
|
@@ -988,4 +998,4 @@ declare const firestorePaths: {
|
|
988
998
|
};
|
989
999
|
};
|
990
1000
|
|
991
|
-
export { Agent, AgentStatus, Application, ApplicationQuestion, ApplicationQuestionType, ApplicationQuestionTypeOptions, ApplicationStatus, AuthUser, Client, ClientEmail, ClientGmailToken, ClientInitialQuestion, ClientInterview, ClientJobPreferences, ClientLogin, ClientPersonalData, ClientQuestion, ClientResume, ClientStatus, ClientWebsitePreferences, JobCategory, JobTitle, Location, LocationId, UserPublic, Vacancy, VacancyCategory, VacancySuggestion, firestorePaths, jobClassifications, locations };
|
1001
|
+
export { Agent, AgentStatus, Application, ApplicationQuestion, ApplicationQuestionType, ApplicationQuestionTypeOptions, ApplicationStatus, AuthUser, Client, ClientEducation, ClientEmail, ClientGmailToken, ClientInitialQuestion, ClientInterview, ClientJobPreferences, ClientLogin, ClientPersonalData, ClientQuestion, ClientResume, ClientSkill, ClientStatus, ClientWebsitePreferences, ClientWorkExperience, JobCategory, JobTitle, Location, LocationId, UserPublic, Vacancy, VacancyCategory, VacancySuggestion, firestorePaths, jobClassifications, locations };
|
package/dist/index.d.ts
CHANGED
@@ -875,19 +875,29 @@ interface ClientLogin {
|
|
875
875
|
updatedAt?: Date | string;
|
876
876
|
}
|
877
877
|
|
878
|
+
type FirestoreTimestamp = {
|
879
|
+
seconds: number;
|
880
|
+
nanoseconds: number;
|
881
|
+
};
|
882
|
+
|
878
883
|
/**
|
879
884
|
* Subcollection document under Client
|
880
885
|
* Path: clients/{clientId}/questions/{docId}
|
881
886
|
* @see Client - Parent document
|
882
887
|
*/
|
888
|
+
|
883
889
|
interface ClientQuestion {
|
884
|
-
id
|
890
|
+
id: string;
|
891
|
+
clientId: string;
|
885
892
|
questionText: string;
|
886
|
-
|
893
|
+
type: string;
|
887
894
|
tags: string[];
|
888
895
|
importance: string;
|
889
|
-
|
890
|
-
|
896
|
+
answer?: string;
|
897
|
+
createdAt: FirestoreTimestamp | Date | string;
|
898
|
+
updatedAt?: FirestoreTimestamp | Date | string;
|
899
|
+
applicationId?: string;
|
900
|
+
vacancyId?: string;
|
891
901
|
}
|
892
902
|
|
893
903
|
/**
|
@@ -988,4 +998,4 @@ declare const firestorePaths: {
|
|
988
998
|
};
|
989
999
|
};
|
990
1000
|
|
991
|
-
export { Agent, AgentStatus, Application, ApplicationQuestion, ApplicationQuestionType, ApplicationQuestionTypeOptions, ApplicationStatus, AuthUser, Client, ClientEmail, ClientGmailToken, ClientInitialQuestion, ClientInterview, ClientJobPreferences, ClientLogin, ClientPersonalData, ClientQuestion, ClientResume, ClientStatus, ClientWebsitePreferences, JobCategory, JobTitle, Location, LocationId, UserPublic, Vacancy, VacancyCategory, VacancySuggestion, firestorePaths, jobClassifications, locations };
|
1001
|
+
export { Agent, AgentStatus, Application, ApplicationQuestion, ApplicationQuestionType, ApplicationQuestionTypeOptions, ApplicationStatus, AuthUser, Client, ClientEducation, ClientEmail, ClientGmailToken, ClientInitialQuestion, ClientInterview, ClientJobPreferences, ClientLogin, ClientPersonalData, ClientQuestion, ClientResume, ClientSkill, ClientStatus, ClientWebsitePreferences, ClientWorkExperience, JobCategory, JobTitle, Location, LocationId, UserPublic, Vacancy, VacancyCategory, VacancySuggestion, firestorePaths, jobClassifications, locations };
|
package/package.json
CHANGED