@fps-games/editor 0.2.1-beta.2 → 0.2.1-beta.3

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.
Files changed (147) hide show
  1. package/dist/build-info.json +41 -41
  2. package/dist/local-editor-harness.d.ts.map +1 -1
  3. package/dist/local-editor-harness.js +16 -7
  4. package/dist/local-editor-harness.js.map +1 -1
  5. package/dist/playable-babylon-rendering.d.ts +8 -7
  6. package/dist/playable-babylon-rendering.d.ts.map +1 -1
  7. package/dist/playable-babylon-rendering.js +77 -32
  8. package/dist/playable-babylon-rendering.js.map +1 -1
  9. package/dist/playable-product-projection-preview.d.ts +2 -0
  10. package/dist/playable-product-projection-preview.d.ts.map +1 -1
  11. package/dist/playable-product-projection-preview.js +7 -4
  12. package/dist/playable-product-projection-preview.js.map +1 -1
  13. package/dist/playable-sdk.d.ts +1 -1
  14. package/dist/playable-sdk.d.ts.map +1 -1
  15. package/dist/playable-sdk.js +1 -1
  16. package/dist/playable-sdk.js.map +1 -1
  17. package/dist/playable-standard-project.d.ts +0 -1
  18. package/dist/playable-standard-project.d.ts.map +1 -1
  19. package/dist/playable-standard-project.js +13 -4
  20. package/dist/playable-standard-project.js.map +1 -1
  21. package/node_modules/@fps-games/babylon-renderer/dist/environment/environment-texture-controller.d.ts +4 -2
  22. package/node_modules/@fps-games/babylon-renderer/dist/environment/environment-texture-controller.d.ts.map +1 -1
  23. package/node_modules/@fps-games/babylon-renderer/dist/environment/environment-texture-controller.js +301 -121
  24. package/node_modules/@fps-games/babylon-renderer/dist/environment/environment-texture-controller.js.map +1 -1
  25. package/node_modules/@fps-games/babylon-renderer/dist/environment/profile.js +5 -4
  26. package/node_modules/@fps-games/babylon-renderer/dist/environment/profile.js.map +1 -1
  27. package/node_modules/@fps-games/babylon-renderer/dist/environment/types.d.ts +4 -4
  28. package/node_modules/@fps-games/babylon-renderer/dist/environment/types.d.ts.map +1 -1
  29. package/node_modules/@fps-games/babylon-renderer/dist/environment/types.js +1 -1
  30. package/node_modules/@fps-games/babylon-renderer/dist/environment/types.js.map +1 -1
  31. package/node_modules/@fps-games/babylon-renderer/dist/game-world-plugin-lifecycle.d.ts +2 -0
  32. package/node_modules/@fps-games/babylon-renderer/dist/game-world-plugin-lifecycle.d.ts.map +1 -1
  33. package/node_modules/@fps-games/babylon-renderer/dist/game-world-plugin-lifecycle.js +12 -1
  34. package/node_modules/@fps-games/babylon-renderer/dist/game-world-plugin-lifecycle.js.map +1 -1
  35. package/node_modules/@fps-games/babylon-renderer/dist/plugin.d.ts +6 -3
  36. package/node_modules/@fps-games/babylon-renderer/dist/plugin.d.ts.map +1 -1
  37. package/node_modules/@fps-games/babylon-renderer/dist/plugin.js +100 -39
  38. package/node_modules/@fps-games/babylon-renderer/dist/plugin.js.map +1 -1
  39. package/node_modules/@fps-games/babylon-renderer/dist/reference.d.ts +1 -3
  40. package/node_modules/@fps-games/babylon-renderer/dist/reference.d.ts.map +1 -1
  41. package/node_modules/@fps-games/babylon-renderer/dist/reference.js.map +1 -1
  42. package/node_modules/@fps-games/babylon-renderer/package.json +11 -8
  43. package/node_modules/@fps-games/editor-babylon/package.json +6 -6
  44. package/node_modules/@fps-games/editor-browser/package.json +7 -7
  45. package/node_modules/@fps-games/editor-core/package.json +6 -6
  46. package/node_modules/@fps-games/editor-forge-play/package.json +2 -2
  47. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/generated-module.d.ts.map +1 -1
  48. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/generated-module.js +10 -3
  49. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/generated-module.js.map +1 -1
  50. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/index.d.ts +2 -1
  51. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/index.d.ts.map +1 -1
  52. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/index.js +1 -1
  53. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/index.js.map +1 -1
  54. package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/aliases.d.ts +1 -1
  55. package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/aliases.d.ts.map +1 -1
  56. package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/aliases.js +4 -0
  57. package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/aliases.js.map +1 -1
  58. package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/panel.js +4 -4
  59. package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/panel.js.map +1 -1
  60. package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/types.d.ts +2 -1
  61. package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/types.d.ts.map +1 -1
  62. package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/types.js.map +1 -1
  63. package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/assets.js +1 -5
  64. package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/assets.js.map +1 -1
  65. package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/inspectors.js +53 -0
  66. package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/inspectors.js.map +1 -1
  67. package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/types.d.ts +2 -0
  68. package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/types.d.ts.map +1 -1
  69. package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/types.js.map +1 -1
  70. package/node_modules/@fps-games/editor-playable-sdk/package.json +6 -6
  71. package/node_modules/@fps-games/editor-protocol/package.json +2 -2
  72. package/node_modules/@fps-games/editor-tooling/package.json +3 -3
  73. package/node_modules/@fps-games/editor-ui/package.json +1 -1
  74. package/node_modules/@fps-games/playable-assets/dist/identity.d.ts +1 -0
  75. package/node_modules/@fps-games/playable-assets/dist/identity.d.ts.map +1 -1
  76. package/node_modules/@fps-games/playable-assets/dist/identity.js +1 -1
  77. package/node_modules/@fps-games/playable-assets/dist/identity.js.map +1 -1
  78. package/node_modules/@fps-games/playable-assets/dist/index.d.ts +1 -0
  79. package/node_modules/@fps-games/playable-assets/dist/index.d.ts.map +1 -1
  80. package/node_modules/@fps-games/playable-assets/dist/index.js +1 -0
  81. package/node_modules/@fps-games/playable-assets/dist/index.js.map +1 -1
  82. package/node_modules/@fps-games/playable-assets/dist/resource-resolver.d.ts +46 -0
  83. package/node_modules/@fps-games/playable-assets/dist/resource-resolver.d.ts.map +1 -0
  84. package/node_modules/@fps-games/playable-assets/dist/resource-resolver.js +109 -0
  85. package/node_modules/@fps-games/playable-assets/dist/resource-resolver.js.map +1 -0
  86. package/node_modules/@fps-games/playable-assets/package.json +1 -1
  87. package/node_modules/@fps-games/playable-contracts/package.json +1 -1
  88. package/node_modules/@fps-games/playable-rendering/package.json +2 -2
  89. package/node_modules/@fps-games/playable-runtime/dist/runtime.d.ts.map +1 -1
  90. package/node_modules/@fps-games/playable-runtime/dist/runtime.js +5 -0
  91. package/node_modules/@fps-games/playable-runtime/dist/runtime.js.map +1 -1
  92. package/node_modules/@fps-games/playable-runtime/dist/types.d.ts +2 -0
  93. package/node_modules/@fps-games/playable-runtime/dist/types.d.ts.map +1 -1
  94. package/node_modules/@fps-games/playable-runtime/dist/types.js.map +1 -1
  95. package/node_modules/@fps-games/playable-runtime/package.json +12 -12
  96. package/node_modules/@fps-games/playable-runtime-data/package.json +4 -4
  97. package/node_modules/@fps-games/playable-scene/package.json +2 -2
  98. package/node_modules/@fps-games/plugin-api/package.json +1 -1
  99. package/node_modules/@fps-games/plugin-assets/dist/reference.d.ts.map +1 -1
  100. package/node_modules/@fps-games/plugin-assets/dist/reference.js +11 -4
  101. package/node_modules/@fps-games/plugin-assets/dist/reference.js.map +1 -1
  102. package/node_modules/@fps-games/plugin-assets/dist/renderer.d.ts +8 -0
  103. package/node_modules/@fps-games/plugin-assets/dist/renderer.d.ts.map +1 -0
  104. package/node_modules/@fps-games/plugin-assets/dist/renderer.js +13 -0
  105. package/node_modules/@fps-games/plugin-assets/dist/renderer.js.map +1 -0
  106. package/node_modules/@fps-games/plugin-assets/dist/resources.d.ts +12 -0
  107. package/node_modules/@fps-games/plugin-assets/dist/resources.d.ts.map +1 -0
  108. package/node_modules/@fps-games/plugin-assets/dist/resources.js +8 -0
  109. package/node_modules/@fps-games/plugin-assets/dist/resources.js.map +1 -0
  110. package/node_modules/@fps-games/plugin-assets/dist/runtime.d.ts +2 -1
  111. package/node_modules/@fps-games/plugin-assets/dist/runtime.d.ts.map +1 -1
  112. package/node_modules/@fps-games/plugin-assets/dist/runtime.js +3 -0
  113. package/node_modules/@fps-games/plugin-assets/dist/runtime.js.map +1 -1
  114. package/node_modules/@fps-games/plugin-assets/dist/version.d.ts +1 -1
  115. package/node_modules/@fps-games/plugin-assets/dist/version.js +1 -1
  116. package/node_modules/@fps-games/plugin-assets/dist/version.js.map +1 -1
  117. package/node_modules/@fps-games/plugin-assets/package.json +32 -8
  118. package/node_modules/@fps-games/plugin-hierarchy/dist/version.d.ts +1 -1
  119. package/node_modules/@fps-games/plugin-hierarchy/dist/version.js +1 -1
  120. package/node_modules/@fps-games/plugin-hierarchy/dist/version.js.map +1 -1
  121. package/node_modules/@fps-games/plugin-hierarchy/package.json +5 -5
  122. package/node_modules/@fps-games/plugin-host/package.json +2 -2
  123. package/node_modules/@fps-games/plugin-markers/dist/version.d.ts +1 -1
  124. package/node_modules/@fps-games/plugin-markers/dist/version.js +1 -1
  125. package/node_modules/@fps-games/plugin-markers/dist/version.js.map +1 -1
  126. package/node_modules/@fps-games/plugin-markers/package.json +5 -5
  127. package/node_modules/@fps-games/plugin-materials/dist/version.d.ts +1 -1
  128. package/node_modules/@fps-games/plugin-materials/dist/version.js +1 -1
  129. package/node_modules/@fps-games/plugin-materials/dist/version.js.map +1 -1
  130. package/node_modules/@fps-games/plugin-materials/package.json +5 -5
  131. package/node_modules/@fps-games/plugin-rendering/dist/version.d.ts +1 -1
  132. package/node_modules/@fps-games/plugin-rendering/dist/version.js +1 -1
  133. package/node_modules/@fps-games/plugin-rendering/dist/version.js.map +1 -1
  134. package/node_modules/@fps-games/plugin-rendering/package.json +5 -5
  135. package/node_modules/@fps-games/plugin-scene/dist/version.d.ts +1 -1
  136. package/node_modules/@fps-games/plugin-scene/dist/version.js +1 -1
  137. package/node_modules/@fps-games/plugin-scene/dist/version.js.map +1 -1
  138. package/node_modules/@fps-games/plugin-scene/package.json +5 -5
  139. package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/version.d.ts +1 -1
  140. package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/version.js +1 -1
  141. package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/version.js.map +1 -1
  142. package/node_modules/@fps-games/plugin-shadow-map-experiment/package.json +5 -5
  143. package/node_modules/@fps-games/plugin-shadows/dist/version.d.ts +1 -1
  144. package/node_modules/@fps-games/plugin-shadows/dist/version.js +1 -1
  145. package/node_modules/@fps-games/plugin-shadows/dist/version.js.map +1 -1
  146. package/node_modules/@fps-games/plugin-shadows/package.json +7 -7
  147. package/package.json +24 -22
