Minor changes oriented around ensuring that we get properly exported types in the bundled package; moving d.ts to .ts, getting rid of the namespace in favor of explicit type exports, etc.
:rocket:
This description was created by Ellipsis for commit ccbf1325c0d4ce601fc65a8cb3ea158eb90527dc
Summary:
Improved namespace exports by replacing global.d.ts with global.ts, updating imports, and renaming openapi.d.ts to openapi.ts.
Key points:
Replaced src/global.d.ts with src/global.ts to export types as a module.
Updated imports in src/index.ts, src/organization.ts, src/project.ts, src/user.ts, and src/viewer.ts to use global.ts.
Renamed src/type-gen/openapi.d.ts to src/type-gen/openapi.ts in package.json and updated imports accordingly.
Adjusted constructors and function parameters to use AtlasViewer instead of AtlasUser where applicable.
Minor changes oriented around ensuring that we get properly exported types in the bundled package; moving d.ts to .ts, getting rid of the namespace in favor of explicit type exports, etc.
Summary:
Improved namespace exports by replacing
global.d.ts
withglobal.ts
, updating imports, and renamingopenapi.d.ts
toopenapi.ts
.Key points:
src/global.d.ts
withsrc/global.ts
to export types as a module.src/index.ts
,src/organization.ts
,src/project.ts
,src/user.ts
, andsrc/viewer.ts
to useglobal.ts
.src/type-gen/openapi.d.ts
tosrc/type-gen/openapi.ts
inpackage.json
and updated imports accordingly.AtlasViewer
instead ofAtlasUser
where applicable.Generated with :heart: by ellipsis.dev