placementt-core 1.300.97 → 1.300.99

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/deploy-all.js CHANGED
@@ -39,7 +39,7 @@ async function deploy() {
39
39
  const firstVersion = `1.1.${versionNumber}`;
40
40
  updateVersion(firstVersion);
41
41
  console.log("🚀 Running TypeScript compiler...");
42
- execSync('tsc --skipLibCheck', { stdio: 'inherit' });
42
+ execSync('tsc', { stdio: 'inherit' });
43
43
  console.log("📤 Publishing version " + firstVersion);
44
44
  execSync('yarn publish --new-version '+firstVersion, { stdio: 'inherit' });
45
45
 
@@ -55,7 +55,7 @@ async function deploy() {
55
55
  const secondVersion = `1.300.${versionNumber}`;
56
56
  updateVersion(secondVersion);
57
57
  console.log("🚀 Running TypeScript compiler again...");
58
- execSync('tsc --skipLibCheck', { stdio: 'inherit' });
58
+ execSync('tsc', { stdio: 'inherit' });
59
59
  console.log("📤 Publishing version " + secondVersion);
60
60
  execSync('yarn publish --new-version '+secondVersion, { stdio: 'inherit' });
61
61
 
package/lib/hooks.d.ts CHANGED
@@ -267,7 +267,7 @@ export declare function useProposePlacementRenderer({ user, orgContext, placemen
267
267
  }): {
268
268
  student: UserData | undefined;
269
269
  disabled: boolean;
270
- stage: "provider" | "address" | "dates" | "review";
270
+ stage: "address" | "provider" | "dates" | "review";
271
271
  formData: StudentPlacementData | undefined;
272
272
  complete: boolean;
273
273
  cohort: CohortData | undefined;
@@ -291,7 +291,7 @@ export declare function useProposePlacementRenderer({ user, orgContext, placemen
291
291
  }) => void;
292
292
  setFormData: import("react").Dispatch<import("react").SetStateAction<StudentPlacementData | undefined>>;
293
293
  resetFormData: () => void;
294
- setStage: import("react").Dispatch<import("react").SetStateAction<"provider" | "address" | "dates" | "review">>;
294
+ setStage: import("react").Dispatch<import("react").SetStateAction<"address" | "provider" | "dates" | "review">>;
295
295
  setComplete: import("react").Dispatch<import("react").SetStateAction<boolean>>;
296
296
  };
297
297
  export declare const useRefDimensions: () => {
@@ -390,7 +390,7 @@ export declare function useWorkflowEditor({ user, initialData, onSubmit, cohortI
390
390
  tutorialActive: boolean;
391
391
  onDeleteArrow: (data: ArrowObject) => void;
392
392
  workflowNodes: WorkflowStage[];
393
- containerRef: import("react").RefObject<HTMLFormElement | null>;
393
+ containerRef: import("react").RefObject<HTMLFormElement>;
394
394
  setError: import("react").Dispatch<import("react").SetStateAction<string | undefined>>;
395
395
  setArrows: import("react").Dispatch<import("react").SetStateAction<ArrowObject[]>>;
396
396
  setWorkflowNodes: import("react").Dispatch<import("react").SetStateAction<WorkflowStage[] | ApplicantStage[]>>;
@@ -438,7 +438,7 @@ export declare function useApplicantWorkflowEditor({ user, initialData, onSubmit
438
438
  tutorialActive: boolean;
439
439
  onDeleteArrow: (data: ArrowObject) => void;
440
440
  workflowNodes: ApplicantStage[];
441
- containerRef: import("react").RefObject<HTMLFormElement | null>;
441
+ containerRef: import("react").RefObject<HTMLFormElement>;
442
442
  setError: import("react").Dispatch<import("react").SetStateAction<string | undefined>>;
443
443
  setArrows: import("react").Dispatch<import("react").SetStateAction<ArrowObject[]>>;
444
444
  setWorkflowNodes: import("react").Dispatch<import("react").SetStateAction<ApplicantStage[]>>;
@@ -716,8 +716,8 @@ export declare function useLoadApplications({ user, applicationType, listingId,
716
716
  queryConstraint?: QueryConstraint[];
717
717
  }): {
718
718
  applications: [string, Application][];
719
- type: "all" | "actionRequired" | "awaitingStudent" | "closed";
720
- setType: import("react").Dispatch<import("react").SetStateAction<"all" | "actionRequired" | "awaitingStudent" | "closed">>;
719
+ type: "all" | "closed" | "actionRequired" | "awaitingStudent";
720
+ setType: import("react").Dispatch<import("react").SetStateAction<"all" | "closed" | "actionRequired" | "awaitingStudent">>;
721
721
  onScrollBottom: () => void;
722
722
  loading: boolean;
723
723
  changeQueryConstraints: (e: QueryConstraint[]) => void;
@@ -1,2 +1 @@
1
- import * as React from "react";
2
- export default function GatsbyBenchmarks(): React.JSX.Element;
1
+ export default function GatsbyBenchmarks(): JSX.Element;
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "private": false,
3
3
  "name": "placementt-core",
4
4
  "author": "Placementt",
5
- "version": "1.300.97",
5
+ "version": "1.300.99",
6
6
  "main": "lib/index.js",
7
7
  "types": "lib/index.d.ts",
8
8
  "scripts": {
@@ -20,8 +20,6 @@
20
20
  "@reduxjs/toolkit": "^1.9.7",
21
21
  "@types/jest": "29.5.0",
22
22
  "@types/ngeohash": "0.6.4",
23
- "@types/react": "^19.0.12",
24
- "@types/react-redux": "^7.1.34",
25
23
  "@types/scheduler": "0.23.0",
26
24
  "algoliasearch": "^4.23.3",
27
25
  "expo": "^52.0.7",
@@ -33,7 +31,7 @@
33
31
  "path": "^0.12.7",
34
32
  "react": "18.2.0",
35
33
  "react-dom": "18.2.0",
36
- "react-redux": "9.2.0",
34
+ "react-redux": "^8.1.3",
37
35
  "redux-persist": "^6.0.0",
38
36
  "scheduler": "0.23.0",
39
37
  "slate": "^0.84.0",
@@ -47,7 +45,7 @@
47
45
  "rimraf": "^3.0.2"
48
46
  },
49
47
  "resolutions": {
50
- "@types/react": "19.0.12"
48
+ "@types/react": "18.0.29"
51
49
  },
52
50
  "engines": {
53
51
  "node": "22"