Skip to content

Commit

Permalink
Uses common def for api version
Browse files Browse the repository at this point in the history
  • Loading branch information
jeramysoucy committed Sep 27, 2024
1 parent 68de9e8 commit 15ea4df
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions x-pack/plugins/spaces/public/spaces_manager/spaces_manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,12 @@ import type { SavedObjectsCollectMultiNamespaceReferencesResponse } from '@kbn/c
import type { LegacyUrlAliasTarget } from '@kbn/core-saved-objects-common';
import type { Role } from '@kbn/security-plugin-types-common';

import type { GetAllSpacesOptions, GetSpaceResult, Space } from '../../common';
import {
API_VERSIONS,
type GetAllSpacesOptions,
type GetSpaceResult,
type Space,
} from '../../common';
import type { CopySavedObjectsToSpaceResponse } from '../copy_saved_objects_to_space/types';
import type { SpaceContentTypeSummaryItem } from '../types';

Expand All @@ -23,7 +28,7 @@ interface SavedObjectTarget {
}

const TAG_TYPE = 'tag';
const version = '2023-10-31';
const version = API_VERSIONS.public.v1;

export class SpacesManager {
private activeSpace$: BehaviorSubject<Space | null> = new BehaviorSubject<Space | null>(null);
Expand Down

0 comments on commit 15ea4df

Please sign in to comment.