chore: add test/ to workspace, update most references

This commit is contained in:
Elliot DeNolf
2024-03-19 00:59:56 -04:00
parent 1e10f021b5
commit c5ecf48d94
242 changed files with 641 additions and 481 deletions

View File

@@ -1,7 +1,7 @@
import path from 'path'
import { fileURLToPath } from 'url'
import type { CollectionConfig } from '../../packages/payload/src/collections/config/types.js'
import type { CollectionConfig } from 'payload/types'
import { buildConfigWithDefaults } from '../buildConfigWithDefaults.js'
import { devUser } from '../credentials.js'

View File

@@ -1,7 +1,7 @@
import type { Payload } from '../../packages/payload/src/index.js'
import type { Payload } from 'payload'
import type { Post } from './payload-types.js'
import { getPayload } from '../../packages/payload/src/index.js'
import { getPayload } from 'payload'
import { mapAsync } from '../../packages/payload/src/utilities/mapAsync.js'
import { NextRESTClient } from '../helpers/NextRESTClient.js'
import { idToString } from '../helpers/idToString.js'