@os-team/profile 1.1.9 → 1.1.10

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 (42) hide show
  1. package/README.md +29 -13
  2. package/dist/cjs/components/profile/ProfileUpdatePasswordModal.js +1 -1
  3. package/dist/cjs/components/profile/ProfileUpdatePasswordModal.js.map +1 -1
  4. package/dist/cjs/components/profile/ProtectedWrapper.js +6 -2
  5. package/dist/cjs/components/profile/ProtectedWrapper.js.map +1 -1
  6. package/dist/cjs/components/profile/SetFirstPassword.js +88 -0
  7. package/dist/cjs/components/profile/SetFirstPassword.js.map +1 -0
  8. package/dist/cjs/components/profile/__generated__/ProtectedWrapperQuery.graphql.js +10 -4
  9. package/dist/cjs/components/profile/__generated__/ProtectedWrapperQuery.graphql.js.map +1 -1
  10. package/dist/cjs/components/profile/__generated__/SetFirstPasswordMutation.graphql.js +90 -0
  11. package/dist/cjs/components/profile/__generated__/SetFirstPasswordMutation.graphql.js.map +1 -0
  12. package/dist/esm/components/profile/ProfileUpdatePasswordModal.js +1 -1
  13. package/dist/esm/components/profile/ProfileUpdatePasswordModal.js.map +1 -1
  14. package/dist/esm/components/profile/ProtectedWrapper.js +6 -2
  15. package/dist/esm/components/profile/ProtectedWrapper.js.map +1 -1
  16. package/dist/esm/components/profile/SetFirstPassword.js +73 -0
  17. package/dist/esm/components/profile/SetFirstPassword.js.map +1 -0
  18. package/dist/esm/components/profile/__generated__/ProtectedWrapperQuery.graphql.js +10 -4
  19. package/dist/esm/components/profile/__generated__/ProtectedWrapperQuery.graphql.js.map +1 -1
  20. package/dist/esm/components/profile/__generated__/SetFirstPasswordMutation.graphql.js +83 -0
  21. package/dist/esm/components/profile/__generated__/SetFirstPasswordMutation.graphql.js.map +1 -0
  22. package/dist/types/src/lib/components/profile/ProfileUpdatePasswordModal.d.ts.map +1 -1
  23. package/dist/types/src/lib/components/profile/ProtectedWrapper.d.ts.map +1 -1
  24. package/dist/types/src/lib/components/profile/SetFirstPassword.d.ts +4 -0
  25. package/dist/types/src/lib/components/profile/SetFirstPassword.d.ts.map +1 -0
  26. package/dist/types/src/lib/components/profile/__generated__/ProtectedWrapperQuery.graphql.d.ts +1 -0
  27. package/dist/types/src/lib/components/profile/__generated__/ProtectedWrapperQuery.graphql.d.ts.map +1 -1
  28. package/dist/types/src/lib/components/profile/__generated__/SetFirstPasswordMutation.graphql.d.ts +19 -0
  29. package/dist/types/src/lib/components/profile/__generated__/SetFirstPasswordMutation.graphql.d.ts.map +1 -0
  30. package/package.json +1 -1
  31. package/dist/cjs/components/profile/__generated__/ProfileDrawerSignOutMutation.graphql.js +0 -65
  32. package/dist/cjs/components/profile/__generated__/ProfileDrawerSignOutMutation.graphql.js.map +0 -1
  33. package/dist/cjs/components/profile/__generated__/ProfileDrawerUpdateAvatarMutation.graphql.js +0 -80
  34. package/dist/cjs/components/profile/__generated__/ProfileDrawerUpdateAvatarMutation.graphql.js.map +0 -1
  35. package/dist/esm/components/profile/__generated__/ProfileDrawerSignOutMutation.graphql.js +0 -58
  36. package/dist/esm/components/profile/__generated__/ProfileDrawerSignOutMutation.graphql.js.map +0 -1
  37. package/dist/esm/components/profile/__generated__/ProfileDrawerUpdateAvatarMutation.graphql.js +0 -73
  38. package/dist/esm/components/profile/__generated__/ProfileDrawerUpdateAvatarMutation.graphql.js.map +0 -1
  39. package/dist/types/src/lib/components/profile/__generated__/ProfileDrawerSignOutMutation.graphql.d.ts +0 -14
  40. package/dist/types/src/lib/components/profile/__generated__/ProfileDrawerSignOutMutation.graphql.d.ts.map +0 -1
  41. package/dist/types/src/lib/components/profile/__generated__/ProfileDrawerUpdateAvatarMutation.graphql.d.ts +0 -20
  42. package/dist/types/src/lib/components/profile/__generated__/ProfileDrawerUpdateAvatarMutation.graphql.d.ts.map +0 -1
