arri 0.0.12 → 0.0.13
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/dist/chunks/index.cjs +1 -1
- package/dist/chunks/index.mjs +1 -1
- package/dist/chunks/index2.cjs +1 -1
- package/dist/chunks/index2.mjs +1 -1
- package/dist/chunks/index3.cjs +1 -1
- package/dist/chunks/index3.mjs +1 -1
- package/dist/cli.cjs +1 -1
- package/dist/cli.mjs +1 -1
- package/dist/codegen.cjs +1 -1
- package/dist/codegen.mjs +2 -2
- package/dist/shared/{arri.fa163587.mjs → arri.a90e77aa.mjs} +2 -1
- package/dist/shared/{arri.5b9d1682.cjs → arri.d31eb2d5.cjs} +6 -5
- package/package.json +1 -1
package/dist/chunks/index.cjs
CHANGED
|
@@ -29,7 +29,7 @@ require('node:module');
|
|
|
29
29
|
require('node:assert');
|
|
30
30
|
require('node:v8');
|
|
31
31
|
require('node:util');
|
|
32
|
-
require('../shared/arri.
|
|
32
|
+
require('../shared/arri.d31eb2d5.cjs');
|
|
33
33
|
require('fs/promises');
|
|
34
34
|
require('child_process');
|
|
35
35
|
require('node:http');
|
package/dist/chunks/index.mjs
CHANGED
package/dist/chunks/index2.cjs
CHANGED
|
@@ -31,7 +31,7 @@ require('node:module');
|
|
|
31
31
|
require('node:assert');
|
|
32
32
|
require('node:v8');
|
|
33
33
|
require('node:util');
|
|
34
|
-
require('../shared/arri.
|
|
34
|
+
require('../shared/arri.d31eb2d5.cjs');
|
|
35
35
|
require('fs/promises');
|
|
36
36
|
require('child_process');
|
|
37
37
|
require('node:http');
|
package/dist/chunks/index2.mjs
CHANGED
package/dist/chunks/index3.cjs
CHANGED
package/dist/chunks/index3.mjs
CHANGED
package/dist/cli.cjs
CHANGED
|
@@ -29,7 +29,7 @@ const node_module = require('node:module');
|
|
|
29
29
|
const assert = require('node:assert');
|
|
30
30
|
const v8$1 = require('node:v8');
|
|
31
31
|
const node_util = require('node:util');
|
|
32
|
-
const dart = require('./shared/arri.
|
|
32
|
+
const dart = require('./shared/arri.d31eb2d5.cjs');
|
|
33
33
|
const node_http = require('node:http');
|
|
34
34
|
const https = require('node:https');
|
|
35
35
|
const node_net = require('node:net');
|
package/dist/cli.mjs
CHANGED
|
@@ -27,7 +27,7 @@ import { builtinModules } from 'node:module';
|
|
|
27
27
|
import assert from 'node:assert';
|
|
28
28
|
import v8$1 from 'node:v8';
|
|
29
29
|
import { format as format$1, inspect, promisify as promisify$5 } from 'node:util';
|
|
30
|
-
import { f as format2, a as dartClientGenerator } from './shared/arri.
|
|
30
|
+
import { f as format2, a as dartClientGenerator } from './shared/arri.a90e77aa.mjs';
|
|
31
31
|
import { createServer as createServer$2 } from 'node:http';
|
|
32
32
|
import { createServer as createServer$1 } from 'node:https';
|
|
33
33
|
import { createServer } from 'node:net';
|
package/dist/codegen.cjs
CHANGED
package/dist/codegen.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { u as unflattenObject, i as isServiceDefinition, p as pascalCase, a as isProcedureDefinition, b as isJsonSchemaScalarType, c as isJsonSchemaNullType, d as isJsonSchemaObject, e as isJsonSchemaEnum, f as isJsonSchemaArray } from './shared/arri.b0ab6d2f.mjs';
|
|
2
|
-
import { d as defineClientGeneratorPlugin, f as format2 } from './shared/arri.
|
|
3
|
-
export { k as classListTransformer, j as classTransformer, c as createDartClient, a as dartClientGenerator, g as dartModelFromJsonSchema, i as dartParsedJsonField, e as dartProcedureFromServiceDefinition, h as dartPropertyTypeFromSchema, b as dartServiceFromServiceDefinition, l as isDartType, m as isDartTypeWithNullables, t as transformers } from './shared/arri.
|
|
2
|
+
import { d as defineClientGeneratorPlugin, f as format2 } from './shared/arri.a90e77aa.mjs';
|
|
3
|
+
export { k as classListTransformer, j as classTransformer, c as createDartClient, a as dartClientGenerator, g as dartModelFromJsonSchema, i as dartParsedJsonField, e as dartProcedureFromServiceDefinition, h as dartPropertyTypeFromSchema, b as dartServiceFromServiceDefinition, l as isDartType, m as isDartTypeWithNullables, t as transformers } from './shared/arri.a90e77aa.mjs';
|
|
4
4
|
import { writeFileSync } from 'fs';
|
|
5
5
|
import 'module';
|
|
6
6
|
import 'url';
|
|
@@ -29096,7 +29096,8 @@ function createDartClient(appDef, opts = { clientName: "Client" }) {
|
|
|
29096
29096
|
generatedModels.push(typeName);
|
|
29097
29097
|
}
|
|
29098
29098
|
});
|
|
29099
|
-
return `// This code was autogenerated by
|
|
29099
|
+
return `// This code was autogenerated by Arri. Do not modify directly.
|
|
29100
|
+
// For additional documentation visit http://github.com/modiimedia/arri
|
|
29100
29101
|
import "dart:convert";
|
|
29101
29102
|
import "package:http/http.dart" as http;
|
|
29102
29103
|
import "package:arri_client/arri_client.dart";
|
|
@@ -25,8 +25,8 @@ const assert4__default = /*#__PURE__*/_interopDefaultCompat(assert4);
|
|
|
25
25
|
const fs__default = /*#__PURE__*/_interopDefaultCompat(fs);
|
|
26
26
|
const v8__default = /*#__PURE__*/_interopDefaultCompat(v8);
|
|
27
27
|
|
|
28
|
-
const require$2 = require$$2.createRequire((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (document.currentScript && document.currentScript.src || new URL('shared/arri.
|
|
29
|
-
const __filename$2 = require$$7.fileURLToPath((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (document.currentScript && document.currentScript.src || new URL('shared/arri.
|
|
28
|
+
const require$2 = require$$2.createRequire((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (document.currentScript && document.currentScript.src || new URL('shared/arri.d31eb2d5.cjs', document.baseURI).href)));
|
|
29
|
+
const __filename$2 = require$$7.fileURLToPath((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (document.currentScript && document.currentScript.src || new URL('shared/arri.d31eb2d5.cjs', document.baseURI).href)));
|
|
30
30
|
const __dirname$1 = require$$0.dirname(__filename$2);
|
|
31
31
|
|
|
32
32
|
var __create$1 = Object.create;
|
|
@@ -7791,8 +7791,8 @@ const doc = {
|
|
|
7791
7791
|
utils: utils
|
|
7792
7792
|
};
|
|
7793
7793
|
|
|
7794
|
-
const require$1 = require$$2.createRequire((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (document.currentScript && document.currentScript.src || new URL('shared/arri.
|
|
7795
|
-
const __filename$1 = require$$7.fileURLToPath((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (document.currentScript && document.currentScript.src || new URL('shared/arri.
|
|
7794
|
+
const require$1 = require$$2.createRequire((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (document.currentScript && document.currentScript.src || new URL('shared/arri.d31eb2d5.cjs', document.baseURI).href)));
|
|
7795
|
+
const __filename$1 = require$$7.fileURLToPath((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (document.currentScript && document.currentScript.src || new URL('shared/arri.d31eb2d5.cjs', document.baseURI).href)));
|
|
7796
7796
|
require$$0.dirname(__filename$1);
|
|
7797
7797
|
|
|
7798
7798
|
var __create = Object.create;
|
|
@@ -29109,7 +29109,8 @@ function createDartClient(appDef, opts = { clientName: "Client" }) {
|
|
|
29109
29109
|
generatedModels.push(typeName);
|
|
29110
29110
|
}
|
|
29111
29111
|
});
|
|
29112
|
-
return `// This code was autogenerated by
|
|
29112
|
+
return `// This code was autogenerated by Arri. Do not modify directly.
|
|
29113
|
+
// For additional documentation visit http://github.com/modiimedia/arri
|
|
29113
29114
|
import "dart:convert";
|
|
29114
29115
|
import "package:http/http.dart" as http;
|
|
29115
29116
|
import "package:arri_client/arri_client.dart";
|