loki-mode 5.52.0 → 5.52.2

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.
@@ -0,0 +1,30 @@
1
+ 'use strict';
2
+
3
+ var { LinearClient, LinearApiError, RateLimitError, LINEAR_API_URL } = require('./client');
4
+ var { LinearSync, PRIORITY_MAP, VALID_RARV_STATUSES } = require('./sync');
5
+ var { loadConfig, validateConfig, parseSimpleYaml, DEFAULT_STATUS_MAPPING } = require('./config');
6
+
7
+ /**
8
+ * Create a configured Linear sync manager.
9
+ * @param {object} config - Linear configuration object (apiKey, teamId, statusMapping, etc.)
10
+ * @param {object} [options] - Optional adapter options
11
+ * @returns {LinearSync}
12
+ */
13
+ function createSync(config, options) {
14
+ return new LinearSync(config, options);
15
+ }
16
+
17
+ module.exports = {
18
+ LinearClient: LinearClient,
19
+ LinearApiError: LinearApiError,
20
+ RateLimitError: RateLimitError,
21
+ LINEAR_API_URL: LINEAR_API_URL,
22
+ LinearSync: LinearSync,
23
+ PRIORITY_MAP: PRIORITY_MAP,
24
+ VALID_RARV_STATUSES: VALID_RARV_STATUSES,
25
+ DEFAULT_STATUS_MAPPING: DEFAULT_STATUS_MAPPING,
26
+ loadConfig: loadConfig,
27
+ validateConfig: validateConfig,
28
+ parseSimpleYaml: parseSimpleYaml,
29
+ createSync: createSync,
30
+ };
File without changes