narraleaf-studio 0.2.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.
@@ -0,0 +1,87 @@
1
+ /**
2
+ * narraleaf-studio/plugin
3
+ *
4
+ * Studio entry API - runs in the editor process.
5
+ *
6
+ * GENERATED FILE - do not edit. Produced from Studio's source by
7
+ * packages/plugin-types/build.mjs. Regenerate with `yarn build:plugin-types`.
8
+ */
9
+
10
+ export {
11
+ AccordionItemProps,
12
+ AccordionProps,
13
+ Asset,
14
+ AssetData,
15
+ AssetExtensions,
16
+ AssetGroup,
17
+ AssetSelectorProps,
18
+ AssetSelectorVirtualGroup,
19
+ AssetsMap,
20
+ AssetSource,
21
+ AssetType,
22
+ BaseInputProps,
23
+ BlueprintInspectorParamSelectOption,
24
+ BlueprintNodeDef,
25
+ BlueprintNodeExecuteFn,
26
+ BlueprintNodePinDef,
27
+ ButtonProps,
28
+ ButtonSize,
29
+ ButtonVariant,
30
+ CardProps,
31
+ CardSize,
32
+ CardVariant,
33
+ ContextMenuDef,
34
+ ContextMenuItemDef,
35
+ ContextMenuProps,
36
+ ContextMenuSeparatorDef,
37
+ definePlugin,
38
+ InputSize,
39
+ InputVariant,
40
+ isPluginDefinition,
41
+ LocaleCode,
42
+ ModalProps,
43
+ NormalizedPluginManifestV2,
44
+ PanelPosition,
45
+ PluginApp,
46
+ PluginAssetsService,
47
+ PluginCleanup,
48
+ PluginDefinition,
49
+ PluginI18n,
50
+ PluginIdentity,
51
+ PluginInstallPermission,
52
+ PluginInstallRecord,
53
+ PluginListItem,
54
+ PluginManifestEntries,
55
+ PluginManifestV2,
56
+ PluginMessageBundle,
57
+ PluginPanelEmptyStateProps,
58
+ PluginPanelHeaderProps,
59
+ PluginPanelRootProps,
60
+ PluginPanelRowProps,
61
+ PluginPanelSectionProps,
62
+ PluginPanelToolbarProps,
63
+ PluginPermissionPromptResult,
64
+ PluginPermissionRequest,
65
+ PluginServices,
66
+ PluginSetup,
67
+ PluginSetupResult,
68
+ PluginStorageService,
69
+ PluginTranslator,
70
+ PluginUiKit,
71
+ ProgressProps,
72
+ ProgressSize,
73
+ ProgressVariant,
74
+ RuntimePluginDescriptor,
75
+ SelectOption,
76
+ SelectProps,
77
+ StoryBlock,
78
+ StoryBlockId,
79
+ StoryBlockKind,
80
+ StoryPluginActionCreateInput,
81
+ StoryPluginActionRegistration,
82
+ SwitchProps,
83
+ SwitchSize,
84
+ SwitchVariant,
85
+ ui,
86
+ WorkspacePluginDescriptor,
87
+ } from "./_api.js";
package/dist/plugin.js ADDED
@@ -0,0 +1,6 @@
1
+ // GENERATED FILE - do not edit.
2
+ throw new Error(
3
+ "narraleaf-studio/plugin is a types-only package and has no runtime implementation. " +
4
+ "Mark it as external in your bundler - NarraLeaf Studio provides the real module " +
5
+ "at load time through an import map. See https://github.com/NarraLeaf/Plugins",
6
+ );
@@ -0,0 +1,19 @@
1
+ /**
2
+ * narraleaf-studio/runtime
3
+ *
4
+ * Runtime entry API - runs inside the game (Dev Mode, Preview, Production).
5
+ *
6
+ * GENERATED FILE - do not edit. Produced from Studio's source by
7
+ * packages/plugin-types/build.mjs. Regenerate with `yarn build:plugin-types`.
8
+ */
9
+
10
+ export {
11
+ defineRuntimePlugin,
12
+ isRuntimePluginDefinition,
13
+ RuntimeBlueprintNodeDef,
14
+ RuntimePluginApp,
15
+ RuntimePluginDefinition,
16
+ RuntimePluginLogLevel,
17
+ RuntimePluginSetup,
18
+ RuntimeWidgetRendererDef,
19
+ } from "./_api.js";
@@ -0,0 +1,6 @@
1
+ // GENERATED FILE - do not edit.
2
+ throw new Error(
3
+ "narraleaf-studio/runtime is a types-only package and has no runtime implementation. " +
4
+ "Mark it as external in your bundler - NarraLeaf Studio provides the real module " +
5
+ "at load time through an import map. See https://github.com/NarraLeaf/Plugins",
6
+ );
package/package.json ADDED
@@ -0,0 +1,50 @@
1
+ {
2
+ "name": "narraleaf-studio",
3
+ "version": "0.2.0",
4
+ "description": "TypeScript declarations for the NarraLeaf Studio plugin API (narraleaf-studio/plugin and narraleaf-studio/runtime).",
5
+ "license": "MPL-2.0",
6
+ "type": "module",
7
+ "keywords": [
8
+ "narraleaf",
9
+ "narraleaf-studio",
10
+ "plugin",
11
+ "types"
12
+ ],
13
+ "homepage": "https://github.com/NarraLeaf/NarraLeaf-Studio",
14
+ "repository": {
15
+ "type": "git",
16
+ "url": "git+https://github.com/NarraLeaf/NarraLeaf-Studio.git",
17
+ "directory": "packages/plugin-types"
18
+ },
19
+ "bugs": {
20
+ "url": "https://github.com/NarraLeaf/NarraLeaf-Studio/issues"
21
+ },
22
+ "publishConfig": {
23
+ "access": "public"
24
+ },
25
+ "exports": {
26
+ "./plugin": {
27
+ "types": "./dist/plugin.d.ts",
28
+ "default": "./dist/plugin.js"
29
+ },
30
+ "./runtime": {
31
+ "types": "./dist/runtime.d.ts",
32
+ "default": "./dist/runtime.js"
33
+ },
34
+ "./package.json": "./package.json"
35
+ },
36
+ "files": [
37
+ "dist",
38
+ "README.md"
39
+ ],
40
+ "dependencies": {
41
+ "@types/node": "^24.8.1",
42
+ "@types/react": "^19.2.0",
43
+ "lucide-react": "^0.546.0"
44
+ },
45
+ "scripts": {
46
+ "build": "node build.mjs",
47
+ "check": "node build.mjs --check",
48
+ "prepack": "node build.mjs"
49
+ }
50
+ }