@timeback/core 0.1.7-beta.20260226043117 → 0.1.7-beta.20260303064453

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.js CHANGED
@@ -5762,7 +5762,7 @@ function handleIntersectionResults(result, left, right) {
5762
5762
  result.issues.push(iss);
5763
5763
  }
5764
5764
  }
5765
- const bothKeys = [...unrecKeys].filter(([, f2]) => f2.l && f2.r).map(([k]) => k);
5765
+ const bothKeys = [...unrecKeys].filter(([, f]) => f.l && f.r).map(([k]) => k);
5766
5766
  if (bothKeys.length && unrecIssue) {
5767
5767
  result.issues.push({ ...unrecIssue, keys: bothKeys });
5768
5768
  }
@@ -12097,8 +12097,8 @@ class $ZodRegistry {
12097
12097
  if (p) {
12098
12098
  const pm = { ...this.get(p) ?? {} };
12099
12099
  delete pm.id;
12100
- const f2 = { ...pm, ...this._map.get(schema) };
12101
- return Object.keys(f2).length ? f2 : undefined;
12100
+ const f = { ...pm, ...this._map.get(schema) };
12101
+ return Object.keys(f).length ? f : undefined;
12102
12102
  }
12103
12103
  return this._map.get(schema);
12104
12104
  }
@@ -17405,6 +17405,7 @@ var QtiAssessmentItemUpdateInput = exports_external.object({
17405
17405
  content: exports_external.record(exports_external.string(), exports_external.unknown())
17406
17406
  }).strict();
17407
17407
  var QtiAssessmentItemProcessResponseInput = exports_external.object({
17408
+ identifier: exports_external.string().min(1),
17408
17409
  response: exports_external.union([exports_external.string(), exports_external.array(exports_external.string())])
17409
17410
  }).strict();
