picked 0.0.116-next.2 → 0.0.116-next.4

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.
@@ -22,7 +22,7 @@ experience(id: ID!, workspaceId: ID!): Experience @auth
22
22
  ### `experiences`
23
23
 
24
24
  Lists the experiences in a workspace. `search` matches a case-insensitive substring of the name;
25
- `sortKey` and `reverse` set the order.
25
+ `status` keeps only the `ACTIVE` or the `DRAFT` experiences; `sortKey` and `reverse` set the order.
26
26
  Scope: `ORGANIZATION_WORKSPACE_READ`.
27
27
 
28
28
  ```graphql
@@ -30,6 +30,7 @@ experiences(
30
30
  workspaceId: ID!
31
31
  """Only experiences of this kind. Null lists every kind."""
32
32
  type: ExperienceType
33
+ status: ExperienceStatus
33
34
  first: Int
34
35
  after: String
35
36
  last: Int
@@ -22,11 +22,12 @@ feature(input: FeatureInput!): Feature @auth
22
22
  ### `features`
23
23
 
24
24
  Lists the feature flags in a workspace. `search` matches a case-insensitive substring of the
25
- name; `sortKey` and `reverse` set the order.
25
+ name; `enabled` keeps only the flags that are on (`true`) or off (`false`); `sortKey` and
26
+ `reverse` set the order.
26
27
  Scope: `ORGANIZATION_WORKSPACE_READ`.
27
28
 
28
29
  ```graphql
29
- features(workspaceId: ID!, first: Int, after: String, last: Int, before: String, search: String, sortKey: FeatureSortKeys = NAME, reverse: Boolean = false): FeatureConnection! @auth
30
+ features(workspaceId: ID!, first: Int, after: String, last: Int, before: String, search: String, enabled: Boolean, sortKey: FeatureSortKeys = NAME, reverse: Boolean = false): FeatureConnection! @auth
30
31
  ```
31
32
 
32
33
  ## Mutations
@@ -86,7 +86,7 @@ An operation with `@auth` needs a caller that has authenticated. `@auth(only: US
86
86
  | [`experienceCreate`](/reference/management-api/schema/experience#experiencecreate) | Mutation | Creates an experience in a workspace. A `PAGE` experience gets its single step and flow graph automatically. Scope: `ORGANIZATION_WORKSPACE_UPDATE`. |
87
87
  | [`experienceDelete`](/reference/management-api/schema/experience#experiencedelete) | Mutation | Deletes an experience. Its steps, conditions and actions stay in the workspace. Scope: `ORGANIZATION_WORKSPACE_UPDATE`. |
88
88
  | [`experienceFlowUpdate`](/reference/management-api/schema/experience#experienceflowupdate) | Mutation | Updates an experience's settings and flow graph, with the steps, conditions, actions and fields it uses, in one call. Validation runs before any write, and a change that fails it fails the whole call. Scope: `ORGANIZATION_WORKSPACE_UPDATE`. |
89
- | [`experiences`](/reference/management-api/schema/experience#experiences) | Query | Lists the experiences in a workspace. `search` matches a case-insensitive substring of the name; `sortKey` and `reverse` set the order. Scope: `ORGANIZATION_WORKSPACE_READ`. |
89
+ | [`experiences`](/reference/management-api/schema/experience#experiences) | Query | Lists the experiences in a workspace. `search` matches a case-insensitive substring of the name; `status` keeps only the `ACTIVE` or the `DRAFT` experiences; `sortKey` and `reverse` set the order. Scope: `ORGANIZATION_WORKSPACE_READ`. |
90
90
  | [`experienceUpdate`](/reference/management-api/schema/experience#experienceupdate) | Mutation | Updates an experience's settings. `experienceFlowUpdate` changes its flow graph. Scope: `ORGANIZATION_WORKSPACE_UPDATE`. |
91
91
  | [`externalApi`](/reference/management-api/schema/external-api#externalapi) | Query | Reads an external API. Null when it does not exist. Scope: `ORGANIZATION_INTEGRATIONS_READ`. |
92
92
  | [`externalApiAuthHeaderClear`](/reference/management-api/schema/external-api#externalapiauthheaderclear) | Mutation | Removes the static auth header of an external API. An external API with no static header is unchanged. Scope: `ORGANIZATION_INTEGRATIONS_UPDATE`. |
@@ -100,7 +100,7 @@ An operation with `@auth` needs a caller that has authenticated. `@auth(only: US
100
100
  | [`feature`](/reference/management-api/schema/feature#feature) | Query | Reads a feature flag by its ID and workspace. Scope: `ORGANIZATION_WORKSPACE_READ`. |
101
101
  | [`featureCreate`](/reference/management-api/schema/feature#featurecreate) | Mutation | Creates a feature flag in a workspace. Scope: `ORGANIZATION_WORKSPACE_UPDATE`. |
102
102
  | [`featureDelete`](/reference/management-api/schema/feature#featuredelete) | Mutation | Deletes a feature flag. Scope: `ORGANIZATION_WORKSPACE_UPDATE`. |
103
- | [`features`](/reference/management-api/schema/feature#features) | Query | Lists the feature flags in a workspace. `search` matches a case-insensitive substring of the name; `sortKey` and `reverse` set the order. Scope: `ORGANIZATION_WORKSPACE_READ`. |
103
+ | [`features`](/reference/management-api/schema/feature#features) | Query | Lists the feature flags in a workspace. `search` matches a case-insensitive substring of the name; `enabled` keeps only the flags that are on (`true`) or off (`false`); `sortKey` and `reverse` set the order. Scope: `ORGANIZATION_WORKSPACE_READ`. |
104
104
  | [`featureUpdate`](/reference/management-api/schema/feature#featureupdate) | Mutation | Updates a feature flag. Scope: `ORGANIZATION_WORKSPACE_UPDATE`. |
105
105
  | [`feedbackCreate`](/reference/management-api/schema/feedback#feedbackcreate) | Mutation | Sends product feedback from the signed-in user to the Picked team. |
106
106
  | [`field`](/reference/management-api/schema/field#field) | Query | Reads a field. Scope: `ORGANIZATION_WORKSPACE_READ`. |