Commit 2c3ca998 authored by Vitaly Slobodin's avatar Vitaly Slobodin Committed by Natalia Tepluhina

Rename files to snake case

We disabled ESLint rule "camelcase" and that resulted
in a bunch of files that violate this rule.
parent 2a779800
#import "~/graphql_shared/fragments/pageInfo.fragment.graphql" #import "~/graphql_shared/fragments/page_info.fragment.graphql"
query accessTokensGetProjects( query accessTokensGetProjects(
$search: String = "" $search: String = ""
......
#import "~/graphql_shared/fragments/pageInfo.fragment.graphql" #import "~/graphql_shared/fragments/page_info.fragment.graphql"
#import "../fragments/count.fragment.graphql" #import "../fragments/count.fragment.graphql"
query getCount($identifier: MeasurementIdentifier!, $first: Int, $after: String) { query getCount($identifier: MeasurementIdentifier!, $first: Int, $after: String) {
......
#import "~/graphql_shared/fragments/pageInfo.fragment.graphql" #import "~/graphql_shared/fragments/page_info.fragment.graphql"
#import "../fragments/count.fragment.graphql" #import "../fragments/count.fragment.graphql"
query getUsersCount($first: Int, $after: String) { query getUsersCount($first: Int, $after: String) {
......
#import "~/graphql_shared/fragments/pageInfo.fragment.graphql" #import "~/graphql_shared/fragments/page_info.fragment.graphql"
query boardsGetGroupProjects($fullPath: ID!, $search: String, $after: String) { query boardsGetGroupProjects($fullPath: ID!, $search: String, $after: String) {
group(fullPath: $fullPath) { group(fullPath: $fullPath) {
......
#import "~/graphql_shared/fragments/pageInfo.fragment.graphql" #import "~/graphql_shared/fragments/page_info.fragment.graphql"
#import "../fragments/cluster_agent_token.fragment.graphql" #import "../fragments/cluster_agent_token.fragment.graphql"
query getClusterAgent( query getClusterAgent(
......
#import "~/graphql_shared/fragments/pageInfo.fragment.graphql" #import "~/graphql_shared/fragments/page_info.fragment.graphql"
#import "../fragments/cluster_agent.fragment.graphql" #import "../fragments/cluster_agent.fragment.graphql"
query getAgents( query getAgents(
......
#import "~/graphql_shared/fragments/pageInfo.fragment.graphql" #import "~/graphql_shared/fragments/page_info.fragment.graphql"
query getProjects( query getProjects(
$search: String! $search: String!
......
#import "~/graphql_shared/fragments/pageInfo.fragment.graphql" #import "~/graphql_shared/fragments/page_info.fragment.graphql"
#import "./issue.fragment.graphql" #import "./issue.fragment.graphql"
query getIssues( query getIssues(
......
#import "~/graphql_shared/fragments/pageInfo.fragment.graphql" #import "~/graphql_shared/fragments/page_info.fragment.graphql"
query jiraGetProjects( query jiraGetProjects(
$search: String! $search: String!
......
...@@ -6,9 +6,9 @@ import { convertObjectPropsToCamelCase } from '../../lib/utils/common_utils'; ...@@ -6,9 +6,9 @@ import { convertObjectPropsToCamelCase } from '../../lib/utils/common_utils';
import { s__, sprintf } from '../../locale'; import { s__, sprintf } from '../../locale';
import { ENVIRONMENT_AVAILABLE_STATE, OVERVIEW_DASHBOARD_PATH, VARIABLE_TYPES } from '../constants'; import { ENVIRONMENT_AVAILABLE_STATE, OVERVIEW_DASHBOARD_PATH, VARIABLE_TYPES } from '../constants';
import trackDashboardLoad from '../monitoring_tracking_helper'; import trackDashboardLoad from '../monitoring_tracking_helper';
import getAnnotations from '../queries/getAnnotations.query.graphql'; import getAnnotations from '../queries/get_annotations.query.graphql';
import getDashboardValidationWarnings from '../queries/getDashboardValidationWarnings.query.graphql'; import getDashboardValidationWarnings from '../queries/get_dashboard_validation_warnings.query.graphql';
import getEnvironments from '../queries/getEnvironments.query.graphql'; import getEnvironments from '../queries/get_environments.query.graphql';
import { getDashboard, getPrometheusQueryData } from '../requests'; import { getDashboard, getPrometheusQueryData } from '../requests';
import * as types from './mutation_types'; import * as types from './mutation_types';
......
#import "~/graphql_shared/fragments/pageInfo.fragment.graphql" #import "~/graphql_shared/fragments/page_info.fragment.graphql"
query getContainerRepositoryTags( query getContainerRepositoryTags(
$id: ID! $id: ID!
......
#import "~/graphql_shared/fragments/pageInfo.fragment.graphql" #import "~/graphql_shared/fragments/page_info.fragment.graphql"
query getDependencyProxyDetails( query getDependencyProxyDetails(
$fullPath: ID! $fullPath: ID!
......
#import "~/packages_and_registries/package_registry/graphql/fragments/package_data.fragment.graphql" #import "~/packages_and_registries/package_registry/graphql/fragments/package_data.fragment.graphql"
#import "~/graphql_shared/fragments/pageInfo.fragment.graphql" #import "~/graphql_shared/fragments/page_info.fragment.graphql"
query getPackages( query getPackages(
$fullPath: ID! $fullPath: ID!
......
#import "~/graphql_shared/fragments/pageInfo.fragment.graphql" #import "~/graphql_shared/fragments/page_info.fragment.graphql"
query getPipelineJobs($fullPath: ID!, $iid: ID!, $after: String) { query getPipelineJobs($fullPath: ID!, $iid: ID!, $after: String) {
project(fullPath: $fullPath) { project(fullPath: $fullPath) {
......
#import "~/graphql_shared/fragments/pageInfo.fragment.graphql" #import "~/graphql_shared/fragments/page_info.fragment.graphql"
query getRunnerJobs($id: CiRunnerID!, $first: Int, $last: Int, $before: String, $after: String) { query getRunnerJobs($id: CiRunnerID!, $first: Int, $last: Int, $before: String, $after: String) {
runner(id: $id) { runner(id: $id) {
......
#import "~/graphql_shared/fragments/pageInfo.fragment.graphql" #import "~/graphql_shared/fragments/page_info.fragment.graphql"
query getRunnerProjects( query getRunnerProjects(
$id: CiRunnerID! $id: CiRunnerID!
......
#import "~/runner/graphql/list/list_item.fragment.graphql" #import "~/runner/graphql/list/list_item.fragment.graphql"
#import "~/graphql_shared/fragments/pageInfo.fragment.graphql" #import "~/graphql_shared/fragments/page_info.fragment.graphql"
query getRunners( query getRunners(
$before: String $before: String
......
#import "~/runner/graphql/list/list_item.fragment.graphql" #import "~/runner/graphql/list/list_item.fragment.graphql"
#import "~/graphql_shared/fragments/pageInfo.fragment.graphql" #import "~/graphql_shared/fragments/page_info.fragment.graphql"
query getGroupRunners( query getGroupRunners(
$groupFullPath: ID! $groupFullPath: ID!
......
import sidebarDetailsIssueQuery from 'ee_else_ce/sidebar/queries/sidebarDetails.query.graphql'; import sidebarDetailsIssueQuery from 'ee_else_ce/sidebar/queries/sidebar_details.query.graphql';
import { TYPE_USER } from '~/graphql_shared/constants'; import { TYPE_USER } from '~/graphql_shared/constants';
import { convertToGraphQLId } from '~/graphql_shared/utils'; import { convertToGraphQLId } from '~/graphql_shared/utils';
import createGqClient, { fetchPolicies } from '~/lib/graphql'; import createGqClient, { fetchPolicies } from '~/lib/graphql';
import axios from '~/lib/utils/axios_utils'; import axios from '~/lib/utils/axios_utils';
import reviewerRereviewMutation from '../queries/reviewer_rereview.mutation.graphql'; import reviewerRereviewMutation from '../queries/reviewer_rereview.mutation.graphql';
import sidebarDetailsMRQuery from '../queries/sidebarDetailsMR.query.graphql'; import sidebarDetailsMRQuery from '../queries/sidebar_details_mr.query.graphql';
import toggleAttentionRequestedMutation from '../queries/toggle_attention_requested.mutation.graphql'; import toggleAttentionRequestedMutation from '../queries/toggle_attention_requested.mutation.graphql';
const queries = { const queries = {
......
...@@ -15,8 +15,8 @@ import TitleField from '~/vue_shared/components/form/title.vue'; ...@@ -15,8 +15,8 @@ import TitleField from '~/vue_shared/components/form/title.vue';
import { SNIPPET_CREATE_MUTATION_ERROR, SNIPPET_UPDATE_MUTATION_ERROR } from '../constants'; import { SNIPPET_CREATE_MUTATION_ERROR, SNIPPET_UPDATE_MUTATION_ERROR } from '../constants';
import { getSnippetMixin } from '../mixins/snippets'; import { getSnippetMixin } from '../mixins/snippets';
import CreateSnippetMutation from '../mutations/createSnippet.mutation.graphql'; import CreateSnippetMutation from '../mutations/create_snippet.mutation.graphql';
import UpdateSnippetMutation from '../mutations/updateSnippet.mutation.graphql'; import UpdateSnippetMutation from '../mutations/update_snippet.mutation.graphql';
import { markBlobPerformance } from '../utils/blob'; import { markBlobPerformance } from '../utils/blob';
import { getErrorMessage } from '../utils/error'; import { getErrorMessage } from '../utils/error';
...@@ -238,9 +238,9 @@ export default { ...@@ -238,9 +238,9 @@ export default {
> >
</template> </template>
<template #append> <template #append>
<gl-button type="cancel" data-testid="snippet-cancel-btn" :href="cancelButtonHref">{{ <gl-button type="cancel" data-testid="snippet-cancel-btn" :href="cancelButtonHref">
__('Cancel') {{ __('Cancel') }}
}}</gl-button> </gl-button>
</template> </template>
</form-footer-actions> </form-footer-actions>
</template> </template>
......
...@@ -21,7 +21,7 @@ import { __, s__, sprintf } from '~/locale'; ...@@ -21,7 +21,7 @@ import { __, s__, sprintf } from '~/locale';
import TimeAgoTooltip from '~/vue_shared/components/time_ago_tooltip.vue'; import TimeAgoTooltip from '~/vue_shared/components/time_ago_tooltip.vue';
import createFlash, { FLASH_TYPES } from '~/flash'; import createFlash, { FLASH_TYPES } from '~/flash';
import DeleteSnippetMutation from '../mutations/deleteSnippet.mutation.graphql'; import DeleteSnippetMutation from '../mutations/delete_snippet.mutation.graphql';
export const i18n = { export const i18n = {
snippetSpamSuccess: sprintf( snippetSpamSuccess: sprintf(
...@@ -294,9 +294,9 @@ export default { ...@@ -294,9 +294,9 @@ export default {
<gl-modal ref="deleteModal" modal-id="delete-modal" title="Example title"> <gl-modal ref="deleteModal" modal-id="delete-modal" title="Example title">
<template #modal-title>{{ __('Delete snippet?') }}</template> <template #modal-title>{{ __('Delete snippet?') }}</template>
<gl-alert v-if="errorMessage" variant="danger" class="mb-2" @dismiss="errorMessage = ''"> <gl-alert v-if="errorMessage" variant="danger" class="mb-2" @dismiss="errorMessage = ''">{{
{{ errorMessage }} errorMessage
</gl-alert> }}</gl-alert>
<gl-sprintf :message="__('Are you sure you want to delete %{name}?')"> <gl-sprintf :message="__('Are you sure you want to delete %{name}?')">
<template #name> <template #name>
......
#import "../fragments/state.fragment.graphql" #import "../fragments/state.fragment.graphql"
#import "~/graphql_shared/fragments/pageInfo.fragment.graphql" #import "~/graphql_shared/fragments/page_info.fragment.graphql"
query getStates($projectPath: ID!, $first: Int, $last: Int, $before: String, $after: String) { query getStates($projectPath: ID!, $first: Int, $last: Int, $before: String, $after: String) {
project(fullPath: $projectPath) { project(fullPath: $projectPath) {
......
...@@ -583,7 +583,7 @@ we want to fetch after or before a given endpoint. ...@@ -583,7 +583,7 @@ we want to fetch after or before a given endpoint.
For example, here we're fetching 10 designs after a cursor (let us call this `projectQuery`): For example, here we're fetching 10 designs after a cursor (let us call this `projectQuery`):
```javascript ```javascript
#import "~/graphql_shared/fragments/pageInfo.fragment.graphql" #import "~/graphql_shared/fragments/page_info.fragment.graphql"
query { query {
project(fullPath: "root/my-project") { project(fullPath: "root/my-project") {
...@@ -606,7 +606,7 @@ query { ...@@ -606,7 +606,7 @@ query {
} }
``` ```
Note that we are using the [`pageInfo.fragment.graphql`](https://gitlab.com/gitlab-org/gitlab/-/blob/master/app/assets/javascripts/graphql_shared/fragments/pageInfo.fragment.graphql) to populate the `pageInfo` information. Note that we are using the [`page_info.fragment.graphql`](https://gitlab.com/gitlab-org/gitlab/-/blob/master/app/assets/javascripts/graphql_shared/fragments/page_info.fragment.graphql) to populate the `pageInfo` information.
#### Using `fetchMore` method in components #### Using `fetchMore` method in components
...@@ -869,7 +869,7 @@ You'd then be able to retrieve the data without providing any pagination-specifi ...@@ -869,7 +869,7 @@ You'd then be able to retrieve the data without providing any pagination-specifi
Here's an example of a query using the `@connection` directive: Here's an example of a query using the `@connection` directive:
```graphql ```graphql
#import "~/graphql_shared/fragments/pageInfo.fragment.graphql" #import "~/graphql_shared/fragments/page_info.fragment.graphql"
query DastSiteProfiles($fullPath: ID!, $after: String, $before: String, $first: Int, $last: Int) { query DastSiteProfiles($fullPath: ID!, $after: String, $before: String, $first: Int, $last: Int) {
project(fullPath: $fullPath) { project(fullPath: $fullPath) {
......
#import "~/graphql_shared/fragments/pageInfo.fragment.graphql" #import "~/graphql_shared/fragments/page_info.fragment.graphql"
query getThroughputTableData( query getThroughputTableData(
$fullPath: ID! $fullPath: ID!
......
#import "~/graphql_shared/fragments/pageInfo.fragment.graphql" #import "~/graphql_shared/fragments/page_info.fragment.graphql"
query repoAnalyticsGetGroupProjects($groupFullPath: ID!, $after: String) { query repoAnalyticsGetGroupProjects($groupFullPath: ID!, $after: String) {
group(fullPath: $groupFullPath) { group(fullPath: $groupFullPath) {
......
#import "~/graphql_shared/fragments/pageInfo.fragment.graphql" #import "~/graphql_shared/fragments/page_info.fragment.graphql"
fragment Group on Group { fragment Group on Group {
id id
......
#import "~/graphql_shared/fragments/pageInfo.fragment.graphql" #import "~/graphql_shared/fragments/page_info.fragment.graphql"
query getCodeQualityViolations($projectPath: ID!, $iid: ID!, $first: Int, $after: String) { query getCodeQualityViolations($projectPath: ID!, $iid: ID!, $first: Int, $after: String) {
project(fullPath: $projectPath) { project(fullPath: $projectPath) {
......
#import "~/graphql_shared/fragments/pageInfo.fragment.graphql" #import "~/graphql_shared/fragments/page_info.fragment.graphql"
query getComplianceViolations( query getComplianceViolations(
$fullPath: ID! $fullPath: ID!
......
...@@ -17,7 +17,7 @@ import { s__ } from '~/locale'; ...@@ -17,7 +17,7 @@ import { s__ } from '~/locale';
import MarkdownField from '~/vue_shared/components/markdown/field.vue'; import MarkdownField from '~/vue_shared/components/markdown/field.vue';
import LabelsSelectWidget from '~/vue_shared/components/sidebar/labels_select_widget/labels_select_root.vue'; import LabelsSelectWidget from '~/vue_shared/components/sidebar/labels_select_widget/labels_select_root.vue';
import { LabelType } from '~/vue_shared/components/sidebar/labels_select_widget/constants'; import { LabelType } from '~/vue_shared/components/sidebar/labels_select_widget/constants';
import createEpic from '../queries/createEpic.mutation.graphql'; import createEpic from '../queries/create_epic.mutation.graphql';
export default { export default {
components: { components: {
...@@ -177,8 +177,7 @@ export default { ...@@ -177,8 +177,7 @@ export default {
data-supports-quick-actions="true" data-supports-quick-actions="true"
:placeholder="__('Write a comment or drag your files here…')" :placeholder="__('Write a comment or drag your files here…')"
:aria-label="__('Description')" :aria-label="__('Description')"
> ></textarea>
</textarea>
</template> </template>
</markdown-field> </markdown-field>
</gl-form-group> </gl-form-group>
...@@ -188,9 +187,8 @@ export default { ...@@ -188,9 +187,8 @@ export default {
v-model="confidential" v-model="confidential"
data-qa-selector="confidential_epic_checkbox" data-qa-selector="confidential_epic_checkbox"
data-testid="epic-confidentiality" data-testid="epic-confidentiality"
>{{ $options.i18n.confidentialityLabel }}</gl-form-checkbox
> >
{{ $options.i18n.confidentialityLabel }}
</gl-form-checkbox>
</gl-form-group> </gl-form-group>
<hr /> <hr />
<gl-form-group :label="__('Labels')"> <gl-form-group :label="__('Labels')">
...@@ -208,9 +206,8 @@ export default { ...@@ -208,9 +206,8 @@ export default {
variant="embedded" variant="embedded"
data-qa-selector="labels_block" data-qa-selector="labels_block"
@updateSelectedLabels="handleUpdateSelectedLabels($event.labels)" @updateSelectedLabels="handleUpdateSelectedLabels($event.labels)"
>{{ __('None') }}</labels-select-widget
> >
{{ __('None') }}
</labels-select-widget>
</gl-form-group> </gl-form-group>
<gl-form-group :label="__('Start date')" :description="$options.i18n.epicDatesHint"> <gl-form-group :label="__('Start date')" :description="$options.i18n.epicDatesHint">
<div class="gl-display-inline-block gl-mr-2"> <div class="gl-display-inline-block gl-mr-2">
...@@ -222,9 +219,8 @@ export default { ...@@ -222,9 +219,8 @@ export default {
class="gl-white-space-nowrap" class="gl-white-space-nowrap"
data-testid="clear-start-date" data-testid="clear-start-date"
@click="updateStartDate(null)" @click="updateStartDate(null)"
>{{ __('Clear start date') }}</gl-button
> >
{{ __('Clear start date') }}
</gl-button>
</gl-form-group> </gl-form-group>
<gl-form-group <gl-form-group
class="gl-pb-4" class="gl-pb-4"
...@@ -240,9 +236,8 @@ export default { ...@@ -240,9 +236,8 @@ export default {
class="gl-white-space-nowrap" class="gl-white-space-nowrap"
data-testid="clear-due-date" data-testid="clear-due-date"
@click="updateDueDate(null)" @click="updateDueDate(null)"
>{{ __('Clear due date') }}</gl-button
> >
{{ __('Clear due date') }}
</gl-button>
</gl-form-group> </gl-form-group>
<div class="footer-block row-content-block gl-display-flex"> <div class="footer-block row-content-block gl-display-flex">
...@@ -253,17 +248,15 @@ export default { ...@@ -253,17 +248,15 @@ export default {
:disabled="!title" :disabled="!title"
data-testid="save-epic" data-testid="save-epic"
data-qa-selector="create_epic_button" data-qa-selector="create_epic_button"
>{{ __('Create epic') }}</gl-button
> >
{{ __('Create epic') }}
</gl-button>
<gl-button <gl-button
type="button" type="button"
class="gl-ml-auto" class="gl-ml-auto"
data-testid="cancel-epic" data-testid="cancel-epic"
:href="groupEpicsPath" :href="groupEpicsPath"
>{{ __('Cancel') }}</gl-button
> >
{{ __('Cancel') }}
</gl-button>
</div> </div>
</gl-form> </gl-form>
</div> </div>
......
...@@ -8,8 +8,8 @@ import { __, s__, sprintf } from '~/locale'; ...@@ -8,8 +8,8 @@ import { __, s__, sprintf } from '~/locale';
import { statusType, statusEvent, dateTypes } from '../constants'; import { statusType, statusEvent, dateTypes } from '../constants';
import epicSetSubscription from '../queries/epicSetSubscription.mutation.graphql'; import epicSetSubscription from '../queries/epic_set_subscription.mutation.graphql';
import updateEpic from '../queries/updateEpic.mutation.graphql'; import updateEpic from '../queries/update_epic.mutation.graphql';
import epicUtils from '../utils/epic_utils'; import epicUtils from '../utils/epic_utils';
import * as types from './mutation_types'; import * as types from './mutation_types';
......
#import "~/graphql_shared/fragments/author.fragment.graphql" #import "~/graphql_shared/fragments/author.fragment.graphql"
#import "~/graphql_shared/fragments/label.fragment.graphql" #import "~/graphql_shared/fragments/label.fragment.graphql"
#import "~/graphql_shared/fragments/pageInfo.fragment.graphql" #import "~/graphql_shared/fragments/page_info.fragment.graphql"
query groupEpics( query groupEpics(
$groupPath: ID! $groupPath: ID!
......
import { gql } from '@apollo/client/core'; import { gql } from '@apollo/client/core';
import PageInfo from '~/graphql_shared/fragments/pageInfo.fragment.graphql'; import PageInfo from '~/graphql_shared/fragments/page_info.fragment.graphql';
export default (graphQlFieldName) => { export default (graphQlFieldName) => {
return gql` return gql`
......
#import "~/graphql_shared/fragments/pageInfo.fragment.graphql" #import "~/graphql_shared/fragments/page_info.fragment.graphql"
#import "~/issues/list/queries/issue.fragment.graphql" #import "~/issues/list/queries/issue.fragment.graphql"
query getIssuesEE( query getIssuesEE(
......
#import "~/graphql_shared/fragments/pageInfo.fragment.graphql" #import "~/graphql_shared/fragments/page_info.fragment.graphql"
query groupIterationCadences( query groupIterationCadences(
$fullPath: ID! $fullPath: ID!
......
#import "~/graphql_shared/fragments/pageInfo.fragment.graphql" #import "~/graphql_shared/fragments/page_info.fragment.graphql"
#import "./iteration_list_item.fragment.graphql" #import "./iteration_list_item.fragment.graphql"
query groupIterations( query groupIterations(
......
#import "~/graphql_shared/fragments/user.fragment.graphql" #import "~/graphql_shared/fragments/user.fragment.graphql"
#import "~/graphql_shared/fragments/pageInfo.fragment.graphql" #import "~/graphql_shared/fragments/page_info.fragment.graphql"
fragment IterationIssues on IssueConnection { fragment IterationIssues on IssueConnection {
count count
......
#import "~/graphql_shared/fragments/label.fragment.graphql" #import "~/graphql_shared/fragments/label.fragment.graphql"
#import "~/graphql_shared/fragments/pageInfo.fragment.graphql" #import "~/graphql_shared/fragments/page_info.fragment.graphql"
#import "~/graphql_shared/fragments/user.fragment.graphql" #import "~/graphql_shared/fragments/user.fragment.graphql"
fragment IterationIssuesWithLabels on IssueConnection { fragment IterationIssuesWithLabels on IssueConnection {
......
#import "~/graphql_shared/fragments/pageInfo.fragment.graphql" #import "~/graphql_shared/fragments/page_info.fragment.graphql"
#import "./iteration_list_item.fragment.graphql" #import "./iteration_list_item.fragment.graphql"
query workspaceIterations( query workspaceIterations(
......
#import "~/graphql_shared/fragments/pageInfo.fragment.graphql" #import "~/graphql_shared/fragments/page_info.fragment.graphql"
query projectIterationCadences( query projectIterationCadences(
$fullPath: ID! $fullPath: ID!
......
#import "~/graphql_shared/fragments/pageInfo.fragment.graphql" #import "~/graphql_shared/fragments/page_info.fragment.graphql"
#import "./iteration_list_item.fragment.graphql" #import "./iteration_list_item.fragment.graphql"
query Iterations( query Iterations(
......
#import "~/graphql_shared/fragments/pageInfo.fragment.graphql" #import "~/graphql_shared/fragments/page_info.fragment.graphql"
query SavedScans($fullPath: ID!, $after: String, $before: String, $first: Int, $last: Int) { query SavedScans($fullPath: ID!, $after: String, $before: String, $first: Int, $last: Int) {
project(fullPath: $fullPath) { project(fullPath: $fullPath) {
......
#import "~/graphql_shared/fragments/pageInfo.fragment.graphql" #import "~/graphql_shared/fragments/page_info.fragment.graphql"
query onDemandScans( query onDemandScans(
$fullPath: ID! $fullPath: ID!
......
#import "~/graphql_shared/fragments/pageInfo.fragment.graphql" #import "~/graphql_shared/fragments/page_info.fragment.graphql"
query ScheduledDastProfiles( query ScheduledDastProfiles(
$fullPath: ID! $fullPath: ID!
......
...@@ -14,7 +14,7 @@ import epicChildren from '../queries/epic_children.query.graphql'; ...@@ -14,7 +14,7 @@ import epicChildren from '../queries/epic_children.query.graphql';
import { ChildType, ChildState, idProp, relativePositions, trackingAddedIssue } from '../constants'; import { ChildType, ChildState, idProp, relativePositions, trackingAddedIssue } from '../constants';
import epicChildReorder from '../queries/epicChildReorder.mutation.graphql'; import epicChildReorder from '../queries/epic_child_reorder.mutation.graphql';
import { processQueryResponse, formatChildItem, gqClient } from '../utils/epic_utils'; import { processQueryResponse, formatChildItem, gqClient } from '../utils/epic_utils';
import * as types from './mutation_types'; import * as types from './mutation_types';
......
...@@ -21,11 +21,11 @@ import { ...@@ -21,11 +21,11 @@ import {
TestReportStatusToValue, TestReportStatusToValue,
DEFAULT_PAGE_SIZE, DEFAULT_PAGE_SIZE,
} from '../constants'; } from '../constants';
import createRequirement from '../queries/createRequirement.mutation.graphql'; import createRequirement from '../queries/create_requirement.mutation.graphql';
import exportRequirement from '../queries/exportRequirements.mutation.graphql'; import exportRequirement from '../queries/export_requirements.mutation.graphql';
import projectRequirements from '../queries/projectRequirements.query.graphql'; import projectRequirements from '../queries/project_requirements.query.graphql';
import projectRequirementsCount from '../queries/projectRequirementsCount.query.graphql'; import projectRequirementsCount from '../queries/project_requirements_count.query.graphql';
import updateRequirement from '../queries/updateRequirement.mutation.graphql'; import updateRequirement from '../queries/update_requirement.mutation.graphql';
import ExportRequirementsModal from './export_requirements_modal.vue'; import ExportRequirementsModal from './export_requirements_modal.vue';
import ImportRequirementsModal from './import_requirements_modal.vue'; import ImportRequirementsModal from './import_requirements_modal.vue';
import RequirementForm from './requirement_form.vue'; import RequirementForm from './requirement_form.vue';
...@@ -694,9 +694,8 @@ export default { ...@@ -694,9 +694,8 @@ export default {
:dismissible="true" :dismissible="true"
class="gl-mt-3 gl-mb-4" class="gl-mt-3 gl-mb-4"
@dismiss="alert = null" @dismiss="alert = null"
>{{ alert.message }}</gl-alert
> >
{{ alert.message }}
</gl-alert>
<requirements-tabs <requirements-tabs
:filter-by="filterBy" :filter-by="filterBy"
......
#import "~/graphql_shared/fragments/pageInfo.fragment.graphql" #import "~/graphql_shared/fragments/page_info.fragment.graphql"
#import "./requirement.fragment.graphql" #import "./requirement.fragment.graphql"
query projectRequirementsEE( query projectRequirementsEE(
......
#import "~/graphql_shared/fragments/pageInfo.fragment.graphql" #import "~/graphql_shared/fragments/page_info.fragment.graphql"
#import "./epic.fragment.graphql" #import "./epic.fragment.graphql"
query roadmapGroupEpics( query roadmapGroupEpics(
......
...@@ -2,9 +2,9 @@ import createFlash from '~/flash'; ...@@ -2,9 +2,9 @@ import createFlash from '~/flash';
import { s__ } from '~/locale'; import { s__ } from '~/locale';
import { ROADMAP_PAGE_SIZE } from '../constants'; import { ROADMAP_PAGE_SIZE } from '../constants';
import epicChildEpics from '../queries/epicChildEpics.query.graphql'; import epicChildEpics from '../queries/epic_child_epics.query.graphql';
import groupEpics from '../queries/groupEpics.query.graphql'; import groupEpics from '../queries/group_epics.query.graphql';
import groupMilestones from '../queries/groupMilestones.query.graphql'; import groupMilestones from '../queries/group_milestones.query.graphql';
import * as epicUtils from '../utils/epic_utils'; import * as epicUtils from '../utils/epic_utils';
import * as roadmapItemUtils from '../utils/roadmap_item_utils'; import * as roadmapItemUtils from '../utils/roadmap_item_utils';
import { getEpicsTimeframeRange, sortEpics } from '../utils/roadmap_utils'; import { getEpicsTimeframeRange, sortEpics } from '../utils/roadmap_utils';
......
#import "~/graphql_shared/fragments/pageInfo.fragment.graphql" #import "~/graphql_shared/fragments/page_info.fragment.graphql"
#import "../fragments/uploadState.fragment.graphql" #import "../fragments/upload_state.fragment.graphql"
query getCorpuses( query getCorpuses(
$projectPath: ID! $projectPath: ID!
......
#import "../fragments/uploadState.fragment.graphql" #import "../fragments/upload_state.fragment.graphql"
query getUploadState { query getUploadState {
uploadState @client { uploadState @client {
......
#import "~/graphql_shared/fragments/pageInfo.fragment.graphql" #import "~/graphql_shared/fragments/page_info.fragment.graphql"
query DastScannerProfiles( query DastScannerProfiles(
$fullPath: ID! $fullPath: ID!
......
#import "~/graphql_shared/fragments/pageInfo.fragment.graphql" #import "~/graphql_shared/fragments/page_info.fragment.graphql"
query DastSiteProfiles($fullPath: ID!, $after: String, $before: String, $first: Int, $last: Int) { query DastSiteProfiles($fullPath: ID!, $after: String, $before: String, $first: Int, $last: Int) {
project(fullPath: $fullPath) { project(fullPath: $fullPath) {
......
#import "~/graphql_shared/fragments/pageInfo.fragment.graphql" #import "~/graphql_shared/fragments/page_info.fragment.graphql"
#import "ee/security_dashboard/graphql/fragments/project.fragment.graphql" #import "ee/security_dashboard/graphql/fragments/project.fragment.graphql"
query securityGetProjects( query securityGetProjects(
......
#import "../fragments/vulnerability.fragment.graphql" #import "../fragments/vulnerability.fragment.graphql"
#import "~/graphql_shared/fragments/pageInfo.fragment.graphql" #import "~/graphql_shared/fragments/page_info.fragment.graphql"
query groupVulnerabilities( query groupVulnerabilities(
$fullPath: ID! $fullPath: ID!
......
#import "../fragments/vulnerability.fragment.graphql" #import "../fragments/vulnerability.fragment.graphql"
#import "~/graphql_shared/fragments/pageInfo.fragment.graphql" #import "~/graphql_shared/fragments/page_info.fragment.graphql"
query instanceVulnerabilities( query instanceVulnerabilities(
$before: String $before: String
......
#import "~/graphql_shared/fragments/pageInfo.fragment.graphql" #import "~/graphql_shared/fragments/page_info.fragment.graphql"
#import "../fragments/vulnerability_location.fragment.graphql" #import "../fragments/vulnerability_location.fragment.graphql"
query pipelineFindings( query pipelineFindings(
......
#import "../fragments/vulnerability.fragment.graphql" #import "../fragments/vulnerability.fragment.graphql"
#import "~/graphql_shared/fragments/pageInfo.fragment.graphql" #import "~/graphql_shared/fragments/page_info.fragment.graphql"
query projectVulnerabilities( query projectVulnerabilities(
$fullPath: ID! $fullPath: ID!
......
...@@ -9,7 +9,7 @@ import { ...@@ -9,7 +9,7 @@ import {
defaultEpicSort, defaultEpicSort,
epicIidPattern, epicIidPattern,
} from '~/sidebar/constants'; } from '~/sidebar/constants';
import updateStatusMutation from '~/sidebar/queries/updateStatus.mutation.graphql'; import updateStatusMutation from '~/sidebar/queries/update_status.mutation.graphql';
import epicAncestorsQuery from './queries/epic_ancestors.query.graphql'; import epicAncestorsQuery from './queries/epic_ancestors.query.graphql';
import groupEpicsQuery from './queries/group_epics.query.graphql'; import groupEpicsQuery from './queries/group_epics.query.graphql';
import groupIterationsQuery from './queries/group_iterations.query.graphql'; import groupIterationsQuery from './queries/group_iterations.query.graphql';
......
#import "~/graphql_shared/fragments/author.fragment.graphql" #import "~/graphql_shared/fragments/author.fragment.graphql"
#import "~/graphql_shared/fragments/label.fragment.graphql" #import "~/graphql_shared/fragments/label.fragment.graphql"
#import "~/graphql_shared/fragments/pageInfo.fragment.graphql" #import "~/graphql_shared/fragments/page_info.fragment.graphql"
query projectIssues( query projectIssues(
$projectPath: ID! $projectPath: ID!
......
#import "~/graphql_shared/fragments/pageInfo.fragment.graphql" #import "~/graphql_shared/fragments/page_info.fragment.graphql"
query getNamespaceStorageStatistics( query getNamespaceStorageStatistics(
$fullPath: ID! $fullPath: ID!
......
<script> <script>
import { GlButton } from '@gitlab/ui'; import { GlButton } from '@gitlab/ui';
import vulnerabilityExternalIssueLinkCreate from 'ee/vue_shared/security_reports/graphql/vulnerabilityExternalIssueLinkCreate.mutation.graphql'; import vulnerabilityExternalIssueLinkCreate from 'ee/vue_shared/security_reports/graphql/vulnerability_external_issue_link_create.mutation.graphql';
import { TYPE_VULNERABILITY } from '~/graphql_shared/constants'; import { TYPE_VULNERABILITY } from '~/graphql_shared/constants';
import { convertToGraphQLId } from '~/graphql_shared/utils'; import { convertToGraphQLId } from '~/graphql_shared/utils';
import { s__ } from '~/locale'; import { s__ } from '~/locale';
......
...@@ -3,7 +3,7 @@ import { shallowMount } from '@vue/test-utils'; ...@@ -3,7 +3,7 @@ import { shallowMount } from '@vue/test-utils';
import { nextTick } from 'vue'; import { nextTick } from 'vue';
import { ApolloMutation } from 'vue-apollo'; import { ApolloMutation } from 'vue-apollo';
import EpicForm from 'ee/epic/components/epic_form.vue'; import EpicForm from 'ee/epic/components/epic_form.vue';
import createEpic from 'ee/epic/queries/createEpic.mutation.graphql'; import createEpic from 'ee/epic/queries/create_epic.mutation.graphql';
import { TEST_HOST } from 'helpers/test_constants'; import { TEST_HOST } from 'helpers/test_constants';
import Autosave from '~/autosave'; import Autosave from '~/autosave';
import { visitUrl } from '~/lib/utils/url_utility'; import { visitUrl } from '~/lib/utils/url_utility';
......
...@@ -12,12 +12,12 @@ import RequirementsRoot from 'ee/requirements/components/requirements_root.vue'; ...@@ -12,12 +12,12 @@ import RequirementsRoot from 'ee/requirements/components/requirements_root.vue';
import RequirementsTabs from 'ee/requirements/components/requirements_tabs.vue'; import RequirementsTabs from 'ee/requirements/components/requirements_tabs.vue';
import { TestReportStatus } from 'ee/requirements/constants'; import { TestReportStatus } from 'ee/requirements/constants';
import createRequirement from 'ee/requirements/queries/createRequirement.mutation.graphql'; import createRequirement from 'ee/requirements/queries/create_requirement.mutation.graphql';
import exportRequirement from 'ee/requirements/queries/exportRequirements.mutation.graphql'; import exportRequirement from 'ee/requirements/queries/export_requirements.mutation.graphql';
import projectRequirements from 'ee/requirements/queries/projectRequirements.query.graphql'; import projectRequirements from 'ee/requirements/queries/project_requirements.query.graphql';
import projectRequirementsCount from 'ee/requirements/queries/projectRequirementsCount.query.graphql'; import projectRequirementsCount from 'ee/requirements/queries/project_requirements_count.query.graphql';
import updateRequirement from 'ee/requirements/queries/updateRequirement.mutation.graphql'; import updateRequirement from 'ee/requirements/queries/update_requirement.mutation.graphql';
import createMockApollo from 'helpers/mock_apollo_helper'; import createMockApollo from 'helpers/mock_apollo_helper';
import { TEST_HOST } from 'helpers/test_constants'; import { TEST_HOST } from 'helpers/test_constants';
......
import MockAdapter from 'axios-mock-adapter'; import MockAdapter from 'axios-mock-adapter';
import { DATE_RANGES, PRESET_TYPES, MILESTONES_GROUP } from 'ee/roadmap/constants'; import { DATE_RANGES, PRESET_TYPES, MILESTONES_GROUP } from 'ee/roadmap/constants';
import groupMilestones from 'ee/roadmap/queries/groupMilestones.query.graphql'; import groupMilestones from 'ee/roadmap/queries/group_milestones.query.graphql';
import epicChildEpics from 'ee/roadmap/queries/epicChildEpics.query.graphql'; import epicChildEpics from 'ee/roadmap/queries/epic_child_epics.query.graphql';
import * as actions from 'ee/roadmap/store/actions'; import * as actions from 'ee/roadmap/store/actions';
import * as types from 'ee/roadmap/store/mutation_types'; import * as types from 'ee/roadmap/store/mutation_types';
import defaultState from 'ee/roadmap/store/state'; import defaultState from 'ee/roadmap/store/state';
......
...@@ -3,7 +3,7 @@ import { mount } from '@vue/test-utils'; ...@@ -3,7 +3,7 @@ import { mount } from '@vue/test-utils';
import Vue from 'vue'; import Vue from 'vue';
import VueApollo from 'vue-apollo'; import VueApollo from 'vue-apollo';
import Component, { i18n } from 'ee/vue_shared/security_reports/components/create_jira_issue.vue'; import Component, { i18n } from 'ee/vue_shared/security_reports/components/create_jira_issue.vue';
import vulnerabilityExternalIssueLinkCreate from 'ee/vue_shared/security_reports/graphql/vulnerabilityExternalIssueLinkCreate.mutation.graphql'; import vulnerabilityExternalIssueLinkCreate from 'ee/vue_shared/security_reports/graphql/vulnerability_external_issue_link_create.mutation.graphql';
import createMockApollo from 'helpers/mock_apollo_helper'; import createMockApollo from 'helpers/mock_apollo_helper';
import waitForPromises from 'helpers/wait_for_promises'; import waitForPromises from 'helpers/wait_for_promises';
import { vulnerabilityExternalIssueLinkCreateMockFactory } from './apollo_mocks'; import { vulnerabilityExternalIssueLinkCreateMockFactory } from './apollo_mocks';
......
...@@ -7,9 +7,9 @@ import * as commonUtils from '~/lib/utils/common_utils'; ...@@ -7,9 +7,9 @@ import * as commonUtils from '~/lib/utils/common_utils';
import statusCodes from '~/lib/utils/http_status'; import statusCodes from '~/lib/utils/http_status';
import { ENVIRONMENT_AVAILABLE_STATE } from '~/monitoring/constants'; import { ENVIRONMENT_AVAILABLE_STATE } from '~/monitoring/constants';
import getAnnotations from '~/monitoring/queries/getAnnotations.query.graphql'; import getAnnotations from '~/monitoring/queries/get_annotations.query.graphql';
import getDashboardValidationWarnings from '~/monitoring/queries/getDashboardValidationWarnings.query.graphql'; import getDashboardValidationWarnings from '~/monitoring/queries/get_dashboard_validation_warnings.query.graphql';
import getEnvironments from '~/monitoring/queries/getEnvironments.query.graphql'; import getEnvironments from '~/monitoring/queries/get_environments.query.graphql';
import { createStore } from '~/monitoring/stores'; import { createStore } from '~/monitoring/stores';
import { import {
setGettingStartedEmptyState, setGettingStartedEmptyState,
......
...@@ -19,8 +19,8 @@ import { ...@@ -19,8 +19,8 @@ import {
SNIPPET_VISIBILITY_INTERNAL, SNIPPET_VISIBILITY_INTERNAL,
SNIPPET_VISIBILITY_PUBLIC, SNIPPET_VISIBILITY_PUBLIC,
} from '~/snippets/constants'; } from '~/snippets/constants';
import CreateSnippetMutation from '~/snippets/mutations/createSnippet.mutation.graphql'; import CreateSnippetMutation from '~/snippets/mutations/create_snippet.mutation.graphql';
import UpdateSnippetMutation from '~/snippets/mutations/updateSnippet.mutation.graphql'; import UpdateSnippetMutation from '~/snippets/mutations/update_snippet.mutation.graphql';
import FormFooterActions from '~/vue_shared/components/form/form_footer_actions.vue'; import FormFooterActions from '~/vue_shared/components/form/form_footer_actions.vue';
import TitleField from '~/vue_shared/components/form/title.vue'; import TitleField from '~/vue_shared/components/form/title.vue';
import { testEntries, createGQLSnippetsQueryResponse, createGQLSnippet } from '../test_utils'; import { testEntries, createGQLSnippetsQueryResponse, createGQLSnippet } from '../test_utils';
......
...@@ -8,7 +8,7 @@ import waitForPromises from 'helpers/wait_for_promises'; ...@@ -8,7 +8,7 @@ import waitForPromises from 'helpers/wait_for_promises';
import { Blob, BinaryBlob } from 'jest/blob/components/mock_data'; import { Blob, BinaryBlob } from 'jest/blob/components/mock_data';
import { differenceInMilliseconds } from '~/lib/utils/datetime_utility'; import { differenceInMilliseconds } from '~/lib/utils/datetime_utility';
import SnippetHeader, { i18n } from '~/snippets/components/snippet_header.vue'; import SnippetHeader, { i18n } from '~/snippets/components/snippet_header.vue';
import DeleteSnippetMutation from '~/snippets/mutations/deleteSnippet.mutation.graphql'; import DeleteSnippetMutation from '~/snippets/mutations/delete_snippet.mutation.graphql';
import axios from '~/lib/utils/axios_utils'; import axios from '~/lib/utils/axios_utils';
import createFlash, { FLASH_TYPES } from '~/flash'; import createFlash, { FLASH_TYPES } from '~/flash';
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment