Skip to content

Commit

Permalink
v3.0.1 -- use triniti/schemas v3.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
gdbrown committed Jan 3, 2022
1 parent 7a46290 commit ca74214
Show file tree
Hide file tree
Showing 555 changed files with 5,805 additions and 5,407 deletions.
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v12.13.1
v14.13.1
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# CHANGELOG


## v3.0.1
* Use `gdbots/schemas` v3.0.1
* Use `triniti/schemas` v3.0.1


## v3.0.0
__BREAKING CHANGES__

Expand Down
33 changes: 1 addition & 32 deletions babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,30 +4,6 @@ const presets = [];
const plugins = [];

switch (env) {
case 'cjs':
presets.push([
'@babel/preset-env',
{
targets: {
node: 'current',
},
modules: 'commonjs',
useBuiltIns: 'usage',
corejs: 3,
},
]);

plugins.push([
'babel-plugin-module-resolver',
{
root: ['./build/js/src'],
alias: {
'@triniti/acme-schemas': './build/js/src',
},
},
]);
break;

case 'build':
default:
presets.push([
Expand All @@ -37,17 +13,10 @@ switch (env) {
node: 'current',
},
modules: false,
useBuiltIns: 'usage',
corejs: 3,
},
]);

plugins.push('lodash');
plugins.push('./build/js/use-lodash-es');
break;
}

module.exports = {
presets,
plugins,
};
export default { presets, plugins };
12 changes: 6 additions & 6 deletions build/js/src/acme/apollo/PollAnswerV1.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
// @link http://acme-schemas.triniti.io/json-schema/acme/apollo/poll-answer/1-0-0.json#
import Fb from '@gdbots/pbj/FieldBuilder';
import Format from '@gdbots/pbj/enums/Format';
import Message from '@gdbots/pbj/Message';
import Schema from '@gdbots/pbj/Schema';
import T from '@gdbots/pbj/types';
import TrinitiApolloPollAnswerV1Mixin from '@triniti/schemas/triniti/apollo/mixin/poll-answer/PollAnswerV1Mixin';
import Fb from '@gdbots/pbj/FieldBuilder.js';
import Format from '@gdbots/pbj/enums/Format.js';
import Message from '@gdbots/pbj/Message.js';
import Schema from '@gdbots/pbj/Schema.js';
import T from '@gdbots/pbj/types/index.js';
import TrinitiApolloPollAnswerV1Mixin from '@triniti/schemas/triniti/apollo/mixin/poll-answer/PollAnswerV1Mixin.js';

