placementt-core 1.400.1081 → 1.400.1083
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/callables/activityLogging.d.ts +11 -0
- package/lib/callables/activityLogging.js +7 -0
- package/lib/callables/activityLogging.js.map +1 -1
- package/lib/callables/index.d.ts +0 -1
- package/lib/callables/index.js +0 -1
- package/lib/callables/index.js.map +1 -1
- package/lib/callables/registry.d.ts +12 -2878
- package/lib/callables/registry.js +1 -3
- package/lib/callables/registry.js.map +1 -1
- package/lib/firebase/callableJobContext.js +5 -0
- package/lib/firebase/callableJobContext.js.map +1 -1
- package/lib/firebase/firebase.d.ts +1 -1
- package/lib/firebase/firebase.js +10 -0
- package/lib/firebase/firebase.js.map +1 -1
- package/lib/typeDefinitions.d.ts +0 -2
- package/lib/typeDefinitions.js.map +1 -1
- package/package.json +1 -1
- package/src/callables/activityLogging.ts +7 -0
- package/src/callables/index.ts +0 -1
- package/src/callables/registry.ts +1 -3
- package/src/firebase/callableJobContext.ts +6 -0
- package/src/firebase/firebase.tsx +12 -1
- package/src/typeDefinitions.ts +0 -6
- package/lib/callables/nextSteps.d.ts +0 -2497
- package/lib/callables/nextSteps.js +0 -191
- package/lib/callables/nextSteps.js.map +0 -1
- package/src/callables/nextSteps.ts +0 -205
|
@@ -24,16 +24,27 @@ export declare const activityLoggingCallables: {
|
|
|
24
24
|
* correcting a tag, or turning rollOver on and off — none of which is
|
|
25
25
|
* news a pupil needs. Newly launched year groups are emailed otherwise. */
|
|
26
26
|
silent: z.ZodOptional<z.ZodBoolean>;
|
|
27
|
+
/** Set by `useExecuteCallableJob`. The launch then reports on the jobs
|
|
28
|
+
* panel, one line per student emailed or skipped. */
|
|
29
|
+
jobId: z.ZodOptional<z.ZodString>;
|
|
30
|
+
/** The year groups the client expects to be news, so the job can be
|
|
31
|
+
* titled before the server has worked it out. The server decides for
|
|
32
|
+
* itself who is actually emailed; this is never read there. */
|
|
33
|
+
newlyLive: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
27
34
|
}, "strip", z.ZodTypeAny, {
|
|
28
35
|
oId: string;
|
|
29
36
|
yearGroups: string[];
|
|
30
37
|
silent?: boolean | undefined;
|
|
38
|
+
jobId?: string | undefined;
|
|
31
39
|
rollOver?: boolean | undefined;
|
|
40
|
+
newlyLive?: string[] | undefined;
|
|
32
41
|
}, {
|
|
33
42
|
oId: string;
|
|
34
43
|
yearGroups: string[];
|
|
35
44
|
silent?: boolean | undefined;
|
|
45
|
+
jobId?: string | undefined;
|
|
36
46
|
rollOver?: boolean | undefined;
|
|
47
|
+
newlyLive?: string[] | undefined;
|
|
37
48
|
}>;
|
|
38
49
|
response: z.ZodObject<{
|
|
39
50
|
launched: z.ZodBoolean;
|
|
@@ -27,6 +27,13 @@ exports.activityLoggingCallables = {
|
|
|
27
27
|
* correcting a tag, or turning rollOver on and off — none of which is
|
|
28
28
|
* news a pupil needs. Newly launched year groups are emailed otherwise. */
|
|
29
29
|
silent: zod_1.z.boolean().optional(),
|
|
30
|
+
/** Set by `useExecuteCallableJob`. The launch then reports on the jobs
|
|
31
|
+
* panel, one line per student emailed or skipped. */
|
|
32
|
+
jobId: zod_1.z.string().optional(),
|
|
33
|
+
/** The year groups the client expects to be news, so the job can be
|
|
34
|
+
* titled before the server has worked it out. The server decides for
|
|
35
|
+
* itself who is actually emailed; this is never read there. */
|
|
36
|
+
newlyLive: zod_1.z.array(zod_1.z.string()).optional(),
|
|
30
37
|
}),
|
|
31
38
|
response: zod_1.z.object({
|
|
32
39
|
launched: zod_1.z.boolean(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"activityLogging.js","sourceRoot":"","sources":["../../src/callables/activityLogging.ts"],"names":[],"mappings":";;;AAAA,6BAAsB;AAGtB;;;;;;;;;GASG;AACU,QAAA,wBAAwB,GAAG;IACpC,uCAAuC,EAAE;QACrC,OAAO,EAAE,OAAC,CAAC,MAAM,CAAC;YACd,GAAG,EA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;SACtB,CAAC;KACL;CACoB,CAAC"}
|
package/lib/callables/index.d.ts
CHANGED
package/lib/callables/index.js
CHANGED
|
@@ -22,6 +22,5 @@ __exportStar(require("./events"), exports);
|
|
|
22
22
|
__exportStar(require("./jobRoles"), exports);
|
|
23
23
|
__exportStar(require("./apprenticeships"), exports);
|
|
24
24
|
__exportStar(require("./he"), exports);
|
|
25
|
-
__exportStar(require("./nextSteps"), exports);
|
|
26
25
|
__exportStar(require("./activityLogging"), exports);
|
|
27
26
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/callables/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB;AACxB,6CAA2B;AAC3B,uDAAqC;AACrC,8CAA4B;AAC5B,2CAAyB;AACzB,6CAA2B;AAC3B,oDAAkC;AAClC,uCAAqB;AACrB,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/callables/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB;AACxB,6CAA2B;AAC3B,uDAAqC;AACrC,8CAA4B;AAC5B,2CAAyB;AACzB,6CAA2B;AAC3B,oDAAkC;AAClC,uCAAqB;AACrB,oDAAkC"}
|