@@ -0,0 +1,73 @@
1
+ var _SetFirstPasswordMutation;
2
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
3
+ import styled from '@emotion/styled';
4
+ import { Button, Form, FormItem, InputPassword, Layout, message } from '@os-design/core';
5
+ import { FormProvider, useForm } from '@os-design/form';
6
+ import { horizontalPaddingStyles } from '@os-design/styles';
7
+ import React, { useCallback, useEffect, useRef } from 'react';
8
+ import { useTranslation } from 'react-i18next';
9
+ import { useMutation } from 'react-relay';
10
+ import handleFormErrors from '../../utils/handleFormErrors';
11
+ import FormError from '../shared/FormError';
12
+ const OuterContainer = styled.div`
13
+ min-height: calc(var(--vh, 1vh) * 100);
14
+
15
+ display: flex;
16
+ justify-content: center;
17
+ align-items: center;
18
+ `;
19
+ const InnerContainer = styled.div`
20
+ width: 18em;
21
+ ${horizontalPaddingStyles()};
22
+ `;
23
+ const SetFirstPassword = () => {
24
+ const {
25
+ t
26
+ } = useTranslation(['profile']);
27
+ const {
28
+ form,
29
+ Field
30
+ } = useForm({
31
+ password: ''
32
+ });
33
+ const [commit, loading] = useMutation(_SetFirstPasswordMutation !== void 0 ? _SetFirstPasswordMutation : (_SetFirstPasswordMutation = require("./__generated__/SetFirstPasswordMutation.graphql"), _SetFirstPasswordMutation.hash && _SetFirstPasswordMutation.hash !== "a62bc52ce4bf5b535def5a82e43ee16c" && console.error("The definition of 'SetFirstPasswordMutation' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _SetFirstPasswordMutation));
34
+ const handler = useCallback(() => {
35
+ commit({
36
+ variables: {
37
+ input: form.values.getAll()
38
+ },
39
+ onError: error => handleFormErrors(form, error),
40
+ onCompleted: () => message.success(t('profile:setFirstPassword.success'))
41
+ });
42
+ }, [commit, form, t]);
43
+ const handlerRef = useRef(handler);
44
+ useEffect(() => {
45
+ handlerRef.current = handler;
46
+ }, [handler]);
47
+ return /*#__PURE__*/React.createElement(Layout, null, /*#__PURE__*/React.createElement(OuterContainer, null, /*#__PURE__*/React.createElement(InnerContainer, null, /*#__PURE__*/React.createElement(FormProvider, {
48
+ form: form
49
+ }, /*#__PURE__*/React.createElement(Form, null, /*#__PURE__*/React.createElement(Field, {
50
+ name: "password",
51
+ render: (props, {
52
+ error
53
+ }) => /*#__PURE__*/React.createElement(FormItem, {
54
+ error: error,
55
+ label: t('profile:setFirstPassword.newPassword.label')
56
+ }, /*#__PURE__*/React.createElement(InputPassword, _extends({
57
+ placeholder: t('profile:setFirstPassword.newPassword.placeholder'),
58
+ showStrengthMeter: true,
59
+ strengthNames: t('profile:passwordStrengthNames', {
60
+ returnObjects: true
61
+ }),
62
+ onKeyDown: e => {
63
+ if (e.key === 'Enter') handlerRef.current();
64
+ }
65
+ }, props)))
66
+ }), /*#__PURE__*/React.createElement(FormError, null), /*#__PURE__*/React.createElement(Button, {
67
+ wide: "always",
68
+ loading: loading,
69
+ onClick: handler
70
+ }, t('profile:setFirstPassword.button')))))));
71
+ };
72
+ export default SetFirstPassword;
73
+ //# sourceMappingURL=SetFirstPassword.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SetFirstPassword.js","names":["styled","Button","Form","FormItem","InputPassword","Layout","message","FormProvider","useForm","horizontalPaddingStyles","React","useCallback","useEffect","useRef","useTranslation","useMutation","handleFormErrors","FormError","OuterContainer","div","InnerContainer","SetFirstPassword","t","form","Field","password","commit","loading","_SetFirstPasswordMutation","require","hash","console","error","handler","variables","input","values","getAll","onError","onCompleted","success","handlerRef","current","createElement","name","render","props","label","_extends","placeholder","showStrengthMeter","strengthNames","returnObjects","onKeyDown","e","key","wide","onClick"],"sources":["../../../../src/lib/components/profile/SetFirstPassword.tsx"],"sourcesContent":["import styled from '@emotion/styled';\nimport {\n Button,\n Form,\n FormItem,\n InputPassword,\n Layout,\n message,\n} from '@os-design/core';\nimport { FormProvider, useForm } from '@os-design/form';\nimport { horizontalPaddingStyles } from '@os-design/styles';\nimport graphql from 'babel-plugin-relay/macro';\nimport React, { useCallback, useEffect, useRef } from 'react';\nimport { useTranslation } from 'react-i18next';\nimport { useMutation } from 'react-relay';\nimport handleFormErrors from '../../utils/handleFormErrors';\nimport FormError from '../shared/FormError';\nimport { SetFirstPasswordMutation } from './__generated__/SetFirstPasswordMutation.graphql';\n\nconst OuterContainer = styled.div`\n min-height: calc(var(--vh, 1vh) * 100);\n\n display: flex;\n justify-content: center;\n align-items: center;\n`;\n\nconst InnerContainer = styled.div`\n width: 18em;\n ${horizontalPaddingStyles()};\n`;\n\nconst SetFirstPassword: React.FC = () => {\n const { t } = useTranslation(['profile']);\n\n const { form, Field } = useForm({\n password: '',\n });\n\n const [commit, loading] = useMutation<SetFirstPasswordMutation>(graphql`\n mutation SetFirstPasswordMutation($input: SetFirstPasswordInput!) {\n setFirstPassword(input: $input) {\n hasPassword\n }\n }\n `);\n\n const handler = useCallback(() => {\n commit({\n variables: {\n input: form.values.getAll(),\n },\n onError: (error) => handleFormErrors(form, error),\n onCompleted: () => message.success(t('profile:setFirstPassword.success')),\n });\n }, [commit, form, t]);\n\n const handlerRef = useRef(handler);\n useEffect(() => {\n handlerRef.current = handler;\n }, [handler]);\n\n return (\n <Layout>\n <OuterContainer>\n <InnerContainer>\n <FormProvider form={form}>\n <Form>\n <Field\n name='password'\n render={(props, { error }) => (\n <FormItem\n error={error}\n label={t('profile:setFirstPassword.newPassword.label')}\n >\n <InputPassword\n placeholder={t(\n 'profile:setFirstPassword.newPassword.placeholder'\n )}\n showStrengthMeter\n strengthNames={t('profile:passwordStrengthNames', {\n returnObjects: true,\n })}\n onKeyDown={(e) => {\n if (e.key === 'Enter') handlerRef.current();\n }}\n {...props}\n />\n </FormItem>\n )}\n />\n\n <FormError />\n\n <Button wide='always' loading={loading} onClick={handler}>\n {t('profile:setFirstPassword.button')}\n </Button>\n </Form>\n </FormProvider>\n </InnerContainer>\n </OuterContainer>\n </Layout>\n );\n};\n\nexport default SetFirstPassword;\n"],"mappings":";;AAAA,OAAOA,MAAM,MAAM,iBAAiB;AACpC,SACEC,MA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AAC,eAEbP,KAAA,CAAAiC,aAAA,CAAC1C,MAAM;IAACuD,IAAI,EAAC,QAAQ;IAAC7B,OAAO,EAAEA,OAAQ;IAAC8B,OAAO,EAAExB;EAAQ,GACtDX,CAAC,CAAC,iCAAiC,CAC9B,CACJ,CACM,CACA,CACF,CACV,CAAC;AAEb,CAAC;AAED,eAAeD,gBAAgB"}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @generated SignedSource<<c1bbe3a7739ce21cdcc0dc5de42901d2>>
2
+ * @generated SignedSource<<c5d827b88445eb5271d5a60231e7c386>>
3
3
  * @lightSyntaxTransform
4
4
  * @nogrep
5
5
  */
@@ -46,6 +46,12 @@ const node = function () {
46
46
  "kind": "ScalarField",
47
47
  "name": "avatar",
48
48
  "storageKey": null
49
+ }, {
50
+ "alias": null,
51
+ "args": null,
52
+ "kind": "ScalarField",
53
+ "name": "hasPassword",
54
+ "storageKey": null
49
55
  }],
50
56
  "storageKey": null
51
57
  }];
@@ -68,15 +74,15 @@ const node = function () {
68
74
  },
69
75
 
70
76
  "params": {
71
- "cacheID": "c77ada94a5456167ef4c0c17a1fd7cd7",
77
+ "cacheID": "ca731635e8b4e4adaf87227472517278",
72
78
  "id": null,
73
79
  "metadata": {},
74
80
  "name": "ProtectedWrapperQuery",
75
81
  "operationKind": "query",
76
- "text": "query ProtectedWrapperQuery {\n profile {\n id\n email\n firstName\n lastName\n avatar\n }\n}\n"
82
+ "text": "query ProtectedWrapperQuery {\n profile {\n id\n email\n firstName\n lastName\n avatar\n hasPassword\n }\n}\n"
77
83
  }
78
84
  };
79
85
  }();
80
- node.hash = "903b234e48f53b4a44dc0b4974ebc521";
86
+ node.hash = "8207c248e1e225472f5f4bb3ad6fa4db";
81
87
  export default node;
