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.
@@ -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: string;
2008
+ category: keyof typeof skillLabelColours;
2009
2009
  public: boolean;
2010
2010
  };
2011
2011
  export {};
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "private": false,
3
3
  "name": "placementt-core",
4
4
  "author": "Placementt",
5
- "version": "1.400.458",
5
+ "version": "1.400.459",
6
6
  "main": "lib/index.js",
7
7
  "types": "lib/index.d.ts",
8
8
  "scripts": {
@@ -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: string,
1935
+ category: keyof typeof skillLabelColours,
1936
1936
  public: boolean,
1937
1937
  }