48 lines
1.4 KiB
JavaScript
48 lines
1.4 KiB
JavaScript
|
|
license_sdk_1.LicenseManager.prototype.licenseCert = {
|
|
consumerId: "n8n",
|
|
version: 1,
|
|
tenantId: 1,
|
|
renewalToken: "123",
|
|
deviceLock: false,
|
|
deviceFingerprint: "888",
|
|
createdAt: new Date(),
|
|
issuedAt: new Date(),
|
|
expiresAt: new Date(Date.now() + 1000 * 60 * 60 * 24 * 365),
|
|
terminatesAt: new Date(Date.now() + 1000 * 60 * 60 * 24 * 365),
|
|
entitlements: [
|
|
{
|
|
id: "1",
|
|
productId: "123",
|
|
productMetadata: {
|
|
terms: {
|
|
isMainPlan: true,
|
|
},
|
|
},
|
|
validFrom: new Date(),
|
|
validTo: new Date(Date.now() + 1000 * 60 * 60 * 24 * 365),
|
|
features: {
|
|
planName: "Hacky",
|
|
"feat:sharing": true,
|
|
"feat:ldap": true,
|
|
"feat:saml": true,
|
|
"feat:logStreaming": true,
|
|
"feat:advancedExecutionFilters": true,
|
|
"feat:variables": true,
|
|
"feat:debugInEditor": true,
|
|
"feat:workflowHistory": true,
|
|
"feat:showNonProdBanner": true,
|
|
"feat:externalSecrets": true,
|
|
"feat:apiDisabled": true,
|
|
"feat:sourceControl": true,
|
|
},
|
|
},
|
|
],
|
|
managementJwt: "123",
|
|
isEphemeral: true,
|
|
};
|
|
license_sdk_1.LicenseManager.prototype.updateCurrentFeatures();
|
|
license_sdk_1.LicenseManager.prototype.isInitialized = () => true;
|
|
license_sdk_1.LicenseManager.prototype.activate = () => {};
|
|
license_sdk_1.LicenseManager.prototype.renew = () => {};
|
|
license_sdk_1.LicenseManager.prototype.reset = () => {}; |