create types lib

This commit is contained in:
lightling 2024-05-02 20:32:41 -04:00
parent 04418cbfed
commit ba6b727fd7
20 changed files with 188 additions and 154 deletions

View file

@ -1,9 +1,9 @@
<script setup lang="ts">
import { onMounted, ref } from 'vue'
import { type GalleryListDefinition } from '@goldenwere/static-web-templates-types'
import { type RouteRecordRaw, useRouter } from 'vue-router'
import type { GalleryDisplayedEntries, GalleryList } from './gallery'
import { type GalleryListDefinition } from 'content/routes.js'
import { amendVariantsWithDefaults } from './gallery-utilities'
import { fetchAndParseYaml, storage } from 'src/utilities/fetch'
import { getCurrentRoute } from 'src/utilities/vuetils'

View file

@ -1,8 +1,8 @@
<script setup lang="ts">
import { computed, onMounted, ref } from 'vue'
import { type GalleryListDefinition } from '@goldenwere/static-web-templates-types'
import type { GalleryEntry, GalleryList } from './gallery'
import { type GalleryListDefinition } from 'content/routes.js'
import { amendVariantsWithDefaults, getTitleFromEntryOrId } from './gallery-utilities'
import { fetchAndParseYaml } from 'src/utilities/fetch'
import { getCurrentRoute } from 'src/utilities/vuetils'

View file

@ -1,9 +1,9 @@
<script setup lang="ts">
import { onMounted, ref } from 'vue'
import { type MarkdownDefinition } from '@goldenwere/static-web-templates-types'
import EmbedableContent from 'src/components/shared/embedable-content.vue'
import { type MarkdownDefinition } from 'content/routes.js'
import { fetchAndParseMarkdown } from 'src/utilities/fetch'
import { getCurrentRoute } from 'src/utilities/vuetils'
import { useRouteStore } from 'src/routes'

View file

@ -1,8 +1,8 @@
<script setup lang="ts">
import { onMounted, ref } from 'vue'
import { type ProjectListDefinition } from '@goldenwere/static-web-templates-types'
import type { ProjectList, ProjectListingInfo } from './project'
import { type ProjectListDefinition } from 'content/routes.js'
import { fetchAndParseYaml } from 'src/utilities/fetch'
import { getCurrentRoute } from 'src/utilities/vuetils'
import { useRouteStore } from 'src/routes'

View file

@ -1,8 +1,8 @@
<script setup lang="ts">
import { onMounted, ref } from 'vue'
import { type ProjectListDefinition } from '@goldenwere/static-web-templates-types'
import type { ProjectList, ProjectListingInfo } from './project'
import { type ProjectListDefinition } from 'content/routes.js'
import { fetchAndParseMarkdown, fetchAndParseYaml } from 'src/utilities/fetch'
import { getCurrentRoute } from 'src/utilities/vuetils'
import { useRouteStore } from 'src/routes'