@duckpic/content-spec 0.2.7 → 0.2.8

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.
@@ -5,6 +5,7 @@ export declare const VocabularyListPropsSchema: z.ZodObject<{
5
5
  staticVocabIds: z.ZodDefault<z.ZodArray<z.ZodNumber>>;
6
6
  userActions: z.ZodDefault<z.ZodArray<z.ZodEnum<{
7
7
  select: "select";
8
+ "blur-select": "blur-select";
8
9
  "add-to-my-vocabulary": "add-to-my-vocabulary";
9
10
  }>>>;
10
11
  visibleForLevels: z.ZodDefault<z.ZodArray<z.ZodEnum<typeof import("../schema/Level").LevelEnum>>>;
@@ -3,7 +3,7 @@ import { VisibleForLevelsSchema } from "../schema/Level";
3
3
  export const VocabularyListPropsSchema = z.object({
4
4
  title: z.string().optional(),
5
5
  staticVocabIds: z.array(z.number()).default([]),
6
- userActions: z.array(z.enum(["select", "add-to-my-vocabulary"])).default([]),
6
+ userActions: z.array(z.enum(["select", "blur-select", "add-to-my-vocabulary"])).default([]),
7
7
  visibleForLevels: VisibleForLevelsSchema,
8
8
  });
9
9
  export const VocabularyListComponentSpec = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@duckpic/content-spec",
3
- "version": "0.2.7",
3
+ "version": "0.2.8",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "type": "module",
package/publish.sh ADDED
@@ -0,0 +1,6 @@
1
+ npm logout
2
+ npm login --auth-type=web
3
+ npm whoami
4
+
5
+ npm version patch
6
+ npm publish --access public
@@ -5,7 +5,7 @@ import { VisibleForLevelsSchema } from "../schema/Level";
5
5
  export const VocabularyListPropsSchema = z.object({
6
6
  title: z.string().optional(),
7
7
  staticVocabIds: z.array(z.number()).default([]),
8
- userActions: z.array(z.enum(["select", "add-to-my-vocabulary"])).default([]),
8
+ userActions: z.array(z.enum(["select", "blur-select", "add-to-my-vocabulary"])).default([]),
9
9
  visibleForLevels: VisibleForLevelsSchema,
10
10
  });
11
11