@oiyo/config 0.3.10 → 0.4.0-beta.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.
- package/dist/index.cjs +19 -4
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.mjs +19 -4
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @oiyo/config v0.
|
|
2
|
+
* @oiyo/config v0.4.0-beta.1
|
|
3
3
|
* Copyright (c) 2026 skiyee. All rights reserved.
|
|
4
4
|
* Commercial software. See LICENSE for terms.
|
|
5
5
|
* Official site: https://oiyo.js.org
|
|
@@ -119,6 +119,11 @@ const DEFAULT_RUNTIME_EFFECT_SCOPE_APIS = [
|
|
|
119
119
|
"getCurrentScope",
|
|
120
120
|
"onScopeDispose"
|
|
121
121
|
];
|
|
122
|
+
const DEFAULT_RUNTIME_OIYO_APIS = [
|
|
123
|
+
"vessel",
|
|
124
|
+
"createVessel",
|
|
125
|
+
"createBeacon"
|
|
126
|
+
];
|
|
122
127
|
const DEFAULT_RUNTIME_TYPES = [
|
|
123
128
|
"Component",
|
|
124
129
|
"ComponentPublicInstance",
|
|
@@ -137,7 +142,16 @@ const DEFAULT_RUNTIME_TYPES = [
|
|
|
137
142
|
"Slot",
|
|
138
143
|
"Slots",
|
|
139
144
|
"VNode",
|
|
140
|
-
"WritableComputedRef"
|
|
145
|
+
"WritableComputedRef",
|
|
146
|
+
"ResponseBodyType",
|
|
147
|
+
"VesselConfig",
|
|
148
|
+
"VesselDownloadOptions",
|
|
149
|
+
"VesselDownloadResponse",
|
|
150
|
+
"VesselError",
|
|
151
|
+
"VesselRequestOptions",
|
|
152
|
+
"VesselRequestResponse",
|
|
153
|
+
"VesselUploadOptions",
|
|
154
|
+
"VesselUploadResponse"
|
|
141
155
|
].map((name) => ({
|
|
142
156
|
name,
|
|
143
157
|
isType: true
|
|
@@ -148,6 +162,7 @@ const DEFAULT_RUNTIME_APIS = [
|
|
|
148
162
|
...DEFAULT_RUNTIME_REACTIVITY_APIS,
|
|
149
163
|
...DEFAULT_RUNTIME_COMPONENT_APIS,
|
|
150
164
|
...DEFAULT_RUNTIME_EFFECT_SCOPE_APIS,
|
|
165
|
+
...DEFAULT_RUNTIME_OIYO_APIS,
|
|
151
166
|
...DEFAULT_RUNTIME_TYPES
|
|
152
167
|
];
|
|
153
168
|
/**
|
|
@@ -173,7 +188,7 @@ const defaultConfig = {
|
|
|
173
188
|
apis: [
|
|
174
189
|
"composables",
|
|
175
190
|
{
|
|
176
|
-
from: "@skiyee/oiyo/
|
|
191
|
+
from: "@skiyee/oiyo/global",
|
|
177
192
|
only: [
|
|
178
193
|
"definePageMeta",
|
|
179
194
|
"defineRootContext",
|
|
@@ -190,7 +205,7 @@ const defaultConfig = {
|
|
|
190
205
|
}
|
|
191
206
|
],
|
|
192
207
|
components: ["components", {
|
|
193
|
-
from: "@skiyee/oiyo/
|
|
208
|
+
from: "@skiyee/oiyo/global",
|
|
194
209
|
only: ["OiyoPage", "OiyoLayout"]
|
|
195
210
|
}]
|
|
196
211
|
},
|
package/dist/index.d.cts
CHANGED
package/dist/index.d.mts
CHANGED
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @oiyo/config v0.
|
|
2
|
+
* @oiyo/config v0.4.0-beta.1
|
|
3
3
|
* Copyright (c) 2026 skiyee. All rights reserved.
|
|
4
4
|
* Commercial software. See LICENSE for terms.
|
|
5
5
|
* Official site: https://oiyo.js.org
|
|
@@ -95,6 +95,11 @@ const DEFAULT_RUNTIME_EFFECT_SCOPE_APIS = [
|
|
|
95
95
|
"getCurrentScope",
|
|
96
96
|
"onScopeDispose"
|
|
97
97
|
];
|
|
98
|
+
const DEFAULT_RUNTIME_OIYO_APIS = [
|
|
99
|
+
"vessel",
|
|
100
|
+
"createVessel",
|
|
101
|
+
"createBeacon"
|
|
102
|
+
];
|
|
98
103
|
const DEFAULT_RUNTIME_TYPES = [
|
|
99
104
|
"Component",
|
|
100
105
|
"ComponentPublicInstance",
|
|
@@ -113,7 +118,16 @@ const DEFAULT_RUNTIME_TYPES = [
|
|
|
113
118
|
"Slot",
|
|
114
119
|
"Slots",
|
|
115
120
|
"VNode",
|
|
116
|
-
"WritableComputedRef"
|
|
121
|
+
"WritableComputedRef",
|
|
122
|
+
"ResponseBodyType",
|
|
123
|
+
"VesselConfig",
|
|
124
|
+
"VesselDownloadOptions",
|
|
125
|
+
"VesselDownloadResponse",
|
|
126
|
+
"VesselError",
|
|
127
|
+
"VesselRequestOptions",
|
|
128
|
+
"VesselRequestResponse",
|
|
129
|
+
"VesselUploadOptions",
|
|
130
|
+
"VesselUploadResponse"
|
|
117
131
|
].map((name) => ({
|
|
118
132
|
name,
|
|
119
133
|
isType: true
|
|
@@ -124,6 +138,7 @@ const DEFAULT_RUNTIME_APIS = [
|
|
|
124
138
|
...DEFAULT_RUNTIME_REACTIVITY_APIS,
|
|
125
139
|
...DEFAULT_RUNTIME_COMPONENT_APIS,
|
|
126
140
|
...DEFAULT_RUNTIME_EFFECT_SCOPE_APIS,
|
|
141
|
+
...DEFAULT_RUNTIME_OIYO_APIS,
|
|
127
142
|
...DEFAULT_RUNTIME_TYPES
|
|
128
143
|
];
|
|
129
144
|
/**
|
|
@@ -149,7 +164,7 @@ const defaultConfig = {
|
|
|
149
164
|
apis: [
|
|
150
165
|
"composables",
|
|
151
166
|
{
|
|
152
|
-
from: "@skiyee/oiyo/
|
|
167
|
+
from: "@skiyee/oiyo/global",
|
|
153
168
|
only: [
|
|
154
169
|
"definePageMeta",
|
|
155
170
|
"defineRootContext",
|
|
@@ -166,7 +181,7 @@ const defaultConfig = {
|
|
|
166
181
|
}
|
|
167
182
|
],
|
|
168
183
|
components: ["components", {
|
|
169
|
-
from: "@skiyee/oiyo/
|
|
184
|
+
from: "@skiyee/oiyo/global",
|
|
170
185
|
only: ["OiyoPage", "OiyoLayout"]
|
|
171
186
|
}]
|
|
172
187
|
},
|