Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate WorkflowEditor to TypeScript #19246

Draft
wants to merge 9 commits into
base: dev
Choose a base branch
from
7 changes: 3 additions & 4 deletions client/src/components/License/LicenseSelector.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,24 +12,23 @@ import License from "@/components/License/License.vue";
import LoadingSpan from "@/components/LoadingSpan.vue";

const defaultLicense: LicenseType = {
licenseId: null,
name: "*Do not specify a license.*",
};

type LicenseMetadataModel = components["schemas"]["LicenseMetadataModel"];
type LicenseType = {
licenseId: string | null;
licenseId?: string;
name: string;
};

interface Props {
inputLicense: string;
inputLicense?: string;
}

const props = defineProps<Props>();

const emit = defineEmits<{
(e: "onLicense", license: string | null): void;
(e: "onLicense", license?: string): void;
}>();

const licensesLoading = ref(false);
Expand Down
Loading
Loading