17410
17411
  var QtiAssessmentItemRef = exports_external.object({
@@ -22978,7 +22979,7 @@ function handleIntersectionResults2(result, left, right) {
22978
22979
  result.issues.push(iss);
22979
22980
  }
22980
22981
  }
22981
- const bothKeys = [...unrecKeys].filter(([, f2]) => f2.l && f2.r).map(([k]) => k);
22982
+ const bothKeys = [...unrecKeys].filter(([, f]) => f.l && f.r).map(([k]) => k);
22982
22983
  if (bothKeys.length && unrecIssue) {
22983
22984
  result.issues.push({ ...unrecIssue, keys: bothKeys });
22984
22985
  }
@@ -29313,8 +29314,8 @@ class $ZodRegistry2 {
29313
29314
  if (p) {
29314
29315
  const pm = { ...this.get(p) ?? {} };
29315
29316
  delete pm.id;
29316
- const f2 = { ...pm, ...this._map.get(schema) };
29317
- return Object.keys(f2).length ? f2 : undefined;
29317
+ const f = { ...pm, ...this._map.get(schema) };
29318
+ return Object.keys(f).length ? f : undefined;
29318
29319
  }
29319
29320
  return this._map.get(schema);
29320
29321
  }
@@ -34621,6 +34622,7 @@ var QtiAssessmentItemUpdateInput2 = exports_external2.object({
34621
34622
  content: exports_external2.record(exports_external2.string(), exports_external2.unknown())
34622
34623
  }).strict();
34623
34624
  var QtiAssessmentItemProcessResponseInput2 = exports_external2.object({
34625
+ identifier: exports_external2.string().min(1),
34624
34626
  response: exports_external2.union([exports_external2.string(), exports_external2.array(exports_external2.string())])
34625
34627
  }).strict();
34626
34628
  var QtiAssessmentItemRef2 = exports_external2.object({
@@ -39913,7 +39915,7 @@ function handleIntersectionResults3(result, left, right) {
39913
39915
  result.issues.push(iss);
39914
39916
  }
39915
39917
  }
39916
- const bothKeys = [...unrecKeys].filter(([, f2]) => f2.l && f2.r).map(([k]) => k);
39918
+ const bothKeys = [...unrecKeys].filter(([, f]) => f.l && f.r).map(([k]) => k);
39917
39919
  if (bothKeys.length && unrecIssue) {
39918
39920
  result.issues.push({ ...unrecIssue, keys: bothKeys });
39919
39921
  }
@@ -46248,8 +46250,8 @@ class $ZodRegistry3 {
46248
46250
  if (p) {
46249
46251
  const pm = { ...this.get(p) ?? {} };
46250
46252
  delete pm.id;
46251
- const f2 = { ...pm, ...this._map.get(schema) };
46252
- return Object.keys(f2).length ? f2 : undefined;
46253
+ const f = { ...pm, ...this._map.get(schema) };
46254
+ return Object.keys(f).length ? f : undefined;
46253
46255
  }
46254
46256
  return this._map.get(schema);
46255
46257
  }
@@ -51556,6 +51558,7 @@ var QtiAssessmentItemUpdateInput3 = exports_external3.object({
51556
51558
  content: exports_external3.record(exports_external3.string(), exports_external3.unknown())
51557
51559
  }).strict();
51558
51560
  var QtiAssessmentItemProcessResponseInput3 = exports_external3.object({
51561
+ identifier: exports_external3.string().min(1),
51559
51562
  response: exports_external3.union([exports_external3.string(), exports_external3.array(exports_external3.string())])
51560
51563
  }).strict();
51561
51564
  var QtiAssessmentItemRef3 = exports_external3.object({
@@ -53470,7 +53473,11 @@ function validateNonEmptyString3(value, name) {
53470
53473
  var EDUBRIDGE_ENV_VARS = {
53471
53474
  baseUrl: ["TIMEBACK_API_BASE_URL", "TIMEBACK_BASE_URL", "EDUBRIDGE_BASE_URL"],
53472
53475
  clientId: ["TIMEBACK_API_CLIENT_ID", "TIMEBACK_CLIENT_ID", "EDUBRIDGE_CLIENT_ID"],
53473
- clientSecret: ["TIMEBACK_API_CLIENT_SECRET", "TIMEBACK_CLIENT_SECRET", "EDUBRIDGE_CLIENT_SECRET"],
53476
+ clientSecret: [
53477
+ "TIMEBACK_API_CLIENT_SECRET",
53478
+ "TIMEBACK_CLIENT_SECRET",
53479
+ "EDUBRIDGE_CLIENT_SECRET"
53480
+ ],
53474
53481
  authUrl: ["TIMEBACK_API_AUTH_URL", "TIMEBACK_AUTH_URL", "EDUBRIDGE_TOKEN_URL"]
53475
53482
  };
53476
53483
  function resolveToProvider24(config4, registry4 = DEFAULT_PROVIDER_REGISTRY4) {
@@ -56935,7 +56942,7 @@ function handleIntersectionResults4(result, left, right) {
56935
56942
  result.issues.push(iss);
56936
56943
  }
56937
56944
  }
56938
- const bothKeys = [...unrecKeys].filter(([, f2]) => f2.l && f2.r).map(([k]) => k);
56945
+ const bothKeys = [...unrecKeys].filter(([, f]) => f.l && f.r).map(([k]) => k);
56939
56946
  if (bothKeys.length && unrecIssue) {
56940
56947
  result.issues.push({ ...unrecIssue, keys: bothKeys });
56941
56948
  }
@@ -63270,8 +63277,8 @@ class $ZodRegistry4 {
63270
63277
  if (p) {
63271
63278
  const pm = { ...this.get(p) ?? {} };
63272
63279
  delete pm.id;
63273
- const f2 = { ...pm, ...this._map.get(schema) };
63274
- return Object.keys(f2).length ? f2 : undefined;
63280
+ const f = { ...pm, ...this._map.get(schema) };
63281
+ return Object.keys(f).length ? f : undefined;
63275
63282
  }
63276
63283
  return this._map.get(schema);
63277
63284
  }
@@ -68579,6 +68586,7 @@ var QtiAssessmentItemUpdateInput4 = exports_external4.object({
68579
68586
  content: exports_external4.record(exports_external4.string(), exports_external4.unknown())
68580
68587
  }).strict();
68581
68588
  var QtiAssessmentItemProcessResponseInput4 = exports_external4.object({
68589
+ identifier: exports_external4.string().min(1),
68582
68590
  response: exports_external4.union([exports_external4.string(), exports_external4.array(exports_external4.string())])
68583
68591
  }).strict();
68584
68592
  var QtiAssessmentItemRef4 = exports_external4.object({
@@ -70085,14 +70093,14 @@ __export6(exports_util8, {
70085
70093
  TextEncoder: () => TextEncoder6,
70086
70094
  TextDecoder: () => TextDecoder6
70087
70095
  });
70088
- function format6(f2, ...args) {
70089
- if (!isString6(f2)) {
70090
- var objects = [f2];
70096
+ function format6(f, ...args) {
70097
+ if (!isString6(f)) {
70098
+ var objects = [f];
70091
70099
  for (var i = 0;i < args.length; i++)
70092
70100
  objects.push(inspect6(args[i]));
70093
70101
  return objects.join(" ");
70094
70102
  }
70095
- var i = 0, len = args.length, str = String(f2).replace(formatRegExp6, function(x2) {
70103
+ var i = 0, len = args.length, str = String(f).replace(formatRegExp6, function(x2) {
70096
70104
  if (x2 === "%%")
70097
70105
  return "%";
70098
70106
  if (i >= len)
@@ -72013,7 +72021,11 @@ function validateSourcedId2(sourcedId, context) {
72013
72021
  var ONEROSTER_ENV_VARS = {
72014
72022
  baseUrl: ["TIMEBACK_API_BASE_URL", "TIMEBACK_BASE_URL", "ONEROSTER_BASE_URL"],
72015
72023
  clientId: ["TIMEBACK_API_CLIENT_ID", "TIMEBACK_CLIENT_ID", "ONEROSTER_CLIENT_ID"],
72016
- clientSecret: ["TIMEBACK_API_CLIENT_SECRET", "TIMEBACK_CLIENT_SECRET", "ONEROSTER_CLIENT_SECRET"],
72024
+ clientSecret: [
72025
+ "TIMEBACK_API_CLIENT_SECRET",
72026
+ "TIMEBACK_CLIENT_SECRET",
72027
+ "ONEROSTER_CLIENT_SECRET"
72028
+ ],
72017
72029
  authUrl: ["TIMEBACK_API_AUTH_URL", "TIMEBACK_AUTH_URL", "ONEROSTER_TOKEN_URL"]
72018
72030
  };
72019
72031
  function resolveToProvider25(config5, registry5 = DEFAULT_PROVIDER_REGISTRY6) {
@@ -75405,7 +75417,7 @@ function handleIntersectionResults5(result, left, right) {
75405
75417
  result.issues.push(iss);
75406
75418
  }
75407
75419
  }
75408
- const bothKeys = [...unrecKeys].filter(([, f2]) => f2.l && f2.r).map(([k]) => k);
75420
+ const bothKeys = [...unrecKeys].filter(([, f]) => f.l && f.r).map(([k]) => k);
75409
75421
  if (bothKeys.length && unrecIssue) {
75410
75422
  result.issues.push({ ...unrecIssue, keys: bothKeys });
75411
75423
  }
@@ -81740,8 +81752,8 @@ class $ZodRegistry5 {
81740
81752
  if (p) {
81741
81753
  const pm = { ...this.get(p) ?? {} };
81742
81754
  delete pm.id;
81743
- const f2 = { ...pm, ...this._map.get(schema) };
81744
- return Object.keys(f2).length ? f2 : undefined;
81755
+ const f = { ...pm, ...this._map.get(schema) };
81756
+ return Object.keys(f).length ? f : undefined;
81745
81757
  }
81746
81758
  return this._map.get(schema);
81747
81759
  }
@@ -87048,6 +87060,7 @@ var QtiAssessmentItemUpdateInput5 = exports_external5.object({
87048
87060
  content: exports_external5.record(exports_external5.string(), exports_external5.unknown())
87049
87061
  }).strict();
87050
87062
  var QtiAssessmentItemProcessResponseInput5 = exports_external5.object({
87063
+ identifier: exports_external5.string().min(1),
87051
87064
  response: exports_external5.union([exports_external5.string(), exports_external5.array(exports_external5.string())])
87052
87065
  }).strict();
87053
87066
  var QtiAssessmentItemRef5 = exports_external5.object({
@@ -88809,14 +88822,14 @@ __export7(exports_util9, {
88809
88822
  TextEncoder: () => TextEncoder7,
88810
88823
  TextDecoder: () => TextDecoder7
88811
88824
  });
88812
- function format7(f2, ...args) {
88813
- if (!isString7(f2)) {
88814
- var objects = [f2];
88825
+ function format7(f, ...args) {
88826
+ if (!isString7(f)) {
88827
+ var objects = [f];
88815
88828
  for (var i = 0;i < args.length; i++)
88816
88829
  objects.push(inspect7(args[i]));
88817
88830
  return objects.join(" ");
88818
88831
  }
88819
- var i = 0, len = args.length, str = String(f2).replace(formatRegExp7, function(x2) {
88832
+ var i = 0, len = args.length, str = String(f).replace(formatRegExp7, function(x2) {
88820
88833
  if (x2 === "%%")
88821
88834
  return "%";
88822
88835
  if (i >= len)
@@ -94088,7 +94101,7 @@ function handleIntersectionResults6(result, left, right) {
94088
94101
  result.issues.push(iss);
94089
94102
  }
94090
94103
  }
94091
- const bothKeys = [...unrecKeys].filter(([, f2]) => f2.l && f2.r).map(([k]) => k);
94104
+ const bothKeys = [...unrecKeys].filter(([, f]) => f.l && f.r).map(([k]) => k);
94092
94105
  if (bothKeys.length && unrecIssue) {
94093
94106
  result.issues.push({ ...unrecIssue, keys: bothKeys });
94094
94107
  }
@@ -100423,8 +100436,8 @@ class $ZodRegistry6 {
100423
100436
  if (p) {
100424
100437
  const pm = { ...this.get(p) ?? {} };
100425
100438
  delete pm.id;
100426
- const f2 = { ...pm, ...this._map.get(schema) };
100427
- return Object.keys(f2).length ? f2 : undefined;
100439
+ const f = { ...pm, ...this._map.get(schema) };
100440
+ return Object.keys(f).length ? f : undefined;
100428
100441
  }
100429
100442
  return this._map.get(schema);
100430
100443
  }
@@ -105733,6 +105746,7 @@ var QtiAssessmentItemUpdateInput6 = exports_external6.object({
105733
105746
  content: exports_external6.record(exports_external6.string(), exports_external6.unknown())
105734
105747
  }).strict();
105735
105748
  var QtiAssessmentItemProcessResponseInput6 = exports_external6.object({
105749
+ identifier: exports_external6.string().min(1),
105736
105750
  response: exports_external6.union([exports_external6.string(), exports_external6.array(exports_external6.string())])
105737
105751
  }).strict();
105738
105752
  var QtiAssessmentItemRef6 = exports_external6.object({
@@ -106268,14 +106282,14 @@ __export8(exports_util10, {
106268
106282
  TextEncoder: () => TextEncoder8,
106269
106283
  TextDecoder: () => TextDecoder8
106270
106284
  });
106271
- function format8(f2, ...args) {
106272
- if (!isString8(f2)) {
106273
- var objects = [f2];
106285
+ function format8(f, ...args) {
106286
+ if (!isString8(f)) {
106287
+ var objects = [f];
106274
106288
  for (var i = 0;i < args.length; i++)
106275
106289
  objects.push(inspect8(args[i]));
106276
106290
  return objects.join(" ");
106277
106291
  }
106278
- var i = 0, len = args.length, str = String(f2).replace(formatRegExp8, function(x2) {
106292
+ var i = 0, len = args.length, str = String(f).replace(formatRegExp8, function(x2) {
106279
106293
  if (x2 === "%%")
106280
106294
  return "%";
106281
106295
  if (i >= len)
@@ -111563,7 +111577,7 @@ function handleIntersectionResults7(result, left, right) {
111563
111577
  result.issues.push(iss);
111564
111578
  }
111565
111579
  }
111566
- const bothKeys = [...unrecKeys].filter(([, f2]) => f2.l && f2.r).map(([k]) => k);
111580
+ const bothKeys = [...unrecKeys].filter(([, f]) => f.l && f.r).map(([k]) => k);
111567
111581
  if (bothKeys.length && unrecIssue) {
111568
111582
  result.issues.push({ ...unrecIssue, keys: bothKeys });
111569
111583
  }
@@ -117898,8 +117912,8 @@ class $ZodRegistry7 {
117898
117912
  if (p) {
117899
117913
  const pm = { ...this.get(p) ?? {} };
117900
117914
  delete pm.id;
117901
- const f2 = { ...pm, ...this._map.get(schema) };
117902
- return Object.keys(f2).length ? f2 : undefined;
117915
+ const f = { ...pm, ...this._map.get(schema) };
117916
+ return Object.keys(f).length ? f : undefined;
117903
117917
  }
117904
117918
  return this._map.get(schema);
117905
117919
  }
@@ -123206,6 +123220,7 @@ var QtiAssessmentItemUpdateInput7 = exports_external7.object({
123206
123220
  content: exports_external7.record(exports_external7.string(), exports_external7.unknown())
123207
123221
  }).strict();
123208
123222
  var QtiAssessmentItemProcessResponseInput7 = exports_external7.object({
123223
+ identifier: exports_external7.string().min(1),
123209
123224
  response: exports_external7.union([exports_external7.string(), exports_external7.array(exports_external7.string())])
123210
123225
  }).strict();
123211
123226
  var QtiAssessmentItemRef7 = exports_external7.object({
@@ -123369,10 +123384,10 @@ class AssessmentItemsResource {
123369
123384
  }
123370
123385
  update(identifier, body) {
123371
123386
  validateNonEmptyString6(identifier, "identifier");
123372
- validateWithSchema8(QtiAssessmentItemUpdateInput7, body, "assessment item update");
123387
+ validateWithSchema8(QtiAssessmentItemUpdateInput7, { ...body, identifier }, "assessment item update");
123373
123388
  return this.transport.request(`/assessment-items/${encodeURIComponent(identifier)}`, {
123374
123389
  method: "PUT",
123375
- body
123390
+ body: { ...body, identifier }
123376
123391
  });
123377
123392
  }
123378
123393
  async upsert(identifier, body) {
@@ -123396,12 +123411,12 @@ class AssessmentItemsResource {
123396
123411
  method: "DELETE"
123397
123412
  });
123398
123413
  }
123399
- processResponse(identifier, body) {
123400
- validateNonEmptyString6(identifier, "identifier");
123414
+ processResponse(itemIdentifier, body) {
123415
+ validateNonEmptyString6(itemIdentifier, "itemIdentifier");
123401
123416
  validateWithSchema8(QtiAssessmentItemProcessResponseInput7, body, "item response");
123402
- return this.transport.request(`/assessment-items/${encodeURIComponent(identifier)}/process-response`, {
123417
+ return this.transport.request(`/assessment-items/${encodeURIComponent(itemIdentifier)}/process-response`, {
123403
123418
  method: "POST",
123404
- body: { identifier, ...body }
123419
+ body
123405
123420
  });
123406
123421
  }
123407
123422
  createFromXml(body) {
@@ -123613,10 +123628,10 @@ class AssessmentTestsResource {
123613
123628
  }
123614
123629
  update(identifier, body) {
123615
123630
  validateNonEmptyString6(identifier, "identifier");
123616
- validateWithSchema8(QtiAssessmentTestUpdateInput7, body, "assessment test update");
123631
+ validateWithSchema8(QtiAssessmentTestUpdateInput7, { ...body, identifier }, "assessment test update");
123617
123632
  return this.transport.request(`/assessment-tests/${encodeURIComponent(identifier)}`, {
123618
123633
  method: "PUT",
123619
- body
123634
+ body: { ...body, identifier }
123620
123635
  });
123621
123636
  }
123622
123637
  async upsert(identifier, body) {
@@ -123729,10 +123744,10 @@ class StimuliResource {
123729
123744
  }
123730
123745
  update(identifier, body) {
123731
123746
  validateNonEmptyString6(identifier, "identifier");
123732
- validateWithSchema8(QtiStimulusUpdateInput7, body, "stimulus update");
123747
+ validateWithSchema8(QtiStimulusUpdateInput7, { ...body, identifier }, "stimulus update");
123733
123748
  return this.transport.request(`/stimuli/${encodeURIComponent(identifier)}`, {
123734
123749
  method: "PUT",
123735
- body
123750
+ body: { ...body, identifier }
123736
123751
  });
123737
123752
  }
123738
123753
  async upsert(identifier, body) {
@@ -123872,14 +123887,14 @@ __export9(exports_util11, {
123872
123887
  TextEncoder: () => TextEncoder9,
123873
123888
  TextDecoder: () => TextDecoder9
123874
123889
  });
123875
- function format9(f2, ...args) {
123876
- if (!isString9(f2)) {
123877
- var objects = [f2];
123890
+ function format9(f, ...args) {
123891
+ if (!isString9(f)) {
123892
+ var objects = [f];
123878
123893
  for (var i = 0;i < args.length; i++)
123879
123894
  objects.push(inspect9(args[i]));
123880
123895
  return objects.join(" ");
123881
123896
  }
123882
- var i = 0, len = args.length, str = String(f2).replace(formatRegExp9, function(x2) {
123897
+ var i = 0, len = args.length, str = String(f).replace(formatRegExp9, function(x2) {
123883
123898
  if (x2 === "%%")
123884
123899
  return "%";
123885
123900
  if (i >= len)
@@ -128945,7 +128960,7 @@ function handleIntersectionResults8(result, left, right) {
128945
128960
  result.issues.push(iss);
128946
128961
  }
128947
128962
  }
128948
- const bothKeys = [...unrecKeys].filter(([, f2]) => f2.l && f2.r).map(([k]) => k);
128963
+ const bothKeys = [...unrecKeys].filter(([, f]) => f.l && f.r).map(([k]) => k);
128949
128964
  if (bothKeys.length && unrecIssue) {
128950
128965
  result.issues.push({ ...unrecIssue, keys: bothKeys });
128951
128966
  }
@@ -135280,8 +135295,8 @@ class $ZodRegistry8 {
135280
135295
  if (p) {
135281
135296
  const pm = { ...this.get(p) ?? {} };
135282
135297
  delete pm.id;
135283
- const f2 = { ...pm, ...this._map.get(schema) };
135284
- return Object.keys(f2).length ? f2 : undefined;
135298
+ const f = { ...pm, ...this._map.get(schema) };
135299
+ return Object.keys(f).length ? f : undefined;
135285
135300
  }
135286
135301
  return this._map.get(schema);
135287
135302
  }
@@ -140590,6 +140605,7 @@ var QtiAssessmentItemUpdateInput8 = exports_external8.object({
140590
140605
  content: exports_external8.record(exports_external8.string(), exports_external8.unknown())
140591
140606
  }).strict();
140592
140607
  var QtiAssessmentItemProcessResponseInput8 = exports_external8.object({
140608
+ identifier: exports_external8.string().min(1),
140593
140609
  response: exports_external8.union([exports_external8.string(), exports_external8.array(exports_external8.string())])
140594
140610
  }).strict();
140595
140611
  var QtiAssessmentItemRef8 = exports_external8.object({
package/dist/types.js CHANGED
@@ -21,14 +21,6 @@ var exports_public_types2 = {};
21
21
  __export(exports_public_types2, {
22
22
  CALIPER_DATA_VERSION: () => CALIPER_DATA_VERSION
23
23
  });
24
- var TypeScriptPackages = {
25
- tsc: "tsc",
26
- nativePreview: "@typescript/native-preview"
27
- };
28
- var TYPESCRIPT_RUNNER = {
29
- package: TypeScriptPackages.nativePreview,
30
- bin: "tsgo"
31
- };
32
24
  var CALIPER_DATA_VERSION = "http://purl.imsglobal.org/ctx/caliper/v1p2";
33
25
  // ../webhooks/dist/public-types.js
34
26
  var exports_public_types3 = {};
package/dist/utils.js CHANGED
@@ -1757,7 +1757,11 @@ function validateNonEmptyString(value, name) {
1757
1757
  var EDUBRIDGE_ENV_VARS = {
1758
1758
  baseUrl: ["TIMEBACK_API_BASE_URL", "TIMEBACK_BASE_URL", "EDUBRIDGE_BASE_URL"],
1759
1759
  clientId: ["TIMEBACK_API_CLIENT_ID", "TIMEBACK_CLIENT_ID", "EDUBRIDGE_CLIENT_ID"],
1760
- clientSecret: ["TIMEBACK_API_CLIENT_SECRET", "TIMEBACK_CLIENT_SECRET", "EDUBRIDGE_CLIENT_SECRET"],
1760
+ clientSecret: [
1761
+ "TIMEBACK_API_CLIENT_SECRET",
1762
+ "TIMEBACK_CLIENT_SECRET",
1763
+ "EDUBRIDGE_CLIENT_SECRET"
1764
+ ],
1761
1765
  authUrl: ["TIMEBACK_API_AUTH_URL", "TIMEBACK_AUTH_URL", "EDUBRIDGE_TOKEN_URL"]
1762
1766
  };
1763
1767
  function resolveToProvider2(config, registry = DEFAULT_PROVIDER_REGISTRY) {
@@ -5222,7 +5226,7 @@ function handleIntersectionResults(result, left, right) {
5222
5226
  result.issues.push(iss);
5223
5227
  }
5224
5228
  }
5225
- const bothKeys = [...unrecKeys].filter(([, f2]) => f2.l && f2.r).map(([k]) => k);
5229
+ const bothKeys = [...unrecKeys].filter(([, f]) => f.l && f.r).map(([k]) => k);
5226
5230
  if (bothKeys.length && unrecIssue) {
5227
5231
  result.issues.push({ ...unrecIssue, keys: bothKeys });
5228
5232
  }
@@ -11557,8 +11561,8 @@ class $ZodRegistry {
11557
11561
  if (p) {
11558
11562
  const pm = { ...this.get(p) ?? {} };
11559
11563
  delete pm.id;
11560
- const f2 = { ...pm, ...this._map.get(schema) };
11561
- return Object.keys(f2).length ? f2 : undefined;
11564
+ const f = { ...pm, ...this._map.get(schema) };
11565
+ return Object.keys(f).length ? f : undefined;
11562
11566
  }
11563
11567
  return this._map.get(schema);
11564
11568
  }
@@ -16866,6 +16870,7 @@ var QtiAssessmentItemUpdateInput = exports_external.object({
16866
16870
  content: exports_external.record(exports_external.string(), exports_external.unknown())
16867
16871
  }).strict();
16868
16872
  var QtiAssessmentItemProcessResponseInput = exports_external.object({
16873
+ identifier: exports_external.string().min(1),
16869
16874
  response: exports_external.union([exports_external.string(), exports_external.array(exports_external.string())])
16870
16875
  }).strict();
16871
16876
  var QtiAssessmentItemRef = exports_external.object({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@timeback/core",
3
- "version": "0.1.7-beta.20260226043117",
3
+ "version": "0.1.7-beta.20260303064453",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {