Skip to content
Snippets Groups Projects
index.js 9.83 MiB
Newer Older
  • Learn to ignore specific revisions
  • /* 1737 */
    /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
    
    
    "use strict";
    __webpack_require__.r(__webpack_exports__);
    
    /* harmony export */ __webpack_require__.d(__webpack_exports__, {
    /* harmony export */   "SpanStatus": () => (/* binding */ SpanStatus)
    /* harmony export */ });
    
    /** The status of an Span.
     *
     * @deprecated Use string literals - if you require type casting, cast to SpanStatusType type
     */
    // eslint-disable-next-line import/export
    var SpanStatus; (function (SpanStatus) {
      /** The operation completed successfully. */
      const Ok = 'ok'; SpanStatus["Ok"] = Ok;
      /** Deadline expired before operation could complete. */
      const DeadlineExceeded = 'deadline_exceeded'; SpanStatus["DeadlineExceeded"] = DeadlineExceeded;
      /** 401 Unauthorized (actually does mean unauthenticated according to RFC 7235) */
      const Unauthenticated = 'unauthenticated'; SpanStatus["Unauthenticated"] = Unauthenticated;
      /** 403 Forbidden */
      const PermissionDenied = 'permission_denied'; SpanStatus["PermissionDenied"] = PermissionDenied;
      /** 404 Not Found. Some requested entity (file or directory) was not found. */
      const NotFound = 'not_found'; SpanStatus["NotFound"] = NotFound;
      /** 429 Too Many Requests */
      const ResourceExhausted = 'resource_exhausted'; SpanStatus["ResourceExhausted"] = ResourceExhausted;
      /** Client specified an invalid argument. 4xx. */
      const InvalidArgument = 'invalid_argument'; SpanStatus["InvalidArgument"] = InvalidArgument;
      /** 501 Not Implemented */
      const Unimplemented = 'unimplemented'; SpanStatus["Unimplemented"] = Unimplemented;
      /** 503 Service Unavailable */
      const Unavailable = 'unavailable'; SpanStatus["Unavailable"] = Unavailable;
      /** Other/generic 5xx. */
      const InternalError = 'internal_error'; SpanStatus["InternalError"] = InternalError;
      /** Unknown. Any non-standard HTTP status code. */
      const UnknownError = 'unknown_error'; SpanStatus["UnknownError"] = UnknownError;
      /** The operation was cancelled (typically by the user). */
      const Cancelled = 'cancelled'; SpanStatus["Cancelled"] = Cancelled;
      /** Already exists (409) */
      const AlreadyExists = 'already_exists'; SpanStatus["AlreadyExists"] = AlreadyExists;
      /** Operation was rejected because the system is not in a state required for the operation's */
      const FailedPrecondition = 'failed_precondition'; SpanStatus["FailedPrecondition"] = FailedPrecondition;
      /** The operation was aborted, typically due to a concurrency issue. */
      const Aborted = 'aborted'; SpanStatus["Aborted"] = Aborted;
      /** Operation was attempted past the valid range. */
      const OutOfRange = 'out_of_range'; SpanStatus["OutOfRange"] = OutOfRange;
      /** Unrecoverable data loss or corruption */
      const DataLoss = 'data_loss'; SpanStatus["DataLoss"] = DataLoss;
    })(SpanStatus || (SpanStatus = {}));
    
    
    //# sourceMappingURL=spanstatus.js.map
    
    
    /***/ }),
    
    /* 1738 */
    /***/ ((module) => {
    
    "use strict";
    module.exports = JSON.parse('{"name":"egl","version":"1.1.0","description":"","repository":{"type":"git","url":"git+https://forge.grandlyon.com/web-et-numerique/llle_project/egl-konnector.git"},"keywords":[],"author":"Grand Lyon","license":"AGPL-3.0","main":"./src/index.js","eslintConfig":{"extends":["cozy-app"]},"eslintIgnore":["build"],"husky":{"hooks":{"pre-commit":"yarn lint"}},"scripts":{"start":"node ./src/index.js","dev":"cozy-konnector-dev","standalone":"cozy-konnector-standalone","pretest":"npm run clean","test":"konitor testit .","check":"konitor check .","clean":"rm -rf ./data","build":"webpack","lint":"eslint --fix .","deploy":"git-directory-deploy --directory build/ --branch ${DEPLOY_BRANCH:-build}","deploy-dev":"git-directory-deploy --directory build/ --branch ${DEPLOY_BRANCH:-build-dev}","cozyPublish":"cozy-app-publish --token $REGISTRY_TOKEN --build-commit $(git rev-parse ${DEPLOY_BRANCH:-build})","travisDeployKey":"./bin/generate_travis_deploy_key"},"dependencies":{"@sentry/node":"^7.23.0","@sentry/tracing":"^7.23.0","cozy-konnector-libs":"4.56.4","moment":"^2.24.0","moment-timezone":"^0.5.26","node-fetch":"2","pdfjs":"^2.4.7"},"devDependencies":{"@types/moment-timezone":"^0.5.30","copy-webpack-plugin":"6.1.1","cozy-app-publish":"0.25.0","cozy-jobs-cli":"1.20.2","cozy-konnector-build":"1.4.4","eslint":"5.16.0","eslint-config-cozy-app":"1.6.0","eslint-plugin-prettier":"3.0.1","git-directory-deploy":"1.5.1","husky":"4.3.0","konitor":"0.10.2","standard-version":"^9.5.0","svgo":"1.3.2","webpack":"5.75.0","webpack-cli":"5.0.1"}}');
    
    /* 1739 */
    /***/ ((module) => {
    
        process.env.NODE_ENV === 'development' ||
        process.env.NODE_ENV === 'local' ||
        process.env.NODE_ENV === 'standalone'
    
      )
    }
    
    /**
     * Verify if it's an alpha URL
     * @returns {boolean}
     */
    function isDev() {
      return (
        process.env.COZY_URL.includes('alpha') ||
        process.env.COZY_URL.includes('cozy.tools')
      )
    }
    
    module.exports = { isLocal, isDev }
    
    
    
    Romain CREY's avatar
    Romain CREY committed
    /***/ })
    
    /******/ 	]);
    /************************************************************************/
    /******/ 	// The module cache
    /******/ 	var __webpack_module_cache__ = {};
    /******/ 	
    /******/ 	// The require function
    /******/ 	function __webpack_require__(moduleId) {
    /******/ 		// Check if module is in cache
    /******/ 		var cachedModule = __webpack_module_cache__[moduleId];
    /******/ 		if (cachedModule !== undefined) {
    /******/ 			return cachedModule.exports;
    /******/ 		}
    /******/ 		// Create a new module (and put it into the cache)
    /******/ 		var module = __webpack_module_cache__[moduleId] = {
    /******/ 			id: moduleId,
    /******/ 			loaded: false,
    /******/ 			exports: {}
    /******/ 		};
    /******/ 	
    /******/ 		// Execute the module function
    /******/ 		__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);
    /******/ 	
    /******/ 		// Flag the module as loaded
    /******/ 		module.loaded = true;
    /******/ 	
    /******/ 		// Return the exports of the module
    /******/ 		return module.exports;
    /******/ 	}
    /******/ 	
    /******/ 	// expose the module cache
    /******/ 	__webpack_require__.c = __webpack_module_cache__;
    /******/ 	
    /************************************************************************/
    /******/ 	/* webpack/runtime/compat get default export */
    /******/ 	(() => {
    /******/ 		// getDefaultExport function for compatibility with non-harmony modules
    /******/ 		__webpack_require__.n = (module) => {
    /******/ 			var getter = module && module.__esModule ?
    /******/ 				() => (module['default']) :
    /******/ 				() => (module);
    /******/ 			__webpack_require__.d(getter, { a: getter });
    /******/ 			return getter;
    /******/ 		};
    /******/ 	})();
    /******/ 	
    /******/ 	/* webpack/runtime/define property getters */
    /******/ 	(() => {
    /******/ 		// define getter functions for harmony exports
    /******/ 		__webpack_require__.d = (exports, definition) => {
    /******/ 			for(var key in definition) {
    /******/ 				if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
    /******/ 					Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
    /******/ 				}
    /******/ 			}
    /******/ 		};
    /******/ 	})();
    /******/ 	
    /******/ 	/* webpack/runtime/harmony module decorator */
    /******/ 	(() => {
    /******/ 		__webpack_require__.hmd = (module) => {
    /******/ 			module = Object.create(module);
    /******/ 			if (!module.children) module.children = [];
    /******/ 			Object.defineProperty(module, 'exports', {
    /******/ 				enumerable: true,
    /******/ 				set: () => {
    /******/ 					throw new Error('ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: ' + module.id);
    /******/ 				}
    /******/ 			});
    /******/ 			return module;
    /******/ 		};
    /******/ 	})();
    /******/ 	
    /******/ 	/* webpack/runtime/hasOwnProperty shorthand */
    /******/ 	(() => {
    /******/ 		__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
    /******/ 	})();
    /******/ 	
    /******/ 	/* webpack/runtime/make namespace object */
    /******/ 	(() => {
    /******/ 		// define __esModule on exports
    /******/ 		__webpack_require__.r = (exports) => {
    /******/ 			if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
    /******/ 				Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
    /******/ 			}
    /******/ 			Object.defineProperty(exports, '__esModule', { value: true });
    /******/ 		};
    /******/ 	})();
    /******/ 	
    /******/ 	/* webpack/runtime/node module decorator */
    /******/ 	(() => {
    /******/ 		__webpack_require__.nmd = (module) => {
    /******/ 			module.paths = [];
    /******/ 			if (!module.children) module.children = [];
    /******/ 			return module;
    /******/ 		};
    /******/ 	})();
    /******/ 	
    /************************************************************************/
    /******/ 	
    /******/ 	// module cache are used so entry inlining is disabled
    /******/ 	// startup
    /******/ 	// Load entry module and return exports
    /******/ 	var __webpack_exports__ = __webpack_require__(__webpack_require__.s = 0);
    /******/ 	
    /******/ })()
    ;