mirror of
https://github.com/withastro/astro.git
synced 2025-01-06 22:10:10 -05:00
[ci] format
This commit is contained in:
parent
f31d4665c1
commit
ee69a065d3
3 changed files with 3 additions and 3 deletions
|
@ -3,6 +3,7 @@ import type { APIContext, MiddlewareNext } from '../../@types/astro.js';
|
|||
import { ActionQueryStringInvalidError } from '../../core/errors/errors-data.js';
|
||||
import { AstroError } from '../../core/errors/errors.js';
|
||||
import { defineMiddleware } from '../../core/middleware/index.js';
|
||||
import { ACTION_QUERY_PARAMS } from '../consts.js';
|
||||
import { formContentTypes, hasContentType } from './utils.js';
|
||||
import { getAction } from './virtual/get-action.js';
|
||||
import {
|
||||
|
@ -10,7 +11,6 @@ import {
|
|||
type SerializedActionResult,
|
||||
serializeActionResult,
|
||||
} from './virtual/shared.js';
|
||||
import { ACTION_QUERY_PARAMS } from '../consts.js';
|
||||
|
||||
export type ActionPayload = {
|
||||
actionResult: SerializedActionResult;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import { parse as devalueParse, stringify as devalueStringify } from 'devalue';
|
||||
import type { z } from 'zod';
|
||||
import type { ErrorInferenceObject, MaybePromise } from '../utils.js';
|
||||
import { ACTION_QUERY_PARAMS as _ACTION_QUERY_PARAMS } from '../../consts.js';
|
||||
import type { ErrorInferenceObject, MaybePromise } from '../utils.js';
|
||||
|
||||
export const ACTION_QUERY_PARAMS = _ACTION_QUERY_PARAMS;
|
||||
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
import {
|
||||
ACTION_QUERY_PARAMS,
|
||||
ActionError,
|
||||
deserializeActionResult,
|
||||
getActionQueryString,
|
||||
ACTION_QUERY_PARAMS,
|
||||
} from 'astro:actions';
|
||||
|
||||
function toActionProxy(actionCallback = {}, aggregatedPath = '') {
|
||||
|
|
Loading…
Reference in a new issue