@platecms/delta-vue 1.4.3 → 1.6.0

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.
@@ -277,6 +277,12 @@ export type CasRegexSuggestion = {
277
277
  startIndex: Scalars['Int']['output'];
278
278
  };
279
279
 
280
+ export type CasTagSuggestion = {
281
+ __typename?: 'CasTagSuggestion';
282
+ confidence: Scalars['Float']['output'];
283
+ tag: Tag;
284
+ };
285
+
280
286
  export type CastSuggestion = {
281
287
  __typename?: 'CastSuggestion';
282
288
  endIndex: Scalars['Int']['output'];
@@ -2551,6 +2557,8 @@ export type Query = {
2551
2557
  roleAssignmentsForOrganization: Array<RoleAssignment>;
2552
2558
  /** Finds one or many Tags by PRN. Throws NotFoundException when no Tag could be found. */
2553
2559
  tag: Array<Tag>;
2560
+ /** Suggest existing tags to use for a ContentItem or ContentExperience. Automatically detects frlom the PRN which of the two it is. */
2561
+ tagSuggestions: Array<CasTagSuggestion>;
2554
2562
  /** Orders and paginates all Tags. */
2555
2563
  tags: TagsConnection;
2556
2564
  /** Finds one or many Themes by PRN. Throws NotFoundException when no Theme could be found. */
@@ -2824,6 +2832,13 @@ export type QueryTagArgs = {
2824
2832
  };
2825
2833
 
2826
2834
 
2835
+ export type QueryTagSuggestionsArgs = {
2836
+ config?: InputMaybe<TagSuggestionsConfig>;
2837
+ inputPrnString: Scalars['PRN']['input'];
2838
+ limit?: InputMaybe<Scalars['Int']['input']>;
2839
+ };
2840
+
2841
+
2827
2842
  export type QueryTagsArgs = {
2828
2843
  orderBy?: InputMaybe<OrderOptionsInput>;
2829
2844
  paginate: PaginationOptionsInput;
@@ -3121,6 +3136,10 @@ export type SuccessResponse = {
3121
3136
  status: Scalars['String']['output'];
3122
3137
  };
3123
3138
 
3139
+ export enum SuggestionMethod {
3140
+ Count = 'COUNT'
3141
+ }
3142
+
3124
3143
  export type Tag = {
3125
3144
  __typename?: 'Tag';
3126
3145
  /** The amount of direct children. */
@@ -3175,6 +3194,12 @@ export type TagEdge = {
3175
3194
  node: Tag;
3176
3195
  };
3177
3196
 
3197
+ export type TagSuggestionsConfig = {
3198
+ exclude?: InputMaybe<Array<Scalars['String']['input']>>;
3199
+ suggestionMethod?: InputMaybe<SuggestionMethod>;
3200
+ threshold?: InputMaybe<Scalars['Float']['input']>;
3201
+ };
3202
+
3178
3203
  export enum TagVisibility {
3179
3204
  Private = 'PRIVATE',
3180
3205
  Public = 'PUBLIC'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platecms/delta-vue",
3
- "version": "1.4.3",
3
+ "version": "1.6.0",
4
4
  "description": "Plugin to connect to the Plate Delta CMS in a Vue application.",
5
5
  "license": "UNLICENSED",
6
6
  "publishConfig": {
@@ -23,10 +23,10 @@
23
23
  "./styles.css": "./src/styles.css"
24
24
  },
25
25
  "dependencies": {
26
- "@platecms/delta-cast": "1.4.3",
27
- "@platecms/delta-castscript": "1.4.3",
28
- "@platecms/delta-client": "1.4.3",
29
- "@platecms/delta-plate-resource-notation": "1.4.3",
26
+ "@platecms/delta-cast": "1.6.0",
27
+ "@platecms/delta-castscript": "1.6.0",
28
+ "@platecms/delta-client": "1.6.0",
29
+ "@platecms/delta-plate-resource-notation": "1.6.0",
30
30
  "@graphql-codegen/cli": "5.0.7",
31
31
  "@graphql-typed-document-node/core": "3.2.0",
32
32
  "axios": "1.11.0",