@windward/integrations 0.0.3 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/Integration/Driver/Disabled.vue +29 -0
- package/config/integration.config.js +11 -0
- package/helpers/Driver/BlackboardUltra.ts +15 -0
- package/helpers/Driver/Canvas.ts +12 -0
- package/helpers/Driver/Desire2Learn.ts +15 -0
- package/helpers/Driver/GoogleClassroom.ts +15 -0
- package/helpers/Driver/Moodle.ts +12 -0
- package/i18n/en-US/components/integration/driver.ts +19 -1
- package/package.json +1 -1
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div>
|
|
3
|
+
<h1>
|
|
4
|
+
{{
|
|
5
|
+
$t(
|
|
6
|
+
'windward.integrations.components.integration.driver.disabled'
|
|
7
|
+
)
|
|
8
|
+
}}
|
|
9
|
+
</h1>
|
|
10
|
+
</div>
|
|
11
|
+
</template>
|
|
12
|
+
|
|
13
|
+
<script>
|
|
14
|
+
import ManageBaseVue from './ManageBase.vue'
|
|
15
|
+
|
|
16
|
+
export default {
|
|
17
|
+
name: 'ManageAtutorDriver',
|
|
18
|
+
components: {},
|
|
19
|
+
extends: ManageBaseVue,
|
|
20
|
+
data() {
|
|
21
|
+
return {
|
|
22
|
+
// formValid: true|false If this form is "complete" and passed validation on THIS component. Defined and watched in ManageBase.vue
|
|
23
|
+
// render: true|false If we should show the form aka when validation has passed. Defined and managed in ManageBase.vue
|
|
24
|
+
// integration: { metadata: {...} } The integration object to write to. Defined and loaded in ManageBase.vue
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
methods: {},
|
|
28
|
+
}
|
|
29
|
+
</script>
|
|
@@ -1,4 +1,9 @@
|
|
|
1
1
|
import Atutor from '../helpers/Driver/Atutor'
|
|
2
|
+
import BlackboardUltra from '../helpers/Driver/BlackboardUltra'
|
|
3
|
+
import Canvas from '../helpers/Driver/Canvas'
|
|
4
|
+
import Desire2Learn from '../helpers/Driver/Desire2Learn'
|
|
5
|
+
import Moodle from '../helpers/Driver/Moodle'
|
|
6
|
+
import GoogleClassroom from '../helpers/Driver/GoogleClassroom'
|
|
2
7
|
|
|
3
8
|
export default {
|
|
4
9
|
/**
|
|
@@ -9,5 +14,11 @@ export default {
|
|
|
9
14
|
*/
|
|
10
15
|
integrationDrivers: {
|
|
11
16
|
atutor: { driver: Atutor },
|
|
17
|
+
atutor_wgu: { driver: Atutor },
|
|
18
|
+
canvas: { driver: Canvas },
|
|
19
|
+
blackboard_ultra: { driver: BlackboardUltra },
|
|
20
|
+
desire2learn: { driver: Desire2Learn },
|
|
21
|
+
moodle: { driver: Moodle },
|
|
22
|
+
google_classroom: { driver: GoogleClassroom },
|
|
12
23
|
},
|
|
13
24
|
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// @ts-ignore
|
|
2
|
+
import Manage from '../../components/Integration/Driver/Disabled.vue'
|
|
3
|
+
import DriverInterface, { IntegrationComponents } from './DriverInterface'
|
|
4
|
+
import BaseDriver from './BaseDriver'
|
|
5
|
+
|
|
6
|
+
export default class BlackboardUltra
|
|
7
|
+
extends BaseDriver
|
|
8
|
+
implements DriverInterface
|
|
9
|
+
{
|
|
10
|
+
public components(): IntegrationComponents {
|
|
11
|
+
return {
|
|
12
|
+
Manage,
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// @ts-ignore
|
|
2
|
+
import Manage from '../../components/Integration/Driver/Disabled.vue'
|
|
3
|
+
import DriverInterface, { IntegrationComponents } from './DriverInterface'
|
|
4
|
+
import BaseDriver from './BaseDriver'
|
|
5
|
+
|
|
6
|
+
export default class Canvas extends BaseDriver implements DriverInterface {
|
|
7
|
+
public components(): IntegrationComponents {
|
|
8
|
+
return {
|
|
9
|
+
Manage,
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// @ts-ignore
|
|
2
|
+
import Manage from '../../components/Integration/Driver/Disabled.vue'
|
|
3
|
+
import DriverInterface, { IntegrationComponents } from './DriverInterface'
|
|
4
|
+
import BaseDriver from './BaseDriver'
|
|
5
|
+
|
|
6
|
+
export default class Desire2Learn
|
|
7
|
+
extends BaseDriver
|
|
8
|
+
implements DriverInterface
|
|
9
|
+
{
|
|
10
|
+
public components(): IntegrationComponents {
|
|
11
|
+
return {
|
|
12
|
+
Manage,
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// @ts-ignore
|
|
2
|
+
import Manage from '../../components/Integration/Driver/Disabled.vue'
|
|
3
|
+
import DriverInterface, { IntegrationComponents } from './DriverInterface'
|
|
4
|
+
import BaseDriver from './BaseDriver'
|
|
5
|
+
|
|
6
|
+
export default class GoogleClassroom
|
|
7
|
+
extends BaseDriver
|
|
8
|
+
implements DriverInterface
|
|
9
|
+
{
|
|
10
|
+
public components(): IntegrationComponents {
|
|
11
|
+
return {
|
|
12
|
+
Manage,
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// @ts-ignore
|
|
2
|
+
import Manage from '../../components/Integration/Driver/Disabled.vue'
|
|
3
|
+
import DriverInterface, { IntegrationComponents } from './DriverInterface'
|
|
4
|
+
import BaseDriver from './BaseDriver'
|
|
5
|
+
|
|
6
|
+
export default class Moodle extends BaseDriver implements DriverInterface {
|
|
7
|
+
public components(): IntegrationComponents {
|
|
8
|
+
return {
|
|
9
|
+
Manage,
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export default {
|
|
2
2
|
atutor: {
|
|
3
|
-
manage_dialog_title: 'Manage ATutor
|
|
3
|
+
manage_dialog_title: 'Manage ATutor Integration',
|
|
4
4
|
url: 'ATutor API Url',
|
|
5
5
|
url_hint: 'Eg: https://atutor.mindedgecollege.com',
|
|
6
6
|
username: 'Username',
|
|
@@ -8,6 +8,24 @@ export default {
|
|
|
8
8
|
aws_secure_url: 'AWS CDN Url',
|
|
9
9
|
aws_secure_url_hint: 'Eg: https://cdn-d.mindedgecollege.com',
|
|
10
10
|
},
|
|
11
|
+
atutor_wgu: {
|
|
12
|
+
manage_dialog_title: 'Manage ATutor WGU Integration',
|
|
13
|
+
},
|
|
14
|
+
canvas: {
|
|
15
|
+
manage_dialog_title: 'Manage Canvas Integration',
|
|
16
|
+
},
|
|
17
|
+
blackboard_ultra: {
|
|
18
|
+
manage_dialog_title: 'Manage Blackboard Ultra Integration',
|
|
19
|
+
},
|
|
20
|
+
desire2learn: {
|
|
21
|
+
manage_dialog_title: 'Manage Desire2Learn Integration',
|
|
22
|
+
},
|
|
23
|
+
moodle: {
|
|
24
|
+
manage_dialog_title: 'Manage Moodle Integration',
|
|
25
|
+
},
|
|
26
|
+
google_classroom: {
|
|
27
|
+
manage_dialog_title: 'Manage Google Classroom Integration',
|
|
28
|
+
},
|
|
11
29
|
enabled: 'Integration Enabled',
|
|
12
30
|
disabled: 'Integration Disabled',
|
|
13
31
|
ssl_enabled: 'SSL Enabled (Should be enabled for production)',
|