@jobsearch-works/firestore-models 4.0.2 → 4.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 +18 -1
- package/dist/index.d.ts +18 -1
- package/dist/index.js +5 -1
- package/dist/index.mjs +5 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -643,6 +643,19 @@ interface VacancySuggestion {
|
|
|
643
643
|
createdAt?: Date | string;
|
|
644
644
|
}
|
|
645
645
|
|
|
646
|
+
interface WeeklyApplication {
|
|
647
|
+
readonly id?: string;
|
|
648
|
+
readonly week: number;
|
|
649
|
+
readonly startDate: string;
|
|
650
|
+
readonly endDate: string;
|
|
651
|
+
readonly applicationsDone: number;
|
|
652
|
+
}
|
|
653
|
+
|
|
654
|
+
interface AdminReport {
|
|
655
|
+
readonly agentName: string;
|
|
656
|
+
readonly applications: WeeklyApplication[];
|
|
657
|
+
}
|
|
658
|
+
|
|
646
659
|
/**
|
|
647
660
|
* Address interface for client resume
|
|
648
661
|
*/
|
|
@@ -1065,6 +1078,10 @@ declare const firestorePaths: {
|
|
|
1065
1078
|
readonly agents: {
|
|
1066
1079
|
readonly collection: () => string;
|
|
1067
1080
|
readonly doc: (id: string) => string;
|
|
1081
|
+
readonly weeklyApplications: {
|
|
1082
|
+
readonly collection: (agentId: string) => string;
|
|
1083
|
+
readonly doc: (agentId: string, docId: string) => string;
|
|
1084
|
+
};
|
|
1068
1085
|
};
|
|
1069
1086
|
readonly companies: {
|
|
1070
1087
|
readonly collection: () => string;
|
|
@@ -1076,4 +1093,4 @@ declare const firestorePaths: {
|
|
|
1076
1093
|
};
|
|
1077
1094
|
};
|
|
1078
1095
|
|
|
1079
|
-
export { Address, Agent, AgentStatus, Application, ApplicationQuestion, ApplicationQuestionType, ApplicationQuestionTypeOptions, ApplicationStatus, AuthEmail, AuthUser, Certification, Client, ClientAccessToken, ClientCompanyPreferences, ClientEmail, ClientGmailToken, ClientInitialQuestion, ClientJobPreferences, ClientLogin, ClientPersonalData, ClientQuestion, ClientResume, ClientStatus, ClientStatusEnum, ClientVirtualInterview, Companies, Education, EmailCategory, EmailLog, Experience, FirestoreTimestamp, JobCategory, JobTitle, LocationId, Project, UserPublic, Vacancy, VacancyCategory, VacancySuggestion, countries, firestorePaths, initialQuestions, jobClassifications, locations };
|
|
1096
|
+
export { Address, AdminReport, Agent, AgentStatus, Application, ApplicationQuestion, ApplicationQuestionType, ApplicationQuestionTypeOptions, ApplicationStatus, AuthEmail, AuthUser, Certification, Client, ClientAccessToken, ClientCompanyPreferences, ClientEmail, ClientGmailToken, ClientInitialQuestion, ClientJobPreferences, ClientLogin, ClientPersonalData, ClientQuestion, ClientResume, ClientStatus, ClientStatusEnum, ClientVirtualInterview, Companies, Education, EmailCategory, EmailLog, Experience, FirestoreTimestamp, JobCategory, JobTitle, LocationId, Project, UserPublic, Vacancy, VacancyCategory, VacancySuggestion, countries, firestorePaths, initialQuestions, jobClassifications, locations };
|
package/dist/index.d.ts
CHANGED
|
@@ -643,6 +643,19 @@ interface VacancySuggestion {
|
|
|
643
643
|
createdAt?: Date | string;
|
|
644
644
|
}
|
|
645
645
|
|
|
646
|
+
interface WeeklyApplication {
|
|
647
|
+
readonly id?: string;
|
|
648
|
+
readonly week: number;
|
|
649
|
+
readonly startDate: string;
|
|
650
|
+
readonly endDate: string;
|
|
651
|
+
readonly applicationsDone: number;
|
|
652
|
+
}
|
|
653
|
+
|
|
654
|
+
interface AdminReport {
|
|
655
|
+
readonly agentName: string;
|
|
656
|
+
readonly applications: WeeklyApplication[];
|
|
657
|
+
}
|
|
658
|
+
|
|
646
659
|
/**
|
|
647
660
|
* Address interface for client resume
|
|
648
661
|
*/
|
|
@@ -1065,6 +1078,10 @@ declare const firestorePaths: {
|
|
|
1065
1078
|
readonly agents: {
|
|
1066
1079
|
readonly collection: () => string;
|
|
1067
1080
|
readonly doc: (id: string) => string;
|
|
1081
|
+
readonly weeklyApplications: {
|
|
1082
|
+
readonly collection: (agentId: string) => string;
|
|
1083
|
+
readonly doc: (agentId: string, docId: string) => string;
|
|
1084
|
+
};
|
|
1068
1085
|
};
|
|
1069
1086
|
readonly companies: {
|
|
1070
1087
|
readonly collection: () => string;
|
|
@@ -1076,4 +1093,4 @@ declare const firestorePaths: {
|
|
|
1076
1093
|
};
|
|
1077
1094
|
};
|
|
1078
1095
|
|
|
1079
|
-
export { Address, Agent, AgentStatus, Application, ApplicationQuestion, ApplicationQuestionType, ApplicationQuestionTypeOptions, ApplicationStatus, AuthEmail, AuthUser, Certification, Client, ClientAccessToken, ClientCompanyPreferences, ClientEmail, ClientGmailToken, ClientInitialQuestion, ClientJobPreferences, ClientLogin, ClientPersonalData, ClientQuestion, ClientResume, ClientStatus, ClientStatusEnum, ClientVirtualInterview, Companies, Education, EmailCategory, EmailLog, Experience, FirestoreTimestamp, JobCategory, JobTitle, LocationId, Project, UserPublic, Vacancy, VacancyCategory, VacancySuggestion, countries, firestorePaths, initialQuestions, jobClassifications, locations };
|
|
1096
|
+
export { Address, AdminReport, Agent, AgentStatus, Application, ApplicationQuestion, ApplicationQuestionType, ApplicationQuestionTypeOptions, ApplicationStatus, AuthEmail, AuthUser, Certification, Client, ClientAccessToken, ClientCompanyPreferences, ClientEmail, ClientGmailToken, ClientInitialQuestion, ClientJobPreferences, ClientLogin, ClientPersonalData, ClientQuestion, ClientResume, ClientStatus, ClientStatusEnum, ClientVirtualInterview, Companies, Education, EmailCategory, EmailLog, Experience, FirestoreTimestamp, JobCategory, JobTitle, LocationId, Project, UserPublic, Vacancy, VacancyCategory, VacancySuggestion, countries, firestorePaths, initialQuestions, jobClassifications, locations };
|
package/dist/index.js
CHANGED
|
@@ -1352,7 +1352,11 @@ var firestorePaths = {
|
|
|
1352
1352
|
},
|
|
1353
1353
|
agents: {
|
|
1354
1354
|
collection: () => "agents",
|
|
1355
|
-
doc: (id) => `agents/${id}
|
|
1355
|
+
doc: (id) => `agents/${id}`,
|
|
1356
|
+
weeklyApplications: {
|
|
1357
|
+
collection: (agentId) => `agents/${agentId}/weeklyApplications`,
|
|
1358
|
+
doc: (agentId, docId) => `agents/${agentId}/weeklyApplications/${docId}`
|
|
1359
|
+
}
|
|
1356
1360
|
},
|
|
1357
1361
|
companies: {
|
|
1358
1362
|
collection: () => "companies",
|
package/dist/index.mjs
CHANGED
|
@@ -1318,7 +1318,11 @@ var firestorePaths = {
|
|
|
1318
1318
|
},
|
|
1319
1319
|
agents: {
|
|
1320
1320
|
collection: () => "agents",
|
|
1321
|
-
doc: (id) => `agents/${id}
|
|
1321
|
+
doc: (id) => `agents/${id}`,
|
|
1322
|
+
weeklyApplications: {
|
|
1323
|
+
collection: (agentId) => `agents/${agentId}/weeklyApplications`,
|
|
1324
|
+
doc: (agentId, docId) => `agents/${agentId}/weeklyApplications/${docId}`
|
|
1325
|
+
}
|
|
1322
1326
|
},
|
|
1323
1327
|
companies: {
|
|
1324
1328
|
collection: () => "companies",
|
package/package.json
CHANGED