@@ -6,7 +6,10 @@ export function assetsPlugin() {
6
6
  packageName: '@fps-games/plugin-assets',
7
7
  pluginId: FPS_ASSETS_PLUGIN_ID,
8
8
  config: null,
9
- hostServices: { runtime: ['fps.runtime.data'] },
9
+ hostServices: {
10
+ runtime: ['fps.runtime.data', 'fps.asset.catalog.source'],
11
+ renderer: ['fps.asset.catalog.source'],
12
+ },
10
13
  });
11
14
  }
12
15
  export function createFpsAssetsPluginManifest() {
@@ -16,11 +19,15 @@ export function createFpsAssetsPluginManifest() {
16
19
  apiVersion: 1,
17
20
  requires: {},
18
21
  provides: { features: ['fps.assets'] },
19
- entries: { runtime: './runtime' },
22
+ entries: { runtime: './runtime', renderer: './renderer' },
20
23
  environmentContracts: {
21
24
  runtime: {
22
- requires: { services: ['fps.runtime.data'] },
23
- provides: { services: ['fps.runtime.assets'] },
25
+ requires: { services: ['fps.runtime.data', 'fps.asset.catalog.source'] },
26
+ provides: { services: ['fps.runtime.assets', 'fps.asset.resource.resolver'] },
27
+ },
28
+ renderer: {
29
+ requires: { services: ['fps.asset.catalog.source'] },
30
+ provides: { services: ['fps.asset.resource.resolver'] },
24
31
  },
25
32
  },
26
33
  });
