create types lib
This commit is contained in:
parent
04418cbfed
commit
ba6b727fd7
20 changed files with 188 additions and 154 deletions
|
@ -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'
|
||||
|
|
|
@ -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'
|
||||
|
|
|
@ -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'
|
||||
|
|
|
@ -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'
|
||||
|
|
|
@ -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'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue