storyloco 1.8.2 → 1.9.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.
package/package.json CHANGED
@@ -1,96 +1,97 @@
1
1
  {
2
- "name": "storyloco",
3
- "version": "1.8.2",
4
- "description": "A collection of slick Storyblok field plugins built with Svelte 5, TypeScript, and Tailwind CSS",
5
- "keywords": [
6
- "storyblok",
7
- "field-plugin",
8
- "svelte",
9
- "typescript",
10
- "tailwind",
11
- "cms",
12
- "headless"
13
- ],
14
- "license": "MIT",
15
- "repository": {
16
- "type": "git",
17
- "url": "https://github.com/darbymanning/storyloco.git"
18
- },
19
- "main": "./src/index.ts",
20
- "types": "./src/index.ts",
21
- "files": [
22
- "src",
23
- "packages/mux/types.ts",
24
- "packages/heading/types.ts",
25
- "packages/plans/types.ts",
26
- "packages/link/types.ts",
27
- "packages/theme/types.ts",
28
- "packages/shared/dist",
29
- "packages/vite/dist",
30
- "packages/ticketsource/types.ts"
31
- ],
32
- "exports": {
33
- ".": {
34
- "types": "./src/index.ts",
35
- "import": "./src/index.ts"
36
- },
37
- "./mux": {
38
- "types": "./packages/mux/types.ts"
39
- },
40
- "./heading": {
41
- "types": "./packages/heading/types.ts"
42
- },
43
- "./plans": {
44
- "types": "./packages/plans/types.ts"
45
- },
46
- "./ticketsource": {
47
- "types": "./packages/ticketsource/types.ts"
48
- },
49
- "./shared": {
50
- "types": "./packages/shared/dist/index.d.ts",
51
- "svelte": "./packages/shared/dist/index.js"
52
- },
53
- "./link": {
54
- "types": "./packages/link/types.ts"
55
- },
56
- "./shared/utils": {
57
- "types": "./packages/shared/dist/utils.d.ts",
58
- "svelte": "./packages/shared/dist/utils.js"
59
- },
60
- "./vite": {
61
- "types": "./packages/vite/dist/index.d.ts",
62
- "import": "./packages/vite/dist/index.js"
63
- }
64
- },
65
- "devDependencies": {
66
- "@types/node": "24.0.4",
67
- "@typescript-eslint/eslint-plugin": "8.35.0",
68
- "@typescript-eslint/parser": "8.35.0",
69
- "eslint": "9.29.0",
70
- "eslint-plugin-prettier": "5.5.1",
71
- "kitto": "1.0.0-rc.12",
72
- "prettier": "3.6.1",
73
- "typescript": "5.8.3",
74
- "vite": "7.0.0"
75
- },
76
- "peerDependencies": {
77
- "@storyblok/svelte": "^5.0.0",
78
- "@storyblok/field-plugin": "^1.6.0",
79
- "svelte": "^5.0.0"
80
- },
81
- "scripts": {
82
- "add-plugin": "npx @storyblok/field-plugin-cli@latest add --dir \"./packages\" --structure monorepo",
83
- "build": "cd packages/vite && npm run build && cd ../../packages/shared && npm run build",
84
- "lint": "eslint --ext .js .",
85
- "format": "prettier . --write"
86
- },
87
- "type": "module",
88
- "workspaces": [
89
- "packages/*"
90
- ],
91
- "dependencies": {
92
- "chalk": "5.4.1",
93
- "ora": "8.2.0",
94
- "storyblok-generate-ts": "^2.2.0"
95
- }
2
+ "name": "storyloco",
3
+ "version": "1.9.0",
4
+ "description": "A collection of slick Storyblok field plugins built with Svelte 5, TypeScript, and Tailwind CSS",
5
+ "keywords": [
6
+ "storyblok",
7
+ "field-plugin",
8
+ "svelte",
9
+ "typescript",
10
+ "tailwind",
11
+ "cms",
12
+ "headless"
13
+ ],
14
+ "license": "MIT",
15
+ "repository": {
16
+ "type": "git",
17
+ "url": "https://github.com/darbymanning/storyloco.git"
18
+ },
19
+ "main": "./src/index.ts",
20
+ "types": "./src/index.ts",
21
+ "files": [
22
+ "src",
23
+ "packages/mux/types.ts",
24
+ "packages/heading/types.ts",
25
+ "packages/plans/types.ts",
26
+ "packages/link/types.ts",
27
+ "packages/theme/types.ts",
28
+ "packages/shared/dist",
29
+ "packages/vite/dist",
30
+ "packages/ticketsource/types.ts"
31
+ ],
32
+ "exports": {
33
+ ".": {
34
+ "types": "./src/index.ts",
35
+ "import": "./src/index.ts"
36
+ },
37
+ "./mux": {
38
+ "types": "./packages/mux/types.ts"
39
+ },
40
+ "./heading": {
41
+ "types": "./packages/heading/types.ts"
42
+ },
43
+ "./plans": {
44
+ "types": "./packages/plans/types.ts"
45
+ },
46
+ "./ticketsource": {
47
+ "types": "./packages/ticketsource/types.ts",
48
+ "svelte": "./packages/ticketsource/src/app.svelte.ts"
49
+ },
50
+ "./shared": {
51
+ "types": "./packages/shared/dist/index.d.ts",
52
+ "svelte": "./packages/shared/dist/index.js"
53
+ },
54
+ "./link": {
55
+ "types": "./packages/link/types.ts"
56
+ },
57
+ "./shared/utils": {
58
+ "types": "./packages/shared/dist/utils.d.ts",
59
+ "svelte": "./packages/shared/dist/utils.js"
60
+ },
61
+ "./vite": {
62
+ "types": "./packages/vite/dist/index.d.ts",
63
+ "import": "./packages/vite/dist/index.js"
64
+ }
65
+ },
66
+ "devDependencies": {
67
+ "@types/node": "24.0.4",
68
+ "@typescript-eslint/eslint-plugin": "8.35.0",
69
+ "@typescript-eslint/parser": "8.35.0",
70
+ "eslint": "9.29.0",
71
+ "eslint-plugin-prettier": "5.5.1",
72
+ "kitto": "1.0.0-rc.12",
73
+ "prettier": "3.6.1",
74
+ "typescript": "5.8.3",
75
+ "vite": "7.0.0"
76
+ },
77
+ "peerDependencies": {
78
+ "@storyblok/svelte": "^5.2.4",
79
+ "@storyblok/field-plugin": "^1.6.0",
80
+ "svelte": "^5.0.0"
81
+ },
82
+ "scripts": {
83
+ "add-plugin": "npx @storyblok/field-plugin-cli@latest add --dir \"./packages\" --structure monorepo",
84
+ "build": "cd packages/vite && npm run build && cd ../../packages/shared && npm run build",
85
+ "lint": "eslint --ext .js .",
86
+ "format": "prettier . --write"
87
+ },
88
+ "type": "module",
89
+ "workspaces": [
90
+ "packages/*"
91
+ ],
92
+ "dependencies": {
93
+ "chalk": "5.4.1",
94
+ "ora": "8.2.0",
95
+ "storyblok-generate-ts": "^2.2.0"
96
+ }
96
97
  }