@@ -1 +1 @@
1
- {"version":3,"file":"reference.js","sourceRoot":"","sources":["../src/reference.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,uBAAuB,EACvB,wBAAwB,GAGzB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAElD,MAAM,CAAC,MAAM,oBAAoB,GAAG,mBAA4B,CAAC;AAEjE,MAAM,UAAU,YAAY;IAC1B,OAAO,wBAAwB,CAAC;QAC9B,WAAW,EAAE,0BAA0B;QACvC,QAAQ,EAAE,oBAAoB;QAC9B,MAAM,EAAE,IAAI;QACZ,YAAY,EAAE,EAAE,OAAO,EAAE,CAAC,kBAAkB,CAAC,EAAE;KAChD,CAAC,CAAC;AACL,CAAC;AAED,MAAM,UAAU,6BAA6B;IAC3C,OAAO,uBAAuB,CAAC;QAC7B,EAAE,EAAE,oBAAoB;QACxB,OAAO,EAAE,kBAAkB;QAC3B,UAAU,EAAE,CAAC;QACb,QAAQ,EAAE,EAAE;QACZ,QAAQ,EAAE,EAAE,QAAQ,EAAE,CAAC,YAAY,CAAC,EAAE;QACtC,OAAO,EAAE,EAAE,OAAO,EAAE,WAAW,EAAE;QACjC,oBAAoB,EAAE;YACpB,OAAO,EAAE;gBACP,QAAQ,EAAE,EAAE,QAAQ,EAAE,CAAC,kBAAkB,CAAC,EAAE;gBAC5C,QAAQ,EAAE,EAAE,QAAQ,EAAE,CAAC,oBAAoB,CAAC,EAAE;aAC/C;SACF;KACF,CAAC,CAAC;AACL,CAAC","sourcesContent":["import {\n defineFpsPluginManifest,\n defineFpsPluginReference,\n type FpsPluginManifest,\n type FpsPluginReference,\n} from '@fps-games/plugin-api';\nimport { FPS_PLUGIN_VERSION } from './version.js';\n\nexport const FPS_ASSETS_PLUGIN_ID = 'fps.plugin.assets' as const;\n\nexport function assetsPlugin(): Readonly<FpsPluginReference<null>> {\n return defineFpsPluginReference({\n packageName: '@fps-games/plugin-assets',\n pluginId: FPS_ASSETS_PLUGIN_ID,\n config: null,\n hostServices: { runtime: ['fps.runtime.data'] },\n });\n}\n\nexport function createFpsAssetsPluginManifest(): Readonly<FpsPluginManifest> {\n return defineFpsPluginManifest({\n id: FPS_ASSETS_PLUGIN_ID,\n version: FPS_PLUGIN_VERSION,\n apiVersion: 1,\n requires: {},\n provides: { features: ['fps.assets'] },\n entries: { runtime: './runtime' },\n environmentContracts: {\n runtime: {\n requires: { services: ['fps.runtime.data'] },\n provides: { services: ['fps.runtime.assets'] },\n },\n },\n });\n}\n"]}
1
+ {"version":3,"file":"reference.js","sourceRoot":"","sources":["../src/reference.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,uBAAuB,EACvB,wBAAwB,GAGzB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAElD,MAAM,CAAC,MAAM,oBAAoB,GAAG,mBAA4B,CAAC;AAEjE,MAAM,UAAU,YAAY;IAC1B,OAAO,wBAAwB,CAAC;QAC9B,WAAW,EAAE,0BAA0B;QACvC,QAAQ,EAAE,oBAAoB;QAC9B,MAAM,EAAE,IAAI;QACZ,YAAY,EAAE;YACZ,OAAO,EAAE,CAAC,kBAAkB,EAAE,0BAA0B,CAAC;YACzD,QAAQ,EAAE,CAAC,0BAA0B,CAAC;SACvC;KACF,CAAC,CAAC;AACL,CAAC;AAED,MAAM,UAAU,6BAA6B;IAC3C,OAAO,uBAAuB,CAAC;QAC7B,EAAE,EAAE,oBAAoB;QACxB,OAAO,EAAE,kBAAkB;QAC3B,UAAU,EAAE,CAAC;QACb,QAAQ,EAAE,EAAE;QACZ,QAAQ,EAAE,EAAE,QAAQ,EAAE,CAAC,YAAY,CAAC,EAAE;QACtC,OAAO,EAAE,EAAE,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,YAAY,EAAE;QACzD,oBAAoB,EAAE;YACpB,OAAO,EAAE;gBACP,QAAQ,EAAE,EAAE,QAAQ,EAAE,CAAC,kBAAkB,EAAE,0BAA0B,CAAC,EAAE;gBACxE,QAAQ,EAAE,EAAE,QAAQ,EAAE,CAAC,oBAAoB,EAAE,6BAA6B,CAAC,EAAE;aAC9E;YACD,QAAQ,EAAE;gBACR,QAAQ,EAAE,EAAE,QAAQ,EAAE,CAAC,0BAA0B,CAAC,EAAE;gBACpD,QAAQ,EAAE,EAAE,QAAQ,EAAE,CAAC,6BAA6B,CAAC,EAAE;aACxD;SACF;KACF,CAAC,CAAC;AACL,CAAC","sourcesContent":["import {\n defineFpsPluginManifest,\n defineFpsPluginReference,\n type FpsPluginManifest,\n type FpsPluginReference,\n} from '@fps-games/plugin-api';\nimport { FPS_PLUGIN_VERSION } from './version.js';\n\nexport const FPS_ASSETS_PLUGIN_ID = 'fps.plugin.assets' as const;\n\nexport function assetsPlugin(): Readonly<FpsPluginReference<null>> {\n return defineFpsPluginReference({\n packageName: '@fps-games/plugin-assets',\n pluginId: FPS_ASSETS_PLUGIN_ID,\n config: null,\n hostServices: {\n runtime: ['fps.runtime.data', 'fps.asset.catalog.source'],\n renderer: ['fps.asset.catalog.source'],\n },\n });\n}\n\nexport function createFpsAssetsPluginManifest(): Readonly<FpsPluginManifest> {\n return defineFpsPluginManifest({\n id: FPS_ASSETS_PLUGIN_ID,\n version: FPS_PLUGIN_VERSION,\n apiVersion: 1,\n requires: {},\n provides: { features: ['fps.assets'] },\n entries: { runtime: './runtime', renderer: './renderer' },\n environmentContracts: {\n runtime: {\n requires: { services: ['fps.runtime.data', 'fps.asset.catalog.source'] },\n provides: { services: ['fps.runtime.assets', 'fps.asset.resource.resolver'] },\n },\n renderer: {\n requires: { services: ['fps.asset.catalog.source'] },\n provides: { services: ['fps.asset.resource.resolver'] },\n },\n },\n });\n}\n"]}
@@ -0,0 +1,8 @@
1
+ import { type FpsPluginContext } from '@fps-games/plugin-api';
2
+ /** Renderer environment provider for the standard asset-resource resolver. */
3
+ export declare const pluginEntry: Readonly<{
4
+ pluginId: "fps.plugin.assets";
5
+ environment: "renderer";
6
+ register(context: FpsPluginContext): void;
7
+ }>;
8
+ //# sourceMappingURL=renderer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"renderer.d.ts","sourceRoot":"","sources":["../src/renderer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAwB,KAAK,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAQpF,8EAA8E;AAC9E,eAAO,MAAM,WAAW;;;sBAGJ,gBAAgB;EAIlC,CAAC"}
@@ -0,0 +1,13 @@
1
+ import { defineFpsPluginEntry } from '@fps-games/plugin-api';
2
+ import { FPS_ASSETS_PLUGIN_ID } from './reference.js';
3
+ import { createFpsAssetResourceResolver, FPS_ASSET_CATALOG_SOURCE, FPS_ASSET_RESOURCE_RESOLVER, } from './resources.js';
4
+ /** Renderer environment provider for the standard asset-resource resolver. */
5
+ export const pluginEntry = defineFpsPluginEntry({
6
+ pluginId: FPS_ASSETS_PLUGIN_ID,
7
+ environment: 'renderer',
8
+ register(context) {
9
+ const resolver = createFpsAssetResourceResolver(context.services.get(FPS_ASSET_CATALOG_SOURCE));
10
+ context.add(context.services.register(FPS_ASSET_RESOURCE_RESOLVER, resolver));
11
+ },
12
+ });
13
+ //# sourceMappingURL=renderer.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"renderer.js","sourceRoot":"","sources":["../src/renderer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAyB,MAAM,uBAAuB,CAAC;AACpF,OAAO,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AACtD,OAAO,EACL,8BAA8B,EAC9B,wBAAwB,EACxB,2BAA2B,GAC5B,MAAM,gBAAgB,CAAC;AAExB,8EAA8E;AAC9E,MAAM,CAAC,MAAM,WAAW,GAAG,oBAAoB,CAAC;IAC9C,QAAQ,EAAE,oBAAoB;IAC9B,WAAW,EAAE,UAAU;IACvB,QAAQ,CAAC,OAAyB;QAChC,MAAM,QAAQ,GAAG,8BAA8B,CAAC,OAAO,CAAC,QAAQ,CAAC,GAAG,CAAC,wBAAwB,CAAC,CAAC,CAAC;QAChG,OAAO,CAAC,GAAG,CAAC,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAC,2BAA2B,EAAE,QAAQ,CAAC,CAAC,CAAC;IAChF,CAAC;CACF,CAAC,CAAC","sourcesContent":["import { defineFpsPluginEntry, type FpsPluginContext } from '@fps-games/plugin-api';\nimport { FPS_ASSETS_PLUGIN_ID } from './reference.js';\nimport {\n createFpsAssetResourceResolver,\n FPS_ASSET_CATALOG_SOURCE,\n FPS_ASSET_RESOURCE_RESOLVER,\n} from './resources.js';\n\n/** Renderer environment provider for the standard asset-resource resolver. */\nexport const pluginEntry = defineFpsPluginEntry({\n pluginId: FPS_ASSETS_PLUGIN_ID,\n environment: 'renderer',\n register(context: FpsPluginContext) {\n const resolver = createFpsAssetResourceResolver(context.services.get(FPS_ASSET_CATALOG_SOURCE));\n context.add(context.services.register(FPS_ASSET_RESOURCE_RESOLVER, resolver));\n },\n});\n"]}
@@ -0,0 +1,12 @@
1
+ import { type PlayableAssetResourceResolver, type PlayableGeneratedAssetCatalogEntry } from '@fps-games/playable-assets';
2
+ /**
3
+ * The generated catalog is supplied by the environment Host. The Assets Plugin
4
+ * owns converting it into a resolver; consumers must not build their own index.
5
+ */
6
+ export interface FpsAssetCatalogSource {
7
+ readonly catalog: Readonly<Record<string, PlayableGeneratedAssetCatalogEntry>>;
8
+ }
9
+ export declare const FPS_ASSET_CATALOG_SOURCE: import("@fps-games/plugin-api").FpsServiceToken<FpsAssetCatalogSource>;
10
+ export declare const FPS_ASSET_RESOURCE_RESOLVER: import("@fps-games/plugin-api").FpsServiceToken<PlayableAssetResourceResolver>;
11
+ export declare function createFpsAssetResourceResolver(source: FpsAssetCatalogSource): PlayableAssetResourceResolver;
12
+ //# sourceMappingURL=resources.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"resources.d.ts","sourceRoot":"","sources":["../src/resources.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,6BAA6B,EAClC,KAAK,kCAAkC,EACxC,MAAM,4BAA4B,CAAC;AAGpC;;;GAGG;AACH,MAAM,WAAW,qBAAqB;IACpC,QAAQ,CAAC,OAAO,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,kCAAkC,CAAC,CAAC,CAAC;CAChF;AAED,eAAO,MAAM,wBAAwB,wEAA2E,CAAC;AACjH,eAAO,MAAM,2BAA2B,gFAAsF,CAAC;AAE/H,wBAAgB,8BAA8B,CAAC,MAAM,EAAE,qBAAqB,GAAG,6BAA6B,CAE3G"}
@@ -0,0 +1,8 @@
1
+ import { createPlayableAssetResourceResolver, } from '@fps-games/playable-assets';
2
+ import { defineFpsServiceToken } from '@fps-games/plugin-api';
3
+ export const FPS_ASSET_CATALOG_SOURCE = defineFpsServiceToken('fps.asset.catalog.source');
4
+ export const FPS_ASSET_RESOURCE_RESOLVER = defineFpsServiceToken('fps.asset.resource.resolver');
5
+ export function createFpsAssetResourceResolver(source) {
6
+ return createPlayableAssetResourceResolver(source.catalog);
7
+ }
8
+ //# sourceMappingURL=resources.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"resources.js","sourceRoot":"","sources":["../src/resources.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,mCAAmC,GAGpC,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,qBAAqB,EAAE,MAAM,uBAAuB,CAAC;AAU9D,MAAM,CAAC,MAAM,wBAAwB,GAAG,qBAAqB,CAAwB,0BAA0B,CAAC,CAAC;AACjH,MAAM,CAAC,MAAM,2BAA2B,GAAG,qBAAqB,CAAgC,6BAA6B,CAAC,CAAC;AAE/H,MAAM,UAAU,8BAA8B,CAAC,MAA6B;IAC1E,OAAO,mCAAmC,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;AAC7D,CAAC","sourcesContent":["import {\n createPlayableAssetResourceResolver,\n type PlayableAssetResourceResolver,\n type PlayableGeneratedAssetCatalogEntry,\n} from '@fps-games/playable-assets';\nimport { defineFpsServiceToken } from '@fps-games/plugin-api';\n\n/**\n * The generated catalog is supplied by the environment Host. The Assets Plugin\n * owns converting it into a resolver; consumers must not build their own index.\n */\nexport interface FpsAssetCatalogSource {\n readonly catalog: Readonly<Record<string, PlayableGeneratedAssetCatalogEntry>>;\n}\n\nexport const FPS_ASSET_CATALOG_SOURCE = defineFpsServiceToken<FpsAssetCatalogSource>('fps.asset.catalog.source');\nexport const FPS_ASSET_RESOURCE_RESOLVER = defineFpsServiceToken<PlayableAssetResourceResolver>('fps.asset.resource.resolver');\n\nexport function createFpsAssetResourceResolver(source: FpsAssetCatalogSource): PlayableAssetResourceResolver {\n return createPlayableAssetResourceResolver(source.catalog);\n}\n"]}
@@ -1,4 +1,5 @@
1
1
  import type { FpsRuntimeAsset } from '@fps-games/playable-contracts';
2
+ import { type FpsPluginContext } from '@fps-games/plugin-api';
2
3
  export interface FpsRuntimeAssetService {
3
4
  readonly assets: readonly FpsRuntimeAsset[];
4
5
  readonly byId: ReadonlyMap<string, FpsRuntimeAsset>;
@@ -7,6 +8,6 @@ export declare const FPS_RUNTIME_ASSETS: import("@fps-games/plugin-api").FpsServ
7
8
  export declare const pluginEntry: Readonly<{
8
9
  pluginId: "fps.plugin.assets";
9
10
  environment: "runtime";
10
- register(context: import("@fps-games/plugin-api").FpsPluginContext): void;
11
+ register(context: FpsPluginContext): void;
11
12
  }>;
12
13
  //# sourceMappingURL=runtime.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"runtime.d.ts","sourceRoot":"","sources":["../src/runtime.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAKrE,MAAM,WAAW,sBAAsB;IACrC,QAAQ,CAAC,MAAM,EAAE,SAAS,eAAe,EAAE,CAAC;IAC5C,QAAQ,CAAC,IAAI,EAAE,WAAW,CAAC,MAAM,EAAE,eAAe,CAAC,CAAC;CACrD;AAED,eAAO,MAAM,kBAAkB,yEAAsE,CAAC;AAEtG,eAAO,MAAM,WAAW;;;;EActB,CAAC"}
1
+ {"version":3,"file":"runtime.d.ts","sourceRoot":"","sources":["../src/runtime.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAErE,OAAO,EAA+C,KAAK,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAQ3G,MAAM,WAAW,sBAAsB;IACrC,QAAQ,CAAC,MAAM,EAAE,SAAS,eAAe,EAAE,CAAC;IAC5C,QAAQ,CAAC,IAAI,EAAE,WAAW,CAAC,MAAM,EAAE,eAAe,CAAC,CAAC;CACrD;AAED,eAAO,MAAM,kBAAkB,yEAAsE,CAAC;AAEtG,eAAO,MAAM,WAAW;;;sBAGJ,gBAAgB;EAalC,CAAC"}
@@ -1,11 +1,13 @@
1
1
  import { createFpsRuntimeAssetsSnapshot, FPS_RUNTIME_DATA } from '@fps-games/playable-runtime-data';
2
2
  import { defineFpsPluginEntry, defineFpsServiceToken } from '@fps-games/plugin-api';
3
3
  import { FPS_ASSETS_PLUGIN_ID } from './reference.js';
4
+ import { createFpsAssetResourceResolver, FPS_ASSET_CATALOG_SOURCE, FPS_ASSET_RESOURCE_RESOLVER, } from './resources.js';
4
5
  export const FPS_RUNTIME_ASSETS = defineFpsServiceToken('fps.runtime.assets');
5
6
  export const pluginEntry = defineFpsPluginEntry({
6
7
  pluginId: FPS_ASSETS_PLUGIN_ID,
7
8
  environment: 'runtime',
8
9
  register(context) {
10
+ const resolver = createFpsAssetResourceResolver(context.services.get(FPS_ASSET_CATALOG_SOURCE));
9
11
  const assets = createFpsRuntimeAssetsSnapshot(context.services.get(FPS_RUNTIME_DATA).assets);
10
12
  const index = new Map();
11
13
  for (const asset of assets) {
@@ -17,6 +19,7 @@ export const pluginEntry = defineFpsPluginEntry({
17
19
  }
18
20
  const byId = createReadonlyMapView(index);
19
21
  context.add(context.services.register(FPS_RUNTIME_ASSETS, Object.freeze({ assets, byId })));
22
+ context.add(context.services.register(FPS_ASSET_RESOURCE_RESOLVER, resolver));
20
23
  },
21
24
  });
22
25
  function createReadonlyMapView(source) {
@@ -1 +1 @@
1
- {"version":3,"file":"runtime.js","sourceRoot":"","sources":["../src/runtime.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,8BAA8B,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AACpG,OAAO,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,MAAM,uBAAuB,CAAC;AACpF,OAAO,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AAOtD,MAAM,CAAC,MAAM,kBAAkB,GAAG,qBAAqB,CAAyB,oBAAoB,CAAC,CAAC;AAEtG,MAAM,CAAC,MAAM,WAAW,GAAG,oBAAoB,CAAC;IAC9C,QAAQ,EAAE,oBAAoB;IAC9B,WAAW,EAAE,SAAS;IACtB,QAAQ,CAAC,OAAO;QACd,MAAM,MAAM,GAAG,8BAA8B,CAAC,OAAO,CAAC,QAAQ,CAAC,GAAG,CAAC,gBAAgB,CAAC,CAAC,MAAM,CAAC,CAAC;QAC7F,MAAM,KAAK,GAAG,IAAI,GAAG,EAA2B,CAAC;QACjD,KAAK,MAAM,KAAK,IAAI,MAAM,EAAE,CAAC;YAC3B,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC,IAAI,EAAE;gBAAE,MAAM,IAAI,KAAK,CAAC,+BAA+B,CAAC,CAAC;YACvE,IAAI,KAAK,CAAC,GAAG,CAAC,KAAK,CAAC,EAAE,CAAC;gBAAE,MAAM,IAAI,KAAK,CAAC,+BAA+B,KAAK,CAAC,EAAE,EAAE,CAAC,CAAC;YACpF,KAAK,CAAC,GAAG,CAAC,KAAK,CAAC,EAAE,EAAE,KAAK,CAAC,CAAC;QAC7B,CAAC;QACD,MAAM,IAAI,GAAG,qBAAqB,CAAC,KAAK,CAAC,CAAC;QAC1C,OAAO,CAAC,GAAG,CAAC,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAC,kBAAkB,EAAE,MAAM,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC;IAC9F,CAAC;CACF,CAAC,CAAC;AAEH,SAAS,qBAAqB,CAAO,MAAyB;IAC5D,IAAI,IAAuB,CAAC;IAC5B,IAAI,GAAG,MAAM,CAAC,MAAM,CAAC;QACnB,IAAI,IAAI,KAAK,OAAO,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC;QAClC,GAAG,CAAC,GAAM,IAAI,OAAO,MAAM,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;QACvC,GAAG,CAAC,GAAM,IAAI,OAAO,MAAM,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;QACvC,OAAO,KAAK,OAAO,MAAM,CAAC,OAAO,EAAE,CAAC,CAAC,CAAC;QACtC,IAAI,KAAK,OAAO,MAAM,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC;QAChC,MAAM,KAAK,OAAO,MAAM,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC;QACpC,OAAO,CAAC,QAA4D,EAAE,OAAiB;YACrF,MAAM,CAAC,OAAO,CAAC,CAAC,KAAK,EAAE,GAAG,EAAE,EAAE,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,EAAE,KAAK,EAAE,GAAG,EAAE,IAAI,CAAC,CAAC,CAAC;QAC3E,CAAC;QACD,CAAC,MAAM,CAAC,QAAQ,CAAC,KAAK,OAAO,MAAM,CAAC,MAAM,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC,CAAC;KAC1D,CAAC,CAAC;IACH,OAAO,IAAI,CAAC;AACd,CAAC","sourcesContent":["import type { FpsRuntimeAsset } from '@fps-games/playable-contracts';\nimport { createFpsRuntimeAssetsSnapshot, FPS_RUNTIME_DATA } from '@fps-games/playable-runtime-data';\nimport { defineFpsPluginEntry, defineFpsServiceToken } from '@fps-games/plugin-api';\nimport { FPS_ASSETS_PLUGIN_ID } from './reference.js';\n\nexport interface FpsRuntimeAssetService {\n readonly assets: readonly FpsRuntimeAsset[];\n readonly byId: ReadonlyMap<string, FpsRuntimeAsset>;\n}\n\nexport const FPS_RUNTIME_ASSETS = defineFpsServiceToken<FpsRuntimeAssetService>('fps.runtime.assets');\n\nexport const pluginEntry = defineFpsPluginEntry({\n pluginId: FPS_ASSETS_PLUGIN_ID,\n environment: 'runtime',\n register(context) {\n const assets = createFpsRuntimeAssetsSnapshot(context.services.get(FPS_RUNTIME_DATA).assets);\n const index = new Map<string, FpsRuntimeAsset>();\n for (const asset of assets) {\n if (!asset.id.trim()) throw new Error('Runtime asset id is required.');\n if (index.has(asset.id)) throw new Error(`Duplicate runtime asset id: ${asset.id}`);\n index.set(asset.id, asset);\n }\n const byId = createReadonlyMapView(index);\n context.add(context.services.register(FPS_RUNTIME_ASSETS, Object.freeze({ assets, byId })));\n },\n});\n\nfunction createReadonlyMapView<K, V>(source: ReadonlyMap<K, V>): ReadonlyMap<K, V> {\n let view: ReadonlyMap<K, V>;\n view = Object.freeze({\n get size() { return source.size; },\n has(key: K) { return source.has(key); },\n get(key: K) { return source.get(key); },\n entries() { return source.entries(); },\n keys() { return source.keys(); },\n values() { return source.values(); },\n forEach(callback: (value: V, key: K, map: ReadonlyMap<K, V>) => void, thisArg?: unknown) {\n source.forEach((value, key) => callback.call(thisArg, value, key, view));\n },\n [Symbol.iterator]() { return source[Symbol.iterator](); },\n });\n return view;\n}\n"]}
1
+ {"version":3,"file":"runtime.js","sourceRoot":"","sources":["../src/runtime.ts"],"names":[],"mappings":"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","sourcesContent":["import type { FpsRuntimeAsset } from '@fps-games/playable-contracts';\nimport { createFpsRuntimeAssetsSnapshot, FPS_RUNTIME_DATA } from '@fps-games/playable-runtime-data';\nimport { defineFpsPluginEntry, defineFpsServiceToken, type FpsPluginContext } from '@fps-games/plugin-api';\nimport { FPS_ASSETS_PLUGIN_ID } from './reference.js';\nimport {\n createFpsAssetResourceResolver,\n FPS_ASSET_CATALOG_SOURCE,\n FPS_ASSET_RESOURCE_RESOLVER,\n} from './resources.js';\n\nexport interface FpsRuntimeAssetService {\n readonly assets: readonly FpsRuntimeAsset[];\n readonly byId: ReadonlyMap<string, FpsRuntimeAsset>;\n}\n\nexport const FPS_RUNTIME_ASSETS = defineFpsServiceToken<FpsRuntimeAssetService>('fps.runtime.assets');\n\nexport const pluginEntry = defineFpsPluginEntry({\n pluginId: FPS_ASSETS_PLUGIN_ID,\n environment: 'runtime',\n register(context: FpsPluginContext) {\n const resolver = createFpsAssetResourceResolver(context.services.get(FPS_ASSET_CATALOG_SOURCE));\n const assets = createFpsRuntimeAssetsSnapshot(context.services.get(FPS_RUNTIME_DATA).assets);\n const index = new Map<string, FpsRuntimeAsset>();\n for (const asset of assets) {\n if (!asset.id.trim()) throw new Error('Runtime asset id is required.');\n if (index.has(asset.id)) throw new Error(`Duplicate runtime asset id: ${asset.id}`);\n index.set(asset.id, asset);\n }\n const byId = createReadonlyMapView(index);\n context.add(context.services.register(FPS_RUNTIME_ASSETS, Object.freeze({ assets, byId })));\n context.add(context.services.register(FPS_ASSET_RESOURCE_RESOLVER, resolver));\n },\n});\n\nfunction createReadonlyMapView<K, V>(source: ReadonlyMap<K, V>): ReadonlyMap<K, V> {\n let view: ReadonlyMap<K, V>;\n view = Object.freeze({\n get size() { return source.size; },\n has(key: K) { return source.has(key); },\n get(key: K) { return source.get(key); },\n entries() { return source.entries(); },\n keys() { return source.keys(); },\n values() { return source.values(); },\n forEach(callback: (value: V, key: K, map: ReadonlyMap<K, V>) => void, thisArg?: unknown) {\n source.forEach((value, key) => callback.call(thisArg, value, key, view));\n },\n [Symbol.iterator]() { return source[Symbol.iterator](); },\n });\n return view;\n}\n"]}
@@ -1,2 +1,2 @@
1
- export declare const FPS_PLUGIN_VERSION: "0.2.1-beta.2";
1
+ export declare const FPS_PLUGIN_VERSION: "0.2.1-beta.3";
2
2
  //# sourceMappingURL=version.d.ts.map
@@ -1,2 +1,2 @@
1
- export const FPS_PLUGIN_VERSION = '0.2.1-beta.2';
1
+ export const FPS_PLUGIN_VERSION = '0.2.1-beta.3';
2
2
  //# sourceMappingURL=version.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"version.js","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,kBAAkB,GAAG,cAAuB,CAAC","sourcesContent":["export const FPS_PLUGIN_VERSION = '0.2.1-beta.2' as const;\n"]}
1
+ {"version":3,"file":"version.js","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,kBAAkB,GAAG,cAAuB,CAAC","sourcesContent":["export const FPS_PLUGIN_VERSION = '0.2.1-beta.3' as const;\n"]}
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fps-games/plugin-assets",
3
- "version": "0.2.1-beta.2",
3
+ "version": "0.2.1-beta.3",
4
4
  "private": true,
5
5
  "type": "module",
6
6
  "description": "First-party Assets Plugin for fps-games runtime and editor hosts.",
@@ -15,11 +15,19 @@
15
15
  "./runtime": {
16
16
  "types": "./dist/runtime.d.ts",
17
17
  "import": "./dist/runtime.js"
18
+ },
19
+ "./renderer": {
20
+ "types": "./dist/renderer.d.ts",
21
+ "import": "./dist/renderer.js"
22
+ },
23
+ "./resources": {
24
+ "types": "./dist/resources.d.ts",
25
+ "import": "./dist/resources.js"
18
26
  }
19
27
  },
20
28
  "fpsGamePlugin": {
21
29
  "id": "fps.plugin.assets",
22
- "version": "0.2.1-beta.2",
30
+ "version": "0.2.1-beta.3",
23
31
  "apiVersion": 1,
24
32
  "requires": {},
25
33
  "provides": {
@@ -28,26 +36,42 @@
28
36
  ]
29
37
  },
30
38
  "entries": {
31
- "runtime": "./runtime"
39
+ "runtime": "./runtime",
40
+ "renderer": "./renderer"
32
41
  },
33
42
  "environmentContracts": {
34
43
  "runtime": {
35
44
  "requires": {
36
45
  "services": [
37
- "fps.runtime.data"
46
+ "fps.runtime.data",
47
+ "fps.asset.catalog.source"
48
+ ]
49
+ },
50
+ "provides": {
51
+ "services": [
52
+ "fps.runtime.assets",
53
+ "fps.asset.resource.resolver"
54
+ ]
55
+ }
56
+ },
57
+ "renderer": {
58
+ "requires": {
59
+ "services": [
60
+ "fps.asset.catalog.source"
38
61
  ]
39
62
  },
40
63
  "provides": {
41
64
  "services": [
42
- "fps.runtime.assets"
65
+ "fps.asset.resource.resolver"
43
66
  ]
44
67
  }
45
68
  }
46
69
  }
47
70
  },
48
71
  "dependencies": {
49
- "@fps-games/playable-contracts": "0.2.1-beta.2",
50
- "@fps-games/playable-runtime-data": "0.2.1-beta.2",
51
- "@fps-games/plugin-api": "0.2.1-beta.2"
72
+ "@fps-games/playable-assets": "0.2.1-beta.3",
73
+ "@fps-games/playable-contracts": "0.2.1-beta.3",
74
+ "@fps-games/playable-runtime-data": "0.2.1-beta.3",
75
+ "@fps-games/plugin-api": "0.2.1-beta.3"
52
76
  }
53
77
  }
@@ -1,2 +1,2 @@
1
- export declare const FPS_PLUGIN_VERSION: "0.2.1-beta.2";
1
+ export declare const FPS_PLUGIN_VERSION: "0.2.1-beta.3";
2
2
  //# sourceMappingURL=version.d.ts.map
@@ -1,2 +1,2 @@
1
- export const FPS_PLUGIN_VERSION = '0.2.1-beta.2';
1
+ export const FPS_PLUGIN_VERSION = '0.2.1-beta.3';
2
2
  //# sourceMappingURL=version.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"version.js","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,kBAAkB,GAAG,cAAuB,CAAC","sourcesContent":["export const FPS_PLUGIN_VERSION = '0.2.1-beta.2' as const;\n"]}
1
+ {"version":3,"file":"version.js","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,kBAAkB,GAAG,cAAuB,CAAC","sourcesContent":["export const FPS_PLUGIN_VERSION = '0.2.1-beta.3' as const;\n"]}
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fps-games/plugin-hierarchy",
3
- "version": "0.2.1-beta.2",
3
+ "version": "0.2.1-beta.3",
4
4
  "private": true,
5
5
  "type": "module",
6
6
  "description": "First-party scoped Hierarchy Editor Plugin and headless interaction kernel.",
@@ -27,7 +27,7 @@
27
27
  },
28
28
  "fpsGamePlugin": {
29
29
  "id": "fps.plugin.hierarchy",
30
- "version": "0.2.1-beta.2",
30
+ "version": "0.2.1-beta.3",
31
31
  "apiVersion": 1,
32
32
  "requires": {},
33
33
  "provides": {
@@ -50,8 +50,8 @@
50
50
  }
51
51
  },
52
52
  "dependencies": {
53
- "@fps-games/editor-core": "0.2.1-beta.2",
54
- "@fps-games/editor-protocol": "0.2.1-beta.2",
55
- "@fps-games/plugin-api": "0.2.1-beta.2"
53
+ "@fps-games/editor-core": "0.2.1-beta.3",
54
+ "@fps-games/editor-protocol": "0.2.1-beta.3",
55
+ "@fps-games/plugin-api": "0.2.1-beta.3"
56
56
  }
57
57
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fps-games/plugin-host",
3
- "version": "0.2.1-beta.2",
3
+ "version": "0.2.1-beta.3",
4
4
  "private": true,
5
5
  "type": "module",
6
6
  "description": "Lifecycle, dependency, scope, and registry runtime for fps-games plugins.",
@@ -14,7 +14,7 @@
14
14
  }
15
15
  },
16
16
  "dependencies": {
17
- "@fps-games/plugin-api": "0.2.1-beta.2",
17
+ "@fps-games/plugin-api": "0.2.1-beta.3",
18
18
  "semver": "^7.8.5"
19
19
  }
20
20
  }
@@ -1,2 +1,2 @@
1
- export declare const FPS_PLUGIN_VERSION: "0.2.1-beta.2";
1
+ export declare const FPS_PLUGIN_VERSION: "0.2.1-beta.3";
2
2
  //# sourceMappingURL=version.d.ts.map
@@ -1,2 +1,2 @@
1
- export const FPS_PLUGIN_VERSION = '0.2.1-beta.2';
1
+ export const FPS_PLUGIN_VERSION = '0.2.1-beta.3';
2
2
  //# sourceMappingURL=version.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"version.js","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,kBAAkB,GAAG,cAAuB,CAAC","sourcesContent":["export const FPS_PLUGIN_VERSION = '0.2.1-beta.2' as const;\n"]}
1
+ {"version":3,"file":"version.js","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,kBAAkB,GAAG,cAAuB,CAAC","sourcesContent":["export const FPS_PLUGIN_VERSION = '0.2.1-beta.3' as const;\n"]}
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fps-games/plugin-markers",
3
- "version": "0.2.1-beta.2",
3
+ "version": "0.2.1-beta.3",
4
4
  "private": true,
5
5
  "type": "module",
6
6
  "description": "First-party Markers Plugin for fps-games runtime and editor hosts.",
@@ -19,7 +19,7 @@
19
19
  },
