import { createModuleNameFromMetaUrl } from '../../_helpers/common';

const MODULE_NAME: string = createModuleNameFromMetaUrl(import.meta.url);

// self server list queries
export const GET_SELF_SERVE_FEEDS = `${MODULE_NAME}_GET_SELF_SERVE_FEEDS`;
export const IMPORT_ARCHIVED_SELF_SERVE_FEEDS = `${MODULE_NAME}_IMPORT_ARCHIVED_SELF_SERVE_FEEDS`;

// feed item queries
export const GET_FEED_ITEM = `${MODULE_NAME}_GET_FEED_ITEM`;
export const GET_FEED_METADATA = `${MODULE_NAME}_GET_FEED_METADATA`;
export const GET_FEED_ACCOUNT_OPTIONS = `${MODULE_NAME}_GET_FEED_ACCOUNT_OPTIONS`;
export const GET_FEED_HUBS_OPTIONS = `${MODULE_NAME}_GET_FEED_HUBS_OPTIONS`;
export const GET_FEED_OWNERS_OPTIONS = `${MODULE_NAME}_GET_FEED_OWNERS_OPTIONS`;
export const GET_OAUTH_CLIENT_ID = `${MODULE_NAME}_GET_OAUTH_CLIENT_ID`;
export const GET_OAUTH_TOKEN = `${MODULE_NAME}_GET_OAUTH_TOKEN`;

// feed item mutations
export const UPDATE_FEED_ITEM = `${MODULE_NAME}_UPDATE_FEED_ITEM`;
export const CREATE_FEED_ITEM = `${MODULE_NAME}_CREATE_FEED_ITEM`;
