This commit is contained in:
Luiz H. R. Silva 2024-06-03 13:34:13 -03:00
parent 921d5b3418
commit 1de446f80d
14 changed files with 182 additions and 198 deletions

5
.vscode/settings.json vendored Normal file
View file

@ -0,0 +1,5 @@
{
"[javascript]": {
"editor.defaultFormatter": "biomejs.biome"
}
}

View file

@ -1,13 +1,7 @@
{ {
"$schema": "https://biomejs.dev/schemas/1.7.3/schema.json", "$schema": "https://biomejs.dev/schemas/1.7.3/schema.json",
"extends": ["../biome.json"], "extends": ["node_modules/~comuns/Documentos/biome.json"],
"files": { "files": {
"ignore": ["./src/recursos/**/*", "./src/gerarPublic.ts"], "ignore": []
"include": [
"./src/**/*",
"./src/ferramentas/**/*",
"./src/gerar-codigos/**/*"
]
} }
} }

View file

@ -1 +1 @@
export declare const testeDrivers: () => void; export * from "./tokenQuipo";

View file

@ -1 +1 @@
export const testeDrivers = () => console.log("Drivers conectado"); export * from "./tokenQuipo";

21
dist-import/tokenQuipo.d.ts vendored Normal file
View file

@ -0,0 +1,21 @@
import { z } from "zod";
export declare const ztokenQuipo: z.ZodObject<{
provedor: z.ZodString;
codigo_usuario: z.ZodString;
codigo_prefeitura: z.ZodString;
tipo_acesso: z.ZodString;
nome: z.ZodString;
}, "strip", z.ZodTypeAny, {
provedor: string;
codigo_usuario: string;
codigo_prefeitura: string;
tipo_acesso: string;
nome: string;
}, {
provedor: string;
codigo_usuario: string;
codigo_prefeitura: string;
tipo_acesso: string;
nome: string;
}>;
export type titoTokenQuipo = z.infer<typeof ztokenQuipo>;

View file

@ -0,0 +1,8 @@
import { z } from "zod";
export const ztokenQuipo = z.object({
provedor: z.string(),
codigo_usuario: z.string(),
codigo_prefeitura: z.string(),
tipo_acesso: z.string(),
nome: z.string(),
});

View file

@ -1 +1 @@
export declare const testeDrivers: () => void; export * from "./tokenQuipo";

View file

@ -1,5 +1,17 @@
"use strict"; "use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "__esModule", { value: true });
exports.testeDrivers = void 0; __exportStar(require("./tokenQuipo"), exports);
const testeDrivers = () => console.log("Drivers conectado");
exports.testeDrivers = testeDrivers;

21
dist-require/tokenQuipo.d.ts vendored Normal file
View file

@ -0,0 +1,21 @@
import { z } from "zod";
export declare const ztokenQuipo: z.ZodObject<{
provedor: z.ZodString;
codigo_usuario: z.ZodString;
codigo_prefeitura: z.ZodString;
tipo_acesso: z.ZodString;
nome: z.ZodString;
}, "strip", z.ZodTypeAny, {
provedor: string;
codigo_usuario: string;
codigo_prefeitura: string;
tipo_acesso: string;
nome: string;
}, {
provedor: string;
codigo_usuario: string;
codigo_prefeitura: string;
tipo_acesso: string;
nome: string;
}>;
export type titoTokenQuipo = z.infer<typeof ztokenQuipo>;

View file

@ -0,0 +1,11 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ztokenQuipo = void 0;
const zod_1 = require("zod");
exports.ztokenQuipo = zod_1.z.object({
provedor: zod_1.z.string(),
codigo_usuario: zod_1.z.string(),
codigo_prefeitura: zod_1.z.string(),
tipo_acesso: zod_1.z.string(),
nome: zod_1.z.string(),
});

View file