20
20
  "fpsGamePlugin": {
21
21
  "id": "fps.plugin.markers",
22
- "version": "0.2.1-beta.2",
22
+ "version": "0.2.1-beta.3",
23
23
  "apiVersion": 1,
24
24
  "requires": {},
25
25
  "provides": {
@@ -46,8 +46,8 @@
46
46
  }
47
47
  },
48
48
  "dependencies": {
49
- "@fps-games/playable-contracts": "0.2.1-beta.2",
50
- "@fps-games/playable-runtime-data": "0.2.1-beta.2",
51
- "@fps-games/plugin-api": "0.2.1-beta.2"
49
+ "@fps-games/playable-contracts": "0.2.1-beta.3",
50
+ "@fps-games/playable-runtime-data": "0.2.1-beta.3",
51
+ "@fps-games/plugin-api": "0.2.1-beta.3"
52
52
  }
53
53
  }
@@ -1,2 +1,2 @@
1
- export declare const FPS_PLUGIN_VERSION: "0.2.1-beta.2";
1
+ export declare const FPS_PLUGIN_VERSION: "0.2.1-beta.3";
2
2
  //# sourceMappingURL=version.d.ts.map
@@ -1,2 +1,2 @@
1
- export const FPS_PLUGIN_VERSION = '0.2.1-beta.2';
1
+ export const FPS_PLUGIN_VERSION = '0.2.1-beta.3';
2
2
  //# sourceMappingURL=version.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"version.js","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,kBAAkB,GAAG,cAAuB,CAAC","sourcesContent":["export const FPS_PLUGIN_VERSION = '0.2.1-beta.2' as const;\n"]}
