0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-01-06 22:10:10 -05:00

[ci] format

This commit is contained in:
Ben Holmes 2024-08-09 21:17:51 +00:00 committed by astrobot-houston
parent f31d4665c1
commit ee69a065d3
3 changed files with 3 additions and 3 deletions

View file

@ -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;

View file

@ -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;

View file

@ -1,8 +1,8 @@
import {
ACTION_QUERY_PARAMS,
ActionError,
deserializeActionResult,
getActionQueryString,
ACTION_QUERY_PARAMS,
} from 'astro:actions';
function toActionProxy(actionCallback = {}, aggregatedPath = '') {