@01-edu/shared 1.2.5 → 1.2.6

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.
Files changed (2) hide show
  1. package/attrs-defs.js +6 -5
  2. package/package.json +1 -1
package/attrs-defs.js CHANGED
@@ -4035,22 +4035,22 @@ types.matchInfluence = TypeObject({
4035
4035
  instruction:
4036
4036
  'Adjust the weights in the match algorithm to influence how audits are attributed',
4037
4037
  type: {
4038
- auditsRatio: Literal(2.0, {
4038
+ auditsRatio: Literal(1, {
4039
4039
  label: 'Current Audit Ratio',
4040
4040
  editable: true,
4041
4041
  required: true,
4042
4042
  }),
4043
- auditsAssigned: Literal(2.0, {
4043
+ auditsAssigned: Literal(1, {
4044
4044
  editable: true,
4045
4045
  required: true,
4046
4046
  label: 'Fewest Pending Audits',
4047
4047
  }),
4048
- levelProximity: Literal(2.0, {
4048
+ levelProximity: Literal(1, {
4049
4049
  editable: true,
4050
4050
  required: true,
4051
4051
  label: 'Level Proximity',
4052
4052
  }),
4053
- lastAuditAttributed: Literal(2.0, {
4053
+ lastAuditAttributed: Literal(1, {
4054
4054
  editable: true,
4055
4055
  required: true,
4056
4056
  label: 'Last Audit Attributed',
@@ -4266,7 +4266,8 @@ const sharedBranchOptions = {
4266
4266
  hidden: true,
4267
4267
  }
4268
4268
 
4269
- const getBranchOptions = (object, limit = 9) => {
4269
+ const getBranchOptions = object => {
4270
+ const limit = 9
4270
4271
  const branchCounts = {}
4271
4272
  for (const child of Object.values(object.parent.children || {})) {
4272
4273
  const branch = child.attrs.branch
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@01-edu/shared",
3
- "version": "1.2.5",
3
+ "version": "1.2.6",
4
4
  "type": "module",
5
5
  "description": "",
6
6
  "scripts": {