1
+ {"version":3,"file":"version.js","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,kBAAkB,GAAG,cAAuB,CAAC","sourcesContent":["export const FPS_PLUGIN_VERSION = '0.2.1-beta.3' as const;\n"]}
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fps-games/plugin-materials",
3
- "version": "0.2.1-beta.2",
3
+ "version": "0.2.1-beta.3",
4
4
  "private": true,
5
5
  "type": "module",
6
6
  "description": "First-party Materials Plugin for fps-games runtime and editor hosts.",
@@ -19,7 +19,7 @@
19
19
  },
20
20
  "fpsGamePlugin": {
21
21
  "id": "fps.plugin.materials",
22
- "version": "0.2.1-beta.2",
22
+ "version": "0.2.1-beta.3",
23
23
  "apiVersion": 1,
24
24
  "requires": {},
25
25
  "provides": {
@@ -46,8 +46,8 @@
46
46
  }
47
47
  },
48
48
  "dependencies": {
49
- "@fps-games/playable-contracts": "0.2.1-beta.2",
50
- "@fps-games/playable-runtime-data": "0.2.1-beta.2",
51
- "@fps-games/plugin-api": "0.2.1-beta.2"
49
+ "@fps-games/playable-contracts": "0.2.1-beta.3",
50
+ "@fps-games/playable-runtime-data": "0.2.1-beta.3",
51
+ "@fps-games/plugin-api": "0.2.1-beta.3"
52
52
  }
