@giro3d/piero-plugin-obj 1.0.0-beta.11 → 1.0.0-beta.12
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.
|
@@ -1,6 +1,13 @@
|
|
|
1
|
-
import { Module, PieroContext } from '
|
|
1
|
+
import { Module, PieroContext } from '@giro3d/piero';
|
|
2
2
|
import { default as z } from 'zod';
|
|
3
|
-
declare const OBJDataset:
|
|
3
|
+
declare const OBJDataset: z.ZodObject<{
|
|
4
|
+
name: z.ZodString;
|
|
5
|
+
opacity: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
6
|
+
type: z.ZodString;
|
|
7
|
+
visible: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
8
|
+
attribution: z.ZodOptional<z.ZodString>;
|
|
9
|
+
url: z.ZodUnion<readonly [z.ZodURL, z.ZodFile]>;
|
|
10
|
+
}, z.core.$loose>;
|
|
4
11
|
export type OBJDataset = z.infer<typeof OBJDataset>;
|
|
5
12
|
export default class OBJLoader implements Module {
|
|
6
13
|
readonly id = "builtin-loader-obj";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OBJLoader.d.ts","sourceRoot":"","sources":["../../../../src/OBJLoader.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAO,MAAM,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAC/D,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAMzB,QAAA,MAAM,UAAU,
|
|
1
|
+
{"version":3,"file":"OBJLoader.d.ts","sourceRoot":"","sources":["../../../../src/OBJLoader.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAO,MAAM,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAC/D,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAMzB,QAAA,MAAM,UAAU;;;;;;;iBAGd,CAAC;AACH,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,UAAU,CAAC,CAAC;AA+BpD,MAAM,CAAC,OAAO,OAAO,SAAU,YAAW,MAAM;IAC5C,SAAgB,EAAE,wBAAwB;IAC1C,SAAgB,IAAI,SAAS;IAEtB,UAAU,CAAC,OAAO,EAAE,YAAY,GAAG,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI;CASjE"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@giro3d/piero-plugin-obj",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.0.0-beta.
|
|
4
|
+
"version": "1.0.0-beta.12",
|
|
5
5
|
"description": "Load OBJ objects in Piero",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"front-end",
|
|
@@ -61,6 +61,7 @@
|
|
|
61
61
|
"prepublishOnly": "npm run build",
|
|
62
62
|
"build": "vite build",
|
|
63
63
|
"build:dev": "vite build --mode dev",
|
|
64
|
+
"build:watch": "vite build --mode dev --watch",
|
|
64
65
|
"package": "npm run build && npm pack",
|
|
65
66
|
"typecheck": "tsc --noEmit"
|
|
66
67
|
},
|