Skip to content

Commit

Permalink
Import Language type from arches-vue-utils
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobtylerwalls committed Oct 2, 2024
1 parent d4d5d2e commit d841e2b
Show file tree
Hide file tree
Showing 14 changed files with 14 additions and 12 deletions.
1 change: 1 addition & 0 deletions arches_references/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@
"corsheaders",
"oauth2_provider",
"django_celery_results",
"arches_vue_utils",
# "silk",
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import ListHeader from "@/arches_references/components/misc/ListHeader.vue";
import MainSplitter from "@/arches_references/components/MainSplitter.vue";
import type { Ref } from "vue";
import type { Language } from "@/arches/types";
import type { Language } from "@/arches_vue_utils/types";
import type { Selectable } from "@/arches_references/types";
const router = useRouter();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import {
import { dataIsNew, shouldUseContrast } from "@/arches_references/utils.ts";
import type { Ref } from "vue";
import type { Language } from "@/arches/types";
import type { Language } from "@/arches_vue_utils/types";
import type {
ControlledListItem,
Value,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { bestLabel } from "@/arches_references/utils.ts";
import LetterCircle from "@/arches_references/components/misc/LetterCircle.vue";
import type { Ref } from "vue";
import type { Language } from "@/arches/types";
import type { Language } from "@/arches_vue_utils/types";
import type { ControlledListItem } from "@/arches_references/types";
const selectedLanguage = inject(selectedLanguageKey) as Ref<Language>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {
import { bestLabel, dataIsList } from "@/arches_references/utils.ts";
import type { Ref } from "vue";
import type { Language } from "@/arches/types";
import type { Language } from "@/arches_vue_utils/types";
import type {
ControlledList,
ControlledListItem,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import { bestLabel, shouldUseContrast } from "@/arches_references/utils.ts";
import type { Ref } from "vue";
import type { TreeSelectionKeys } from "primevue/tree";
import type { TreeNode } from "primevue/treenode";
import type { Language } from "@/arches/types";
import type { Language } from "@/arches_vue_utils/types";
const isMultiSelecting = defineModel<boolean>("isMultiSelecting", {
required: true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import {
import type { Ref } from "vue";
import type { TreeSelectionKeys } from "primevue/tree";
import type { TreeNode } from "primevue/treenode";
import type { Language } from "@/arches/types";
import type { Language } from "@/arches_vue_utils/types";
import type {
ControlledList,
ControlledListItem,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import type { RouteLocationNormalizedLoadedGeneric } from "vue-router";
import type { TreePassThroughMethodOptions } from "primevue/tree";
import type { TreeExpandedKeys, TreeSelectionKeys } from "primevue/tree";
import type { TreeNode } from "primevue/treenode";
import type { Language } from "@/arches/types";
import type { Language } from "@/arches_vue_utils/types";
import type {
ControlledList,
ControlledListItem,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import {
import type { Ref } from "vue";
import type { TreeExpandedKeys, TreeSelectionKeys } from "primevue/tree";
import type { TreeNode } from "primevue/treenode";
import type { Language } from "@/arches/types";
import type { Language } from "@/arches_vue_utils/types";
import type {
ControlledList,
ControlledListItem,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import {
import { shouldUseContrast } from "@/arches_references/utils.ts";
import type { Ref } from "vue";
import type { Language } from "@/arches/types";
import type { Language } from "@/arches_vue_utils/types";
const { $gettext } = useGettext();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ import MoveRow from "@/arches_references/components/tree/MoveRow.vue";
import type { Ref } from "vue";
import type { TreeExpandedKeys, TreeSelectionKeys } from "primevue/tree";
import type { TreeNode } from "primevue/treenode";
import type { Language } from "@/arches/types";
import type { Language } from "@/arches_vue_utils/types";
import type {
ControlledList,
ControlledListItem,
Expand Down
2 changes: 1 addition & 1 deletion arches_references/src/arches_references/constants.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { InjectionKey, Ref } from "vue";
import type { Language } from "@/arches/types";
import type { Language } from "@/arches_vue_utils/types";
import type {
ControlledList,
ControlledListItem,
Expand Down
2 changes: 1 addition & 1 deletion arches_references/src/arches_references/utils.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import arches from "arches";

import type { TreeNode } from "primevue/treenode";
import type { Language } from "@/arches/types";
import type { Language } from "@/arches_vue_utils/types";
import type {
ControlledList,
ControlledListItem,
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ classifiers = [
requires-python = ">=3.10"
dependencies = [
"arches @ git+https://github.com/archesproject/arches.git@dev/8.0.x",
"arches-vue-utils @ git+https://github.com/archesproject/arches-vue-utils.git@main",
]
version = "0.0.1"

Expand Down

0 comments on commit d841e2b

Please sign in to comment.