53
53
  }
@@ -1,2 +1,2 @@
1
- export declare const FPS_PLUGIN_VERSION: "0.2.1-beta.2";
1
+ export declare const FPS_PLUGIN_VERSION: "0.2.1-beta.3";
2
2
  //# sourceMappingURL=version.d.ts.map
@@ -1,2 +1,2 @@
1
- export const FPS_PLUGIN_VERSION = '0.2.1-beta.2';
1
+ export const FPS_PLUGIN_VERSION = '0.2.1-beta.3';
2
2
  //# sourceMappingURL=version.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"version.js","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,kBAAkB,GAAG,cAAuB,CAAC","sourcesContent":["export const FPS_PLUGIN_VERSION = '0.2.1-beta.2' as const;\n"]}
1
+ {"version":3,"file":"version.js","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,kBAAkB,GAAG,cAAuB,CAAC","sourcesContent":["export const FPS_PLUGIN_VERSION = '0.2.1-beta.3' as const;\n"]}
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fps-games/plugin-rendering",
3
- "version": "0.2.1-beta.2",
3
+ "version": "0.2.1-beta.3",
4
4
  "private": true,
5
5
  "type": "module",
6
6
  "description": "First-party Rendering Plugin for fps-games runtime and editor hosts.",
@@ -19,7 +19,7 @@
19
19
  },
