placementt-core 1.400.458 → 1.400.459
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/lib/typeDefinitions.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { DocumentData, DocumentReference, Timestamp, WhereFilterOp } from "firebase/firestore";
|
|
2
2
|
import { Descendant } from "slate";
|
|
3
|
-
import { emailTemplates } from "./constants";
|
|
3
|
+
import { emailTemplates, skillLabelColours } from "./constants";
|
|
4
4
|
import { FilterObject } from "./hooks";
|
|
5
5
|
export type Products = "institutes" | "providers" | "students" | "admin";
|
|
6
6
|
export type StudentPlacementData = {
|
|
@@ -2005,7 +2005,7 @@ export type EmailInteraction = {
|
|
|
2005
2005
|
export type SkillLabel = {
|
|
2006
2006
|
label: string;
|
|
2007
2007
|
description: string;
|
|
2008
|
-
category:
|
|
2008
|
+
category: keyof typeof skillLabelColours;
|
|
2009
2009
|
public: boolean;
|
|
2010
2010
|
};
|
|
2011
2011
|
export {};
|
package/package.json
CHANGED
package/src/typeDefinitions.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {DocumentData, DocumentReference, Timestamp, WhereFilterOp} from "firebase/firestore";
|
|
2
2
|
import {Descendant} from "slate";
|
|
3
|
-
import {emailTemplates} from "./constants";
|
|
3
|
+
import {emailTemplates, skillLabelColours} from "./constants";
|
|
4
4
|
import {FilterObject} from "./hooks";
|
|
5
5
|
|
|
6
6
|
export type Products = "institutes"|"providers"|"students"|"admin";
|
|
@@ -1932,6 +1932,6 @@ export type EmailInteraction = {
|
|
|
1932
1932
|
export type SkillLabel = {
|
|
1933
1933
|
label: string,
|
|
1934
1934
|
description: string,
|
|
1935
|
-
category:
|
|
1935
|
+
category: keyof typeof skillLabelColours,
|
|
1936
1936
|
public: boolean,
|
|
1937
1937
|
}
|