export default class PollAnswerV1 extends Message {
/**
Expand Down
16 changes: 8 additions & 8 deletions build/js/src/acme/apollo/command/CastVoteV1.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
// @link http://acme-schemas.triniti.io/json-schema/acme/apollo/command/cast-vote/1-0-0.json#
import DayOfWeek from '@gdbots/schemas/gdbots/common/enums/DayOfWeek';
import Fb from '@gdbots/pbj/FieldBuilder';
import Format from '@gdbots/pbj/enums/Format';
import GdbotsPbjxCommandV1Mixin from '@gdbots/schemas/gdbots/pbjx/mixin/command/CommandV1Mixin';
import Message from '@gdbots/pbj/Message';
import Month from '@gdbots/schemas/gdbots/common/enums/Month';
import Schema from '@gdbots/pbj/Schema';
import T from '@gdbots/pbj/types';
import DayOfWeek from '@gdbots/schemas/gdbots/common/enums/DayOfWeek.js';
import Fb from '@gdbots/pbj/FieldBuilder.js';
import Format from '@gdbots/pbj/enums/Format.js';
import GdbotsPbjxCommandV1Mixin from '@gdbots/schemas/gdbots/pbjx/mixin/command/CommandV1Mixin.js';
import Message from '@gdbots/pbj/Message.js';
import Month from '@gdbots/schemas/gdbots/common/enums/Month.js';
import Schema from '@gdbots/pbj/Schema.js';
import T from '@gdbots/pbj/types/index.js';

export default class CastVoteV1 extends Message {
/**
Expand Down
12 changes: 6 additions & 6 deletions build/js/src/acme/apollo/command/CreatePollV1.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
// @link http://acme-schemas.triniti.io/json-schema/acme/apollo/command/create-poll/1-0-0.json#
import Fb from '@gdbots/pbj/FieldBuilder';
import Format from '@gdbots/pbj/enums/Format';
import GdbotsPbjxCommandV1Mixin from '@gdbots/schemas/gdbots/pbjx/mixin/command/CommandV1Mixin';
import Message from '@gdbots/pbj/Message';
import Schema from '@gdbots/pbj/Schema';
import T from '@gdbots/pbj/types';
import Fb from '@gdbots/pbj/FieldBuilder.js';
import Format from '@gdbots/pbj/enums/Format.js';
import GdbotsPbjxCommandV1Mixin from '@gdbots/schemas/gdbots/pbjx/mixin/command/CommandV1Mixin.js';
import Message from '@gdbots/pbj/Message.js';
import Schema from '@gdbots/pbj/Schema.js';
import T from '@gdbots/pbj/types/index.js';

export default class CreatePollV1 extends Message {
/**
Expand Down
12 changes: 6 additions & 6 deletions build/js/src/acme/apollo/command/DeletePollV1.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
// @link http://acme-schemas.triniti.io/json-schema/acme/apollo/command/delete-poll/1-0-0.json#
import Fb from '@gdbots/pbj/FieldBuilder';
import Format from '@gdbots/pbj/enums/Format';
import GdbotsPbjxCommandV1Mixin from '@gdbots/schemas/gdbots/pbjx/mixin/command/CommandV1Mixin';
import Message from '@gdbots/pbj/Message';
import Schema from '@gdbots/pbj/Schema';
import T from '@gdbots/pbj/types';
import Fb from '@gdbots/pbj/FieldBuilder.js';
import Format from '@gdbots/pbj/enums/Format.js';
import GdbotsPbjxCommandV1Mixin from '@gdbots/schemas/gdbots/pbjx/mixin/command/CommandV1Mixin.js';
import Message from '@gdbots/pbj/Message.js';
import Schema from '@gdbots/pbj/Schema.js';
import T from '@gdbots/pbj/types/index.js';

export default class DeletePollV1 extends Message {
/**
Expand Down
12 changes: 6 additions & 6 deletions build/js/src/acme/apollo/command/ExpirePollV1.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
// @link http://acme-schemas.triniti.io/json-schema/acme/apollo/command/expire-poll/1-0-0.json#
import Fb from '@gdbots/pbj/FieldBuilder';
import Format from '@gdbots/pbj/enums/Format';
import GdbotsPbjxCommandV1Mixin from '@gdbots/schemas/gdbots/pbjx/mixin/command/CommandV1Mixin';
import Message from '@gdbots/pbj/Message';
import Schema from '@gdbots/pbj/Schema';
import T from '@gdbots/pbj/types';
import Fb from '@gdbots/pbj/FieldBuilder.js';
import Format from '@gdbots/pbj/enums/Format.js';
import GdbotsPbjxCommandV1Mixin from '@gdbots/schemas/gdbots/pbjx/mixin/command/CommandV1Mixin.js';
import Message from '@gdbots/pbj/Message.js';
import Schema from '@gdbots/pbj/Schema.js';
import T from '@gdbots/pbj/types/index.js';

export default class ExpirePollV1 extends Message {
/**
Expand Down
12 changes: 6 additions & 6 deletions build/js/src/acme/apollo/command/MarkPollAsDraftV1.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
// @link http://acme-schemas.triniti.io/json-schema/acme/apollo/command/mark-poll-as-draft/1-0-0.json#
import Fb from '@gdbots/pbj/FieldBuilder';
import Format from '@gdbots/pbj/enums/Format';
import GdbotsPbjxCommandV1Mixin from '@gdbots/schemas/gdbots/pbjx/mixin/command/CommandV1Mixin';
import Message from '@gdbots/pbj/Message';
import Schema from '@gdbots/pbj/Schema';
import T from '@gdbots/pbj/types';
import Fb from '@gdbots/pbj/FieldBuilder.js';
import Format from '@gdbots/pbj/enums/Format.js';
import GdbotsPbjxCommandV1Mixin from '@gdbots/schemas/gdbots/pbjx/mixin/command/CommandV1Mixin.js';
import Message from '@gdbots/pbj/Message.js';
import Schema from '@gdbots/pbj/Schema.js';
import T from '@gdbots/pbj/types/index.js';

export default class MarkPollAsDraftV1 extends Message {
/**
Expand Down
12 changes: 6 additions & 6 deletions build/js/src/acme/apollo/command/MarkPollAsPendingV1.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
// @link http://acme-schemas.triniti.io/json-schema/acme/apollo/command/mark-poll-as-pending/1-0-0.json#
import Fb from '@gdbots/pbj/FieldBuilder';
import Format from '@gdbots/pbj/enums/Format';
import GdbotsPbjxCommandV1Mixin from '@gdbots/schemas/gdbots/pbjx/mixin/command/CommandV1Mixin';
import Message from '@gdbots/pbj/Message';
import Schema from '@gdbots/pbj/Schema';
import T from '@gdbots/pbj/types';
import Fb from '@gdbots/pbj/FieldBuilder.js';
import Format from '@gdbots/pbj/enums/Format.js';
import GdbotsPbjxCommandV1Mixin from '@gdbots/schemas/gdbots/pbjx/mixin/command/CommandV1Mixin.js';
import Message from '@gdbots/pbj/Message.js';
import Schema from '@gdbots/pbj/Schema.js';
import T from '@gdbots/pbj/types/index.js';

export default class MarkPollAsPendingV1 extends Message {
/**
Expand Down
12 changes: 6 additions & 6 deletions build/js/src/acme/apollo/command/PublishPollV1.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
// @link http://acme-schemas.triniti.io/json-schema/acme/apollo/command/publish-poll/1-0-0.json#
import Fb from '@gdbots/pbj/FieldBuilder';
import Format from '@gdbots/pbj/enums/Format';
import GdbotsPbjxCommandV1Mixin from '@gdbots/schemas/gdbots/pbjx/mixin/command/CommandV1Mixin';
import Message from '@gdbots/pbj/Message';
import Schema from '@gdbots/pbj/Schema';
import T from '@gdbots/pbj/types';
import Fb from '@gdbots/pbj/FieldBuilder.js';
import Format from '@gdbots/pbj/enums/Format.js';
import GdbotsPbjxCommandV1Mixin from '@gdbots/schemas/gdbots/pbjx/mixin/command/CommandV1Mixin.js';
import Message from '@gdbots/pbj/Message.js';
import Schema from '@gdbots/pbj/Schema.js';
import T from '@gdbots/pbj/types/index.js';

export default class PublishPollV1 extends Message {
/**
Expand Down
12 changes: 6 additions & 6 deletions build/js/src/acme/apollo/command/UnpublishPollV1.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
// @link http://acme-schemas.triniti.io/json-schema/acme/apollo/command/unpublish-poll/1-0-0.json#
import Fb from '@gdbots/pbj/FieldBuilder';
import Format from '@gdbots/pbj/enums/Format';
import GdbotsPbjxCommandV1Mixin from '@gdbots/schemas/gdbots/pbjx/mixin/command/CommandV1Mixin';
import Message from '@gdbots/pbj/Message';
import Schema from '@gdbots/pbj/Schema';
import T from '@gdbots/pbj/types';
import Fb from '@gdbots/pbj/FieldBuilder.js';
import Format from '@gdbots/pbj/enums/Format.js';
import GdbotsPbjxCommandV1Mixin from '@gdbots/schemas/gdbots/pbjx/mixin/command/CommandV1Mixin.js';
import Message from '@gdbots/pbj/Message.js';
import Schema from '@gdbots/pbj/Schema.js';
import T from '@gdbots/pbj/types/index.js';

export default class UnpublishPollV1 extends Message {
/**
Expand Down
12 changes: 6 additions & 6 deletions build/js/src/acme/apollo/command/UpdatePollV1.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
// @link http://acme-schemas.triniti.io/json-schema/acme/apollo/command/update-poll/1-0-0.json#
import Fb from '@gdbots/pbj/FieldBuilder';
import Format from '@gdbots/pbj/enums/Format';
import GdbotsPbjxCommandV1Mixin from '@gdbots/schemas/gdbots/pbjx/mixin/command/CommandV1Mixin';
import Message from '@gdbots/pbj/Message';
import Schema from '@gdbots/pbj/Schema';
import T from '@gdbots/pbj/types';
import Fb from '@gdbots/pbj/FieldBuilder.js';
import Format from '@gdbots/pbj/enums/Format.js';
import GdbotsPbjxCommandV1Mixin from '@gdbots/schemas/gdbots/pbjx/mixin/command/CommandV1Mixin.js';
import Message from '@gdbots/pbj/Message.js';
import Schema from '@gdbots/pbj/Schema.js';
import T from '@gdbots/pbj/types/index.js';

export default class UpdatePollV1 extends Message {
/**
Expand Down
12 changes: 6 additions & 6 deletions build/js/src/acme/apollo/event/PollCreatedV1.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
// @link http://acme-schemas.triniti.io/json-schema/acme/apollo/event/poll-created/1-0-0.json#
import Fb from '@gdbots/pbj/FieldBuilder';
import Format from '@gdbots/pbj/enums/Format';
import GdbotsPbjxEventV1Mixin from '@gdbots/schemas/gdbots/pbjx/mixin/event/EventV1Mixin';
import Message from '@gdbots/pbj/Message';
import Schema from '@gdbots/pbj/Schema';
import T from '@gdbots/pbj/types';
import Fb from '@gdbots/pbj/FieldBuilder.js';
import Format from '@gdbots/pbj/enums/Format.js';
import GdbotsPbjxEventV1Mixin from '@gdbots/schemas/gdbots/pbjx/mixin/event/EventV1Mixin.js';
import Message from '@gdbots/pbj/Message.js';
import Schema from '@gdbots/pbj/Schema.js';
import T from '@gdbots/pbj/types/index.js';

export default class PollCreatedV1 extends Message {
/**
Expand Down
12 changes: 6 additions & 6 deletions build/js/src/acme/apollo/event/PollDeletedV1.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
// @link http://acme-schemas.triniti.io/json-schema/acme/apollo/event/poll-deleted/1-0-0.json#
import Fb from '@gdbots/pbj/FieldBuilder';
import Format from '@gdbots/pbj/enums/Format';
import GdbotsPbjxEventV1Mixin from '@gdbots/schemas/gdbots/pbjx/mixin/event/EventV1Mixin';
import Message from '@gdbots/pbj/Message';
import Schema from '@gdbots/pbj/Schema';
import T from '@gdbots/pbj/types';
import Fb from '@gdbots/pbj/FieldBuilder.js';
import Format from '@gdbots/pbj/enums/Format.js';
import GdbotsPbjxEventV1Mixin from '@gdbots/schemas/gdbots/pbjx/mixin/event/EventV1Mixin.js';
import Message from '@gdbots/pbj/Message.js';
import Schema from '@gdbots/pbj/Schema.js';
import T from '@gdbots/pbj/types/index.js';

export default class PollDeletedV1 extends Message {
/**
Expand Down
12 changes: 6 additions & 6 deletions build/js/src/acme/apollo/event/PollExpiredV1.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
// @link http://acme-schemas.triniti.io/json-schema/acme/apollo/event/poll-expired/1-0-0.json#
import Fb from '@gdbots/pbj/FieldBuilder';
import Format from '@gdbots/pbj/enums/Format';
import GdbotsPbjxEventV1Mixin from '@gdbots/schemas/gdbots/pbjx/mixin/event/EventV1Mixin';
import Message from '@gdbots/pbj/Message';
import Schema from '@gdbots/pbj/Schema';
import T from '@gdbots/pbj/types';
import Fb from '@gdbots/pbj/FieldBuilder.js';
import Format from '@gdbots/pbj/enums/Format.js';
import GdbotsPbjxEventV1Mixin from '@gdbots/schemas/gdbots/pbjx/mixin/event/EventV1Mixin.js';
import Message from '@gdbots/pbj/Message.js';
import Schema from '@gdbots/pbj/Schema.js';
import T from '@gdbots/pbj/types/index.js';

export default class PollExpiredV1 extends Message {
/**
Expand Down
12 changes: 6 additions & 6 deletions build/js/src/acme/apollo/event/PollMarkedAsDraftV1.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
// @link http://acme-schemas.triniti.io/json-schema/acme/apollo/event/poll-marked-as-draft/1-0-0.json#
import Fb from '@gdbots/pbj/FieldBuilder';
import Format from '@gdbots/pbj/enums/Format';
import GdbotsPbjxEventV1Mixin from '@gdbots/schemas/gdbots/pbjx/mixin/event/EventV1Mixin';
import Message from '@gdbots/pbj/Message';
import Schema from '@gdbots/pbj/Schema';
import T from '@gdbots/pbj/types';
import Fb from '@gdbots/pbj/FieldBuilder.js';
import Format from '@gdbots/pbj/enums/Format.js';
import GdbotsPbjxEventV1Mixin from '@gdbots/schemas/gdbots/pbjx/mixin/event/EventV1Mixin.js';
import Message from '@gdbots/pbj/Message.js';
import Schema from '@gdbots/pbj/Schema.js';
import T from '@gdbots/pbj/types/index.js';

export default class PollMarkedAsDraftV1 extends Message {
/**
Expand Down
12 changes: 6 additions & 6 deletions build/js/src/acme/apollo/event/PollMarkedAsPendingV1.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
// @link http://acme-schemas.triniti.io/json-schema/acme/apollo/event/poll-marked-as-pending/1-0-0.json#
import Fb from '@gdbots/pbj/FieldBuilder';
import Format from '@gdbots/pbj/enums/Format';
import GdbotsPbjxEventV1Mixin from '@gdbots/schemas/gdbots/pbjx/mixin/event/EventV1Mixin';
import Message from '@gdbots/pbj/Message';
import Schema from '@gdbots/pbj/Schema';
import T from '@gdbots/pbj/types';
import Fb from '@gdbots/pbj/FieldBuilder.js';
import Format from '@gdbots/pbj/enums/Format.js';
import GdbotsPbjxEventV1Mixin from '@gdbots/schemas/gdbots/pbjx/mixin/event/EventV1Mixin.js';
import Message from '@gdbots/pbj/Message.js';
import Schema from '@gdbots/pbj/Schema.js';
import T from '@gdbots/pbj/types/index.js';

export default class PollMarkedAsPendingV1 extends Message {
/**
Expand Down
16 changes: 8 additions & 8 deletions build/js/src/acme/apollo/event/PollPublishedV1.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
// @link http://acme-schemas.triniti.io/json-schema/acme/apollo/event/poll-published/1-0-0.json#
import DayOfWeek from '@gdbots/schemas/gdbots/common/enums/DayOfWeek';
import Fb from '@gdbots/pbj/FieldBuilder';
import Format from '@gdbots/pbj/enums/Format';
import GdbotsPbjxEventV1Mixin from '@gdbots/schemas/gdbots/pbjx/mixin/event/EventV1Mixin';
import Message from '@gdbots/pbj/Message';
import Month from '@gdbots/schemas/gdbots/common/enums/Month';
import Schema from '@gdbots/pbj/Schema';
import T from '@gdbots/pbj/types';
import DayOfWeek from '@gdbots/schemas/gdbots/common/enums/DayOfWeek.js';
import Fb from '@gdbots/pbj/FieldBuilder.js';
import Format from '@gdbots/pbj/enums/Format.js';
import GdbotsPbjxEventV1Mixin from '@gdbots/schemas/gdbots/pbjx/mixin/event/EventV1Mixin.js';
import Message from '@gdbots/pbj/Message.js';
import Month from '@gdbots/schemas/gdbots/common/enums/Month.js';
import Schema from '@gdbots/pbj/Schema.js';
import T from '@gdbots/pbj/types/index.js';

export default class PollPublishedV1 extends Message {
/**
Expand Down
16 changes: 8 additions & 8 deletions build/js/src/acme/apollo/event/PollScheduledV1.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
// @link http://acme-schemas.triniti.io/json-schema/acme/apollo/event/poll-scheduled/1-0-0.json#
import DayOfWeek from '@gdbots/schemas/gdbots/common/enums/DayOfWeek';
import Fb from '@gdbots/pbj/FieldBuilder';
import Format from '@gdbots/pbj/enums/Format';
import GdbotsPbjxEventV1Mixin from '@gdbots/schemas/gdbots/pbjx/mixin/event/EventV1Mixin';
import Message from '@gdbots/pbj/Message';
import Month from '@gdbots/schemas/gdbots/common/enums/Month';
import Schema from '@gdbots/pbj/Schema';
import T from '@gdbots/pbj/types';
import DayOfWeek from '@gdbots/schemas/gdbots/common/enums/DayOfWeek.js';
import Fb from '@gdbots/pbj/FieldBuilder.js';
import Format from '@gdbots/pbj/enums/Format.js';
import GdbotsPbjxEventV1Mixin from '@gdbots/schemas/gdbots/pbjx/mixin/event/EventV1Mixin.js';
import Message from '@gdbots/pbj/Message.js';
import Month from '@gdbots/schemas/gdbots/common/enums/Month.js';
import Schema from '@gdbots/pbj/Schema.js';
import T from '@gdbots/pbj/types/index.js';

export default class PollScheduledV1 extends Message {
/**
Expand Down
16 changes: 8 additions & 8 deletions build/js/src/acme/apollo/event/PollUnpublishedV1.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
// @link http://acme-schemas.triniti.io/json-schema/acme/apollo/event/poll-unpublished/1-0-0.json#
import DayOfWeek from '@gdbots/schemas/gdbots/common/enums/DayOfWeek';
import Fb from '@gdbots/pbj/FieldBuilder';
import Format from '@gdbots/pbj/enums/Format';
import GdbotsPbjxEventV1Mixin from '@gdbots/schemas/gdbots/pbjx/mixin/event/EventV1Mixin';
import Message from '@gdbots/pbj/Message';
import Month from '@gdbots/schemas/gdbots/common/enums/Month';
import Schema from '@gdbots/pbj/Schema';
import T from '@gdbots/pbj/types';
import DayOfWeek from '@gdbots/schemas/gdbots/common/enums/DayOfWeek.js';
import Fb from '@gdbots/pbj/FieldBuilder.js';
import Format from '@gdbots/pbj/enums/Format.js';
import GdbotsPbjxEventV1Mixin from '@gdbots/schemas/gdbots/pbjx/mixin/event/EventV1Mixin.js';
import Message from '@gdbots/pbj/Message.js';
import Month from '@gdbots/schemas/gdbots/common/enums/Month.js';
import Schema from '@gdbots/pbj/Schema.js';
import T from '@gdbots/pbj/types/index.js';

export default class PollUnpublishedV1 extends Message {
/**
Expand Down
Loading

0 comments on commit ca74214

Please sign in to comment.