@vnejs/contracts.audio.ambient 0.1.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.d.ts +16 -0
- package/dist/index.js +5 -0
- package/dist/settings.d.ts +4 -0
- package/dist/settings.js +3 -0
- package/package.json +35 -0
- package/src/index.ts +20 -0
- package/src/settings.ts +5 -0
- package/tsconfig.json +9 -0
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import "@vnejs/contracts.core.settings";
|
|
2
|
+
import "@vnejs/shared";
|
|
3
|
+
import { SETTINGS_KEYS } from "./settings.js";
|
|
4
|
+
export declare const PLUGIN_NAME: "AMBIENT";
|
|
5
|
+
export type PluginName = typeof PLUGIN_NAME;
|
|
6
|
+
export { SETTINGS_KEYS };
|
|
7
|
+
export type { SettingsKeys } from "./settings.js";
|
|
8
|
+
type AmbientVolumeSettingKey = (typeof SETTINGS_KEYS)["VOLUME"];
|
|
9
|
+
declare module "@vnejs/contracts.core.settings" {
|
|
10
|
+
interface ModuleSharedSettings extends Record<AmbientVolumeSettingKey, number> {
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
declare module "@vnejs/shared" {
|
|
14
|
+
interface VnePluginSettingsMap extends Record<typeof PLUGIN_NAME, typeof SETTINGS_KEYS> {
|
|
15
|
+
}
|
|
16
|
+
}
|
package/dist/index.js
ADDED
package/dist/settings.js
ADDED
package/package.json
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@vnejs/contracts.audio.ambient",
|
|
3
|
+
"version": "0.1.1",
|
|
4
|
+
"description": "Contracts for @vnejs/plugins.audio.ambient",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"types": "dist/index.d.ts",
|
|
7
|
+
"exports": {
|
|
8
|
+
".": {
|
|
9
|
+
"types": "./dist/index.d.ts",
|
|
10
|
+
"import": "./dist/index.js",
|
|
11
|
+
"require": "./dist/index.js",
|
|
12
|
+
"default": "./dist/index.js"
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"files": [
|
|
16
|
+
"dist",
|
|
17
|
+
"src",
|
|
18
|
+
"tsconfig.json"
|
|
19
|
+
],
|
|
20
|
+
"scripts": {
|
|
21
|
+
"build": "npx @vnejs/monorepo package",
|
|
22
|
+
"publish:major": "npx @vnejs/monorepo publish major --access public",
|
|
23
|
+
"publish:minor": "npx @vnejs/monorepo publish minor --access public",
|
|
24
|
+
"publish:patch": "npx @vnejs/monorepo publish patch --access public"
|
|
25
|
+
},
|
|
26
|
+
"author": "",
|
|
27
|
+
"license": "ISC",
|
|
28
|
+
"peerDependencies": {
|
|
29
|
+
"@vnejs/contracts.core.settings": "~0.1.0",
|
|
30
|
+
"@vnejs/shared": "~0.1.0"
|
|
31
|
+
},
|
|
32
|
+
"devDependencies": {
|
|
33
|
+
"@vnejs/configs.ts-common": "~0.1.0"
|
|
34
|
+
}
|
|
35
|
+
}
|
package/src/index.ts
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import "@vnejs/contracts.core.settings";
|
|
2
|
+
import "@vnejs/shared";
|
|
3
|
+
|
|
4
|
+
import { SETTINGS_KEYS } from "./settings.js";
|
|
5
|
+
|
|
6
|
+
export const PLUGIN_NAME = "AMBIENT" as const;
|
|
7
|
+
export type PluginName = typeof PLUGIN_NAME;
|
|
8
|
+
|
|
9
|
+
export { SETTINGS_KEYS };
|
|
10
|
+
export type { SettingsKeys } from "./settings.js";
|
|
11
|
+
|
|
12
|
+
type AmbientVolumeSettingKey = (typeof SETTINGS_KEYS)["VOLUME"];
|
|
13
|
+
|
|
14
|
+
declare module "@vnejs/contracts.core.settings" {
|
|
15
|
+
interface ModuleSharedSettings extends Record<AmbientVolumeSettingKey, number> {}
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
declare module "@vnejs/shared" {
|
|
19
|
+
interface VnePluginSettingsMap extends Record<typeof PLUGIN_NAME, typeof SETTINGS_KEYS> {}
|
|
20
|
+
}
|
package/src/settings.ts
ADDED