@ -1,6 +1,6 @@
{ {
"name": "~drives", "name": "~drives",
"version": "0.2.0", "version": "0.3.0",
"description": "", "description": "",
"main": "src/index.ts", "main": "src/index.ts",
"exports": { "exports": {
@ -20,9 +20,13 @@
"@biomejs/biome": "1.7.3", "@biomejs/biome": "1.7.3",
"@types/node": "^20.12.7", "@types/node": "^20.12.7",
"check-node-version": "^4.2.1", "check-node-version": "^4.2.1",
"~comuns": "git+http://leitura:eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpYXQiOjE3MTQ3NTA1NzYsImlzcyI6IkdpdG5lc3MiLCJwaWQiOjgsInRrbiI6eyJ0eXAiOiJwYXQiLCJpZCI6MzJ9fQ.OYdExOVQm5UI3wfeTaWjmD0o65Y1hrjFz5EvMB1a__U@git.idz.one:3000/git/multi-modulos-ambientais/_comuns.git#producao",
"typescript": "^4.8.4" "typescript": "^4.8.4"
}, },
"keywords": [], "keywords": [],
"author": "", "author": "",
"license": "ISC" "license": "ISC",
"dependencies": {
"zod": "^3.23.8"
}
} }

253
pnpm-lock.yaml generated
View file