@@ -6,118 +6,3 @@ export interface Ticketsource {
6
6
  price: string
7
7
  }>
8
8
  }
9
-
10
- export interface PaginatedResponse<T> {
11
- data: T
12
- links: {
13
- first: string
14
- last: string | null
15
- prev: string | null
16
- next: string | null
17
- }
18
- meta: {
19
- current_page: number
20
- from: number
21
- path: string
22
- per_page: number
23
- to: number
24
- }
25
- }
26
-
27
- export type ListEventsResponse = PaginatedResponse<
28
- Array<{
29
- id: string
30
- type: string
31
- attributes: {
32
- name: string
33
- reference: string
34
- description: string
35
- comment: string
36
- keywords: string
37
- terms: string
38
- category: string
39
- genre: string
40
- images: Array<{
41
- type: string
42
- src: string
43
- }>
44
- third_party_consent: {
45
- capture: boolean
46
- name: string
47
- show_consent: {
48
- email: boolean
49
- post: boolean
50
- sms: boolean
51
- }
52
- }
53
- activated: boolean
54
- archived: boolean
55
- public: boolean
56
- settled: boolean
57
- created_at: string
58
- updated_at: string
59
- }
60
- links: {
61
- self: string
62
- venues: string
63
- dates: string
64
- }
65
- venues?: EventVenuesResponse['data']
66
- dates?: EventDatesResponse['data']
67
- count?: number
68
- }>
69
- >
70
-
71
- export type EventVenuesResponse = PaginatedResponse<
72
- Array<{
73
- id: string
74
- type: string
75
- attributes: {
76
- name: string
77
- address: {
78
- line_1: string
79
- line_2: string
80
- line_3: string
81
- line_4: string
82
- postcode: string
83
- }
84
- boxoffice: {
85
- telephone: string
86
- email: string
87
- }
88
- created_at: string
89
- updated_at: any
90
- }
91
- links: {
92
- self: string
93
- dates: string
94
- event: string
95
- }
96
- }>
97
- >
98
-
99
- export type EventDatesResponse = PaginatedResponse<
100
- Array<{
101
- id: string
102
- type: string
103
- attributes: {
104
- doors_open: any
105
- start: string
106
- end: string
107
- on_sale: boolean
108
- on_sale_start: string
109
- on_sale_end: string
110
- public: boolean
111
- cancelled: boolean
112
- created_at: string
113
- updated_at: string
114
- }
115
- links: {
116
- self: string
117
- book_now: string
118
- bookings: string
119
- event: string
120
- venue: string
121
- }
122
- }>
123
- >
@@ -0,0 +1,6 @@
1
+ declare namespace _default {
2
+ let additionalProperties: boolean;
3
+ let format: boolean;
4
+ let unknownAny: boolean;
5
+ }
6
+ export default _default;
@@ -0,0 +1,5 @@
1
+ export default {
2
+ additionalProperties: false,
3
+ format: false,
4
+ unknownAny: true,
5
+ }