Skip to content

Commit

Permalink
[ci] format
Browse files Browse the repository at this point in the history
  • Loading branch information
bholmesdev authored and astrobot-houston committed Aug 9, 2024
1 parent f31d466 commit ee69a06
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/astro/src/actions/runtime/middleware.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ 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 {
type SafeResult,
type SerializedActionResult,
serializeActionResult,
} from './virtual/shared.js';
import { ACTION_QUERY_PARAMS } from '../consts.js';

export type ActionPayload = {
actionResult: SerializedActionResult;
Expand Down
2 changes: 1 addition & 1 deletion packages/astro/src/actions/runtime/virtual/shared.ts
Original file line number Diff line number Diff line change
@@ -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;

Expand Down
2 changes: 1 addition & 1 deletion packages/astro/templates/actions.mjs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import {
ACTION_QUERY_PARAMS,
ActionError,
deserializeActionResult,
getActionQueryString,
ACTION_QUERY_PARAMS,
} from 'astro:actions';

function toActionProxy(actionCallback = {}, aggregatedPath = '') {
Expand Down

0 comments on commit ee69a06

Please sign in to comment.