82
88
  //# sourceMappingURL=ProtectedWrapperQuery.graphql.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ProtectedWrapperQuery.graphql.js","names":["node","v0","hash"],"sources":["../../../../../src/lib/components/profile/__generated__/ProtectedWrapperQuery.graphql.ts"],"sourcesContent":["/**\n * @generated SignedSource<<c1bbe3a7739ce21cdcc0dc5de42901d2>>\n * @lightSyntaxTransform\n * @nogrep\n */\n\n/* tslint:disable */\n/* eslint-disable */\n// @ts-nocheck\n\nimport { ConcreteRequest, Query } from 'relay-runtime';\nexport type ProtectedWrapperQuery$variables = {};\nexport type ProtectedWrapperQuery$data = {\n readonly profile: {\n readonly avatar: string | null;\n readonly email: string;\n readonly firstName: string | null;\n readonly id: string;\n readonly lastName: string | null;\n };\n};\nexport type ProtectedWrapperQuery = {\n response: ProtectedWrapperQuery$data;\n variables: ProtectedWrapperQuery$variables;\n};\n\nconst node: ConcreteRequest = (function(){\nvar v0 = [\n {\n \"alias\": null,\n \"args\": null,\n \"concreteType\": \"User\",\n \"kind\": \"LinkedField\",\n \"name\": \"profile\",\n \"plural\": false,\n \"selections\": [\n {\n \"alias\": null,\n \"args\": null,\n \"kind\": \"ScalarField\",\n \"name\": \"id\",\n \"storageKey\": null\n },\n {\n \"alias\": null,\n \"args\": null,\n \"kind\": \"ScalarField\",\n \"name\": \"email\",\n \"storageKey\": null\n },\n {\n \"alias\": null,\n \"args\": null,\n \"kind\": \"ScalarField\",\n \"name\": \"firstName\",\n \"storageKey\": null\n },\n {\n \"alias\": null,\n \"args\": null,\n \"kind\": \"ScalarField\",\n \"name\": \"lastName\",\n \"storageKey\": null\n },\n {\n \"alias\": null,\n \"args\": null,\n \"kind\": \"ScalarField\",\n \"name\": \"avatar\",\n \"storageKey\": null\n }\n ],\n \"storageKey\": null\n }\n];\nreturn {\n \"fragment\": {\n \"argumentDefinitions\": [],\n \"kind\": \"Fragment\",\n \"metadata\": null,\n \"name\": \"ProtectedWrapperQuery\",\n \"selections\": (v0/*: any*/),\n \"type\": \"Query\",\n \"abstractKey\": null\n },\n \"kind\": \"Request\",\n \"operation\": {\n \"argumentDefinitions\": [],\n \"kind\": \"Operation\",\n \"name\": \"ProtectedWrapperQuery\",\n \"selections\": (v0/*: any*/)\n },\n \"params\": {\n \"cacheID\": \"c77ada94a5456167ef4c0c17a1fd7cd7\",\n \"id\": null,\n \"metadata\": {},\n \"name\": \"ProtectedWrapperQuery\",\n \"operationKind\": \"query\",\n \"text\": \"query ProtectedWrapperQuery {\\n profile {\\n id\\n email\\n firstName\\n lastName\\n avatar\\n }\\n}\\n\"\n }\n};\n})();\n\n(node as any).hash = \"903b234e48f53b4a44dc0b4974ebc521\";\n\nexport default node;\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAkBA,MAAMA,IAAqB,GAAI,YAAU;EACzC,IAAIC,EAAE,GAAG,CACP;IACE,OAAO,EAAE,IAAI;IACb,MAAM,EAAE,IAAI;IACZ,cAAc,EAAE,MAAM;IACtB,MAAM,EAAE,aAAa;IACrB,MAAM,EAAE,SAAS;IACjB,QAAQ,EAAE,KAAK;IACf,YAAY,EAAE,CACZ;MACE,OAAO,EAAE,IAAI;MACb,MAAM,EAAE,IAAI;MACZ,MAAM,EAAE,aAAa;MACrB,MAAM,EAAE,IAAI;MACZ,YAAY,EAAE;IAChB,CAAC,EACD;MACE,OAAO,EAAE,IAAI;MACb,MAAM,EAAE,IAAI;MACZ,MAAM,EAAE,aAAa;MACrB,MAAM,EAAE,OAAO;MACf,YAAY,EAAE;IAChB,CAAC,EACD;MACE,OAAO,EAAE,IAAI;MACb,MAAM,EAAE,IAAI;MACZ,MAAM,EAAE,aAAa;MACrB,MAAM,EAAE,WAAW;MACnB,YAAY,EAAE;IAChB,CAAC,EACD;MACE,OAAO,EAAE,IAAI;MACb,MAAM,EAAE,IAAI;MACZ,MAAM,EAAE,aAAa;MACrB,MAAM,EAAE,UAAU;MAClB,YAAY,EAAE;IAChB,CAAC,EACD;MACE,OAAO,EAAE,IAAI;MACb,MAAM,EAAE,IAAI;MACZ,MAAM,EAAE,aAAa;MACrB,MAAM,EAAE,QAAQ;MAChB,YAAY,EAAE;IAChB,CAAC,CACF;IACD,YAAY,EAAE;EAChB,CAAC,CACF;EACD,OAAO;IACL,UAAU,EAAE;MACV,qBAAqB,EAAE,EAAE;MACzB,MAAM,EAAE,UAAU;MAClB,UAAU,EAAE,IAAI;MAChB,MAAM,EAAE,uBAAuB;MAC/B,YAAY,EAAGA,EAAE,UAAU;MAC3B,MAAM,EAAE,OAAO;MACf,aAAa,EAAE;IACjB,CAAC;IACD,MAAM,EAAE,SAAS;IACjB,WAAW,EAAE;MACX,qBAAqB,EAAE,EAAE;MACzB,MAAM,EAAE,WAAW;MACnB,MAAM,EAAE,uBAAuB;MAC/B,YAAY,EAAGA,EAAE;IACnB,CAAC;;IACD,QAAQ,EAAE;MACR,SAAS,EAAE,kCAAkC;MAC7C,IAAI,EAAE,IAAI;MACV,UAAU,EAAE,CAAC,CAAC;MACd,MAAM,EAAE,uBAAuB;MAC/B,eAAe,EAAE,OAAO;MACxB,MAAM,EAAE;IACV;EACF,CAAC;AACD,CAAC,CAAE,CAAC;AAEHD,IAAI,CAASE,IAAI,GAAG,kCAAkC;AAEvD,eAAeF,IAAI"}