@ -7,19 +7,26 @@ settings:
importers: importers:
.: .:
dependencies:
zod:
specifier: ^3.23.8
version: 3.23.8
devDependencies: devDependencies:
'@biomejs/biome': '@biomejs/biome':
specifier: ^1.0.0 specifier: 1.7.3
version: 1.7.3 version: 1.7.3
'@types/node': '@types/node':
specifier: ^16.11.0 specifier: ^20.12.7
version: 16.18.97 version: 20.14.0
check-node-version: check-node-version:
specifier: ^3.0.0 specifier: ^4.2.1
version: 3.3.0 version: 4.2.1
typescript: typescript:
specifier: ^4.5.4 specifier: ^4.8.4
version: 4.9.5 version: 4.9.5
~comuns:
specifier: git+http://leitura:eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpYXQiOjE3MTQ3NTA1NzYsImlzcyI6IkdpdG5lc3MiLCJwaWQiOjgsInRrbiI6eyJ0eXAiOiJwYXQiLCJpZCI6MzJ9fQ.OYdExOVQm5UI3wfeTaWjmD0o65Y1hrjFz5EvMB1a__U@git.idz.one:3000/git/multi-modulos-ambientais/_comuns.git#producao
version: git+http://leitura:eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpYXQiOjE3MTQ3NTA1NzYsImlzcyI6IkdpdG5lc3MiLCJwaWQiOjgsInRrbiI6eyJ0eXAiOiJwYXQiLCJpZCI6MzJ9fQ.OYdExOVQm5UI3wfeTaWjmD0o65Y1hrjFz5EvMB1a__U@git.idz.one:3000/git/multi-modulos-ambientais/_comuns.git#0482d3c102440334a120afd0327234a888892534(typescript@4.9.5)
packages: packages:
@ -76,79 +83,32 @@ packages:
cpu: [x64] cpu: [x64]
os: [win32] os: [win32]
'@types/node@16.18.97': '@types/node@20.14.0':
resolution: {integrity: sha512-4muilE1Lbfn57unR+/nT9AFjWk0MtWi5muwCEJqnOvfRQDbSfLCUdN7vCIg8TYuaANfhLOV85ve+FNpiUsbSRg==} resolution: {integrity: sha512-5cHBxFGJx6L4s56Bubp4fglrEpmyJypsqI6RgzMfBHWUJQGWAAi8cWcgetEbZXHYXo9C2Fa4EEds/uSyS4cxmA==}
ansi-styles@3.2.1: ansi-styles@4.3.0:
resolution: {integrity: sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==} resolution: {integrity: sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==}
engines: {node: '>=4'} engines: {node: '>=8'}
call-bind@1.0.7: chalk@3.0.0:
resolution: {integrity: sha512-GHTSNSYICQ7scH7sZ+M2rFopRoLh8t2bLSW6BbgrtLsahOIB5iyAVJf9GjWK3cYTDaMj4XdBpM1cA6pIS0Kv2w==} resolution: {integrity: sha512-4D3B6Wf41KOYRFdszmDqMCGq5VV/uMAB273JILmO+3jAlh8X4qDtdtgCR3fxtbLEMzSx22QdhnDcJvu2u1fVwg==}
engines: {node: '>= 0.4'} engines: {node: '>=8'}
chalk@2.4.2: check-node-version@4.2.1:
resolution: {integrity: sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==} resolution: {integrity: sha512-YYmFYHV/X7kSJhuN/QYHUu998n/TRuDe8UenM3+m5NrkiH670lb9ILqHIvBencvJc4SDh+XcbXMR4b+TtubJiw==}
engines: {node: '>=4'} engines: {node: '>=8.3.0'}
check-node-version@3.3.0:
resolution: {integrity: sha512-OAtp7prQf+8YYKn2UB/fK1Ppb9OT+apW56atoKYUvucYLPq69VozOY0B295okBwCKymk2cictrS3qsdcZwyfzw==}
hasBin: true hasBin: true
color-convert@1.9.3: color-convert@2.0.1:
resolution: {integrity: sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==} resolution: {integrity: sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==}
engines: {node: '>=7.0.0'}
color-name@1.1.3: color-name@1.1.4:
resolution: {integrity: sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==} resolution: {integrity: sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==}
define-data-property@1.1.4: has-flag@4.0.0:
resolution: {integrity: sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==} resolution: {integrity: sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==}
engines: {node: '>= 0.4'} engines: {node: '>=8'}
define-properties@1.2.1:
resolution: {integrity: sha512-8QmQKqEASLd5nx0U1B1okLElbUuuttJ/AnYmRXbbbGDWh6uS208EjD4Xqq/I9wK7u0v6O08XhTWnt5XtEbR6Dg==}
engines: {node: '>= 0.4'}
es-define-property@1.0.0:
resolution: {integrity: sha512-jxayLKShrEqqzJ0eumQbVhTYQM27CfT1T35+gCgDFoL82JLsXqTJ76zv6A0YLOgEnLUMvLzsDsGIrl8NFpT2gQ==}
engines: {node: '>= 0.4'}
es-errors@1.3.0:
resolution: {integrity: sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==}
engines: {node: '>= 0.4'}
escape-string-regexp@1.0.5:
resolution: {integrity: sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==}
engines: {node: '>=0.8.0'}
function-bind@1.1.2:
resolution: {integrity: sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==}
get-intrinsic@1.2.4:
resolution: {integrity: sha512-5uYhsJH8VJBTv7oslg4BznJYhDoRI6waYCxMmCdnTrcCrHA/fCFKoTFz2JKKE0HdDFUF7/oQuhzumXJK7paBRQ==}
engines: {node: '>= 0.4'}
gopd@1.0.1:
resolution: {integrity: sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==}
has-flag@3.0.0:
resolution: {integrity: sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==}
engines: {node: '>=4'}
has-property-descriptors@1.0.2:
resolution: {integrity: sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==}
has-proto@1.0.3:
resolution: {integrity: sha512-SJ1amZAJUiZS+PhsVLf5tGydlaVB8EdFpaSO4gmiUKUOxk8qzn5AIy4ZeJUmh22znIdk/uMAUT2pl3FxzVUH+Q==}
engines: {node: '>= 0.4'}
has-symbols@1.0.3:
resolution: {integrity: sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==}
engines: {node: '>= 0.4'}
hasown@2.0.2:
resolution: {integrity: sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==}
engines: {node: '>= 0.4'}
map-values@1.0.1: map-values@1.0.1:
resolution: {integrity: sha512-BbShUnr5OartXJe1GeccAWtfro11hhgNJg6G9/UtWKjVGvV5U4C09cg5nk8JUevhXODaXY+hQ3xxMUKSs62ONQ==} resolution: {integrity: sha512-BbShUnr5OartXJe1GeccAWtfro11hhgNJg6G9/UtWKjVGvV5U4C09cg5nk8JUevhXODaXY+hQ3xxMUKSs62ONQ==}
@ -159,37 +119,37 @@ packages:
object-filter@1.0.2: object-filter@1.0.2:
resolution: {integrity: sha512-NahvP2vZcy1ZiiYah30CEPw0FpDcSkSePJBMpzl5EQgCmISijiGuJm3SPYp7U+Lf2TljyaIw3E5EgkEx/TNEVA==} resolution: {integrity: sha512-NahvP2vZcy1ZiiYah30CEPw0FpDcSkSePJBMpzl5EQgCmISijiGuJm3SPYp7U+Lf2TljyaIw3E5EgkEx/TNEVA==}
object-keys@1.1.1:
resolution: {integrity: sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==}
engines: {node: '>= 0.4'}
object.assign@4.1.5:
resolution: {integrity: sha512-byy+U7gp+FVwmyzKPYhW2h5l3crpmGsxl7X2s8y43IgxvG4g3QZ6CffDtsNQy1WsmZpQbO+ybo0AlW7TY6DcBQ==}
engines: {node: '>= 0.4'}
queue-microtask@1.2.3: queue-microtask@1.2.3:
resolution: {integrity: sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==} resolution: {integrity: sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==}
run-parallel@1.2.0: run-parallel@1.2.0:
resolution: {integrity: sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==} resolution: {integrity: sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==}
semver@5.7.2: semver@6.3.1:
resolution: {integrity: sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==} resolution: {integrity: sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==}
hasBin: true hasBin: true
set-function-length@1.2.2: supports-color@7.2.0:
resolution: {integrity: sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==} resolution: {integrity: sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==}
engines: {node: '>= 0.4'} engines: {node: '>=8'}
supports-color@5.5.0:
resolution: {integrity: sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==}
engines: {node: '>=4'}
typescript@4.9.5: typescript@4.9.5:
resolution: {integrity: sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==} resolution: {integrity: sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==}
engines: {node: '>=4.2.0'} engines: {node: '>=4.2.0'}
hasBin: true hasBin: true
undici-types@5.26.5:
resolution: {integrity: sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==}
zod@3.23.8:
resolution: {integrity: sha512-XBx9AXhXktjUqnepgTiE5flcKIYWi/rme0Eaj+5Y0lftuGBq+jyRu/md4WnuxqgP1ubdpNCsYEYPxrzVHD8d6g==}
~comuns@git+http://leitura:eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpYXQiOjE3MTQ3NTA1NzYsImlzcyI6IkdpdG5lc3MiLCJwaWQiOjgsInRrbiI6eyJ0eXAiOiJwYXQiLCJpZCI6MzJ9fQ.OYdExOVQm5UI3wfeTaWjmD0o65Y1hrjFz5EvMB1a__U@git.idz.one:3000/git/multi-modulos-ambientais/_comuns.git#0482d3c102440334a120afd0327234a888892534:
resolution: {commit: 0482d3c102440334a120afd0327234a888892534, repo: http://leitura:eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpYXQiOjE3MTQ3NTA1NzYsImlzcyI6IkdpdG5lc3MiLCJwaWQiOjgsInRrbiI6eyJ0eXAiOiJwYXQiLCJpZCI6MzJ9fQ.OYdExOVQm5UI3wfeTaWjmD0o65Y1hrjFz5EvMB1a__U@git.idz.one:3000/git/multi-modulos-ambientais/_comuns.git, type: git}
version: 0.21.0
peerDependencies:
typescript: ^5.0.0
snapshots: snapshots:
'@biomejs/biome@1.7.3': '@biomejs/biome@1.7.3':
@ -227,89 +187,35 @@ snapshots:
'@biomejs/cli-win32-x64@1.7.3': '@biomejs/cli-win32-x64@1.7.3':
optional: true optional: true
'@types/node@16.18.97': {} '@types/node@20.14.0':
ansi-styles@3.2.1:
dependencies: dependencies:
color-convert: 1.9.3 undici-types: 5.26.5
call-bind@1.0.7: ansi-styles@4.3.0:
dependencies: dependencies:
es-define-property: 1.0.0 color-convert: 2.0.1
es-errors: 1.3.0
function-bind: 1.1.2
get-intrinsic: 1.2.4
set-function-length: 1.2.2
chalk@2.4.2: chalk@3.0.0:
dependencies: dependencies:
ansi-styles: 3.2.1 ansi-styles: 4.3.0
escape-string-regexp: 1.0.5 supports-color: 7.2.0
supports-color: 5.5.0
check-node-version@3.3.0: check-node-version@4.2.1:
dependencies: dependencies:
chalk: 2.4.2 chalk: 3.0.0
map-values: 1.0.1 map-values: 1.0.1
minimist: 1.2.8 minimist: 1.2.8
object-filter: 1.0.2 object-filter: 1.0.2
object.assign: 4.1.5
run-parallel: 1.2.0 run-parallel: 1.2.0
semver: 5.7.2 semver: 6.3.1
color-convert@1.9.3: color-convert@2.0.1:
dependencies: dependencies:
color-name: 1.1.3 color-name: 1.1.4
color-name@1.1.3: {} color-name@1.1.4: {}
define-data-property@1.1.4: has-flag@4.0.0: {}
dependencies:
es-define-property: 1.0.0
es-errors: 1.3.0
gopd: 1.0.1
define-properties@1.2.1:
dependencies:
define-data-property: 1.1.4
has-property-descriptors: 1.0.2
object-keys: 1.1.1
es-define-property@1.0.0:
dependencies:
get-intrinsic: 1.2.4
es-errors@1.3.0: {}
escape-string-regexp@1.0.5: {}
function-bind@1.1.2: {}
get-intrinsic@1.2.4:
dependencies:
es-errors: 1.3.0
function-bind: 1.1.2
has-proto: 1.0.3
has-symbols: 1.0.3
hasown: 2.0.2
gopd@1.0.1:
dependencies:
get-intrinsic: 1.2.4
has-flag@3.0.0: {}
has-property-descriptors@1.0.2:
dependencies:
es-define-property: 1.0.0
has-proto@1.0.3: {}
has-symbols@1.0.3: {}
hasown@2.0.2:
dependencies:
function-bind: 1.1.2
map-values@1.0.1: {} map-values@1.0.1: {}
@ -317,34 +223,25 @@ snapshots:
object-filter@1.0.2: {} object-filter@1.0.2: {}
object-keys@1.1.1: {}
object.assign@4.1.5:
dependencies:
call-bind: 1.0.7
define-properties: 1.2.1
has-symbols: 1.0.3
object-keys: 1.1.1
queue-microtask@1.2.3: {} queue-microtask@1.2.3: {}
run-parallel@1.2.0: run-parallel@1.2.0:
dependencies: dependencies:
queue-microtask: 1.2.3 queue-microtask: 1.2.3
semver@5.7.2: {} semver@6.3.1: {}
set-function-length@1.2.2: supports-color@7.2.0:
dependencies: dependencies:
define-data-property: 1.1.4 has-flag: 4.0.0
es-errors: 1.3.0
function-bind: 1.1.2
get-intrinsic: 1.2.4
gopd: 1.0.1
has-property-descriptors: 1.0.2
supports-color@5.5.0:
dependencies:
has-flag: 3.0.0
typescript@4.9.5: {} typescript@4.9.5: {}
undici-types@5.26.5: {}
zod@3.23.8: {}
~comuns@git+http://leitura:eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpYXQiOjE3MTQ3NTA1NzYsImlzcyI6IkdpdG5lc3MiLCJwaWQiOjgsInRrbiI6eyJ0eXAiOiJwYXQiLCJpZCI6MzJ9fQ.OYdExOVQm5UI3wfeTaWjmD0o65Y1hrjFz5EvMB1a__U@git.idz.one:3000/git/multi-modulos-ambientais/_comuns.git#0482d3c102440334a120afd0327234a888892534(typescript@4.9.5):
dependencies:
typescript: 4.9.5
zod: 3.23.8

View file

@ -1 +1 @@
export const testeDrivers = () => console.log("Drivers conectado"); export * from "./tokenQuipo"

11
src/tokenQuipo.ts Normal file
View file

@ -0,0 +1,11 @@
import { z } from "zod"
export const ztokenQuipo = z.object({
provedor: z.string(),
codigo_usuario: z.string(),
codigo_prefeitura: z.string(),
tipo_acesso: z.string(),
nome: z.string(),
})
export type titoTokenQuipo = z.infer<typeof ztokenQuipo>