20
20
  "fpsGamePlugin": {
21
21
  "id": "fps.plugin.rendering",
22
- "version": "0.2.1-beta.2",
22
+ "version": "0.2.1-beta.3",
23
23
  "apiVersion": 1,
24
24
  "requires": {},
25
25
  "provides": {
@@ -46,8 +46,8 @@
46
46
  }
47
47
  },
48
48
  "dependencies": {
49
- "@fps-games/playable-rendering": "0.2.1-beta.2",
50
- "@fps-games/playable-runtime-data": "0.2.1-beta.2",
51
- "@fps-games/plugin-api": "0.2.1-beta.2"
49
+ "@fps-games/playable-rendering": "0.2.1-beta.3",
50
+ "@fps-games/playable-runtime-data": "0.2.1-beta.3",
51
+ "@fps-games/plugin-api": "0.2.1-beta.3"
52
52
  }
53
53
  }
@@ -1,2 +1,2 @@
1
- export declare const FPS_PLUGIN_VERSION: "0.2.1-beta.2";
1
+ export declare const FPS_PLUGIN_VERSION: "0.2.1-beta.3";
2
2
  //# sourceMappingURL=version.d.ts.map
@@ -1,2 +1,2 @@
1
- export const FPS_PLUGIN_VERSION = '0.2.1-beta.2';
1
+ export const FPS_PLUGIN_VERSION = '0.2.1-beta.3';
2
2
  //# sourceMappingURL=version.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"version.js","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,kBAAkB,GAAG,cAAuB,CAAC","sourcesContent":["export const FPS_PLUGIN_VERSION = '0.2.1-beta.2' as const;\n"]}
