@hellocoop/svelte 1.0.5 → 2.1.0

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.
Files changed (33) hide show
  1. package/dist/Provider.svelte +1 -2
  2. package/dist/Provider.svelte.d.ts +3 -1
  3. package/dist/auth.d.ts +1 -1
  4. package/dist/auth.js +2 -0
  5. package/dist/buttons/BaseButton.svelte +19 -4
  6. package/dist/buttons/BaseButton.svelte.d.ts +9 -3
  7. package/dist/buttons/ContinueButton.svelte.d.ts +2 -0
  8. package/dist/buttons/LoginButton.svelte +1 -1
  9. package/dist/buttons/LoginButton.svelte.d.ts +2 -0
  10. package/dist/buttons/UpdateProfileButton.svelte +4 -0
  11. package/dist/buttons/UpdateProfileButton.svelte.d.ts +18 -0
  12. package/dist/index.d.ts +1 -6
  13. package/dist/index.js +2 -6
  14. package/dist/login-status/LoggedIn.svelte +1 -1
  15. package/dist/login-status/LoggedIn.svelte.d.ts +2 -0
  16. package/dist/login-status/LoggedOut.svelte +1 -1
  17. package/dist/login-status/LoggedOut.svelte.d.ts +2 -0
  18. package/dist/logout.js +1 -0
  19. package/dist/types.d.ts +25 -42
  20. package/dist/types.js +2 -95
  21. package/package.json +5 -4
  22. package/dist/buttons/UpdateDiscordButton.svelte +0 -4
  23. package/dist/buttons/UpdateDiscordButton.svelte.d.ts +0 -16
  24. package/dist/buttons/UpdateEmailButton.svelte +0 -4
  25. package/dist/buttons/UpdateEmailButton.svelte.d.ts +0 -16
  26. package/dist/buttons/UpdateGitHubButton.svelte +0 -4
  27. package/dist/buttons/UpdateGitHubButton.svelte.d.ts +0 -16
  28. package/dist/buttons/UpdateGitLabButton.svelte +0 -4
  29. package/dist/buttons/UpdateGitLabButton.svelte.d.ts +0 -16
  30. package/dist/buttons/UpdatePictureButton.svelte +0 -4
  31. package/dist/buttons/UpdatePictureButton.svelte.d.ts +0 -16
  32. package/dist/buttons/UpdateTwitterButton.svelte +0 -4
  33. package/dist/buttons/UpdateTwitterButton.svelte.d.ts +0 -16
