nuxt-studio 0.0.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.
Files changed (57) hide show
  1. package/README.md +241 -0
  2. package/dist/app/main.d.ts +342 -0
  3. package/dist/app/main.js +38597 -0
  4. package/dist/app/mdc-import-BDMct_Gn.js +4 -0
  5. package/dist/app/service-worker.d.ts +3 -0
  6. package/dist/app/service-worker.js +118 -0
  7. package/dist/app/shared-D04791PA.js +25754 -0
  8. package/dist/app/shared-DI6F-ifc.js +25774 -0
  9. package/dist/app/shared-R5zYJ3Dl.js +25803 -0
  10. package/dist/app/shared.d.ts +22 -0
  11. package/dist/app/shared.js +6 -0
  12. package/dist/app/utils-DI6F-ifc.js +25774 -0
  13. package/dist/app/utils.d.ts +22 -0
  14. package/dist/app/utils.js +6 -0
  15. package/dist/module/module.d.mts +68 -0
  16. package/dist/module/module.json +10 -0
  17. package/dist/module/module.mjs +185 -0
  18. package/dist/module/runtime/composables/useMeta.d.ts +6 -0
  19. package/dist/module/runtime/composables/useMeta.js +17 -0
  20. package/dist/module/runtime/host.d.ts +2 -0
  21. package/dist/module/runtime/host.dev.d.ts +2 -0
  22. package/dist/module/runtime/host.dev.js +46 -0
  23. package/dist/module/runtime/host.js +257 -0
  24. package/dist/module/runtime/plugins/studio.client.d.ts +2 -0
  25. package/dist/module/runtime/plugins/studio.client.dev.d.ts +2 -0
  26. package/dist/module/runtime/plugins/studio.client.dev.js +23 -0
  27. package/dist/module/runtime/plugins/studio.client.js +11 -0
  28. package/dist/module/runtime/server/routes/admin.d.ts +2 -0
  29. package/dist/module/runtime/server/routes/admin.js +192 -0
  30. package/dist/module/runtime/server/routes/auth/github.get.d.ts +53 -0
  31. package/dist/module/runtime/server/routes/auth/github.get.js +155 -0
  32. package/dist/module/runtime/server/routes/auth/google.get.d.ts +2 -0
  33. package/dist/module/runtime/server/routes/auth/google.get.js +13 -0
  34. package/dist/module/runtime/server/routes/auth/session.delete.d.ts +4 -0
  35. package/dist/module/runtime/server/routes/auth/session.delete.js +10 -0
  36. package/dist/module/runtime/server/routes/auth/session.get.d.ts +4 -0
  37. package/dist/module/runtime/server/routes/auth/session.get.js +12 -0
  38. package/dist/module/runtime/server/routes/dev/content/[...path].d.ts +2 -0
  39. package/dist/module/runtime/server/routes/dev/content/[...path].js +57 -0
  40. package/dist/module/runtime/server/routes/dev/public/[...path].d.ts +8 -0
  41. package/dist/module/runtime/server/routes/dev/public/[...path].js +61 -0
  42. package/dist/module/runtime/server/routes/meta.d.ts +17 -0
  43. package/dist/module/runtime/server/routes/meta.js +39 -0
  44. package/dist/module/runtime/server/routes/sw.d.ts +2 -0
  45. package/dist/module/runtime/server/routes/sw.js +6 -0
  46. package/dist/module/runtime/utils/activation.d.ts +2 -0
  47. package/dist/module/runtime/utils/activation.js +23 -0
  48. package/dist/module/runtime/utils/collection.d.ts +22 -0
  49. package/dist/module/runtime/utils/collection.js +154 -0
  50. package/dist/module/runtime/utils/ensure.d.ts +1 -0
  51. package/dist/module/runtime/utils/ensure.js +22 -0
  52. package/dist/module/runtime/utils/object.d.ts +3 -0
  53. package/dist/module/runtime/utils/object.js +3 -0
  54. package/dist/module/runtime/utils/path-meta.d.ts +50 -0
  55. package/dist/module/runtime/utils/path-meta.js +49 -0
  56. package/dist/module/types.d.mts +7 -0
  57. package/package.json +100 -0
@@ -0,0 +1,22 @@
1
+ import { CollectionItemBase } from '@nuxt/content';
2
+
3
+ declare interface BaseItem {
4
+ id: string;
5
+ extension: string;
6
+ stem: string;
7
+ path?: string;
8
+ }
9
+
10
+ declare interface DatabaseItem extends CollectionItemBase, BaseItem {
11
+ [key: string]: unknown;
12
+ }
13
+
14
+ export declare function generateContentFromDocument(document: DatabaseItem): Promise<string | null>;
15
+
16
+ export declare function generateDocumentFromContent(id: string, content: string): Promise<DatabaseItem | null>;
17
+
18
+ export declare function removeReservedKeysFromDocument(document: DatabaseItem): {
19
+ [k: string]: unknown;
20
+ };
21
+
22
+ export { }
@@ -0,0 +1,6 @@
1
+ import { e as t, f as n, F as r } from "./shared-D04791PA.js";
2
+ export {
3
+ t as generateContentFromDocument,
4
+ n as generateDocumentFromContent,
5
+ r as removeReservedKeysFromDocument
6
+ };