1
+ {"version":3,"file":"version.js","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,kBAAkB,GAAG,cAAuB,CAAC","sourcesContent":["export const FPS_PLUGIN_VERSION = '0.2.1-beta.3' as const;\n"]}
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fps-games/plugin-scene",
3
- "version": "0.2.1-beta.2",
3
+ "version": "0.2.1-beta.3",
4
4
  "private": true,
5
5
  "type": "module",
6
6
  "description": "First-party Scene Plugin for fps-games runtime and editor hosts.",
@@ -19,7 +19,7 @@
19
19
  },
20
20
  "fpsGamePlugin": {
21
21
  "id": "fps.plugin.scene",
22
- "version": "0.2.1-beta.2",
22
+ "version": "0.2.1-beta.3",
23
23
  "apiVersion": 1,
24
24
  "requires": {},
25
25
  "provides": {
@@ -46,8 +46,8 @@
46
46
  }
47
47
  },
48
48
  "dependencies": {
49
- "@fps-games/playable-contracts": "0.2.1-beta.2",
50
- "@fps-games/playable-runtime-data": "0.2.1-beta.2",
51
- "@fps-games/plugin-api": "0.2.1-beta.2"
49
+ "@fps-games/playable-contracts": "0.2.1-beta.3",
50
+ "@fps-games/playable-runtime-data": "0.2.1-beta.3",
51
+ "@fps-games/plugin-api": "0.2.1-beta.3"
52
52
  }
53
53
  }
@@ -1,2 +1,2 @@
1
- export declare const FPS_PLUGIN_VERSION: "0.2.1-beta.2";
1
+ export declare const FPS_PLUGIN_VERSION: "0.2.1-beta.3";
2
2
  //# sourceMappingURL=version.d.ts.map
@@ -1,2 +1,2 @@
1
- export const FPS_PLUGIN_VERSION = '0.2.1-beta.2';
1
+ export const FPS_PLUGIN_VERSION = '0.2.1-beta.3';
2
2
  //# sourceMappingURL=version.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"version.js","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,kBAAkB,GAAG,cAAuB,CAAC","sourcesContent":["export const FPS_PLUGIN_VERSION = '0.2.1-beta.2' as const;\n"]}
1
+ {"version":3,"file":"version.js","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,kBAAkB,GAAG,cAAuB,CAAC","sourcesContent":["export const FPS_PLUGIN_VERSION = '0.2.1-beta.3' as const;\n"]}
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fps-games/plugin-shadow-map-experiment",
3
- "version": "0.2.1-beta.2",
3
+ "version": "0.2.1-beta.3",
4
4
  "private": true,
5
5
  "type": "module",
6
6
  "description": "Independent Babylon Shadow Map experiment Runtime Plugin.",
@@ -19,7 +19,7 @@
19
19
  },
20
20
  "fpsGamePlugin": {
21
21
  "id": "fps.shadow-map-experiment",
22
- "version": "0.2.1-beta.2",
22
+ "version": "0.2.1-beta.3",
23
23
  "apiVersion": 1,
24
24
  "requires": {},
25
25
  "provides": {
@@ -46,8 +46,8 @@
46
46
  }
47
47
  },
48
48
  "dependencies": {
49
- "@fps-games/playable-rendering": "0.2.1-beta.2",
50
- "@fps-games/playable-runtime-data": "0.2.1-beta.2",
51
- "@fps-games/plugin-api": "0.2.1-beta.2"
49
+ "@fps-games/playable-rendering": "0.2.1-beta.3",
50
+ "@fps-games/playable-runtime-data": "0.2.1-beta.3",
51
+ "@fps-games/plugin-api": "0.2.1-beta.3"
52
52
  }
53
53
  }
@@ -1,2 +1,2 @@
1
- export declare const FPS_PLUGIN_VERSION: "0.2.1-beta.2";
1
+ export declare const FPS_PLUGIN_VERSION: "0.2.1-beta.3";
2
2
  //# sourceMappingURL=version.d.ts.map
@@ -1,2 +1,2 @@
1
- export const FPS_PLUGIN_VERSION = '0.2.1-beta.2';
1
+ export const FPS_PLUGIN_VERSION = '0.2.1-beta.3';
2
2
  //# sourceMappingURL=version.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"version.js","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,kBAAkB,GAAG,cAAuB,CAAC","sourcesContent":["export const FPS_PLUGIN_VERSION = '0.2.1-beta.2' as const;\n"]}
1
+ {"version":3,"file":"version.js","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,kBAAkB,GAAG,cAAuB,CAAC","sourcesContent":["export const FPS_PLUGIN_VERSION = '0.2.1-beta.3' as const;\n"]}
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fps-games/plugin-shadows",
3
- "version": "0.2.1-beta.2",
3
+ "version": "0.2.1-beta.3",
4
4
  "private": true,
5
5
  "type": "module",
6
6
  "description": "First-party Shadows Plugin for fps-games runtime and editor hosts.",
@@ -19,7 +19,7 @@
19
19
  },
20
20
  "fpsGamePlugin": {
21
21
  "id": "fps.plugin.shadows",
22
- "version": "0.2.1-beta.2",
22
+ "version": "0.2.1-beta.3",
23
23
  "apiVersion": 1,
24
24
  "requires": {},
25
25
  "provides": {
@@ -47,10 +47,10 @@
47
47
  }
48
48
  },
49
49
  "dependencies": {
50
- "@fps-games/playable-contracts": "0.2.1-beta.2",
51
- "@fps-games/playable-rendering": "0.2.1-beta.2",
52
- "@fps-games/plugin-api": "0.2.1-beta.2",
53
- "@fps-games/plugin-rendering": "0.2.1-beta.2",
54
- "@fps-games/plugin-scene": "0.2.1-beta.2"
50
+ "@fps-games/playable-contracts": "0.2.1-beta.3",
51
+ "@fps-games/playable-rendering": "0.2.1-beta.3",
52
+ "@fps-games/plugin-api": "0.2.1-beta.3",
53
+ "@fps-games/plugin-rendering": "0.2.1-beta.3",
54
+ "@fps-games/plugin-scene": "0.2.1-beta.3"
55
55
  }
56
56
  }