@@ -1,5 +1,4 @@
1
- <script context="module">import {} from "./auth";
2
- import { setContext, getContext } from "svelte";
1
+ <script context="module">import { setContext, getContext } from "svelte";
3
2
  export const routeConfig = {
4
3
  login: "/api/hellocoop?login=true",
5
4
  auth: "/api/hellocoop?auth=true",
@@ -1,5 +1,5 @@
1
1
  import { SvelteComponent } from "svelte";
2
- import { type Auth } from './auth';
2
+ import type { Auth } from './auth.js';
3
3
  export declare const routeConfig: {
4
4
  login: string;
5
5
  auth: string;
@@ -17,6 +17,8 @@ declare const __propDef: {
17
17
  slots: {
18
18
  default: {};
19
19
  };
20
+ exports?: {} | undefined;
21
+ bindings?: string | undefined;
20
22
  };
21
23
  export type ProviderProps = typeof __propDef.props;
22
24
  export type ProviderEvents = typeof __propDef.events;
package/dist/auth.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  /// <reference types="svelte" />
2
2
  import type { Readable } from 'svelte/store';
3
- import type { Claims } from './types';
3
+ import type { Claims } from './types.js';
4
4
  type AuthCookie = {
5
5
  sub: string;
6
6
  iat: number;
package/dist/auth.js CHANGED
@@ -1,5 +1,7 @@
1
1
  /// <reference types="svelte" />
2
+ // @ts-ignore tbd
2
3
  import { useSWR } from "sswr";
4
+ // @ts-ignore tbd - has no exported member?
3
5
  import { getHelloProviderContext, routeConfig } from "./Provider.svelte";
4
6
  const fetcher = async (url) => {
5
7
  try {
@@ -1,17 +1,21 @@
1
1
  <script>import { routeConfig } from "../Provider.svelte";
2
2
  import { onMount } from "svelte";
3
- import { Button } from "../types";
3
+ import { Button } from "@hellocoop/constants";
4
4
  export let label = "\u014D&nbsp;&nbsp;&nbsp;Continue with Hell\u014D";
5
5
  export let style = {};
6
6
  export let color = "black";
7
7
  export let theme = "ignore-light";
8
8
  export let hover = "pop";
9
9
  export let scope = [];
10
- export let updateScope = "";
10
+ export let update = false;
11
11
  export let targetURI = "";
12
12
  export let providerHint = [];
13
13
  export let showLoader = false;
14
14
  export let disabled = false;
15
+ export let promptLogin = false;
16
+ export let promptConsent = false;
17
+ export let loginHint = "";
18
+ export let account = void 0;
15
19
  let checkedForStylesheet = false;
16
20
  onMount(() => {
17
21
  if (typeof window != "undefined" && !checkedForStylesheet) {
@@ -28,8 +32,19 @@ const loginRoute = new URL(routeConfig.login, window.location.origin);
28
32
  if (scope)
29
33
  loginRoute.searchParams.set("scope", scope.join(" "));
30
34
  loginRoute.searchParams.set("target_uri", targetURI || window.location.pathname);
31
- if (updateScope)
32
- loginRoute.searchParams.set("scope", "profile_update " + updateScope);
35
+ if (update)
36
+ loginRoute.searchParams.set("prompt", "consent");
37
+ if (promptLogin && promptConsent) {
38
+ loginRoute.searchParams.set("prompt", "login consent");
39
+ } else if (promptLogin) {
40
+ loginRoute.searchParams.set("prompt", "login");
41
+ } else if (promptConsent) {
42
+ loginRoute.searchParams.set("prompt", "consent");
43
+ }
44
+ if (loginHint)
45
+ loginRoute.searchParams.set("login_hint", loginHint);
46
+ if (account)
47
+ loginRoute.searchParams.set("account", account);
33
48
  if (providerHint)
34
49
  loginRoute.searchParams.set("provider_hint", providerHint.join(" "));
35
50
  const onClickHandler = () => {
@@ -1,5 +1,5 @@
1
1
  import { SvelteComponent } from "svelte";
2
- import { Button } from '../types';
2
+ import { Button } from '@hellocoop/constants';
3
3
  declare const __propDef: {
4
4
  props: {
5
5
  label?: string | undefined;
@@ -7,17 +7,23 @@ declare const __propDef: {
7
7
  color?: Button.Color | undefined;
8
8
  theme?: Button.Theme | undefined;
9
9
  hover?: Button.Hover | undefined;
10
- scope?: ("name" | "nickname" | "preferred_username" | "given_name" | "family_name" | "email" | "phone" | "picture" | "ethereum" | "discord" | "twitter" | "github" | "gitlab" | "openid" | "profile_update")[] | undefined;
11
- updateScope?: Button.UpdateScope | undefined;
10
+ scope?: ("name" | "nickname" | "preferred_username" | "given_name" | "family_name" | "email" | "phone" | "picture" | "ethereum" | "discord" | "twitter" | "github" | "gitlab" | "profile" | "openid" | "profile_update")[] | undefined;
11
+ update?: boolean | undefined;
12
12
  targetURI?: string | undefined;
13
13
  providerHint?: ("phone" | "ethereum" | "discord" | "twitter" | "github" | "gitlab" | "apple" | "facebook" | "google" | "twitch" | "tumblr" | "mastodon" | "microsoft" | "line" | "wordpress" | "yahoo" | "qrcode" | "apple--" | "microsoft--" | "google--" | "email--" | "passkey--")[] | undefined;
14
14
  showLoader?: boolean | undefined;
15
15
  disabled?: boolean | undefined;
16
+ promptLogin?: boolean | undefined;
17
+ promptConsent?: boolean | undefined;
18
+ loginHint?: string | undefined;
19
+ account?: 'personal' | 'managed' | undefined;
16
20
  };
17
21
  events: {
18
22
  [evt: string]: CustomEvent<any>;
19
23
  };
20
24
  slots: {};
25
+ exports?: {} | undefined;
26
+ bindings?: string | undefined;
21
27
  };
22
28
  export type BaseButtonProps = typeof __propDef.props;
23
29
  export type BaseButtonEvents = typeof __propDef.events;
@@ -7,6 +7,8 @@ declare const __propDef: {
7
7
  [evt: string]: CustomEvent<any>;
8
8
  };
9
9
  slots: {};
10
+ exports?: undefined;
11
+ bindings?: undefined;
10
12
  };
11
13
  export type ContinueButtonProps = typeof __propDef.props;
12
14
  export type ContinueButtonEvents = typeof __propDef.events;
@@ -1,4 +1,4 @@
1
1
  <script>import BaseButton from "./BaseButton.svelte";
2
2
  </script>
3
3
 
4
- <BaseButton label="ō&nbsp;&nbsp;&nbsp;Login with Hellō" {...$$props} />
4
+ <BaseButton {...$$props} label="ō&nbsp;&nbsp;&nbsp;Login with Hellō" />
@@ -7,6 +7,8 @@ declare const __propDef: {
7
7
  [evt: string]: CustomEvent<any>;
8
8
  };
9
9
  slots: {};
10
+ exports?: undefined;
11
+ bindings?: undefined;
10
12
  };
11
13
  export type LoginButtonProps = typeof __propDef.props;
12
14
  export type LoginButtonEvents = typeof __propDef.events;
@@ -0,0 +1,4 @@
1
+ <script>import BaseButton from "./BaseButton.svelte.js";
2
+ </script>
3
+
4
+ <BaseButton {...$$props} label="ō&nbsp;&nbsp;&nbsp;Update Profile with Hellō" update={true} />
@@ -0,0 +1,18 @@
1
+ import { SvelteComponent } from "svelte";
2
+ declare const __propDef: {
3
+ props: {
4
+ [x: string]: any;
5
+ };
6
+ events: {
7
+ [evt: string]: CustomEvent<any>;
8
+ };
9
+ slots: {};
10
+ exports?: undefined;
11
+ bindings?: undefined;
12
+ };
13
+ export type UpdateProfileButtonProps = typeof __propDef.props;
14
+ export type UpdateProfileButtonEvents = typeof __propDef.events;
15
+ export type UpdateProfileButtonSlots = typeof __propDef.slots;
16
+ export default class UpdateProfileButton extends SvelteComponent<UpdateProfileButtonProps, UpdateProfileButtonEvents, UpdateProfileButtonSlots> {
17
+ }
18
+ export {};
package/dist/index.d.ts CHANGED
@@ -1,11 +1,6 @@
1
1
  export { default as ContinueButton } from './buttons/ContinueButton.svelte';
2
2
  export { default as LoginButton } from './buttons/LoginButton.svelte';
3
- export { default as UpdateEmailButton } from './buttons/UpdateEmailButton.svelte';
4
- export { default as UpdatePictureButton } from './buttons/UpdatePictureButton.svelte';
5
- export { default as UpdateTwitterButton } from './buttons/UpdateTwitterButton.svelte';
6
- export { default as UpdateDiscordButton } from './buttons/UpdateDiscordButton.svelte';
7
- export { default as UpdateGitHubButton } from './buttons/UpdateGitHubButton.svelte';
8
- export { default as UpdateGitLabButton } from './buttons/UpdateGitLabButton.svelte';
3
+ export { default as UpdateProfileButton } from './buttons/UpdateProfileButton.svelte';
9
4
  export { default as LoggedIn } from './login-status/LoggedIn.svelte';
10
5
  export { default as LoggedOut } from './login-status/LoggedOut.svelte';
11
6
  export * from './auth.js';
package/dist/index.js CHANGED
@@ -2,12 +2,7 @@
2
2
  //Buttons
3
3
  export { default as ContinueButton } from './buttons/ContinueButton.svelte';
4
4
  export { default as LoginButton } from './buttons/LoginButton.svelte';
5
- export { default as UpdateEmailButton } from './buttons/UpdateEmailButton.svelte';
6
- export { default as UpdatePictureButton } from './buttons/UpdatePictureButton.svelte';
7
- export { default as UpdateTwitterButton } from './buttons/UpdateTwitterButton.svelte';
8
- export { default as UpdateDiscordButton } from './buttons/UpdateDiscordButton.svelte';
9
- export { default as UpdateGitHubButton } from './buttons/UpdateGitHubButton.svelte';
10
- export { default as UpdateGitLabButton } from './buttons/UpdateGitLabButton.svelte';
5
+ export { default as UpdateProfileButton } from './buttons/UpdateProfileButton.svelte';
11
6
  //Login Status
12
7
  export { default as LoggedIn } from './login-status/LoggedIn.svelte';
13
8
  export { default as LoggedOut } from './login-status/LoggedOut.svelte';
@@ -16,4 +11,5 @@ export * from './auth.js';
16
11
  //Logout
17
12
  export * from './logout.js';
18
13
  //Provider
14
+ // @ts-ignore tbd - has no exported member?
19
15
  export { default as HelloProvider, routeConfig, getHelloProviderContext } from './Provider.svelte';
@@ -1,4 +1,4 @@
1
- <script>import { useAuth } from "../auth";
1
+ <script>import { useAuth } from "../auth.js";
2
2
  const isLoggedIn = () => useAuth()?.isLoggedIn || false;
3
3
  </script>
4
4
 
@@ -7,6 +7,8 @@ declare const __propDef: {
7
7
  slots: {
8
8
  default: {};
9
9
  };
10
+ exports?: {} | undefined;
11
+ bindings?: string | undefined;
10
12
  };
11
13
  export type LoggedInProps = typeof __propDef.props;
12
14
  export type LoggedInEvents = typeof __propDef.events;
@@ -1,4 +1,4 @@
1
- <script>import { useAuth } from "../auth";
1
+ <script>import { useAuth } from "../auth.js";
2
2
  const isLoggedIn = () => useAuth()?.isLoggedIn || false;
3
3
  </script>
4
4
 
@@ -7,6 +7,8 @@ declare const __propDef: {
7
7
  slots: {
8
8
  default: {};
9
9
  };
10
+ exports?: {} | undefined;
11
+ bindings?: string | undefined;
10
12
  };
11
13
  export type LoggedOutProps = typeof __propDef.props;
12
14
  export type LoggedOutEvents = typeof __propDef.events;
package/dist/logout.js CHANGED
@@ -1,4 +1,5 @@
1
1
  /// <reference types="svelte" />
2
+ // @ts-ignore tbd - has no exported member?
2
3
  import { routeConfig } from './Provider.svelte';
3
4
  export const getLogOutRoute = () => routeConfig.logout;
4
5
  export function logOut() {
package/dist/types.d.ts CHANGED
@@ -1,25 +1,35 @@
1
- export declare const PRODUCTION_WALLET: string;
2
- export declare const DEFAULT_SCOPE: Scope[];
3
- export declare const DEFAULT_RESPONSE_TYPE: AuthResponseType;
4
- export declare const DEFAULT_RESPONSE_MODE: AuthResponseMode;
5
- export declare const DEFAULT_PATH: string;
6
- export declare const VALID_IDENTITY_CLAIMS: readonly ["name", "nickname", "preferred_username", "given_name", "family_name", "email", "phone", "picture", "ethereum", "discord", "twitter", "github", "gitlab"];
7
- export declare const VALID_SCOPES: readonly ["name", "nickname", "preferred_username", "given_name", "family_name", "email", "phone", "picture", "ethereum", "discord", "twitter", "github", "gitlab", "openid", "profile_update"];
8
- export declare const VALID_RESPONSE_TYPE: readonly ["id_token", "code"];
9
- export declare const VALID_RESPONSE_MODE: string[];
10
- export declare const VALID_PROVIDER_HINT: readonly ["apple", "discord", "facebook", "github", "gitlab", "google", "twitch", "twitter", "tumblr", "mastodon", "microsoft", "line", "wordpress", "yahoo", "phone", "ethereum", "qrcode", "apple--", "microsoft--", "google--", "email--", "passkey--"];
1
+ import { VALID_IDENTITY_STRING_CLAIMS, VALID_IDENTITY_ACCOUNT_CLAIMS, VALID_SCOPES, VALID_RESPONSE_TYPE, VALID_RESPONSE_MODE, VALID_PROVIDER_HINT } from '@hellocoop/constants';
11
2
  export type Scope = typeof VALID_SCOPES[number];
12
3
  export type AuthResponseType = typeof VALID_RESPONSE_TYPE[number];
13
4
  export type AuthResponseMode = typeof VALID_RESPONSE_MODE[number];
14
5
  export type ProviderHint = typeof VALID_PROVIDER_HINT[number];
15
- type IdentityClaims = typeof VALID_IDENTITY_CLAIMS[number];
16
- type OptionalClaims = {
17
- [K in IdentityClaims]?: unknown;
6
+ type IdentityStringClaims = typeof VALID_IDENTITY_STRING_CLAIMS[number];
7
+ type IdentityAccountClaims = typeof VALID_IDENTITY_ACCOUNT_CLAIMS[number];
8
+ type OptionalStringClaims = {
9
+ [K in IdentityStringClaims]?: string;
18
10
  };
19
- export type Claims = OptionalClaims & {
11
+ type OptionalAccountClaims = {
12
+ [K in IdentityAccountClaims]?: {
13
+ id: string;
14
+ username: string;
15
+ };
16
+ };
17
+ export type Claims = OptionalStringClaims & OptionalAccountClaims & {
20
18
  sub: string;
21
19
  };
22
- export type TokenPayload = OptionalClaims & {
20
+ type AuthCookie = {
21
+ sub: string;
22
+ iat: number;
23
+ } & Claims & {
24
+ [key: string]: any;
25
+ };
26
+ export type Auth = {
27
+ isLoggedIn: false;
28
+ } | ({
29
+ isLoggedIn: true;
30
+ cookieToken?: string;
31
+ } & AuthCookie);
32
+ export type TokenPayload = OptionalStringClaims & OptionalAccountClaims & {
23
33
  iss: string;
24
34
  aud: string;
25
35
  nonce: string;
@@ -33,31 +43,4 @@ export type TokenHeader = {
33
43
  typ: string;
34
44
  alg: string;
35
45
  };
36
- export declare namespace Button {
37
- type Color = "black" | "white";
38
- type Theme = "ignore-light" | "ignore-dark" | "aware-invert" | "aware-static";
39
- type Hover = "pop" | "glow" | "flare" | "none";
40
- type UpdateScope = "email" | "picture" | "twitter" | "discord" | "github" | "gitlab";
41
- const STYLES_URL = "https://cdn.hello.coop/css/hello-btn.css";
42
- const HOVER_MAPPING: {
43
- pop: string;
44
- glow: string;
45
- flare: string;
46
- none: string;
47
- };
48
- const CLASS_MAPPING: {
49
- black: {
50
- "ignore-light": string;
51
- "ignore-dark": string;
52
- "aware-invert": string;
53
- "aware-static": string;
54
- };
55
- white: {
56
- "ignore-light": string;
57
- "ignore-dark": string;
58
- "aware-invert": string;
59
- "aware-static": string;
60
- };
61
- };
62
- }
63
46
  export {};
package/dist/types.js CHANGED
@@ -1,95 +1,2 @@
1
- export const PRODUCTION_WALLET = 'https://wallet.hello.coop';
2
- export const DEFAULT_SCOPE = ['openid', 'name', 'email', 'picture'];
3
- export const DEFAULT_RESPONSE_TYPE = 'code';
4
- export const DEFAULT_RESPONSE_MODE = 'query';
5
- export const DEFAULT_PATH = '/authorize?';
6
- export const VALID_IDENTITY_CLAIMS = [
7
- 'name',
8
- 'nickname',
9
- 'preferred_username',
10
- 'given_name',
11
- 'family_name',
12
- 'email',
13
- 'phone',
14
- 'picture',
15
- // Hellō extensions -- non-standard claims
16
- 'ethereum',
17
- 'discord',
18
- 'twitter',
19
- 'github',
20
- 'gitlab'
21
- ];
22
- export const VALID_SCOPES = [
23
- ...VALID_IDENTITY_CLAIMS,
24
- 'openid',
25
- // Hellō extensions -- non-standard scopes
26
- 'profile_update',
27
- ];
28
- export const VALID_RESPONSE_TYPE = ['id_token', 'code']; // Default: 'code'
29
- export const VALID_RESPONSE_MODE = ['fragment', 'query', 'form_post']; // Default: 'query'
30
- export const VALID_PROVIDER_HINT = [
31
- // 'google' and 'email' are always in default
32
- // 'apple' added if on Apple OS
33
- // 'microsoft' added if on Microsoft OS
34
- 'apple',
35
- 'discord',
36
- 'facebook',
37
- 'github',
38
- 'gitlab',
39
- 'google',
40
- 'twitch',
41
- 'twitter',
42
- 'tumblr',
43
- 'mastodon',
44
- 'microsoft',
45
- 'line',
46
- 'wordpress',
47
- 'yahoo',
48
- 'phone',
49
- 'ethereum',
50
- 'qrcode',
51
- // the following will remove provider from recommended list
52
- 'apple--',
53
- 'microsoft--',
54
- 'google--',
55
- 'email--',
56
- 'passkey--',
57
- ];
58
- const CLASS_MAPPING = {
59
- black: {
60
- "ignore-light": "",
61
- "ignore-dark": "hello-btn-black-on-dark",
62
- "aware-invert": "hello-btn-black-and-invert",
63
- "aware-static": "hello-btn-black-and-static"
64
- },
65
- white: {
66
- "ignore-light": "hello-btn-white-on-light",
67
- "ignore-dark": "hello-btn-white-on-dark",
68
- "aware-invert": "hello-btn-white-and-invert",
69
- "aware-static": "hello-btn-white-and-static"
70
- },
71
- };
72
- export var Button;
73
- (function (Button) {
74
- Button.STYLES_URL = 'https://cdn.hello.coop/css/hello-btn.css';
75
- Button.HOVER_MAPPING = {
76
- "pop": "",
77
- "glow": "hello-btn-hover-glow",
78
- "flare": "hello-btn-hover-flare",
79
- "none": "hello-btn-hover-none"
80
- };
81
- Button.CLASS_MAPPING = {
82
- black: {
83
- "ignore-light": "",
84
- "ignore-dark": "hello-btn-black-on-dark",
85
- "aware-invert": "hello-btn-black-and-invert",
86
- "aware-static": "hello-btn-black-and-static"
87
- },
88
- white: {
89
- "ignore-light": "hello-btn-white-on-light",
90
- "ignore-dark": "hello-btn-white-on-dark",
91
- "aware-invert": "hello-btn-white-and-invert",
92
- "aware-static": "hello-btn-white-and-static"
93
- },
94
- };
95
- })(Button || (Button = {}));
1
+ // Hellō types
2
+ import { VALID_IDENTITY_STRING_CLAIMS, VALID_IDENTITY_ACCOUNT_CLAIMS, VALID_SCOPES, VALID_RESPONSE_TYPE, VALID_RESPONSE_MODE, VALID_PROVIDER_HINT, } from '@hellocoop/constants';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hellocoop/svelte",
3
- "version": "1.0.5",
3
+ "version": "2.1.0",
4
4
  "description": "Svelte SDK for Hellō https://hello.dev",
5
5
  "repository": {
6
6
  "type": "git",
@@ -8,7 +8,7 @@
8
8
  },
9
9
  "homepage": "https://www.hello.dev/docs/sdks/svelte",
10
10
  "scripts": {
11
- "build": "cp ../types/types.ts ./src/lib/ && svelte-kit sync && svelte-package && publint"
11
+ "build": "cp ../types/src/types.ts ./src/lib/ && svelte-kit sync && svelte-package && publint"
12
12
  },
13
13
  "exports": {
14
14
  ".": {
@@ -43,7 +43,7 @@
43
43
  "svelte": "^4.0.0"
44
44
  },
45
45
  "devDependencies": {
46
- "@sveltejs/adapter-auto": "^2.0.0",
46
+ "@sveltejs/adapter-auto": "^2.1.1",
47
47
  "@sveltejs/kit": "^1.20.4",
48
48
  "@sveltejs/package": "^2.0.0",
49
49
  "publint": "^0.1.9",
@@ -57,6 +57,7 @@
57
57
  "types": "./dist/index.d.ts",
58
58
  "type": "module",
59
59
  "dependencies": {
60
- "sswr": "^2.0.0"
60
+ "sswr": "^2.0.0",
61
+ "@hellocoop/constants": "^1.1.6"
61
62
  }
62
63
  }
@@ -1,4 +0,0 @@
1
- <script>import BaseButton from "./BaseButton.svelte";
2
- </script>
3
-
4
- <BaseButton label="ō&nbsp;&nbsp;&nbsp;Update Discord with Hellō" {...$$props} updateScope="discord" />
@@ -1,16 +0,0 @@
1
- import { SvelteComponent } from "svelte";
2
- declare const __propDef: {
3
- props: {
4
- [x: string]: any;
5
- };
6
- events: {
7
- [evt: string]: CustomEvent<any>;
8
- };
9
- slots: {};
10
- };
11
- export type UpdateDiscordButtonProps = typeof __propDef.props;
12
- export type UpdateDiscordButtonEvents = typeof __propDef.events;
13
- export type UpdateDiscordButtonSlots = typeof __propDef.slots;
14
- export default class UpdateDiscordButton extends SvelteComponent<UpdateDiscordButtonProps, UpdateDiscordButtonEvents, UpdateDiscordButtonSlots> {
15
- }
16
- export {};
@@ -1,4 +0,0 @@
1
- <script>import BaseButton from "./BaseButton.svelte";
2
- </script>
3
-
4
- <BaseButton label="ō&nbsp;&nbsp;&nbsp;Update Email with Hellō" {...$$props} updateScope="email" />
@@ -1,16 +0,0 @@
1
- import { SvelteComponent } from "svelte";
2
- declare const __propDef: {
3
- props: {
4
- [x: string]: any;
5
- };
6
- events: {
7
- [evt: string]: CustomEvent<any>;
8
- };
9
- slots: {};
10
- };
11
- export type UpdateEmailButtonProps = typeof __propDef.props;
12
- export type UpdateEmailButtonEvents = typeof __propDef.events;
13
- export type UpdateEmailButtonSlots = typeof __propDef.slots;
14
- export default class UpdateEmailButton extends SvelteComponent<UpdateEmailButtonProps, UpdateEmailButtonEvents, UpdateEmailButtonSlots> {
15
- }
16
- export {};
@@ -1,4 +0,0 @@
1
- <script>import BaseButton from "./BaseButton.svelte";
2
- </script>
3
-
4
- <BaseButton label="ō&nbsp;&nbsp;&nbsp;Update GitHub with Hellō" {...$$props} updateScope="github" />
@@ -1,16 +0,0 @@
1
- import { SvelteComponent } from "svelte";
2
- declare const __propDef: {
3
- props: {
4
- [x: string]: any;
5
- };
6
- events: {
7
- [evt: string]: CustomEvent<any>;
8
- };
9
- slots: {};
10
- };
11
- export type UpdateGitHubButtonProps = typeof __propDef.props;
12
- export type UpdateGitHubButtonEvents = typeof __propDef.events;
13
- export type UpdateGitHubButtonSlots = typeof __propDef.slots;
14
- export default class UpdateGitHubButton extends SvelteComponent<UpdateGitHubButtonProps, UpdateGitHubButtonEvents, UpdateGitHubButtonSlots> {
15
- }
16
- export {};
@@ -1,4 +0,0 @@
1
- <script>import BaseButton from "./BaseButton.svelte";
2
- </script>
3
-
4
- <BaseButton label="ō&nbsp;&nbsp;&nbsp;Update GitLab with Hellō" {...$$props} updateScope="gitlab" />
@@ -1,16 +0,0 @@
1
- import { SvelteComponent } from "svelte";
2
- declare const __propDef: {
3
- props: {
4
- [x: string]: any;
5
- };
6
- events: {
7
- [evt: string]: CustomEvent<any>;
8
- };
9
- slots: {};
10
- };
11
- export type UpdateGitLabButtonProps = typeof __propDef.props;
12
- export type UpdateGitLabButtonEvents = typeof __propDef.events;
13
- export type UpdateGitLabButtonSlots = typeof __propDef.slots;
14
- export default class UpdateGitLabButton extends SvelteComponent<UpdateGitLabButtonProps, UpdateGitLabButtonEvents, UpdateGitLabButtonSlots> {
15
- }
16
- export {};
@@ -1,4 +0,0 @@
1
- <script>import BaseButton from "./BaseButton.svelte";
2
- </script>
3
-
4
- <BaseButton label="ō&nbsp;&nbsp;&nbsp;Update Picture with Hellō" {...$$props} updateScope="picture" />
@@ -1,16 +0,0 @@
1
- import { SvelteComponent } from "svelte";
2
- declare const __propDef: {
3
- props: {
4
- [x: string]: any;
5
- };
6
- events: {
7
- [evt: string]: CustomEvent<any>;
8
- };
9
- slots: {};
10
- };
11
- export type UpdatePictureButtonProps = typeof __propDef.props;
12
- export type UpdatePictureButtonEvents = typeof __propDef.events;
13
- export type UpdatePictureButtonSlots = typeof __propDef.slots;
14
- export default class UpdatePictureButton extends SvelteComponent<UpdatePictureButtonProps, UpdatePictureButtonEvents, UpdatePictureButtonSlots> {
15
- }
16
- export {};
@@ -1,4 +0,0 @@
1
- <script>import BaseButton from "./BaseButton.svelte";
2
- </script>
3
-
4
- <BaseButton label="ō&nbsp;&nbsp;&nbsp;Update Twitter with Hellō" {...$$props} updateScope="twitter" />
@@ -1,16 +0,0 @@
1
- import { SvelteComponent } from "svelte";
2
- declare const __propDef: {
3
- props: {
4
- [x: string]: any;
5
- };
6
- events: {
7
- [evt: string]: CustomEvent<any>;
8
- };
9
- slots: {};
10
- };
11
- export type UpdateTwitterButtonProps = typeof __propDef.props;
12
- export type UpdateTwitterButtonEvents = typeof __propDef.events;
13
- export type UpdateTwitterButtonSlots = typeof __propDef.slots;
14
- export default class UpdateTwitterButton extends SvelteComponent<UpdateTwitterButtonProps, UpdateTwitterButtonEvents, UpdateTwitterButtonSlots> {
15
- }
16
- export {};