import '../../../../utils/index.mjs';
import './index.mjs';
import { buildProps, definePropType } from '../../../../utils/props/runtime.mjs';
import { DEFAULT_METHOD } from './api-component.mjs';

"use strict";
const methods = [
  {
    label: "GET",
    value: "GET"
  },
  {
    label: "POST",
    value: "POST"
  },
  {
    label: "PUT",
    value: "PUT"
  },
  {
    label: "DELETE",
    value: "DELETE"
  }
];
const apiUrlProps = buildProps({
  value: {
    type: definePropType(Object),
    default: () => ({
      url: "",
      method: DEFAULT_METHOD,
      requestParams: [],
      headerParams: [],
      bodyParams: {
        type: "none",
        parameters: [],
        jsonSchema: [],
        description: ""
      }
    })
  }
});
const apiUrlEmits = {
  "update:value": (params) => !!params,
  change: (params) => !!params
};

export { apiUrlEmits, apiUrlProps, methods };
//# sourceMappingURL=api-url.mjs.map
