@projectcaluma/ember-testing 14.3.2 → 14.4.1

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,9 +1,9 @@
1
1
  """
2
- Exposes a URL that specifies the behaviour of this scalar.
2
+ Exposes a URL that specifies the behavior of this scalar.
3
3
  """
4
4
  directive @specifiedBy(
5
5
  """
6
- The URL that specifies the behaviour of this scalar.
6
+ The URL that specifies the behavior of this scalar.
7
7
  """
8
8
  url: String!
9
9
  ) on SCALAR
@@ -1682,8 +1682,8 @@ type Form implements Node {
1682
1682
  type FormatValidator {
1683
1683
  slug: String!
1684
1684
  name: String!
1685
- regex: String!
1686
- errorMsg: String!
1685
+ regex: String
1686
+ allowedQuestionTypes: [String]
1687
1687
  }
1688
1688
 
1689
1689
  type FormatValidatorConnection {
@@ -2138,7 +2138,7 @@ type Option implements Node {
2138
2138
  modifiedByGroup: String
2139
2139
  slug: String!
2140
2140
  label: String!
2141
- isHidden: String!
2141
+ isHidden: QuestionJexl!
2142
2142
  isArchived: Boolean!
2143
2143
  meta: GenericScalar
2144
2144
 
@@ -2760,6 +2760,7 @@ input SaveChoiceQuestionInput {
2760
2760
  isArchived: Boolean
2761
2761
  options: [ID]!
2762
2762
  hintText: String
2763
+ formatValidators: [String]
2763
2764
  clientMutationId: String
2764
2765
  }
2765
2766
 
@@ -2860,6 +2861,7 @@ input SaveDateQuestionInput {
2860
2861
  meta: JSONString
2861
2862
  isArchived: Boolean
2862
2863
  hintText: String
2864
+ formatValidators: [String]
2863
2865
  clientMutationId: String
2864
2866
  }
2865
2867
 
@@ -3096,6 +3098,7 @@ input SaveDynamicChoiceQuestionInput {
3096
3098
  isArchived: Boolean
3097
3099
  dataSource: String!
3098
3100
  hintText: String
3101
+ formatValidators: [String]
3099
3102
  clientMutationId: String
3100
3103
  }
3101
3104
 
@@ -3114,6 +3117,7 @@ input SaveDynamicMultipleChoiceQuestionInput {
3114
3117
  isArchived: Boolean
3115
3118
  dataSource: String!
3116
3119
  hintText: String
3120
+ formatValidators: [String]
3117
3121
  clientMutationId: String
3118
3122
  }
3119
3123
 
@@ -3136,6 +3140,7 @@ input SaveFilesQuestionInput {
3136
3140
  meta: JSONString
3137
3141
  isArchived: Boolean
3138
3142
  hintText: String
3143
+ formatValidators: [String]
3139
3144
  clientMutationId: String
3140
3145
  }
3141
3146
 
@@ -3157,6 +3162,7 @@ input SaveFloatQuestionInput {
3157
3162
  step: Float
3158
3163
  placeholder: String
3159
3164
  hintText: String
3165
+ formatValidators: [String]
3160
3166
  clientMutationId: String
3161
3167
  }
3162
3168
 
@@ -3209,6 +3215,7 @@ input SaveIntegerQuestionInput {
3209
3215
  maxValue: Int
3210
3216
  placeholder: String
3211
3217
  hintText: String
3218
+ formatValidators: [String]
3212
3219
  clientMutationId: String
3213
3220
  }
3214
3221
 
@@ -3227,6 +3234,7 @@ input SaveMultipleChoiceQuestionInput {
3227
3234
  isArchived: Boolean
3228
3235
  options: [ID]!
3229
3236
  hintText: String
3237
+ formatValidators: [String]
3230
3238
  clientMutationId: String
3231
3239
  }
3232
3240
 
@@ -3320,6 +3328,7 @@ input SaveTableQuestionInput {
3320
3328
  """
3321
3329
  rowForm: ID!
3322
3330
  hintText: String
3331
+ formatValidators: [String]
3323
3332
  clientMutationId: String
3324
3333
  }
3325
3334
 
@@ -3890,6 +3899,7 @@ type TaskEdge {
3890
3899
 
3891
3900
  input TaskFilterSetType {
3892
3901
  slug: String
3902
+ slugs: [String]
3893
3903
  name: String
3894
3904
  description: String
3895
3905
  type: Type
@@ -1,4 +1,3 @@
1
- import { faker } from "@faker-js/faker";
2
1
  import { Factory } from "miragejs";
3
2
 
4
3
  export default Factory.extend({
@@ -7,6 +6,6 @@ export default Factory.extend({
7
6
  },
8
7
  name: (i) => `Validator #${i + 1}`,
9
8
  slug: (i) => `validator-${i + 1}`,
10
- errorMsg: () => faker.lorem.paragraph(),
11
9
  regex: "/asdf/",
10
+ allowedQuestionTypes: () => ["text", "textarea"],
12
11
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@projectcaluma/ember-testing",
3
- "version": "14.3.2",
3
+ "version": "14.4.1",
4
4
  "description": "Ember addon for testing with Caluma addons.",
5
5
  "keywords": [
6
6
  "ember-addon"
@@ -11,7 +11,7 @@
11
11
  "dependencies": {
12
12
  "@babel/core": "^7.26.0",
13
13
  "@ember/string": "^3.1.1 || ^4.0.0",
14
- "@faker-js/faker": "^9.4.0",
14
+ "@faker-js/faker": "^9.4.0 || ^10.0.0",
15
15
  "broccoli-funnel": "^3.0.8",
16
16
  "broccoli-merge-trees": "^4.2.0",
17
17
  "ember-apollo-client": "~4.0.2",
@@ -42,16 +42,16 @@
42
42
  "ember-cli-sri": "2.1.1",
43
43
  "ember-cli-terser": "4.0.2",
44
44
  "ember-load-initializers": "3.0.1",
45
- "ember-qunit": "9.0.2",
46
- "ember-resolver": "13.1.0",
45
+ "ember-qunit": "9.0.3",
46
+ "ember-resolver": "13.1.1",
47
47
  "ember-source": "6.1.0",
48
48
  "ember-source-channel-url": "3.0.0",
49
49
  "ember-try": "4.0.0",
50
50
  "graphql-tag": "2.12.6",
51
51
  "loader.js": "4.7.0",
52
52
  "qunit": "2.24.1",
53
- "qunit-dom": "3.4.0",
54
- "webpack": "5.99.8"
53
+ "qunit-dom": "3.5.0",
54
+ "webpack": "5.101.3"
55
55
  },
56
56
  "peerDependencies": {
57
57
  "ember-source": ">= 4.0.0"