1
+ {"version":3,"file":"ProtectedWrapperQuery.graphql.js","names":["node","v0","hash"],"sources":["../../../../../src/lib/components/profile/__generated__/ProtectedWrapperQuery.graphql.ts"],"sourcesContent":["/**\n * @generated SignedSource<<c5d827b88445eb5271d5a60231e7c386>>\n * @lightSyntaxTransform\n * @nogrep\n */\n\n/* tslint:disable */\n/* eslint-disable */\n// @ts-nocheck\n\nimport { ConcreteRequest, Query } from 'relay-runtime';\nexport type ProtectedWrapperQuery$variables = {};\nexport type ProtectedWrapperQuery$data = {\n readonly profile: {\n readonly avatar: string | null;\n readonly email: string;\n readonly firstName: string | null;\n readonly hasPassword: boolean;\n readonly id: string;\n readonly lastName: string | null;\n };\n};\nexport type ProtectedWrapperQuery = {\n response: ProtectedWrapperQuery$data;\n variables: ProtectedWrapperQuery$variables;\n};\n\nconst node: ConcreteRequest = (function(){\nvar v0 = [\n {\n \"alias\": null,\n \"args\": null,\n \"concreteType\": \"User\",\n \"kind\": \"LinkedField\",\n \"name\": \"profile\",\n \"plural\": false,\n \"selections\": [\n {\n \"alias\": null,\n \"args\": null,\n \"kind\": \"ScalarField\",\n \"name\": \"id\",\n \"storageKey\": null\n },\n {\n \"alias\": null,\n \"args\": null,\n \"kind\": \"ScalarField\",\n \"name\": \"email\",\n \"storageKey\": null\n },\n {\n \"alias\": null,\n \"args\": null,\n \"kind\": \"ScalarField\",\n \"name\": \"firstName\",\n \"storageKey\": null\n },\n {\n \"alias\": null,\n \"args\": null,\n \"kind\": \"ScalarField\",\n \"name\": \"lastName\",\n \"storageKey\": null\n },\n {\n \"alias\": null,\n \"args\": null,\n \"kind\": \"ScalarField\",\n \"name\": \"avatar\",\n \"storageKey\": null\n },\n {\n \"alias\": null,\n \"args\": null,\n \"kind\": \"ScalarField\",\n \"name\": \"hasPassword\",\n \"storageKey\": null\n }\n ],\n \"storageKey\": null\n }\n];\nreturn {\n \"fragment\": {\n \"argumentDefinitions\": [],\n \"kind\": \"Fragment\",\n \"metadata\": null,\n \"name\": \"ProtectedWrapperQuery\",\n \"selections\": (v0/*: any*/),\n \"type\": \"Query\",\n \"abstractKey\": null\n },\n \"kind\": \"Request\",\n \"operation\": {\n \"argumentDefinitions\": [],\n \"kind\": \"Operation\",\n \"name\": \"ProtectedWrapperQuery\",\n \"selections\": (v0/*: any*/)\n },\n \"params\": {\n \"cacheID\": \"ca731635e8b4e4adaf87227472517278\",\n \"id\": null,\n \"metadata\": {},\n \"name\": \"ProtectedWrapperQuery\",\n \"operationKind\": \"query\",\n \"text\": \"query ProtectedWrapperQuery {\\n profile {\\n id\\n email\\n firstName\\n lastName\\n avatar\\n hasPassword\\n }\\n}\\n\"\n }\n};\n})();\n\n(node as any).hash = \"8207c248e1e225472f5f4bb3ad6fa4db\";\n\nexport default node;\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAmBA,MAAMA,IAAqB,GAAI,YAAU;EACzC,IAAIC,EAAE,GAAG,CACP;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qBAAqB,EAAE,EAAE;MACzB,MAAM,EAAE,WAAW;MACnB,MAAM,EAAE,uBAAuB;MAC/B,YAAY,EAAGA,EAAE;IACnB,CAAC;;IACD,QAAQ,EAAE;MACR,SAAS,EAAE,kCAAkC;MAC7C,IAAI,EAAE,IAAI;MACV,UAAU,EAAE,CAAC,CAAC;MACd,MAAM,EAAE,uBAAuB;MAC/B,eAAe,EAAE,OAAO;MACxB,MAAM,EAAE;IACV;EACF,CAAC;AACD,CAAC,CAAE,CAAC;AAEHD,IAAI,CAASE,IAAI,GAAG,kCAAkC;AAEvD,eAAeF,IAAI"}
@@ -0,0 +1,83 @@
1
+ /**
2
+ * @generated SignedSource<<84cc962ed08d5b94d24d48c38ff45f69>>
3
+ * @lightSyntaxTransform
4
+ * @nogrep
5
+ */
6
+
7
+ /* tslint:disable */
8
+ /* eslint-disable */
9
+ // @ts-nocheck
10
+
11
+ const node = function () {
12
+ var v0 = [{
13
+ "defaultValue": null,
14
+ "kind": "LocalArgument",
15
+ "name": "input"
16
+ }],
17
+ v1 = [{
18
+ "kind": "Variable",
19
+ "name": "input",
20
+ "variableName": "input"
21
+ }],
22
+ v2 = {
23
+ "alias": null,
24
+ "args": null,
25
+ "kind": "ScalarField",
26
+ "name": "hasPassword",
27
+ "storageKey": null
28
+ };
29
+ return {
30
+ "fragment": {
31
+ "argumentDefinitions": v0 /*: any*/,
32
+ "kind": "Fragment",
33
+ "metadata": null,
34
+ "name": "SetFirstPasswordMutation",
35
+ "selections": [{
36
+ "alias": null,
37
+ "args": v1 /*: any*/,
38
+ "concreteType": "User",
39
+ "kind": "LinkedField",
40
+ "name": "setFirstPassword",
41
+ "plural": false,
42
+ "selections": [v2 /*: any*/],
43
+
44
+ "storageKey": null
45
+ }],
46
+ "type": "Mutation",
47
+ "abstractKey": null
48
+ },
49
+ "kind": "Request",
50
+ "operation": {
51
+ "argumentDefinitions": v0 /*: any*/,
52
+ "kind": "Operation",
53
+ "name": "SetFirstPasswordMutation",
54
+ "selections": [{
55
+ "alias": null,
56
+ "args": v1 /*: any*/,
57
+ "concreteType": "User",
58
+ "kind": "LinkedField",
59
+ "name": "setFirstPassword",
60
+ "plural": false,
61
+ "selections": [v2 /*: any*/, {
62
+ "alias": null,
63
+ "args": null,
64
+ "kind": "ScalarField",
65
+ "name": "id",
66
+ "storageKey": null
67
+ }],
68
+ "storageKey": null
69
+ }]
70
+ },
71
+ "params": {
72
+ "cacheID": "9cc448bd00e91059ee951b234d7f4fff",
73
+ "id": null,
74
+ "metadata": {},
75
+ "name": "SetFirstPasswordMutation",
76
+ "operationKind": "mutation",
77
+ "text": "mutation SetFirstPasswordMutation(\n $input: SetFirstPasswordInput!\n) {\n setFirstPassword(input: $input) {\n hasPassword\n id\n }\n}\n"
78
+ }
79
+ };
80
+ }();
81
+ node.hash = "a62bc52ce4bf5b535def5a82e43ee16c";
82
+ export default node;
83
+ //# sourceMappingURL=SetFirstPasswordMutation.graphql.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SetFirstPasswordMutation.graphql.js","names":["node","v0","v1","v2","hash"],"sources":["../../../../../src/lib/components/profile/__generated__/SetFirstPasswordMutation.graphql.ts"],"sourcesContent":["/**\n * @generated SignedSource<<84cc962ed08d5b94d24d48c38ff45f69>>\n * @lightSyntaxTransform\n * @nogrep\n */\n\n/* tslint:disable */\n/* eslint-disable */\n// @ts-nocheck\n\nimport { ConcreteRequest, Mutation } from 'relay-runtime';\nexport type SetFirstPasswordInput = {\n password: string;\n};\nexport type SetFirstPasswordMutation$variables = {\n input: SetFirstPasswordInput;\n};\nexport type SetFirstPasswordMutation$data = {\n readonly setFirstPassword: {\n readonly hasPassword: boolean;\n };\n};\nexport type SetFirstPasswordMutation = {\n response: SetFirstPasswordMutation$data;\n variables: SetFirstPasswordMutation$variables;\n};\n\nconst node: ConcreteRequest = (function(){\nvar v0 = [\n {\n \"defaultValue\": null,\n \"kind\": \"LocalArgument\",\n \"name\": \"input\"\n }\n],\nv1 = [\n {\n \"kind\": \"Variable\",\n \"name\": \"input\",\n \"variableName\": \"input\"\n }\n],\nv2 = {\n \"alias\": null,\n \"args\": null,\n \"kind\": \"ScalarField\",\n \"name\": \"hasPassword\",\n \"storageKey\": null\n};\nreturn {\n \"fragment\": {\n \"argumentDefinitions\": (v0/*: any*/),\n \"kind\": \"Fragment\",\n \"metadata\": null,\n \"name\": \"SetFirstPasswordMutation\",\n \"selections\": [\n {\n \"alias\": null,\n \"args\": (v1/*: any*/),\n \"concreteType\": \"User\",\n \"kind\": \"LinkedField\",\n \"name\": \"setFirstPassword\",\n \"plural\": false,\n \"selections\": [\n (v2/*: any*/)\n ],\n \"storageKey\": null\n }\n ],\n \"type\": \"Mutation\",\n \"abstractKey\": null\n },\n \"kind\": \"Request\",\n \"operation\": {\n \"argumentDefinitions\": (v0/*: any*/),\n \"kind\": \"Operation\",\n \"name\": \"SetFirstPasswordMutation\",\n \"selections\": [\n {\n \"alias\": null,\n \"args\": (v1/*: any*/),\n \"concreteType\": \"User\",\n \"kind\": \"LinkedField\",\n \"name\": \"setFirstPassword\",\n \"plural\": false,\n \"selections\": [\n (v2/*: any*/),\n {\n \"alias\": null,\n \"args\": null,\n \"kind\": \"ScalarField\",\n \"name\": \"id\",\n \"storageKey\": null\n }\n ],\n \"storageKey\": null\n }\n ]\n },\n \"params\": {\n \"cacheID\": \"9cc448bd00e91059ee951b234d7f4fff\",\n \"id\": null,\n \"metadata\": {},\n \"name\": \"SetFirstPasswordMutation\",\n \"operationKind\": \"mutation\",\n \"text\": \"mutation SetFirstPasswordMutation(\\n $input: SetFirstPasswordInput!\\n) {\\n setFirstPassword(input: $input) {\\n hasPassword\\n id\\n }\\n}\\n\"\n }\n};\n})();\n\n(node as any).hash = \"a62bc52ce4bf5b535def5a82e43ee16c\";\n\nexport default node;\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAmBA,MAAMA,IAAqB,GAAI,YAAU;EACzC,IAAIC,EAAE,GAAG,CACP;MACE,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EAAE;MAChB,CAAC;IAEL,CAAC;IACD,QAAQ,EAAE;MACR,SAAS,EAAE,kCAAkC;MAC7C,IAAI,EAAE,IAAI;MACV,UAAU,EAAE,CAAC,CAAC;MACd,MAAM,EAAE,0BAA0B;MAClC,eAAe,EAAE,UAAU;MAC3B,MAAM,EAAE;IACV;EACF,CAAC;AACD,CAAC,CAAE,CAAC;AAEHH,IAAI,CAASI,IAAI,GAAG,kCAAkC;AAEvD,eAAeJ,IAAI"}
@@ -1 +1 @@
1
- {"version":3,"file":"ProfileUpdatePasswordModal.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/components/profile/ProfileUpdatePasswordModal.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAiC,MAAM,OAAO,CAAC;AAYtD,UAAU,+BAA+B;IACvC,UAAU,EAAE,OAAO,CAAC;IACpB,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,QAAA,MAAM,0BAA0B,EAAE,KAAK,CAAC,EAAE,CAAC,+BAA+B,CAgGzE,CAAC;AAEF,eAAe,0BAA0B,CAAC"}
1
+ {"version":3,"file":"ProfileUpdatePasswordModal.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/components/profile/ProfileUpdatePasswordModal.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAiC,MAAM,OAAO,CAAC;AAYtD,UAAU,+BAA+B;IACvC,UAAU,EAAE,OAAO,CAAC;IACpB,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,QAAA,MAAM,0BAA0B,EAAE,KAAK,CAAC,EAAE,CAAC,+BAA+B,CA+FzE,CAAC;AAEF,eAAe,0BAA0B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ProtectedWrapper.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/components/profile/ProtectedWrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAuDvC,MAAM,WAAW,qBAAqB;IACpC,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AAED,QAAA,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,qBAAqB,CAkBrD,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
1
+ {"version":3,"file":"ProtectedWrapper.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/components/profile/ProtectedWrapper.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAkB,MAAM,OAAO,CAAC;AA2DvC,MAAM,WAAW,qBAAqB;IACpC,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AAED,QAAA,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,qBAAqB,CAkBrD,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ declare const SetFirstPassword: React.FC;
3
+ export default SetFirstPassword;
4
+ //# sourceMappingURL=SetFirstPassword.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SetFirstPassword.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/components/profile/SetFirstPassword.tsx"],"names":[],"mappings":"AAYA,OAAO,KAAyC,MAAM,OAAO,CAAC;AAoB9D,QAAA,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAuE7B,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
@@ -5,6 +5,7 @@ export type ProtectedWrapperQuery$data = {
5
5
  readonly avatar: string | null;
6
6
  readonly email: string;
7
7
  readonly firstName: string | null;
8
+ readonly hasPassword: boolean;
8
9
  readonly id: string;
9
10
  readonly lastName: string | null;
10
11
  };
@@ -1 +1 @@
1
- {"version":3,"file":"ProtectedWrapperQuery.graphql.d.ts","sourceRoot":"","sources":["../../../../../../../src/lib/components/profile/__generated__/ProtectedWrapperQuery.graphql.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,eAAe,EAAS,MAAM,eAAe,CAAC;AACvD,MAAM,MAAM,+BAA+B,GAAG,EAAE,CAAC;AACjD,MAAM,MAAM,0BAA0B,GAAG;IACvC,QAAQ,CAAC,OAAO,EAAE;QAChB,QAAQ,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;QAC/B,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;QACvB,QAAQ,CAAC,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;QAClC,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;QACpB,QAAQ,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;KAClC,CAAC;CACH,CAAC;AACF,MAAM,MAAM,qBAAqB,GAAG;IAClC,QAAQ,EAAE,0BAA0B,CAAC;IACrC,SAAS,EAAE,+BAA+B,CAAC;CAC5C,CAAC;AAEF,QAAA,MAAM,IAAI,EAAE,eA2ER,CAAC;AAIL,eAAe,IAAI,CAAC"}
1
+ {"version":3,"file":"ProtectedWrapperQuery.graphql.d.ts","sourceRoot":"","sources":["../../../../../../../src/lib/components/profile/__generated__/ProtectedWrapperQuery.graphql.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,eAAe,EAAS,MAAM,eAAe,CAAC;AACvD,MAAM,MAAM,+BAA+B,GAAG,EAAE,CAAC;AACjD,MAAM,MAAM,0BAA0B,GAAG;IACvC,QAAQ,CAAC,OAAO,EAAE;QAChB,QAAQ,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;QAC/B,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;QACvB,QAAQ,CAAC,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;QAClC,QAAQ,CAAC,WAAW,EAAE,OAAO,CAAC;QAC9B,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;QACpB,QAAQ,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;KAClC,CAAC;CACH,CAAC;AACF,MAAM,MAAM,qBAAqB,GAAG;IAClC,QAAQ,EAAE,0BAA0B,CAAC;IACrC,SAAS,EAAE,+BAA+B,CAAC;CAC5C,CAAC;AAEF,QAAA,MAAM,IAAI,EAAE,eAkFR,CAAC;AAIL,eAAe,IAAI,CAAC"}
@@ -0,0 +1,19 @@
1
+ import { ConcreteRequest } from 'relay-runtime';
2
+ export type SetFirstPasswordInput = {
3
+ password: string;
4
+ };
5
+ export type SetFirstPasswordMutation$variables = {
6
+ input: SetFirstPasswordInput;
7
+ };
8
+ export type SetFirstPasswordMutation$data = {
9
+ readonly setFirstPassword: {
10
+ readonly hasPassword: boolean;
11
+ };
12
+ };
13
+ export type SetFirstPasswordMutation = {
14
+ response: SetFirstPasswordMutation$data;
15
+ variables: SetFirstPasswordMutation$variables;
16
+ };
17
+ declare const node: ConcreteRequest;
18
+ export default node;
19
+ //# sourceMappingURL=SetFirstPasswordMutation.graphql.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SetFirstPasswordMutation.graphql.d.ts","sourceRoot":"","sources":["../../../../../../../src/lib/components/profile/__generated__/SetFirstPasswordMutation.graphql.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,eAAe,EAAY,MAAM,eAAe,CAAC;AAC1D,MAAM,MAAM,qBAAqB,GAAG;IAClC,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AACF,MAAM,MAAM,kCAAkC,GAAG;IAC/C,KAAK,EAAE,qBAAqB,CAAC;CAC9B,CAAC;AACF,MAAM,MAAM,6BAA6B,GAAG;IAC1C,QAAQ,CAAC,gBAAgB,EAAE;QACzB,QAAQ,CAAC,WAAW,EAAE,OAAO,CAAC;KAC/B,CAAC;CACH,CAAC;AACF,MAAM,MAAM,wBAAwB,GAAG;IACrC,QAAQ,EAAE,6BAA6B,CAAC;IACxC,SAAS,EAAE,kCAAkC,CAAC;CAC/C,CAAC;AAEF,QAAA,MAAM,IAAI,EAAE,eAiFR,CAAC;AAIL,eAAe,IAAI,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@os-team/profile",
3
- "version": "1.1.9",
3
+ "version": "1.1.10",
4
4
  "license": "UNLICENSED",
5
5
  "repository": "git@gitlab.com:os-team/libs/profile.git",
6
6
  "main": "dist/cjs/index.js",
@@ -1,65 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = void 0;
7
- /**
8
- * @generated SignedSource<<51909761cb1c71a922e242d469a3408c>>
9
- * @lightSyntaxTransform
10
- * @nogrep
11
- */
12
-
13
- /* tslint:disable */
14
- /* eslint-disable */
15
- // @ts-nocheck
16
-
17
- var node = function () {
18
- var v0 = [{
19
- "alias": null,
20
- "args": null,
21
- "concreteType": "StatusPayload",
22
- "kind": "LinkedField",
23
- "name": "signOut",
24
- "plural": false,
25
- "selections": [{
26
- "alias": null,
27
- "args": null,
28
- "kind": "ScalarField",
29
- "name": "ok",
30
- "storageKey": null
31
- }],
32
- "storageKey": null
33
- }];
34
- return {
35
- "fragment": {
36
- "argumentDefinitions": [],
37
- "kind": "Fragment",
38
- "metadata": null,
39
- "name": "ProfileDrawerSignOutMutation",
40
- "selections": v0 /*: any*/,
41
- "type": "Mutation",
42
- "abstractKey": null
43
- },
44
- "kind": "Request",
45
- "operation": {
46
- "argumentDefinitions": [],
47
- "kind": "Operation",
48
- "name": "ProfileDrawerSignOutMutation",
49
- "selections": v0 /*: any*/
50
- },
51
-
52
- "params": {
53
- "cacheID": "79648ed72d7cb7d656929f005dbf8371",
54
- "id": null,
55
- "metadata": {},
56
- "name": "ProfileDrawerSignOutMutation",
57
- "operationKind": "mutation",
58
- "text": "mutation ProfileDrawerSignOutMutation {\n signOut {\n ok\n }\n}\n"
59
- }
60
- };
61
- }();
62
- node.hash = "8510e6462e8f7839ce100254080ba293";
63
- var _default = node;
64
- exports.default = _default;
65
- //# sourceMappingURL=ProfileDrawerSignOutMutation.graphql.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ProfileDrawerSignOutMutation.graphql.js","names":["node","v0","hash","_default","exports","default"],"sources":["../../../../../src/lib/components/profile/__generated__/ProfileDrawerSignOutMutation.graphql.ts"],"sourcesContent":["/**\n * @generated SignedSource<<51909761cb1c71a922e242d469a3408c>>\n * @lightSyntaxTransform\n * @nogrep\n */\n\n/* tslint:disable */\n/* eslint-disable */\n// @ts-nocheck\n\nimport { ConcreteRequest, Mutation } from 'relay-runtime';\nexport type ProfileDrawerSignOutMutation$variables = {};\nexport type ProfileDrawerSignOutMutation$data = {\n readonly signOut: {\n readonly ok: boolean;\n };\n};\nexport type ProfileDrawerSignOutMutation = {\n variables: ProfileDrawerSignOutMutation$variables;\n response: ProfileDrawerSignOutMutation$data;\n};\n\nconst node: ConcreteRequest = (function(){\nvar v0 = [\n {\n \"alias\": null,\n \"args\": null,\n \"concreteType\": \"StatusPayload\",\n \"kind\": \"LinkedField\",\n \"name\": \"signOut\",\n \"plural\": false,\n \"selections\": [\n {\n \"alias\": null,\n \"args\": null,\n \"kind\": \"ScalarField\",\n \"name\": \"ok\",\n \"storageKey\": null\n }\n ],\n \"storageKey\": null\n }\n];\nreturn {\n \"fragment\": {\n \"argumentDefinitions\": [],\n \"kind\": \"Fragment\",\n \"metadata\": null,\n \"name\": \"ProfileDrawerSignOutMutation\",\n \"selections\": (v0/*: any*/),\n \"type\": \"Mutation\",\n \"abstractKey\": null\n },\n \"kind\": \"Request\",\n \"operation\": {\n \"argumentDefinitions\": [],\n \"kind\": \"Operation\",\n \"name\": \"ProfileDrawerSignOutMutation\",\n \"selections\": (v0/*: any*/)\n },\n \"params\": {\n \"cacheID\": \"79648ed72d7cb7d656929f005dbf8371\",\n \"id\": null,\n \"metadata\": {},\n \"name\": \"ProfileDrawerSignOutMutation\",\n \"operationKind\": \"mutation\",\n \"text\": \"mutation ProfileDrawerSignOutMutation {\\n signOut {\\n ok\\n }\\n}\\n\"\n }\n};\n})();\n\n(node as any).hash = \"8510e6462e8f7839ce100254080ba293\";\n\nexport default node;\n"],"mappings":";;;;;;AAAA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAcA,IAAMA,IAAqB,GAAI,YAAU;EACzC,IAAIC,EAAE,GAAG,CACP;IACE,OAAO,EAAE,IAAI;IACb,MAAM,EAAE,IAAI;IACZ,cAAc,EAAE,eAAe;IAC/B,MAAM,EAAE,aAAa;IACrB,MAAM,EAAE,SAAS;IACjB,QAAQ,EAAE,KAAK;IACf,YAAY,EAAE,CACZ;MACE,OAAO,EAAE,IAAI;MACb,MAAM,EAAE,IAAI;MACZ,MAAM,EAAE,aAAa;MACrB,MAAM,EAAE,IAAI;MACZ,YAAY,EAAE;IAChB,CAAC,CACF;IACD,YAAY,EAAE;EAChB,CAAC,CACF;EACD,OAAO;IACL,UAAU,EAAE;MACV,qBAAqB,EAAE,EAAE;MACzB,MAAM,EAAE,UAAU;MAClB,UAAU,EAAE,IAAI;MAChB,MAAM,EAAE,8BAA8B;MACtC,YAAY,EAAGA,EAAE,UAAU;MAC3B,MAAM,EAAE,UAAU;MAClB,aAAa,EAAE;IACjB,CAAC;IACD,MAAM,EAAE,SAAS;IACjB,WAAW,EAAE;MACX,qBAAqB,EAAE,EAAE;MACzB,MAAM,EAAE,WAAW;MACnB,MAAM,EAAE,8BAA8B;MACtC,YAAY,EAAGA,EAAE;IACnB,CAAC;;IACD,QAAQ,EAAE;MACR,SAAS,EAAE,kCAAkC;MAC7C,IAAI,EAAE,IAAI;MACV,UAAU,EAAE,CAAC,CAAC;MACd,MAAM,EAAE,8BAA8B;MACtC,eAAe,EAAE,UAAU;MAC3B,MAAM,EAAE;IACV;EACF,CAAC;AACD,CAAC,CAAE,CAAC;AAEHD,IAAI,CAASE,IAAI,GAAG,kCAAkC;AAAC,IAAAC,QAAA,GAEzCH,IAAI;AAAAI,OAAA,CAAAC,OAAA,GAAAF,QAAA"}
@@ -1,80 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = void 0;
7
- /**
8
- * @generated SignedSource<<55ec946240339a8ef48835cf36146b25>>
9
- * @lightSyntaxTransform
10
- * @nogrep
11
- */
12
-
13
- /* tslint:disable */
14
- /* eslint-disable */
15
- // @ts-nocheck
16
-
17
- var node = function () {
18
- var v0 = [{
19
- "defaultValue": null,
20
- "kind": "LocalArgument",
21
- "name": "input"
22
- }],
23
- v1 = [{
24
- "alias": null,
25
- "args": [{
26
- "kind": "Variable",
27
- "name": "input",
28
- "variableName": "input"
29
- }],
30
- "concreteType": "User",
31
- "kind": "LinkedField",
32
- "name": "updateAvatar",
33
- "plural": false,
34
- "selections": [{
35
- "alias": null,
36
- "args": null,
37
- "kind": "ScalarField",
38
- "name": "id",
39
- "storageKey": null
40
- }, {
41
- "alias": null,
42
- "args": null,
43
- "kind": "ScalarField",
44
- "name": "avatar",
45
- "storageKey": null
46
- }],
47
- "storageKey": null
48
- }];
49
- return {
50
- "fragment": {
51
- "argumentDefinitions": v0 /*: any*/,
52
- "kind": "Fragment",
53
- "metadata": null,
54
- "name": "ProfileDrawerUpdateAvatarMutation",
55
- "selections": v1 /*: any*/,
56
- "type": "Mutation",
57
- "abstractKey": null
58
- },
59
- "kind": "Request",
60
- "operation": {
61
- "argumentDefinitions": v0 /*: any*/,
62
- "kind": "Operation",
63
- "name": "ProfileDrawerUpdateAvatarMutation",
64
- "selections": v1 /*: any*/
65
- },
66
-
67
- "params": {
68
- "cacheID": "4e03df1e245723b6bb782fa62331d420",
69
- "id": null,
70
- "metadata": {},
71
- "name": "ProfileDrawerUpdateAvatarMutation",
72
- "operationKind": "mutation",
73
- "text": "mutation ProfileDrawerUpdateAvatarMutation(\n $input: UpdateAvatarInput!\n) {\n updateAvatar(input: $input) {\n id\n avatar\n }\n}\n"
74
- }
75
- };
76
- }();
77
- node.hash = "c129cb1974b7cb9090d6c5df4e0f790d";
78
- var _default = node;
79
- exports.default = _default;
80
- //# sourceMappingURL=ProfileDrawerUpdateAvatarMutation.graphql.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ProfileDrawerUpdateAvatarMutation.graphql.js","names":["node","v0","v1","hash","_default","exports","default"],"sources":["../../../../../src/lib/components/profile/__generated__/ProfileDrawerUpdateAvatarMutation.graphql.ts"],"sourcesContent":["/**\n * @generated SignedSource<<55ec946240339a8ef48835cf36146b25>>\n * @lightSyntaxTransform\n * @nogrep\n */\n\n/* tslint:disable */\n/* eslint-disable */\n// @ts-nocheck\n\nimport { ConcreteRequest, Mutation } from 'relay-runtime';\nexport type UpdateAvatarInput = {\n avatar?: any | null;\n};\nexport type ProfileDrawerUpdateAvatarMutation$variables = {\n input: UpdateAvatarInput;\n};\nexport type ProfileDrawerUpdateAvatarMutation$data = {\n readonly updateAvatar: {\n readonly id: string;\n readonly avatar: string | null;\n };\n};\nexport type ProfileDrawerUpdateAvatarMutation = {\n variables: ProfileDrawerUpdateAvatarMutation$variables;\n response: ProfileDrawerUpdateAvatarMutation$data;\n};\n\nconst node: ConcreteRequest = (function(){\nvar v0 = [\n {\n \"defaultValue\": null,\n \"kind\": \"LocalArgument\",\n \"name\": \"input\"\n }\n],\nv1 = [\n {\n \"alias\": null,\n \"args\": [\n {\n \"kind\": \"Variable\",\n \"name\": \"input\",\n \"variableName\": \"input\"\n }\n ],\n \"concreteType\": \"User\",\n \"kind\": \"LinkedField\",\n \"name\": \"updateAvatar\",\n \"plural\": false,\n \"selections\": [\n {\n \"alias\": null,\n \"args\": null,\n \"kind\": \"ScalarField\",\n \"name\": \"id\",\n \"storageKey\": null\n },\n {\n \"alias\": null,\n \"args\": null,\n \"kind\": \"ScalarField\",\n \"name\": \"avatar\",\n \"storageKey\": null\n }\n ],\n \"storageKey\": null\n }\n];\nreturn {\n \"fragment\": {\n \"argumentDefinitions\": (v0/*: any*/),\n \"kind\": \"Fragment\",\n \"metadata\": null,\n \"name\": \"ProfileDrawerUpdateAvatarMutation\",\n \"selections\": (v1/*: any*/),\n \"type\": \"Mutation\",\n \"abstractKey\": null\n },\n \"kind\": \"Request\",\n \"operation\": {\n \"argumentDefinitions\": (v0/*: any*/),\n \"kind\": \"Operation\",\n \"name\": \"ProfileDrawerUpdateAvatarMutation\",\n \"selections\": (v1/*: any*/)\n },\n \"params\": {\n \"cacheID\": \"4e03df1e245723b6bb782fa62331d420\",\n \"id\": null,\n \"metadata\": {},\n \"name\": \"ProfileDrawerUpdateAvatarMutation\",\n \"operationKind\": \"mutation\",\n \"text\": \"mutation ProfileDrawerUpdateAvatarMutation(\\n $input: UpdateAvatarInput!\\n) {\\n updateAvatar(input: $input) {\\n id\\n avatar\\n }\\n}\\n\"\n }\n};\n})();\n\n(node as any).hash = \"c129cb1974b7cb9090d6c5df4e0f790d\";\n\nexport default node;\n"],"mappings":";;;;;;AAAA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAoBA,IAAMA,IAAqB,GAAI,YAAU;EACzC,IAAIC,EAAE,GAAG,CACP;MACE,cAAc,EAAE,IAAI;MACpB,MAAM,EAAE,eAAe;MACvB,MAAM,EAAE;IACV,CAAC,CACF;IACDC,EAAE,GAAG,CACH;MACE,OAAO,EAAE,IAAI;MACb,MAAM,EAAE,CACN;QACE,MAAM,EAAE,UAAU;QAClB,MAAM,EAAE,OAAO;QACf,cAAc,EAAE;MAClB,CAAC,CACF;MACD,cAAc,EAAE,MAAM;MACtB,MAAM,EAAE,aAAa;MACrB,MAAM,EAAE,cAAc;MACtB,QAAQ,EAAE,KAAK;MACf,YAAY,EAAE,CACZ;QACE,OAAO,EAAE,IAAI;QACb,MAAM,EAAE,IAAI;QACZ,MAAM,EAAE,aAAa;QACrB,MAAM,EAAE,IAAI;QACZ,YAAY,EAAE;MAChB,CAAC,EACD;QACE,OAAO,EAAE,IAAI;QACb,MAAM,EAAE,IAAI;QACZ,MAAM,EAAE,aAAa;QACrB,MAAM,EAAE,QAAQ;QAChB,YAAY,EAAE;MAChB,CAAC,CACF;MACD,YAAY,EAAE;IAChB,CAAC,CACF;EACD,OAAO;IACL,UAAU,EAAE;MACV,qBAAqB,EAAGD,EAAE,UAAU;MACpC,MAAM,EAAE,UAAU;MAClB,UAAU,EAAE,IAAI;MAChB,MAAM,EAAE,mCAAmC;MAC3C,YAAY,EAAGC,EAAE,UAAU;MAC3B,MAAM,EAAE,UAAU;MAClB,aAAa,EAAE;IACjB,CAAC;IACD,MAAM,EAAE,SAAS;IACjB,WAAW,EAAE;MACX,qBAAqB,EAAGD,EAAE,UAAU;MACpC,MAAM,EAAE,WAAW;MACnB,MAAM,EAAE,mCAAmC;MAC3C,YAAY,EAAGC,EAAE;IACnB,CAAC;;IACD,QAAQ,EAAE;MACR,SAAS,EAAE,kCAAkC;MAC7C,IAAI,EAAE,IAAI;MACV,UAAU,EAAE,CAAC,CAAC;MACd,MAAM,EAAE,mCAAmC;MAC3C,eAAe,EAAE,UAAU;MAC3B,MAAM,EAAE;IACV;EACF,CAAC;AACD,CAAC,CAAE,CAAC;AAEHF,IAAI,CAASG,IAAI,GAAG,kCAAkC;AAAC,IAAAC,QAAA,GAEzCJ,IAAI;AAAAK,OAAA,CAAAC,OAAA,GAAAF,QAAA"}
@@ -1,58 +0,0 @@
1
- /**
2
- * @generated SignedSource<<51909761cb1c71a922e242d469a3408c>>
3
- * @lightSyntaxTransform
4
- * @nogrep
5
- */
6
-
7
- /* tslint:disable */
8
- /* eslint-disable */
9
- // @ts-nocheck
10
-
11
- const node = function () {
12
- var v0 = [{
13
- "alias": null,
14
- "args": null,
15
- "concreteType": "StatusPayload",
16
- "kind": "LinkedField",
17
- "name": "signOut",
18
- "plural": false,
19
- "selections": [{
20
- "alias": null,
21
- "args": null,
22
- "kind": "ScalarField",
23
- "name": "ok",
24
- "storageKey": null
25
- }],
26
- "storageKey": null
27
- }];
28
- return {
29
- "fragment": {
30
- "argumentDefinitions": [],
31
- "kind": "Fragment",
32
- "metadata": null,
33
- "name": "ProfileDrawerSignOutMutation",
34
- "selections": v0 /*: any*/,
35
- "type": "Mutation",
36
- "abstractKey": null
37
- },
38
- "kind": "Request",
39
- "operation": {
40
- "argumentDefinitions": [],
41
- "kind": "Operation",
42
- "name": "ProfileDrawerSignOutMutation",
43
- "selections": v0 /*: any*/
44
- },
45
-
46
- "params": {
47
- "cacheID": "79648ed72d7cb7d656929f005dbf8371",
48
- "id": null,
49
- "metadata": {},
50
- "name": "ProfileDrawerSignOutMutation",
51
- "operationKind": "mutation",
52
- "text": "mutation ProfileDrawerSignOutMutation {\n signOut {\n ok\n }\n}\n"
53
- }
54
- };
55
- }();
56
- node.hash = "8510e6462e8f7839ce100254080ba293";
57
- export default node;
58
- //# sourceMappingURL=ProfileDrawerSignOutMutation.graphql.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ProfileDrawerSignOutMutation.graphql.js","names":["node","v0","hash"],"sources":["../../../../../src/lib/components/profile/__generated__/ProfileDrawerSignOutMutation.graphql.ts"],"sourcesContent":["/**\n * @generated SignedSource<<51909761cb1c71a922e242d469a3408c>>\n * @lightSyntaxTransform\n * @nogrep\n */\n\n/* tslint:disable */\n/* eslint-disable */\n// @ts-nocheck\n\nimport { ConcreteRequest, Mutation } from 'relay-runtime';\nexport type ProfileDrawerSignOutMutation$variables = {};\nexport type ProfileDrawerSignOutMutation$data = {\n readonly signOut: {\n readonly ok: boolean;\n };\n};\nexport type ProfileDrawerSignOutMutation = {\n variables: ProfileDrawerSignOutMutation$variables;\n response: ProfileDrawerSignOutMutation$data;\n};\n\nconst node: ConcreteRequest = (function(){\nvar v0 = [\n {\n \"alias\": null,\n \"args\": null,\n \"concreteType\": \"StatusPayload\",\n \"kind\": \"LinkedField\",\n \"name\": \"signOut\",\n \"plural\": false,\n \"selections\": [\n {\n \"alias\": null,\n \"args\": null,\n \"kind\": \"ScalarField\",\n \"name\": \"ok\",\n \"storageKey\": null\n }\n ],\n \"storageKey\": null\n }\n];\nreturn {\n \"fragment\": {\n \"argumentDefinitions\": [],\n \"kind\": \"Fragment\",\n \"metadata\": null,\n \"name\": \"ProfileDrawerSignOutMutation\",\n \"selections\": (v0/*: any*/),\n \"type\": \"Mutation\",\n \"abstractKey\": null\n },\n \"kind\": \"Request\",\n \"operation\": {\n \"argumentDefinitions\": [],\n \"kind\": \"Operation\",\n \"name\": \"ProfileDrawerSignOutMutation\",\n \"selections\": (v0/*: any*/)\n },\n \"params\": {\n \"cacheID\": \"79648ed72d7cb7d656929f005dbf8371\",\n \"id\": null,\n \"metadata\": {},\n \"name\": \"ProfileDrawerSignOutMutation\",\n \"operationKind\": \"mutation\",\n \"text\": \"mutation ProfileDrawerSignOutMutation {\\n signOut {\\n ok\\n }\\n}\\n\"\n }\n};\n})();\n\n(node as any).hash = \"8510e6462e8f7839ce100254080ba293\";\n\nexport default node;\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAcA,MAAMA,IAAqB,GAAI,YAAU;EACzC,IAAIC,EAAE,GAAG,CACP;IACE,OAAO,EAAE,IAAI;IACb,MAAM,EAAE,IAAI;IACZ,cAAc,EAAE,eAAe;IAC/B,MAAM,EAAE,aAAa;IACrB,MAAM,EAAE,SAAS;IACjB,QAAQ,EAAE,KAAK;IACf,YAAY,EAAE,CACZ;MACE,OAAO,EAAE,IAAI;MACb,MAAM,EAAE,IAAI;MACZ,MAAM,EAAE,aAAa;MACrB,MAAM,EAAE,IAAI;MACZ,YAAY,EAAE;IAChB,CAAC,CACF;IACD,YAAY,EAAE;EAChB,CAAC,CACF;EACD,OAAO;IACL,UAAU,EAAE;MACV,qBAAqB,EAAE,EAAE;MACzB,MAAM,EAAE,UAAU;MAClB,UAAU,EAAE,IAAI;MAChB,MAAM,EAAE,8BAA8B;MACtC,YAAY,EAAGA,EAAE,UAAU;MAC3B,MAAM,EAAE,UAAU;MAClB,aAAa,EAAE;IACjB,CAAC;IACD,MAAM,EAAE,SAAS;IACjB,WAAW,EAAE;MACX,qBAAqB,EAAE,EAAE;MACzB,MAAM,EAAE,WAAW;MACnB,MAAM,EAAE,8BAA8B;MACtC,YAAY,EAAGA,EAAE;IACnB,CAAC;;IACD,QAAQ,EAAE;MACR,SAAS,EAAE,kCAAkC;MAC7C,IAAI,EAAE,IAAI;MACV,UAAU,EAAE,CAAC,CAAC;MACd,MAAM,EAAE,8BAA8B;MACtC,eAAe,EAAE,UAAU;MAC3B,MAAM,EAAE;IACV;EACF,CAAC;AACD,CAAC,CAAE,CAAC;AAEHD,IAAI,CAASE,IAAI,GAAG,kCAAkC;AAEvD,eAAeF,IAAI"}
@@ -1,73 +0,0 @@
1
- /**
2
- * @generated SignedSource<<55ec946240339a8ef48835cf36146b25>>
3
- * @lightSyntaxTransform
4
- * @nogrep
5
- */
6
-
7
- /* tslint:disable */
8
- /* eslint-disable */
9
- // @ts-nocheck
10
-
11
- const node = function () {
12
- var v0 = [{
13
- "defaultValue": null,
14
- "kind": "LocalArgument",
15
- "name": "input"
16
- }],
17
- v1 = [{
18
- "alias": null,
19
- "args": [{
20
- "kind": "Variable",
21
- "name": "input",
22
- "variableName": "input"
23
- }],
24
- "concreteType": "User",
25
- "kind": "LinkedField",
26
- "name": "updateAvatar",
27
- "plural": false,
28
- "selections": [{
29
- "alias": null,
30
- "args": null,
31
- "kind": "ScalarField",
32
- "name": "id",
33
- "storageKey": null
34
- }, {
35
- "alias": null,
36
- "args": null,
37
- "kind": "ScalarField",
38
- "name": "avatar",
39
- "storageKey": null
40
- }],
41
- "storageKey": null
42
- }];
43
- return {
44
- "fragment": {
45
- "argumentDefinitions": v0 /*: any*/,
46
- "kind": "Fragment",
47
- "metadata": null,
48
- "name": "ProfileDrawerUpdateAvatarMutation",
49
- "selections": v1 /*: any*/,
50
- "type": "Mutation",
51
- "abstractKey": null
52
- },
53
- "kind": "Request",
54
- "operation": {
55
- "argumentDefinitions": v0 /*: any*/,
56
- "kind": "Operation",
57
- "name": "ProfileDrawerUpdateAvatarMutation",
58
- "selections": v1 /*: any*/
59
- },
60
-
61
- "params": {
62
- "cacheID": "4e03df1e245723b6bb782fa62331d420",
63
- "id": null,
64
- "metadata": {},
65
- "name": "ProfileDrawerUpdateAvatarMutation",
66
- "operationKind": "mutation",
67
- "text": "mutation ProfileDrawerUpdateAvatarMutation(\n $input: UpdateAvatarInput!\n) {\n updateAvatar(input: $input) {\n id\n avatar\n }\n}\n"
68
- }
69
- };
70
- }();
71
- node.hash = "c129cb1974b7cb9090d6c5df4e0f790d";
72
- export default node;
73
- //# sourceMappingURL=ProfileDrawerUpdateAvatarMutation.graphql.js.map